@crg_sa/crm-foodsales-common
v1.0.8
Published
Shared code, types, and utilities used by the `client` and `server`.
Readme
CRM FoodSales Common
Shared code, types, and utilities used by the client and server.
Development Workflow
This package is part of an npm workspace. To make changes and test them locally:
- Edit Files: Make changes in the
src/folder. - Auto Rebuild: Run the watch command from the root folder:
This automatically compiles your changes into thenpm run common:watchlib/folder, making them immediately available to the client and server.
Publishing (Formal Release)
When you are ready to release a new version to the GitHub/npm registry:
- Update Version: Use one of these commands inside the
commonfolder:npm version patch(e.g., 1.0.1 -> 1.0.2)npm version minor(e.g., 1.0.1 -> 1.1.0)
- Commit & Push: Ensure all changes are committed to Git.
- Publish:
Note: This script verifies requirements before publishing to the registry.npm run check-publish
