0.1.4 • Published 5 months ago
@defi-choice/utils v0.1.4
DeFi Choice TypeScript utils
Install and quick check
Install
npm installBuild and quick check
Build:
npm run clean
npm run buildReleasing a New Version of the Package
Prerequisites
- You must have an NPM account. (https://www.npmjs.com/)
- You must have the necessary permissions to publish the package.
- You must have the latest version of the package.
Step 1: Update the Version
- Open the
package.jsonfile. - Update the
"version"field according to Semantic Versioning:MAJOR.MINOR.PATCH(e.g., change from1.0.0to1.1.0or1.0.1).
Step 2: Build the Package
Run the following command to build the package:
npm run buildStep 3: Create a Package Archive File
Generate the .tgz package file by running the following command:
npm packStep 4: Publish the Package
Release the package to the public registry:
npm publish --access publicStep 5: Verify the Release
1.Go to the package's NPM page to confirm the version update. 2.Verify that the package is available and that everything was published successfully.