lims-theme
v1.0.6
Published
This directory hosts shared packages published to npm for consumption across the LIMS ecosystem.
Readme
Packages Workspace
This directory hosts shared packages published to npm for consumption across the LIMS ecosystem.
Contents
theme/: central design token package (lims-theme). Provides shared color palettes, typography scales, and component tokens.
Publishing Flow
- Bump the package version inside the package directory (e.g.,
cd theme && npm version patch). - Run the package build (
npm run build) from within the package directory. - Publish using an authenticated npm token that has permission to bypass 2FA for this package (
npm publish). - Update any dependents (e.g., the microfrontends) to use the new version (
npm install lims-theme@latest).
Troubleshooting
- The npm registry enforces scoped/granular tokens for publish. Make sure the token used has
bypass 2FAenabled forlims-themebefore publishing. - Rebuild dependent microfrontends if they rely on regenerated TypeScript definitions or token exports.
