🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

cross-release-cli

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cross-release-cli - npm Package Compare versions

Comparing version
0.1.0-alpha.3
to
0.1.0-alpha.4
+14
-14
dist/app.js

@@ -29,3 +29,3 @@ // src/app.ts

// package.json
var version = "0.1.0-alpha.2";
var version = "0.1.0-alpha.3";

@@ -201,4 +201,4 @@ // src/constants.ts

if (!dry) {
const { exitCode, failed, shortMessage, stderr, stdout } = execa("git", ["tag", ...args], { cwd });
debug4("git tag stdout:", stdout, stderr);
const { all, exitCode, failed, shortMessage } = execa("git", ["tag", ...args], { cwd });
debug4("git tag stdout:", all);
if (failed) {

@@ -233,4 +233,4 @@ s.stop(color.red(shortMessage), exitCode);

if (!dry) {
const { exitCode, failed, shortMessage, stderr, stdout } = execa("git", ["commit", ...args], { cwd });
debug4("git commit stdout:", stdout, stderr);
const { all, exitCode, failed, shortMessage } = execa("git", ["commit", ...args], { cwd });
debug4("git commit stdout: %s", all);
if (failed) {

@@ -264,4 +264,4 @@ s.stop(color.red(shortMessage), exitCode);

if (!dry) {
const { exitCode, failed, shortMessage, stderr, stdout } = execa("git", ["push", ...args], { cwd });
debug4("git push stdout:", stdout, stderr);
const { all, exitCode, failed, shortMessage } = execa("git", ["push", ...args], { cwd });
debug4("git push stdout: %s", all);
if (failed) {

@@ -289,3 +289,3 @@ s.stop(color.red(shortMessage), exitCode);

if (all) {
args.push("-A");
args.push("--all");
} else if (files.length > 0) {

@@ -296,4 +296,4 @@ args.push("--", ...files);

if (!dry) {
const { failed, stderr, stdout } = execa("git", ["add", ...args], { cwd });
debug4("git add stdout:", stdout, stderr);
const { all: all2, failed } = execa("git", ["add", ...args], { cwd });
debug4("git add stdout:", all2);
if (failed) {

@@ -303,3 +303,2 @@ return false;

}
debug4("add files:", files);
return true;

@@ -478,6 +477,7 @@ }

});
const _all = stageAll ?? all;
this.#addTask({
exec: () => {
return gitAdd({
all: stageAll === false ? all : stageAll,
all: _all,
cwd,

@@ -497,4 +497,4 @@ dry,

message: commitMessage,
modifiedFiles: this._modifiedFiles,
// stageAll,
modifiedFiles: _all ? void 0 : this._modifiedFiles,
stageAll: _all,
verify

@@ -501,0 +501,0 @@ });

{
"name": "cross-release-cli",
"type": "module",
"version": "0.1.0-alpha.3",
"version": "0.1.0-alpha.4",
"description": "command line app for cross language bump utility",

@@ -39,3 +39,3 @@ "author": {

"unconfig": "^0.5.5",
"cross-bump": "0.1.0-alpha.3"
"cross-bump": "0.1.0-alpha.4"
},

@@ -42,0 +42,0 @@ "scripts": {