bumpp 10.2.1 → 10.2.3
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.
package/dist/cli.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import process from 'node:process';
|
|
2
2
|
import { x, NonZeroExitError } from 'tinyexec';
|
|
3
|
-
import { l as loadBumpConfig, i as isReleaseType, b as bumpConfigDefaults, v as versionBump, P as ProgressEvent, s as symbols } from './shared/bumpp.
|
|
3
|
+
import { l as loadBumpConfig, i as isReleaseType, b as bumpConfigDefaults, v as versionBump, P as ProgressEvent, s as symbols } from './shared/bumpp.BWUvIEks.mjs';
|
|
4
4
|
import c from 'ansis';
|
|
5
5
|
import cac from 'cac';
|
|
6
6
|
import { valid } from 'semver';
|
|
@@ -24,7 +24,7 @@ var ExitCode = /* @__PURE__ */ ((ExitCode2) => {
|
|
|
24
24
|
return ExitCode2;
|
|
25
25
|
})(ExitCode || {});
|
|
26
26
|
|
|
27
|
-
const version = "10.2.
|
|
27
|
+
const version = "10.2.3";
|
|
28
28
|
|
|
29
29
|
async function parseArgs() {
|
|
30
30
|
try {
|
|
@@ -68,7 +68,7 @@ async function parseArgs() {
|
|
|
68
68
|
}
|
|
69
69
|
function loadCliArgs(argv = process.argv) {
|
|
70
70
|
const cli = cac("bumpp");
|
|
71
|
-
cli.version(version).usage("[...files]").option("--preid <preid>", "ID for prerelease").option("--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();
|
|
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
72
|
const result = cli.parse(argv);
|
|
73
73
|
const rawArgs = cli.rawArgs;
|
|
74
74
|
const args = result.options;
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { v as versionBump } from './shared/bumpp.
|
|
2
|
-
export { N as NpmScript, P as ProgressEvent, b as bumpConfigDefaults, d as defineConfig, l as loadBumpConfig, a as versionBumpInfo } from './shared/bumpp.
|
|
1
|
+
import { v as versionBump } from './shared/bumpp.BWUvIEks.mjs';
|
|
2
|
+
export { N as NpmScript, P as ProgressEvent, b as bumpConfigDefaults, d as defineConfig, l as loadBumpConfig, a as versionBumpInfo } from './shared/bumpp.BWUvIEks.mjs';
|
|
3
3
|
import 'node:process';
|
|
4
4
|
import 'args-tokenizer';
|
|
5
5
|
import 'ansis';
|
|
@@ -6709,7 +6709,8 @@ async function normalizeOptions(raw) {
|
|
|
6709
6709
|
}
|
|
6710
6710
|
if (fs.existsSync("package.json")) {
|
|
6711
6711
|
const packageJson = await fs$1.readFile("package.json", "utf8").then(JSON.parse);
|
|
6712
|
-
workspaces.
|
|
6712
|
+
const _workspaces = Array.isArray(packageJson.workspaces) ? packageJson.workspaces : packageJson.workspaces && Array.isArray(packageJson.workspaces.packages) ? packageJson.workspaces.packages : [];
|
|
6713
|
+
workspaces.push(..._workspaces);
|
|
6713
6714
|
}
|
|
6714
6715
|
const workspacesWithPackageJson = workspaces.map((workspace) => `${workspace}/package.json`);
|
|
6715
6716
|
const withoutExcludedWorkspaces = workspacesWithPackageJson.filter((workspace) => !workspace.startsWith("!") && !raw.files?.includes(workspace));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bumpp",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "10.2.
|
|
4
|
+
"version": "10.2.3",
|
|
5
5
|
"description": "Bump version, commit changes, tag, and push to Git",
|
|
6
6
|
"authors": [
|
|
7
7
|
{
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"ansis": "^4.1.0",
|
|
55
55
|
"args-tokenizer": "^0.3.0",
|
|
56
|
-
"c12": "^3.
|
|
56
|
+
"c12": "^3.2.0",
|
|
57
57
|
"cac": "^6.7.14",
|
|
58
58
|
"escalade": "^3.2.0",
|
|
59
59
|
"jsonc-parser": "^3.3.1",
|
|
@@ -61,19 +61,19 @@
|
|
|
61
61
|
"semver": "^7.7.2",
|
|
62
62
|
"tinyexec": "^1.0.1",
|
|
63
63
|
"tinyglobby": "^0.2.14",
|
|
64
|
-
"yaml": "^2.8.
|
|
64
|
+
"yaml": "^2.8.1"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@antfu/eslint-config": "^5.
|
|
68
|
-
"@types/node": "^24.1
|
|
67
|
+
"@antfu/eslint-config": "^5.2.1",
|
|
68
|
+
"@types/node": "^24.2.1",
|
|
69
69
|
"@types/prompts": "^2.4.9",
|
|
70
70
|
"@types/semver": "^7.7.0",
|
|
71
|
-
"eslint": "^9.
|
|
71
|
+
"eslint": "^9.33.0",
|
|
72
72
|
"prompts": "^2.4.2",
|
|
73
73
|
"rimraf": "^6.0.1",
|
|
74
74
|
"tiny-conventional-commits-parser": "^0.0.1",
|
|
75
75
|
"tsx": "^4.20.3",
|
|
76
|
-
"typescript": "^5.
|
|
76
|
+
"typescript": "^5.9.2",
|
|
77
77
|
"unbuild": "^3.6.0",
|
|
78
78
|
"vitest": "^3.2.4"
|
|
79
79
|
},
|