@splitsies/shared-models
v0.0.36
Published
Model definitions that are shared between Splitsies' repositories
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 buildto generate thelibdirectory to be packagednpm packto generate thesplitsies-shared-models-<VERSION>.tgzpackage in the root of the project- Test the locally generated package by updating consumers'
package.jsonto reference the local file:// package.json ... "dependencies": { ... "@splitsies/shared-models": "file:<PATH_TO_TGZ>" ... }, ... npm publishto push the new version tonpm- Bump the version in the consumers' package.json and
npm installto use the latest package version