@splitsies/shared-models
v0.0.36
Published
Model definitions that are shared between Splitsies' repositories
Downloads
9
Readme
shared-models
Model definitions that are shared between Splitsies' repositories
Updating Shared Models
- Make changes to interfaces and models
- Bump the version in
package.json
npm run build
to generate thelib
directory to be packagednpm pack
to generate thesplitsies-shared-models-<VERSION>.tgz
package in the root of the project- Test the locally generated package by updating consumers'
package.json
to reference the local file:// package.json ... "dependencies": { ... "@splitsies/shared-models": "file:<PATH_TO_TGZ>" ... }, ...
npm publish
to push the new version tonpm
- Bump the version in the consumers' package.json and
npm install
to use the latest package version