@titelmedia/hs-bricks-npm

2.2.19 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @titelmedia/hs-bricks-npm

Weekly Downloads

8

Version

2.2.19

License

MIT

Unpacked Size

1.42 MB

Total Files

6

Last publish

Collaborators

  • belenjones
  • pcasanova
  • mntnv
  • nanonansen2
  • stellafang
  • mariagluck
  • titelmedia-admin
  • dazlious
  • lmtejada
  • bruno.bortagaray
  • jortizsao