@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

  1. Make changes to interfaces and models
  2. Bump the version in package.json
  3. npm run build to generate the lib directory to be packaged
  4. npm pack to generate the splitsies-shared-models-<VERSION>.tgz package in the root of the project
  5. 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>"
        ...
    },
    ...
  6. npm publish to push the new version to npm
  7. Bump the version in the consumers' package.json and npm install to use the latest package version