📦 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 commit
guide you through creating commits with correct commit messagesnpm run checkdeps
check if all dependencies are correctly installed and in syncnpm run fixdeps
add missing dependencies to the monorepo when you add or upgrade dependencies for your packagesnpm test
run the tests for all packagesnpm run test:coverage
run tests across packages and output coveragenpm run lint
check for linting errorsnpm run typecheck
check if the types of your packages are correctnpm run build
compile source for all packagesnpm run release
build & publish usingrepo-cooker --release
npm run link
an alias forrepo-cooker --link
which symlinks dependencies. This is automatically run through thepostinstall
hook when you donpm install
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.