armtek-uikit-react
v1.0.275
Published
Armtek UIKit for React
Readme
Armtek UIKit React
React UI component library for Armtek internal projects.
The package is built with Vite into two module formats:
lib/esm(ESM)lib/cjs(CommonJS)
Tests run on Vitest + Testing Library.
Requirements
- Node.js (current LTS recommended)
- npm
Install dependencies
npm installAvailable commands
Local development (Storybook)
npm startStarts Storybook at http://localhost:3001.
Run tests once
npm testRun tests in watch mode
npm run test:watchBuild library
npm run buildbuild does the following:
- cleans
lib/andtypes/ - generates TypeScript declarations
- builds ESM and CJS bundles
- copies declarations into build artifacts
- generates export proxy files
- builds
lib/assets/styles.min.css
Build static Storybook
npm run build:storybooknpm publish flow
Recommended order:
- Install dependencies:
npm ci- Run tests:
npm test- Build package:
npm run build- Check published files:
npm pack --dry-run- Bump version:
npm version patchUse minor or major when needed.
- Publish:
npm publishFor private registries, use .npmrc or npm publish --registry <url>.
- Push commit and tag:
git push --follow-tagsBuild artifacts
lib/esm- ESM modules and.d.tslib/cjs- CJS modules and.d.tslib/assets/styles.min.css- compiled styles
