
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
cross-release-cli
Advanced tools
pnpm i -D cross-release
{
"scripts": {
"release": "cross-release"
}
}
pnpm run release
| short | long | description | default |
|---|---|---|---|
| -V | --version | output the version number | false |
| -a | --all | Add all changed files to staged | false |
| -c | --config [file] | Config file | auto detect |
| -D | --dry | Dry run | false |
| -d | --debug | Enable debug mode | false |
| -e | --exclude [dir] | Folders to exclude from search | ["node_modules",".git","target","build","dist"] |
| -m | --main | Base project language [e.g. java, rust, javascript] | "javascript" |
| -r | --recursive | Run the command for each project in the workspace | false |
| -x | --execute [command...] | Execute the command | [] |
| -y | --yes | Answer yes to all prompts | false |
| --cwd [dir] | Set working directory | process.cwd() | |
| -c | --no-commit | Skip committing changes | false |
| -p | --no-push | Skip pushing | false |
| -t | --no-tag | Skip tagging | false |
| -h | --help | Display this message | false |
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: {
// 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"],
// "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 7 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
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.