@cometph/frontend-core
v1.0.7
Published
Core functions, hooks and types for Comet apps
Downloads
124
Readme
Comet Frontend Core
Core functions, hooks and types for Comet apps
Scripts
build
- Create a distribution ready buildtest
- run local testspeers
- install peer dependenciespatch
- bump the package patch version
push
- do a yalc
push, used for local development
publish
- publish the package to npm
Publishing the package
npm login
- login to npm (required for publishing)yarn publish
- publish the package to npm
Development
- Clone repo
- Run
yarn && yarn run peers
Useful tips for local development
You can add the package to your main app with yalc add @comet/frontend-core --link
Then you can set up a file watcher inside your IDE that will automatically build the package and push it to yalc
when you make changes to the files
The difference between yalc
and a simple yarn
or npm
link
is that for some reason peer dependencies are not handled well by those commands