@titelmedia/hs-bricks-npm
v2.2.19
Published
BRICKS components
Downloads
46
Maintainers
Keywords
Readme
hs-bricks-npm
BRICKS component library
Install
npm install --save @titelmedia/hs-bricks-npm
Usage
import { buildStory, datoToISF } from '@titelmedia/hs-bricks-npm';
const { allDatoCmsStory } = data;
const storyNode = allDatoCmsStory.edges.length
? allDatoCmsStory.edges[0].node
: null;
const content = datoToISF({ content: storyNode.storyContent });
return <div>{storyNode && buildStory({ content })}</div>;
Github Actions
This repo uses Github Actions for CD purposes. After everything's done, change the version:
npm version [major,minor,patch]
This command will bump the version, commit and push to origin, and publish on NPM the new version.
TODO
- Create a changelog of the last changes between versions
License
MIT © titel-media
// publish as a github page maybe? // set up both bricks-preview and bricks-npm // look into git packages // trigger by a tag, not by any commit, just new versions // tiffany - tracking // jdh also