Skip to content

NamesMT/repo-release

 
 

Repository files navigation

repo-release

Release monorepo (sub)projects with ease

Project's branding image

repo-release TypeScript heart icon

npm version npm downloads Codecov Bundlejs TypeDoc

Overview

repo-release helps you generate changelogs, bump versions, and publish GitHub releases + npm packages for your monorepo (sub)projects.

CLI Usage and Features

npx repo-release [...args]

Arguments

  • --push: Automatic push of the new tag and release commit to your git repository
  • --release: Bumps version in package.json and creates commit and git tags using local git.
  • --publish: Publishes package as a new version on npm. You will need to set authorisation tokens separately via .npmrc or environment variables.
  • --pkg <package>: Select the target package in the monorepo, if not specified, the CLI will prompt you to select the package.
  • -r <version> | --bump:
    • If --bump is present, the version will be bumped automatically.
    • If -r is supplied, the version will be set to the specified version.
    • By default, the CLI will prompt you to select the version bump type.

E.g.: for fast shortcut usage, you can create a repo-release script at your monorepo root for npx -y repo-release@latest --release --bump --push --pkg=, you can then npm run repo-release --publish or npm run repo-release <pkg-name> --publish to release/publish a package in your monorepo.

License

License

Credits

https://github.com/hywax/changelogen-monorepo - amazing work by @hywax, this package is a fork that is more aligned with my needs/opinions.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 75.6%
  • JavaScript 22.6%
  • Shell 1.5%
  • Dockerfile 0.3%