bumpp 9.5.1 → 9.5.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.
|
@@ -1089,6 +1089,7 @@ function hasScript(manifest, script) {
|
|
|
1089
1089
|
|
|
1090
1090
|
// src/update-files.ts
|
|
1091
1091
|
import * as path2 from "path";
|
|
1092
|
+
import { existsSync } from "fs";
|
|
1092
1093
|
async function updateFiles(operation) {
|
|
1093
1094
|
const { files } = operation.options;
|
|
1094
1095
|
for (const relPath of files) {
|
|
@@ -1108,6 +1109,9 @@ async function updateFiles(operation) {
|
|
|
1108
1109
|
return operation;
|
|
1109
1110
|
}
|
|
1110
1111
|
async function updateFile(relPath, operation) {
|
|
1112
|
+
if (!existsSync(relPath)) {
|
|
1113
|
+
return false;
|
|
1114
|
+
}
|
|
1111
1115
|
const name = path2.basename(relPath).trim().toLowerCase();
|
|
1112
1116
|
switch (name) {
|
|
1113
1117
|
case "package.json":
|
package/dist/cli/index.js
CHANGED
|
@@ -636,7 +636,7 @@ var logSymbols = isUnicodeSupported() ? main : fallback;
|
|
|
636
636
|
var log_symbols_default = logSymbols;
|
|
637
637
|
|
|
638
638
|
// package.json
|
|
639
|
-
var version = "9.5.
|
|
639
|
+
var version = "9.5.2";
|
|
640
640
|
|
|
641
641
|
// src/version-bump.ts
|
|
642
642
|
var import_node_process5 = __toESM(require("process"));
|
|
@@ -1083,6 +1083,7 @@ function hasScript(manifest, script) {
|
|
|
1083
1083
|
|
|
1084
1084
|
// src/update-files.ts
|
|
1085
1085
|
var path2 = __toESM(require("path"));
|
|
1086
|
+
var import_node_fs3 = require("fs");
|
|
1086
1087
|
async function updateFiles(operation) {
|
|
1087
1088
|
const { files } = operation.options;
|
|
1088
1089
|
for (const relPath of files) {
|
|
@@ -1102,6 +1103,9 @@ async function updateFiles(operation) {
|
|
|
1102
1103
|
return operation;
|
|
1103
1104
|
}
|
|
1104
1105
|
async function updateFile(relPath, operation) {
|
|
1106
|
+
if (!(0, import_node_fs3.existsSync)(relPath)) {
|
|
1107
|
+
return false;
|
|
1108
|
+
}
|
|
1105
1109
|
const name = path2.basename(relPath).trim().toLowerCase();
|
|
1106
1110
|
switch (name) {
|
|
1107
1111
|
case "package.json":
|
package/dist/cli/index.mjs
CHANGED
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
log_symbols_default,
|
|
11
11
|
require_picocolors,
|
|
12
12
|
versionBump
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-XWLO3OHD.mjs";
|
|
14
14
|
|
|
15
15
|
// src/cli/index.ts
|
|
16
16
|
import process2 from "process";
|
|
17
17
|
|
|
18
18
|
// package.json
|
|
19
|
-
var version = "9.5.
|
|
19
|
+
var version = "9.5.2";
|
|
20
20
|
|
|
21
21
|
// src/cli/parse-args.ts
|
|
22
22
|
var import_picocolors = __toESM(require_picocolors());
|
package/dist/index.js
CHANGED
|
@@ -1107,6 +1107,7 @@ function hasScript(manifest, script) {
|
|
|
1107
1107
|
|
|
1108
1108
|
// src/update-files.ts
|
|
1109
1109
|
var path2 = __toESM(require("path"));
|
|
1110
|
+
var import_node_fs3 = require("fs");
|
|
1110
1111
|
async function updateFiles(operation) {
|
|
1111
1112
|
const { files } = operation.options;
|
|
1112
1113
|
for (const relPath of files) {
|
|
@@ -1126,6 +1127,9 @@ async function updateFiles(operation) {
|
|
|
1126
1127
|
return operation;
|
|
1127
1128
|
}
|
|
1128
1129
|
async function updateFile(relPath, operation) {
|
|
1130
|
+
if (!(0, import_node_fs3.existsSync)(relPath)) {
|
|
1131
|
+
return false;
|
|
1132
|
+
}
|
|
1129
1133
|
const name = path2.basename(relPath).trim().toLowerCase();
|
|
1130
1134
|
switch (name) {
|
|
1131
1135
|
case "package.json":
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bumpp",
|
|
3
|
-
"version": "9.5.
|
|
4
|
-
"packageManager": "pnpm@9.
|
|
3
|
+
"version": "9.5.2",
|
|
4
|
+
"packageManager": "pnpm@9.8.0",
|
|
5
5
|
"description": "Bump version, commit changes, tag, and push to Git",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "James Messinger",
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
"semver": "^7.6.3"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@antfu/eslint-config": "^2.
|
|
73
|
+
"@antfu/eslint-config": "^2.27.0",
|
|
74
74
|
"@types/js-yaml": "^4.0.9",
|
|
75
|
-
"@types/node": "^22.
|
|
75
|
+
"@types/node": "^22.5.0",
|
|
76
76
|
"@types/prompts": "^2.4.9",
|
|
77
77
|
"@types/semver": "^7.5.8",
|
|
78
78
|
"eslint": "^9.9.0",
|