@next-degree/pickle-shared-js
v0.15.4
Published
Shared JS for Pickle
Readme
This is a simple library of shared components for Pickle.
Getting Started
To install the package, run the following command:
npm install Next-Degree/pickle-shared-jsSteps to Publish
- Update the Version Update the version in the package.json file. This should be done manually. Then run:
npm i- Bundle the Package To bundle the package, run:
npm run bundle- Verify the Contents of the Package To preview what will be published, run:
npm pack --dry-runOpen PR and Merge Open a PR and merge the changes to the MAIN branch.
Add a tag to the MAIN branch To add a tag to the repository, run:
git checkout main
git pull origin main # Ensure your local branch is up to date
git tag -a v0.3.20 -m "Release version 0.3.20"
git push origin v0.3.20 # Push the tag to the remoteHow to test the package locally
Push the changes to the repository in a new branch.
Save the name of the new branch.
Run the following command to install the package locally, replapcing
[BRANCH-NAME]with the name of your branch:
npm install Next-Degree/pickle-shared-js#[BRANCH-NAME]