1.0.6 • Published 5 months ago
fi-shared-components v1.0.6
Updating and Publishing New Features to npm
Follow these steps to update and publish new features to npm:
Update the Codebase
- Make necessary changes and add new features to your codebase.
- Ensure all changes are properly tested.
Update Version Number
- Update the version number in
package.json
according to semantic versioning (e.g.,1.0.1
to1.1.0
for a new feature).
- Update the version number in
Build the Project
- Run the build script to compile your project (if applicable).
npm run build
Login to npm
- Ensure you are logged in to npm.
npm login
Publish to npm
- Publish the updated package to npm.
npm publish
Verify the Update
- Check the npm registry to ensure your package is updated.
- Install the package in a test project to verify the new features.
Tag the Release (Optional)
- Tag the release in your version control system (e.g., Git).
git tag v1.1.0 git push origin v1.1.0
By following these steps, you can successfully update and publish new features to npm.