@selvklart/klart-standard
v0.4.5
Published
## Developing
Downloads
7
Keywords
Readme
@selvklart/klart-standard
Developing
Yalc
For developing locally with npm package use Yalc
You need Yalc installed locally on your computer:
yarn global add yalc
Run yalc publish --private
in your dependency package to create a tarball.
Run yarn build:pack
when you have added changes to the package you want to test.
Add "@selvklart/klart-standard": "0.1.0"
in dependencies in package.json file.
In your dependent project run yalc link @selvklart/klart-standard
.
Add .yalc
and yalc.lock
to your .gitignore
folder.
Deploy to npm
- Use develop branch for development!
- IMPORTANT! Link the package to the app with Yalc and test the application that is using this package with dev server and a build server to make shure nothing breaks!
- Commit changes and push to github
- Set head to local main branch
- Merge remote develop branch into local main branch
- Commit and push main branch to github
- Publish to npm (yarn publish)! and bump version number by one (e.g.: 0.1.0 -> 0.1.1)