📦 A monorepo for my NPM libraries. Managed with repo-cooker library. Using Jest, eslint, prettier and TypeScript through babel 7. Semantically versioned and automatically released, following conventional-commits!
npm run commitguide you through creating commits with correct commit messages
npm run checkdepscheck if all dependencies are correctly installed and in sync
npm run fixdepsadd missing dependencies to the monorepo when you add or upgrade dependencies for your packages
npm testrun the tests for all packages
npm run test:coveragerun tests across packages and output coverage
npm run lintcheck for linting errors
npm run typecheckcheck if the types of your packages are correct
npm run buildcompile source for all packages
npm run releasebuild & publish using
npm run linkan alias for
repo-cooker --linkwhich symlinks dependencies. This is automatically run through the
postinstallhook when you do
To compile source or run tests for an individual package,
npm run build or
npm run test from the package root.
When you push commits to the
next branch repo-cooker will create a beta release which you can install with
npm install yourpackage@next.
When pushing to the
master branch repo-cooker creates a stable release with release notes retrieved from the commit messages.
Commits with the
fix type trigger a patch version release, commits with
feat type a minor version release and commits with breaking changes a major version release. Commits containing other types will not trigger any release.