0.3.0 • Published 2 years ago
@gvrs-nx/ts-package v0.3.0
@gvrs-nx/ts-package
An Nx preset for generating a ready-to-publish TS package
Usage
To create an Nx workspace with this preset, use the --preset of create-nx-workspace
npx create-nx-workspace@latest --preset @gvrs-nx/ts-packageIncluded features
- CJS and ESM dual-format build with Rollup through @nx/rollup:rollup
- Unit testing with Vitest through @nx/vite:test
- Linting with ESLint through @nx/eslint:lint
- Conventional commits enforcement through commitlint and husky
- Semver versioning and CHANGELOG generation through @jscutlery/semver
- Local publishing with Verdaccio through @nx/js:verdaccio
- Publishing to NPM through ngx-deploy-npm
Licence
MIT © Aliaksandr Haurusiou.