damascus-react v0.0.3
To Start storybook
npm run storybook
Once you've made some changes to the components and you would like to use them within another app in the repo run
npm run build
IMPORTANT: once you have modified some components and you are done. Please publish a patch.(instructions below)
If you're working on another app within the mono repo, and you would like to see your changes as you make them run it in build watch mode,
npm run build-watch
since other projects in this repo watch get changes from the dist folder in this project it will update with the changes. If you don't see hot reload updating you may have to restart the app.
in order to publish this library, choose the type of version change. in a majority of cases you will be running a patch
patch:
npm run create-patch
minor:
npm run create-minor
major:
npm run create-major
After you have bump the version and tested the build run
npm run publish
this will start the publishing process of the package.
IMPORTANT: Next please create a PR with the new version patch
tsconfig.json here "paths" is configured because without it cannot infer types, you can read about it here https://github.com/microsoft/TypeScript/issues/29808
3 years ago