bumpp 9.10.0 → 9.10.2
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/{chunk-QXSKCVPH.mjs → chunk-W5LZZJWM.mjs} +15 -5
- package/dist/cli/index.js +16 -6
- package/dist/cli/index.mjs +2 -2
- package/dist/index.js +15 -5
- package/dist/index.mjs +1 -1
- package/package.json +6 -6
|
@@ -328,7 +328,7 @@ async function readJsoncFile(name, cwd) {
|
|
|
328
328
|
async function writeJsoncFile(file) {
|
|
329
329
|
let newJSON = file.text;
|
|
330
330
|
for (const [key, value] of file.modified) {
|
|
331
|
-
const edit = jsonc.modify(
|
|
331
|
+
const edit = jsonc.modify(newJSON, key, value, {});
|
|
332
332
|
newJSON = jsonc.applyEdits(newJSON, edit);
|
|
333
333
|
}
|
|
334
334
|
return writeTextFile(__spreadProps(__spreadValues({}, file), { data: newJSON }));
|
|
@@ -419,14 +419,24 @@ import semver, { clean as cleanVersion, valid as isValidVersion2, SemVer } from
|
|
|
419
419
|
var import_picocolors = __toESM(require_picocolors());
|
|
420
420
|
import { x } from "tinyexec";
|
|
421
421
|
var messageColorMap = {
|
|
422
|
-
chore: import_picocolors.default.gray,
|
|
423
|
-
fix: import_picocolors.default.yellow,
|
|
424
422
|
feat: import_picocolors.default.green,
|
|
423
|
+
feature: import_picocolors.default.green,
|
|
425
424
|
refactor: import_picocolors.default.cyan,
|
|
425
|
+
style: import_picocolors.default.cyan,
|
|
426
426
|
docs: import_picocolors.default.blue,
|
|
427
427
|
doc: import_picocolors.default.blue,
|
|
428
|
+
types: import_picocolors.default.blue,
|
|
429
|
+
type: import_picocolors.default.blue,
|
|
430
|
+
chore: import_picocolors.default.gray,
|
|
428
431
|
ci: import_picocolors.default.gray,
|
|
429
|
-
build: import_picocolors.default.gray
|
|
432
|
+
build: import_picocolors.default.gray,
|
|
433
|
+
deps: import_picocolors.default.gray,
|
|
434
|
+
dev: import_picocolors.default.gray,
|
|
435
|
+
fix: import_picocolors.default.yellow,
|
|
436
|
+
test: import_picocolors.default.yellow,
|
|
437
|
+
perf: import_picocolors.default.magenta,
|
|
438
|
+
revert: import_picocolors.default.red,
|
|
439
|
+
breaking: import_picocolors.default.red
|
|
430
440
|
};
|
|
431
441
|
function parseCommits(raw) {
|
|
432
442
|
const lines = raw.toString().trim().split(/\n/g);
|
|
@@ -897,7 +907,7 @@ async function updateFiles(operation) {
|
|
|
897
907
|
return operation;
|
|
898
908
|
}
|
|
899
909
|
async function updateFile(relPath, operation) {
|
|
900
|
-
if (!existsSync(relPath)) {
|
|
910
|
+
if (!existsSync(path2.join(operation.options.cwd, relPath))) {
|
|
901
911
|
return false;
|
|
902
912
|
}
|
|
903
913
|
const name = path2.basename(relPath).trim().toLowerCase();
|
package/dist/cli/index.js
CHANGED
|
@@ -313,7 +313,7 @@ async function readJsoncFile(name, cwd) {
|
|
|
313
313
|
async function writeJsoncFile(file) {
|
|
314
314
|
let newJSON = file.text;
|
|
315
315
|
for (const [key, value] of file.modified) {
|
|
316
|
-
const edit = jsonc.modify(
|
|
316
|
+
const edit = jsonc.modify(newJSON, key, value, {});
|
|
317
317
|
newJSON = jsonc.applyEdits(newJSON, edit);
|
|
318
318
|
}
|
|
319
319
|
return writeTextFile(__spreadProps(__spreadValues({}, file), { data: newJSON }));
|
|
@@ -404,14 +404,24 @@ var import_semver2 = __toESM(require("semver"));
|
|
|
404
404
|
var import_picocolors = __toESM(require_picocolors());
|
|
405
405
|
var import_tinyexec = require("tinyexec");
|
|
406
406
|
var messageColorMap = {
|
|
407
|
-
chore: import_picocolors.default.gray,
|
|
408
|
-
fix: import_picocolors.default.yellow,
|
|
409
407
|
feat: import_picocolors.default.green,
|
|
408
|
+
feature: import_picocolors.default.green,
|
|
410
409
|
refactor: import_picocolors.default.cyan,
|
|
410
|
+
style: import_picocolors.default.cyan,
|
|
411
411
|
docs: import_picocolors.default.blue,
|
|
412
412
|
doc: import_picocolors.default.blue,
|
|
413
|
+
types: import_picocolors.default.blue,
|
|
414
|
+
type: import_picocolors.default.blue,
|
|
415
|
+
chore: import_picocolors.default.gray,
|
|
413
416
|
ci: import_picocolors.default.gray,
|
|
414
|
-
build: import_picocolors.default.gray
|
|
417
|
+
build: import_picocolors.default.gray,
|
|
418
|
+
deps: import_picocolors.default.gray,
|
|
419
|
+
dev: import_picocolors.default.gray,
|
|
420
|
+
fix: import_picocolors.default.yellow,
|
|
421
|
+
test: import_picocolors.default.yellow,
|
|
422
|
+
perf: import_picocolors.default.magenta,
|
|
423
|
+
revert: import_picocolors.default.red,
|
|
424
|
+
breaking: import_picocolors.default.red
|
|
415
425
|
};
|
|
416
426
|
function parseCommits(raw) {
|
|
417
427
|
const lines = raw.toString().trim().split(/\n/g);
|
|
@@ -892,7 +902,7 @@ async function updateFiles(operation) {
|
|
|
892
902
|
return operation;
|
|
893
903
|
}
|
|
894
904
|
async function updateFile(relPath, operation) {
|
|
895
|
-
if (!(0, import_node_fs3.existsSync)(relPath)) {
|
|
905
|
+
if (!(0, import_node_fs3.existsSync)(path2.join(operation.options.cwd, relPath))) {
|
|
896
906
|
return false;
|
|
897
907
|
}
|
|
898
908
|
const name = path2.basename(relPath).trim().toLowerCase();
|
|
@@ -1035,7 +1045,7 @@ var import_picocolors4 = __toESM(require_picocolors());
|
|
|
1035
1045
|
var import_semver3 = require("semver");
|
|
1036
1046
|
|
|
1037
1047
|
// package.json
|
|
1038
|
-
var version = "9.10.
|
|
1048
|
+
var version = "9.10.2";
|
|
1039
1049
|
|
|
1040
1050
|
// src/config.ts
|
|
1041
1051
|
var import_node_path2 = require("path");
|
package/dist/cli/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
require_picocolors,
|
|
11
11
|
symbols_exports,
|
|
12
12
|
versionBump
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-W5LZZJWM.mjs";
|
|
14
14
|
|
|
15
15
|
// src/cli/index.ts
|
|
16
16
|
import process2 from "node:process";
|
|
@@ -23,7 +23,7 @@ import cac from "cac";
|
|
|
23
23
|
import { valid as isValidVersion } from "semver";
|
|
24
24
|
|
|
25
25
|
// package.json
|
|
26
|
-
var version = "9.10.
|
|
26
|
+
var version = "9.10.2";
|
|
27
27
|
|
|
28
28
|
// src/cli/parse-args.ts
|
|
29
29
|
async function parseArgs() {
|
package/dist/index.js
CHANGED
|
@@ -315,7 +315,7 @@ async function readJsoncFile(name, cwd) {
|
|
|
315
315
|
async function writeJsoncFile(file) {
|
|
316
316
|
let newJSON = file.text;
|
|
317
317
|
for (const [key, value] of file.modified) {
|
|
318
|
-
const edit = jsonc.modify(
|
|
318
|
+
const edit = jsonc.modify(newJSON, key, value, {});
|
|
319
319
|
newJSON = jsonc.applyEdits(newJSON, edit);
|
|
320
320
|
}
|
|
321
321
|
return writeTextFile(__spreadProps(__spreadValues({}, file), { data: newJSON }));
|
|
@@ -406,14 +406,24 @@ var import_semver2 = __toESM(require("semver"));
|
|
|
406
406
|
var import_picocolors = __toESM(require_picocolors());
|
|
407
407
|
var import_tinyexec = require("tinyexec");
|
|
408
408
|
var messageColorMap = {
|
|
409
|
-
chore: import_picocolors.default.gray,
|
|
410
|
-
fix: import_picocolors.default.yellow,
|
|
411
409
|
feat: import_picocolors.default.green,
|
|
410
|
+
feature: import_picocolors.default.green,
|
|
412
411
|
refactor: import_picocolors.default.cyan,
|
|
412
|
+
style: import_picocolors.default.cyan,
|
|
413
413
|
docs: import_picocolors.default.blue,
|
|
414
414
|
doc: import_picocolors.default.blue,
|
|
415
|
+
types: import_picocolors.default.blue,
|
|
416
|
+
type: import_picocolors.default.blue,
|
|
417
|
+
chore: import_picocolors.default.gray,
|
|
415
418
|
ci: import_picocolors.default.gray,
|
|
416
|
-
build: import_picocolors.default.gray
|
|
419
|
+
build: import_picocolors.default.gray,
|
|
420
|
+
deps: import_picocolors.default.gray,
|
|
421
|
+
dev: import_picocolors.default.gray,
|
|
422
|
+
fix: import_picocolors.default.yellow,
|
|
423
|
+
test: import_picocolors.default.yellow,
|
|
424
|
+
perf: import_picocolors.default.magenta,
|
|
425
|
+
revert: import_picocolors.default.red,
|
|
426
|
+
breaking: import_picocolors.default.red
|
|
417
427
|
};
|
|
418
428
|
function parseCommits(raw) {
|
|
419
429
|
const lines = raw.toString().trim().split(/\n/g);
|
|
@@ -913,7 +923,7 @@ async function updateFiles(operation) {
|
|
|
913
923
|
return operation;
|
|
914
924
|
}
|
|
915
925
|
async function updateFile(relPath, operation) {
|
|
916
|
-
if (!(0, import_node_fs3.existsSync)(relPath)) {
|
|
926
|
+
if (!(0, import_node_fs3.existsSync)(path2.join(operation.options.cwd, relPath))) {
|
|
917
927
|
return false;
|
|
918
928
|
}
|
|
919
929
|
const name = path2.basename(relPath).trim().toLowerCase();
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bumpp",
|
|
3
|
-
"version": "9.10.
|
|
4
|
-
"packageManager": "pnpm@9.15.
|
|
3
|
+
"version": "9.10.2",
|
|
4
|
+
"packageManager": "pnpm@9.15.4",
|
|
5
5
|
"description": "Bump version, commit changes, tag, and push to Git",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "James Messinger",
|
|
@@ -72,13 +72,13 @@
|
|
|
72
72
|
"tinyglobby": "^0.2.10"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@antfu/eslint-config": "^3.
|
|
75
|
+
"@antfu/eslint-config": "^3.16.0",
|
|
76
76
|
"@types/js-yaml": "^4.0.9",
|
|
77
|
-
"@types/node": "^22.10.
|
|
77
|
+
"@types/node": "^22.10.7",
|
|
78
78
|
"@types/prompts": "^2.4.9",
|
|
79
79
|
"@types/semver": "^7.5.8",
|
|
80
80
|
"args-tokenizer": "^0.3.0",
|
|
81
|
-
"eslint": "^9.
|
|
81
|
+
"eslint": "^9.18.0",
|
|
82
82
|
"esno": "^4.8.0",
|
|
83
83
|
"log-symbols": "^7.0.0",
|
|
84
84
|
"npm-check": "^6.0.1",
|
|
@@ -86,6 +86,6 @@
|
|
|
86
86
|
"rimraf": "^6.0.1",
|
|
87
87
|
"tsup": "^8.3.5",
|
|
88
88
|
"typescript": "^5.7.3",
|
|
89
|
-
"vitest": "^
|
|
89
|
+
"vitest": "^3.0.3"
|
|
90
90
|
}
|
|
91
91
|
}
|