transcend-react
React components and whatnot that transcend multiple projects. See also transcend-static-assets.
Developing locally
Using Storybook
transcend-react
is using Storybook for component library docs:
npm install
npm run storybook
As part of an application
As of transcend-react@4
, applications can use local installations by referencing a local file path in package.json
:
cd gavin
npm rm transcend-react && npm i <local path to>/transcend-react
Releasing a new version of transcend-react
Releasing the transcend-react
package to the npm registry is now handled automatically via CI when you merge to master, via semantic-release. The new semantic version will be calculated automatically, so long as you format your commit messages appropriately. This can be done easily by running npm run commit
instead of git commit
, and filling out the prompts (your formatted commit message will be generated automatically).