
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
cross-release-cli
Advanced tools
pnpm i -D cross-release
{
"scripts": {
"release": "cross-release -ax 'pnpm changelog' && pnpm build && pnpm -r publish",
"changelog": "conventional-changelog -si CHANGELOG.md",
}
}
pnpm run release
Usage:
$ cross-release [version] [options]
Options:
-v, --version Display version number
-a, --all shortcut for --commit.stageAll
-c, --config [file] Config file (auto detect by default)
-D, --dry Dry run
-d, --debug Enable debug mode
-e, --exclude [dir...] Folders to exclude from search
-m, --main [lang] Base project language [e.g. java, rust, javascript]
-r, --recursive Run the command for each project in the workspace
-x, --execute [command...] Execute the command
-y, --yes Answer yes to all prompts
--cwd [dir] Set working directory
--commit Committing changes
--commit.signoff Commit with signoff
--commit.stageAll Stage all changes before commit
--commit.template <template> Template for commit message
--commit.verify Verify commit message
--push Pushing Commit to remote
--push.followTags Pushing with follow tags
--push.branch <branch> Branch name to push
--tag Tagging for release
--tag.template <template> Template for tag message
-h, --help Display this message
supportted file name:
cross-release.config.jscross-release.config.cjscross-release.config.mjscross-release.config.tscross-release.config.ctscross-release.config.mtscross-release.config.jsonpackage.jsonHere are some examples that cover all the parameters:
export default {
// ...
"cross-release": {
// "commit": false,
commit: {
signoff: true,
// Whether to stage all un-staged files or stage only changed files
stageAll: false,
// the symbol '%s' will be replace to the version number that you specified
template: "chore: release v%s",
// Whether to invoke git pre-commit and commit-msg hook
verify: true,
},
cwd: "/path/to/run",
dry: false,
// Your config will be append within default exclude folders
excludes: ["path/to/exclude"],
// use for read current version number
main: "javascript",
// "push": false,
push: {
branch: false,
followTags: false,
},
recursive: false,
// tag: false,
tag: {
template: "v%s",
},
version: "",
yes: false,
},
}
example for config in package.json
{
// ...
"cross-release": {
"yes": true,
"commit": true,
"tag": {
"template": "v%s",
},
}
}
FAQs
command line app for cross language bump utility
The npm package cross-release-cli receives a total of 10 weekly downloads. As such, cross-release-cli popularity was classified as not popular.
We found that cross-release-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.