bumpp 10.2.3 → 10.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.mjs +4 -3
  2. package/package.json +12 -12
package/dist/cli.mjs CHANGED
@@ -24,7 +24,7 @@ var ExitCode = /* @__PURE__ */ ((ExitCode2) => {
24
24
  return ExitCode2;
25
25
  })(ExitCode || {});
26
26
 
27
- const version = "10.2.3";
27
+ const version = "10.3.1";
28
28
 
29
29
  async function parseArgs() {
30
30
  try {
@@ -49,7 +49,8 @@ async function parseArgs() {
49
49
  currentVersion: args.currentVersion,
50
50
  execute: args.execute,
51
51
  printCommits: args.printCommits,
52
- recursive: args.recursive
52
+ recursive: args.recursive,
53
+ release: args.release
53
54
  })
54
55
  };
55
56
  if (parsedArgs.options.files && parsedArgs.options.files.length > 0) {
@@ -68,7 +69,7 @@ async function parseArgs() {
68
69
  }
69
70
  function loadCliArgs(argv = process.argv) {
70
71
  const cli = cac("bumpp");
71
- cli.version(version).usage("[...files]").option("--preid <preid>", "ID for prerelease").option("-a, --all", `Include all files (default: ${bumpConfigDefaults.all})`).option("--no-git-check", `Skip git check`, { default: bumpConfigDefaults.noGitCheck }).option("-c, --commit [msg]", "Commit message", { default: true }).option("--no-commit", "Skip commit", { default: false }).option("-t, --tag [tag]", "Tag name", { default: true }).option("--no-tag", "Skip tag", { default: false }).option("--sign", "Sign commit and tag").option("--install", `Run 'npm install' after bumping version (default: ${bumpConfigDefaults.install})`, { default: false }).option("-p, --push", `Push to remote (default: ${bumpConfigDefaults.push})`).option("-y, --yes", `Skip confirmation (default: ${!bumpConfigDefaults.confirm})`).option("-r, --recursive", `Bump package.json files recursively (default: ${bumpConfigDefaults.recursive})`).option("--no-verify", "Skip git verification").option("--ignore-scripts", `Ignore scripts (default: ${bumpConfigDefaults.ignoreScripts})`).option("-q, --quiet", "Quiet mode").option("--current-version <version>", "Current version").option("--print-commits", "Print recent commits").option("-x, --execute <command>", "Commands to execute after version bumps").help();
72
+ cli.version(version).usage("[...files]").option("--preid <preid>", "ID for prerelease").option("-a, --all", `Include all files (default: ${bumpConfigDefaults.all})`).option("--no-git-check", `Skip git check`, { default: bumpConfigDefaults.noGitCheck }).option("-c, --commit [msg]", "Commit message", { default: true }).option("--no-commit", "Skip commit", { default: false }).option("-t, --tag [tag]", "Tag name", { default: true }).option("--no-tag", "Skip tag", { default: false }).option("--sign", "Sign commit and tag").option("--install", `Run 'npm install' after bumping version (default: ${bumpConfigDefaults.install})`, { default: false }).option("-p, --push", `Push to remote (default: ${bumpConfigDefaults.push})`).option("-y, --yes", `Skip confirmation (default: ${!bumpConfigDefaults.confirm})`).option("-r, --recursive", `Bump package.json files recursively (default: ${bumpConfigDefaults.recursive})`).option("--no-verify", "Skip git verification").option("--ignore-scripts", `Ignore scripts (default: ${bumpConfigDefaults.ignoreScripts})`).option("-q, --quiet", "Quiet mode").option("--current-version <version>", "Current version").option("--print-commits", "Print recent commits").option("-x, --execute <command>", "Commands to execute after version bumps").option("--release <release>", `Release type or version number (e.g. 'major', 'minor', 'patch', 'prerelease', etc. default: ${bumpConfigDefaults.release})`).help();
72
73
  const result = cli.parse(argv);
73
74
  const rawArgs = cli.rawArgs;
74
75
  const args = result.options;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bumpp",
3
3
  "type": "module",
4
- "version": "10.2.3",
4
+ "version": "10.3.1",
5
5
  "description": "Bump version, commit changes, tag, and push to Git",
6
6
  "authors": [
7
7
  {
@@ -51,30 +51,30 @@
51
51
  "node": ">=18"
52
52
  },
53
53
  "dependencies": {
54
- "ansis": "^4.1.0",
54
+ "ansis": "^4.2.0",
55
55
  "args-tokenizer": "^0.3.0",
56
- "c12": "^3.2.0",
56
+ "c12": "^3.3.0",
57
57
  "cac": "^6.7.14",
58
58
  "escalade": "^3.2.0",
59
59
  "jsonc-parser": "^3.3.1",
60
60
  "package-manager-detector": "^1.3.0",
61
61
  "semver": "^7.7.2",
62
62
  "tinyexec": "^1.0.1",
63
- "tinyglobby": "^0.2.14",
63
+ "tinyglobby": "^0.2.15",
64
64
  "yaml": "^2.8.1"
65
65
  },
66
66
  "devDependencies": {
67
- "@antfu/eslint-config": "^5.2.1",
68
- "@types/node": "^24.2.1",
67
+ "@antfu/eslint-config": "^5.4.1",
68
+ "@types/node": "^24.6.2",
69
69
  "@types/prompts": "^2.4.9",
70
- "@types/semver": "^7.7.0",
71
- "eslint": "^9.33.0",
70
+ "@types/semver": "^7.7.1",
71
+ "eslint": "^9.37.0",
72
72
  "prompts": "^2.4.2",
73
73
  "rimraf": "^6.0.1",
74
74
  "tiny-conventional-commits-parser": "^0.0.1",
75
- "tsx": "^4.20.3",
76
- "typescript": "^5.9.2",
77
- "unbuild": "^3.6.0",
75
+ "tsx": "^4.20.6",
76
+ "typescript": "^5.9.3",
77
+ "unbuild": "^3.6.1",
78
78
  "vitest": "^3.2.4"
79
79
  },
80
80
  "scripts": {
@@ -84,7 +84,7 @@
84
84
  "start": "tsx src/cli/run.ts",
85
85
  "test": "vitest",
86
86
  "bumpp": "tsx src/cli/run.ts",
87
- "release": "pnpm run bumpp && pnpm publish",
87
+ "release": "pnpm run bumpp",
88
88
  "typecheck": "tsc --noEmit"
89
89
  }
90
90
  }