armtek-uikit-react
v1.0.285
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:
dist/esm(ESM)dist/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
dist/, generated compatibility proxies (lib/,ui/), andtypes/ - generates TypeScript declarations
- builds ESM and CJS bundles
- copies declarations into build artifacts
- generates export proxy files
- builds
dist/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
dist/esm- ESM modules and.d.tsdist/cjs- CJS modules and.d.tsdist/assets/styles.min.css- compiled stylesuiandlib- generated compatibility entrypoints for legacy consumers
