Comparing version 9.9.2 to 9.9.3
@@ -244,5 +244,5 @@ var __create = Object.create; | ||
// node_modules/.pnpm/args-tokenizer@0.2.1/node_modules/args-tokenizer/dist/args-tokenizer.js | ||
// node_modules/.pnpm/args-tokenizer@0.3.0/node_modules/args-tokenizer/dist/args-tokenizer.js | ||
var spaceRegex = /\s/; | ||
var tokenizeArgs = (argsString) => { | ||
var tokenizeArgs = (argsString, options) => { | ||
const tokens = []; | ||
@@ -287,2 +287,8 @@ let currentToken = ""; | ||
} | ||
if (options == null ? void 0 : options.loose) { | ||
return tokens; | ||
} | ||
if (openningQuote) { | ||
throw Error("Unexpected end of string. Closing quote is missing."); | ||
} | ||
return tokens; | ||
@@ -641,3 +647,3 @@ }; | ||
args = args.concat(updatedFiles); | ||
await (0, import_tinyexec2.x)("git", ["commit", ...args]); | ||
await (0, import_tinyexec2.x)("git", ["commit", ...args], { throwOnError: true }); | ||
return operation.update({ event: "git commit" /* GitCommit */, commitMessage }); | ||
@@ -663,3 +669,3 @@ } | ||
} | ||
await (0, import_tinyexec2.x)("git", ["tag", ...args]); | ||
await (0, import_tinyexec2.x)("git", ["tag", ...args], { throwOnError: true }); | ||
return operation.update({ event: "git tag" /* GitTag */, tagName }); | ||
@@ -670,5 +676,5 @@ } | ||
return operation; | ||
await (0, import_tinyexec2.x)("git", ["push"]); | ||
await (0, import_tinyexec2.x)("git", ["push"], { throwOnError: true }); | ||
if (operation.options.tag) { | ||
await (0, import_tinyexec2.x)("git", ["push", "--tags"]); | ||
await (0, import_tinyexec2.x)("git", ["push", "--tags"], { throwOnError: true }); | ||
} | ||
@@ -972,2 +978,3 @@ return operation.update({ event: "git push" /* GitPush */ }); | ||
await (0, import_tinyexec4.x)(command, args, { | ||
throwOnError: true, | ||
nodeOptions: { | ||
@@ -1012,3 +1019,3 @@ stdio: "inherit", | ||
// package.json | ||
var version = "9.9.2"; | ||
var version = "9.9.3"; | ||
@@ -1015,0 +1022,0 @@ // src/config.ts |
@@ -150,5 +150,5 @@ var __create = Object.create; | ||
// node_modules/.pnpm/args-tokenizer@0.2.1/node_modules/args-tokenizer/dist/args-tokenizer.js | ||
// node_modules/.pnpm/args-tokenizer@0.3.0/node_modules/args-tokenizer/dist/args-tokenizer.js | ||
var spaceRegex = /\s/; | ||
var tokenizeArgs = (argsString) => { | ||
var tokenizeArgs = (argsString, options) => { | ||
const tokens = []; | ||
@@ -193,2 +193,8 @@ let currentToken = ""; | ||
} | ||
if (options == null ? void 0 : options.loose) { | ||
return tokens; | ||
} | ||
if (openningQuote) { | ||
throw Error("Unexpected end of string. Closing quote is missing."); | ||
} | ||
return tokens; | ||
@@ -662,3 +668,3 @@ }; | ||
args = args.concat(updatedFiles); | ||
await (0, import_tinyexec2.x)("git", ["commit", ...args]); | ||
await (0, import_tinyexec2.x)("git", ["commit", ...args], { throwOnError: true }); | ||
return operation.update({ event: "git commit" /* GitCommit */, commitMessage }); | ||
@@ -684,3 +690,3 @@ } | ||
} | ||
await (0, import_tinyexec2.x)("git", ["tag", ...args]); | ||
await (0, import_tinyexec2.x)("git", ["tag", ...args], { throwOnError: true }); | ||
return operation.update({ event: "git tag" /* GitTag */, tagName }); | ||
@@ -691,5 +697,5 @@ } | ||
return operation; | ||
await (0, import_tinyexec2.x)("git", ["push"]); | ||
await (0, import_tinyexec2.x)("git", ["push"], { throwOnError: true }); | ||
if (operation.options.tag) { | ||
await (0, import_tinyexec2.x)("git", ["push", "--tags"]); | ||
await (0, import_tinyexec2.x)("git", ["push", "--tags"], { throwOnError: true }); | ||
} | ||
@@ -993,2 +999,3 @@ return operation.update({ event: "git push" /* GitPush */ }); | ||
await (0, import_tinyexec4.x)(command, args, { | ||
throwOnError: true, | ||
nodeOptions: { | ||
@@ -995,0 +1002,0 @@ stdio: "inherit", |
{ | ||
"name": "bumpp", | ||
"version": "9.9.2", | ||
"packageManager": "pnpm@9.15.1", | ||
"version": "9.9.3", | ||
"packageManager": "pnpm@9.15.3", | ||
"description": "Bump version, commit changes, tag, and push to Git", | ||
@@ -70,12 +70,12 @@ "author": { | ||
"semver": "^7.6.3", | ||
"tinyexec": "^0.3.1", | ||
"tinyexec": "^0.3.2", | ||
"tinyglobby": "^0.2.10" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^3.12.0", | ||
"@antfu/eslint-config": "^3.12.1", | ||
"@types/js-yaml": "^4.0.9", | ||
"@types/node": "^22.10.2", | ||
"@types/node": "^22.10.5", | ||
"@types/prompts": "^2.4.9", | ||
"@types/semver": "^7.5.8", | ||
"args-tokenizer": "^0.2.1", | ||
"args-tokenizer": "^0.3.0", | ||
"eslint": "^9.17.0", | ||
@@ -82,0 +82,0 @@ "esno": "^4.8.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
154030
3863
Updatedtinyexec@^0.3.2