@storm-software/git-tools 2.112.10 → 2.112.12
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/README.md +1 -1
- package/bin/{chunk-TEVM6PTO.js → chunk-37GUKAEH.js} +17 -12
- package/bin/{chunk-DHMJJX7U.cjs → chunk-M7I7GGGA.cjs} +21 -16
- package/bin/git.cjs +63 -63
- package/bin/git.js +1 -1
- package/bin/post-checkout.cjs +9 -9
- package/bin/post-checkout.js +1 -1
- package/bin/post-commit.cjs +9 -9
- package/bin/post-commit.js +1 -1
- package/bin/post-merge.cjs +9 -9
- package/bin/post-merge.js +1 -1
- package/bin/pre-commit.cjs +9 -9
- package/bin/pre-commit.js +1 -1
- package/bin/pre-install.cjs +9 -9
- package/bin/pre-install.js +1 -1
- package/bin/pre-push.cjs +13 -13
- package/bin/pre-push.js +1 -1
- package/bin/prepare.cjs +7 -7
- package/bin/prepare.js +1 -1
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -32941,7 +32941,7 @@ ${trace}`);
|
|
|
32941
32941
|
}
|
|
32942
32942
|
});
|
|
32943
32943
|
|
|
32944
|
-
// ../../node_modules/.pnpm/dotenv@16.6.
|
|
32944
|
+
// ../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/package.json
|
|
32945
32945
|
var package_exports = {};
|
|
32946
32946
|
__export(package_exports, {
|
|
32947
32947
|
browser: () => browser,
|
|
@@ -32964,9 +32964,9 @@ __export(package_exports, {
|
|
|
32964
32964
|
});
|
|
32965
32965
|
var name, version2, description, main, types, exports, scripts, repository, homepage, funding, keywords, readmeFilename, license, devDependencies, engines, browser, package_default;
|
|
32966
32966
|
var init_package = __esm({
|
|
32967
|
-
"../../node_modules/.pnpm/dotenv@16.6.
|
|
32967
|
+
"../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/package.json"() {
|
|
32968
32968
|
name = "dotenv";
|
|
32969
|
-
version2 = "16.6.
|
|
32969
|
+
version2 = "16.6.1";
|
|
32970
32970
|
description = "Loads environment variables from .env file";
|
|
32971
32971
|
main = "lib/main.js";
|
|
32972
32972
|
types = "lib/main.d.ts";
|
|
@@ -32989,7 +32989,7 @@ var init_package = __esm({
|
|
|
32989
32989
|
lint: "standard",
|
|
32990
32990
|
pretest: "npm run lint && npm run dts-check",
|
|
32991
32991
|
test: "tap run --allow-empty-coverage --disable-coverage --timeout=60000",
|
|
32992
|
-
"test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=lcov",
|
|
32992
|
+
"test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov",
|
|
32993
32993
|
prerelease: "npm test",
|
|
32994
32994
|
release: "standard-version"
|
|
32995
32995
|
};
|
|
@@ -33046,13 +33046,13 @@ var init_package = __esm({
|
|
|
33046
33046
|
}
|
|
33047
33047
|
});
|
|
33048
33048
|
|
|
33049
|
-
// ../../node_modules/.pnpm/dotenv@16.6.
|
|
33049
|
+
// ../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/lib/main.js
|
|
33050
33050
|
import * as __import_fs2 from "fs";
|
|
33051
33051
|
import * as __import_path2 from "path";
|
|
33052
33052
|
import * as __import_os3 from "os";
|
|
33053
33053
|
import * as __import_crypto from "crypto";
|
|
33054
33054
|
var require_main = __commonJS({
|
|
33055
|
-
"../../node_modules/.pnpm/dotenv@16.6.
|
|
33055
|
+
"../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/lib/main.js"(exports2, module) {
|
|
33056
33056
|
init_esm_shims();
|
|
33057
33057
|
init_package();
|
|
33058
33058
|
var fs = __import_fs2;
|
|
@@ -33082,6 +33082,7 @@ var require_main = __commonJS({
|
|
|
33082
33082
|
return obj;
|
|
33083
33083
|
}
|
|
33084
33084
|
function _parseVault(options) {
|
|
33085
|
+
options = options || {};
|
|
33085
33086
|
const vaultPath = _vaultPath(options);
|
|
33086
33087
|
options.path = vaultPath;
|
|
33087
33088
|
const result = DotenvModule.configDotenv(options);
|
|
@@ -33183,7 +33184,7 @@ var require_main = __commonJS({
|
|
|
33183
33184
|
}
|
|
33184
33185
|
function _configVault(options) {
|
|
33185
33186
|
const debug = Boolean(options && options.debug);
|
|
33186
|
-
const quiet =
|
|
33187
|
+
const quiet = options && "quiet" in options ? options.quiet : true;
|
|
33187
33188
|
if (debug || !quiet) {
|
|
33188
33189
|
_log("Loading env from encrypted .env.vault");
|
|
33189
33190
|
}
|
|
@@ -33199,7 +33200,7 @@ var require_main = __commonJS({
|
|
|
33199
33200
|
const dotenvPath = path.resolve(process.cwd(), ".env");
|
|
33200
33201
|
let encoding = "utf8";
|
|
33201
33202
|
const debug = Boolean(options && options.debug);
|
|
33202
|
-
const quiet =
|
|
33203
|
+
const quiet = options && "quiet" in options ? options.quiet : true;
|
|
33203
33204
|
if (options && options.encoding) {
|
|
33204
33205
|
encoding = options.encoding;
|
|
33205
33206
|
} else {
|
|
@@ -33243,7 +33244,11 @@ var require_main = __commonJS({
|
|
|
33243
33244
|
try {
|
|
33244
33245
|
const relative = path.relative(process.cwd(), filePath);
|
|
33245
33246
|
shortPaths.push(relative);
|
|
33246
|
-
} catch {
|
|
33247
|
+
} catch (e) {
|
|
33248
|
+
if (debug) {
|
|
33249
|
+
_debug(`Failed to load ${filePath} ${e.message}`);
|
|
33250
|
+
}
|
|
33251
|
+
lastError = e;
|
|
33247
33252
|
}
|
|
33248
33253
|
}
|
|
33249
33254
|
_log(`injecting env (${keysCount}) from ${shortPaths.join(",")}`);
|
|
@@ -37621,7 +37626,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CON
|
|
|
37621
37626
|
return (message) => {
|
|
37622
37627
|
console.debug(
|
|
37623
37628
|
`
|
|
37624
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
37629
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#3e9eff")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
37625
37630
|
`
|
|
37626
37631
|
);
|
|
37627
37632
|
};
|
|
@@ -37630,7 +37635,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CO
|
|
|
37630
37635
|
return (message) => {
|
|
37631
37636
|
console.debug(
|
|
37632
37637
|
`
|
|
37633
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
37638
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0070E0")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
37634
37639
|
`
|
|
37635
37640
|
);
|
|
37636
37641
|
};
|
|
@@ -37638,7 +37643,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CO
|
|
|
37638
37643
|
return (message) => {
|
|
37639
37644
|
console.log(
|
|
37640
37645
|
`
|
|
37641
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
37646
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0356a8")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
37642
37647
|
`
|
|
37643
37648
|
);
|
|
37644
37649
|
};
|
|
@@ -32920,12 +32920,12 @@ ${trace}`);
|
|
|
32920
32920
|
}
|
|
32921
32921
|
});
|
|
32922
32922
|
|
|
32923
|
-
// ../../node_modules/.pnpm/dotenv@16.6.
|
|
32923
|
+
// ../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/package.json
|
|
32924
32924
|
var require_package = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
|
|
32925
|
-
"../../node_modules/.pnpm/dotenv@16.6.
|
|
32925
|
+
"../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/package.json"(exports, module) {
|
|
32926
32926
|
module.exports = {
|
|
32927
32927
|
name: "dotenv",
|
|
32928
|
-
version: "16.6.
|
|
32928
|
+
version: "16.6.1",
|
|
32929
32929
|
description: "Loads environment variables from .env file",
|
|
32930
32930
|
main: "lib/main.js",
|
|
32931
32931
|
types: "lib/main.d.ts",
|
|
@@ -32948,7 +32948,7 @@ var require_package = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
|
|
|
32948
32948
|
lint: "standard",
|
|
32949
32949
|
pretest: "npm run lint && npm run dts-check",
|
|
32950
32950
|
test: "tap run --allow-empty-coverage --disable-coverage --timeout=60000",
|
|
32951
|
-
"test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=lcov",
|
|
32951
|
+
"test:coverage": "tap run --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov",
|
|
32952
32952
|
prerelease: "npm test",
|
|
32953
32953
|
release: "standard-version"
|
|
32954
32954
|
},
|
|
@@ -32988,9 +32988,9 @@ var require_package = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
|
|
|
32988
32988
|
}
|
|
32989
32989
|
});
|
|
32990
32990
|
|
|
32991
|
-
// ../../node_modules/.pnpm/dotenv@16.6.
|
|
32991
|
+
// ../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/lib/main.js
|
|
32992
32992
|
var require_main = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
|
|
32993
|
-
"../../node_modules/.pnpm/dotenv@16.6.
|
|
32993
|
+
"../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/lib/main.js"(exports, module) {
|
|
32994
32994
|
_chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
|
|
32995
32995
|
var fs = _chunkIG6EXAQUcjs.__require.call(void 0, "fs");
|
|
32996
32996
|
var path = _chunkIG6EXAQUcjs.__require.call(void 0, "path");
|
|
@@ -33019,6 +33019,7 @@ var require_main = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
|
|
|
33019
33019
|
return obj;
|
|
33020
33020
|
}
|
|
33021
33021
|
function _parseVault(options) {
|
|
33022
|
+
options = options || {};
|
|
33022
33023
|
const vaultPath = _vaultPath(options);
|
|
33023
33024
|
options.path = vaultPath;
|
|
33024
33025
|
const result = DotenvModule.configDotenv(options);
|
|
@@ -33120,7 +33121,7 @@ var require_main = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
|
|
|
33120
33121
|
}
|
|
33121
33122
|
function _configVault(options) {
|
|
33122
33123
|
const debug = Boolean(options && options.debug);
|
|
33123
|
-
const quiet =
|
|
33124
|
+
const quiet = options && "quiet" in options ? options.quiet : true;
|
|
33124
33125
|
if (debug || !quiet) {
|
|
33125
33126
|
_log("Loading env from encrypted .env.vault");
|
|
33126
33127
|
}
|
|
@@ -33136,7 +33137,7 @@ var require_main = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
|
|
|
33136
33137
|
const dotenvPath = path.resolve(process.cwd(), ".env");
|
|
33137
33138
|
let encoding = "utf8";
|
|
33138
33139
|
const debug = Boolean(options && options.debug);
|
|
33139
|
-
const quiet =
|
|
33140
|
+
const quiet = options && "quiet" in options ? options.quiet : true;
|
|
33140
33141
|
if (options && options.encoding) {
|
|
33141
33142
|
encoding = options.encoding;
|
|
33142
33143
|
} else {
|
|
@@ -33180,7 +33181,11 @@ var require_main = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
|
|
|
33180
33181
|
try {
|
|
33181
33182
|
const relative = path.relative(process.cwd(), filePath);
|
|
33182
33183
|
shortPaths.push(relative);
|
|
33183
|
-
} catch (
|
|
33184
|
+
} catch (e) {
|
|
33185
|
+
if (debug) {
|
|
33186
|
+
_debug(`Failed to load ${filePath} ${e.message}`);
|
|
33187
|
+
}
|
|
33188
|
+
lastError = e;
|
|
33184
33189
|
}
|
|
33185
33190
|
}
|
|
33186
33191
|
_log(`injecting env (${keysCount}) from ${shortPaths.join(",")}`);
|
|
@@ -34628,7 +34633,7 @@ var $ZodIPv6 = /* @__PURE__ */ $constructor("$ZodIPv6", (inst, def) => {
|
|
|
34628
34633
|
inst._zod.check = (payload) => {
|
|
34629
34634
|
try {
|
|
34630
34635
|
new URL(`http://[${payload.value}]`);
|
|
34631
|
-
} catch (
|
|
34636
|
+
} catch (e13) {
|
|
34632
34637
|
payload.issues.push({
|
|
34633
34638
|
code: "invalid_format",
|
|
34634
34639
|
format: "ipv6",
|
|
@@ -34657,7 +34662,7 @@ var $ZodCIDRv6 = /* @__PURE__ */ $constructor("$ZodCIDRv6", (inst, def) => {
|
|
|
34657
34662
|
if (prefixNum < 0 || prefixNum > 128)
|
|
34658
34663
|
throw new Error();
|
|
34659
34664
|
new URL(`http://[${address}]`);
|
|
34660
|
-
} catch (
|
|
34665
|
+
} catch (e14) {
|
|
34661
34666
|
payload.issues.push({
|
|
34662
34667
|
code: "invalid_format",
|
|
34663
34668
|
format: "cidrv6",
|
|
@@ -34676,7 +34681,7 @@ function isValidBase64(data) {
|
|
|
34676
34681
|
try {
|
|
34677
34682
|
atob(data);
|
|
34678
34683
|
return true;
|
|
34679
|
-
} catch (
|
|
34684
|
+
} catch (e15) {
|
|
34680
34685
|
return false;
|
|
34681
34686
|
}
|
|
34682
34687
|
}
|
|
@@ -34741,7 +34746,7 @@ function isValidJWT(token, algorithm = null) {
|
|
|
34741
34746
|
if (algorithm && (!("alg" in parsedHeader) || parsedHeader.alg !== algorithm))
|
|
34742
34747
|
return false;
|
|
34743
34748
|
return true;
|
|
34744
|
-
} catch (
|
|
34749
|
+
} catch (e16) {
|
|
34745
34750
|
return false;
|
|
34746
34751
|
}
|
|
34747
34752
|
}
|
|
@@ -37558,7 +37563,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, ()
|
|
|
37558
37563
|
return (message) => {
|
|
37559
37564
|
console.debug(
|
|
37560
37565
|
`
|
|
37561
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
37566
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#3e9eff")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
37562
37567
|
`
|
|
37563
37568
|
);
|
|
37564
37569
|
};
|
|
@@ -37567,7 +37572,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, ()
|
|
|
37567
37572
|
return (message) => {
|
|
37568
37573
|
console.debug(
|
|
37569
37574
|
`
|
|
37570
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
37575
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0070E0")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
37571
37576
|
`
|
|
37572
37577
|
);
|
|
37573
37578
|
};
|
|
@@ -37575,7 +37580,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, ()
|
|
|
37575
37580
|
return (message) => {
|
|
37576
37581
|
console.log(
|
|
37577
37582
|
`
|
|
37578
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
37583
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#0356a8")(`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
37579
37584
|
`
|
|
37580
37585
|
);
|
|
37581
37586
|
};
|
package/bin/git.cjs
CHANGED
|
@@ -20,7 +20,7 @@ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkM7I7GGGAcjs = require('./chunk-M7I7GGGA.cjs');
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
var _chunkFMYKTN2Zcjs = require('./chunk-FMYKTN2Z.cjs');
|
|
@@ -3274,7 +3274,7 @@ var require_wrap_ansi = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
|
|
|
3274
3274
|
_chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
|
|
3275
3275
|
var stringWidth = require_string_width();
|
|
3276
3276
|
var stripAnsi2 = require_strip_ansi();
|
|
3277
|
-
var ansiStyles2 =
|
|
3277
|
+
var ansiStyles2 = _chunkM7I7GGGAcjs.require_ansi_styles.call(void 0, );
|
|
3278
3278
|
var ESCAPES2 = /* @__PURE__ */ new Set([
|
|
3279
3279
|
"\x1B",
|
|
3280
3280
|
"\x9B"
|
|
@@ -15298,7 +15298,7 @@ var require_node = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
|
|
|
15298
15298
|
);
|
|
15299
15299
|
exports.colors = [6, 2, 3, 4, 5, 1];
|
|
15300
15300
|
try {
|
|
15301
|
-
const supportsColor2 =
|
|
15301
|
+
const supportsColor2 = _chunkM7I7GGGAcjs.require_supports_color.call(void 0, );
|
|
15302
15302
|
if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
|
|
15303
15303
|
exports.colors = [
|
|
15304
15304
|
20,
|
|
@@ -70469,7 +70469,7 @@ function getRuleFromScopeEnum(scopeEnum2) {
|
|
|
70469
70469
|
// src/commitlint/run.ts
|
|
70470
70470
|
var COMMIT_EDITMSG_PATH = ".git/COMMIT_EDITMSG";
|
|
70471
70471
|
var runCommitLint = async (config, params) => {
|
|
70472
|
-
|
|
70472
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0,
|
|
70473
70473
|
"\u{1F4DD} Validating git commit message aligns with the Storm Software specification",
|
|
70474
70474
|
config
|
|
70475
70475
|
);
|
|
@@ -70477,7 +70477,7 @@ var runCommitLint = async (config, params) => {
|
|
|
70477
70477
|
if (params.message && params.message !== COMMIT_EDITMSG_PATH) {
|
|
70478
70478
|
commitMessage = params.message;
|
|
70479
70479
|
} else {
|
|
70480
|
-
const commitFile =
|
|
70480
|
+
const commitFile = _chunkM7I7GGGAcjs.joinPaths.call(void 0,
|
|
70481
70481
|
config.workspaceRoot,
|
|
70482
70482
|
params.file || params.message || COMMIT_EDITMSG_PATH
|
|
70483
70483
|
);
|
|
@@ -70494,17 +70494,17 @@ var runCommitLint = async (config, params) => {
|
|
|
70494
70494
|
if (upstreamRemote) {
|
|
70495
70495
|
const upstreamRemoteIdentifier = _optionalChain([upstreamRemote, 'access', _84 => _84.split, 'call', _85 => _85(" "), 'access', _86 => _86[0], 'optionalAccess', _87 => _87.trim, 'call', _88 => _88()]);
|
|
70496
70496
|
if (!upstreamRemoteIdentifier) {
|
|
70497
|
-
|
|
70497
|
+
_chunkM7I7GGGAcjs.writeWarning.call(void 0,
|
|
70498
70498
|
`No upstream remote found for ${config.name}.git. Skipping comparison.`,
|
|
70499
70499
|
config
|
|
70500
70500
|
);
|
|
70501
70501
|
return;
|
|
70502
70502
|
}
|
|
70503
|
-
|
|
70503
|
+
_chunkM7I7GGGAcjs.writeDebug.call(void 0, `Comparing against remote ${upstreamRemoteIdentifier}`);
|
|
70504
70504
|
const currentBranch = _child_process2.default.execSync("git branch --show-current").toString().trim();
|
|
70505
70505
|
gitLogCmd = gitLogCmd + ` ${currentBranch} ^${upstreamRemoteIdentifier}/main`;
|
|
70506
70506
|
} else {
|
|
70507
|
-
|
|
70507
|
+
_chunkM7I7GGGAcjs.writeWarning.call(void 0,
|
|
70508
70508
|
`No upstream remote found for ${config.name}.git. Skipping comparison against upstream main.`,
|
|
70509
70509
|
config
|
|
70510
70510
|
);
|
|
@@ -70512,7 +70512,7 @@ var runCommitLint = async (config, params) => {
|
|
|
70512
70512
|
}
|
|
70513
70513
|
commitMessage = _child_process2.default.execSync(gitLogCmd).toString().trim();
|
|
70514
70514
|
if (!commitMessage) {
|
|
70515
|
-
|
|
70515
|
+
_chunkM7I7GGGAcjs.writeWarning.call(void 0,
|
|
70516
70516
|
"No commits found. Skipping commit message validation.",
|
|
70517
70517
|
config
|
|
70518
70518
|
);
|
|
@@ -70535,7 +70535,7 @@ var runCommitLint = async (config, params) => {
|
|
|
70535
70535
|
helpUrl: commitlintConfig.helpUrl
|
|
70536
70536
|
});
|
|
70537
70537
|
if (!matchCommit || report.errors.length || report.warnings.length) {
|
|
70538
|
-
|
|
70538
|
+
_chunkM7I7GGGAcjs.writeSuccess.call(void 0, `Commit was processing completed successfully!`, config);
|
|
70539
70539
|
} else {
|
|
70540
70540
|
let errorMessage = " Oh no! Your commit message: \n-------------------------------------------------------------------\n" + commitMessage + "\n-------------------------------------------------------------------\n\n Does not follow the commit message convention specified by Storm Software.";
|
|
70541
70541
|
errorMessage += "\ntype(scope): subject \n BLANK LINE \n body";
|
|
@@ -71696,7 +71696,7 @@ async function createState(config, commitizenFile = "@storm-software/git-tools/c
|
|
|
71696
71696
|
answers: {}
|
|
71697
71697
|
};
|
|
71698
71698
|
} else {
|
|
71699
|
-
|
|
71699
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0, `Using custom commit config file: ${commitizenFile}`, config);
|
|
71700
71700
|
let commitizenConfig = await Promise.resolve().then(() => _interopRequireWildcard(require(commitizenFile)));
|
|
71701
71701
|
if (_optionalChain([commitizenConfig, 'optionalAccess', _94 => _94.default])) {
|
|
71702
71702
|
commitizenConfig = _optionalChain([commitizenConfig, 'optionalAccess', _95 => _95.default]);
|
|
@@ -71759,7 +71759,7 @@ async function createState(config, commitizenFile = "@storm-software/git-tools/c
|
|
|
71759
71759
|
const project = projectConfigurations.projects[scope];
|
|
71760
71760
|
if (project) {
|
|
71761
71761
|
let description = `${project.name} - ${project.root}`;
|
|
71762
|
-
const packageJsonPath =
|
|
71762
|
+
const packageJsonPath = _chunkM7I7GGGAcjs.joinPaths.call(void 0, project.root, "package.json");
|
|
71763
71763
|
if (_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
71764
71764
|
const packageJson = await hfs.json(packageJsonPath);
|
|
71765
71765
|
description = packageJson.description || description;
|
|
@@ -71839,10 +71839,10 @@ ${closedIssueEmoji}${config.prompt.settings.closedIssueMessage}${issues}`;
|
|
|
71839
71839
|
|
|
71840
71840
|
// src/commit/run.ts
|
|
71841
71841
|
var runCommit = async (commitizenFile = "@storm-software/git-tools/commit/config", dryRun = false) => {
|
|
71842
|
-
const config = await
|
|
71842
|
+
const config = await _chunkM7I7GGGAcjs.getConfig.call(void 0, );
|
|
71843
71843
|
const state = await createState(config, commitizenFile);
|
|
71844
71844
|
if (dryRun) {
|
|
71845
|
-
|
|
71845
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0, "Running in dry mode.", config);
|
|
71846
71846
|
}
|
|
71847
71847
|
console.log(chalk_template_default`
|
|
71848
71848
|
{bold.#999999 ----------------------------------------}
|
|
@@ -71852,7 +71852,7 @@ var runCommit = async (commitizenFile = "@storm-software/git-tools/commit/config
|
|
|
71852
71852
|
`);
|
|
71853
71853
|
state.answers = await askQuestions(state);
|
|
71854
71854
|
const message2 = formatCommitMessage(state);
|
|
71855
|
-
const commitMsgFile =
|
|
71855
|
+
const commitMsgFile = _chunkM7I7GGGAcjs.joinPaths.call(void 0, getGitDir(), "COMMIT_EDITMSG");
|
|
71856
71856
|
console.log(chalk_template_default`
|
|
71857
71857
|
{bold.#999999 ----------------------------------------}
|
|
71858
71858
|
|
|
@@ -71865,11 +71865,11 @@ var runCommit = async (commitizenFile = "@storm-software/git-tools/commit/config
|
|
|
71865
71865
|
commandItems.push(...["--file", commitMsgFile]);
|
|
71866
71866
|
const command = (0, import_any_shell_escape.default)(commandItems);
|
|
71867
71867
|
if (dryRun) {
|
|
71868
|
-
|
|
71868
|
+
_chunkM7I7GGGAcjs.writeDebug.call(void 0,
|
|
71869
71869
|
`Skipping execution [dry-run]: ${command.replace(commitMsgFile, ".git/COMMIT_EDITMSG")}`,
|
|
71870
71870
|
config
|
|
71871
71871
|
);
|
|
71872
|
-
|
|
71872
|
+
_chunkM7I7GGGAcjs.writeDebug.call(void 0, `Message [dry-run]: ${message2}`, config);
|
|
71873
71873
|
} else {
|
|
71874
71874
|
await _promises2.default.writeFile(commitMsgFile, message2);
|
|
71875
71875
|
_chunkGWDOCACNcjs.run.call(void 0, config, command);
|
|
@@ -77652,7 +77652,7 @@ var _nxjsonjs = require('nx/src/config/nx-json.js');
|
|
|
77652
77652
|
|
|
77653
77653
|
// src/release/changelog.ts
|
|
77654
77654
|
_chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
|
|
77655
|
-
var chalk3 = _chunkIG6EXAQUcjs.__toESM.call(void 0,
|
|
77655
|
+
var chalk3 = _chunkIG6EXAQUcjs.__toESM.call(void 0, _chunkM7I7GGGAcjs.require_source.call(void 0, ), 1);
|
|
77656
77656
|
var import_enquirer2 = _chunkIG6EXAQUcjs.__toESM.call(void 0, require_enquirer(), 1);
|
|
77657
77657
|
var import_semver2 = _chunkIG6EXAQUcjs.__toESM.call(void 0, require_semver4(), 1);
|
|
77658
77658
|
var import_tmp = _chunkIG6EXAQUcjs.__toESM.call(void 0, require_tmp2(), 1);
|
|
@@ -81569,7 +81569,7 @@ var StormChangelogRenderer = (_class16 = class extends _changelogrenderer2.defau
|
|
|
81569
81569
|
};
|
|
81570
81570
|
}
|
|
81571
81571
|
async render() {
|
|
81572
|
-
this.workspaceConfig = await
|
|
81572
|
+
this.workspaceConfig = await _chunkM7I7GGGAcjs.getWorkspaceConfig.call(void 0, );
|
|
81573
81573
|
return await super.render();
|
|
81574
81574
|
}
|
|
81575
81575
|
preprocessChanges() {
|
|
@@ -81743,7 +81743,7 @@ var StormChangelogRenderer = (_class16 = class extends _changelogrenderer2.defau
|
|
|
81743
81743
|
// src/release/github.ts
|
|
81744
81744
|
_chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
|
|
81745
81745
|
var import_devkit = _chunkIG6EXAQUcjs.__toESM.call(void 0, require_devkit(), 1);
|
|
81746
|
-
var chalk2 = _chunkIG6EXAQUcjs.__toESM.call(void 0,
|
|
81746
|
+
var chalk2 = _chunkIG6EXAQUcjs.__toESM.call(void 0, _chunkM7I7GGGAcjs.require_source.call(void 0, ), 1);
|
|
81747
81747
|
var import_enquirer = _chunkIG6EXAQUcjs.__toESM.call(void 0, require_enquirer(), 1);
|
|
81748
81748
|
|
|
81749
81749
|
|
|
@@ -82108,7 +82108,7 @@ async function isUserAnOrganizationMember(userId, config, remoteName = "origin")
|
|
|
82108
82108
|
// src/release/changelog.ts
|
|
82109
82109
|
function createAPI(overrideReleaseConfig) {
|
|
82110
82110
|
return async function releaseChangelog(args) {
|
|
82111
|
-
const workspaceConfig = await
|
|
82111
|
+
const workspaceConfig = await _chunkM7I7GGGAcjs.getWorkspaceConfig.call(void 0, );
|
|
82112
82112
|
const projectGraph = await _projectgraph.createProjectGraphAsync.call(void 0, { exitOnError: true });
|
|
82113
82113
|
const nxJson = _nxjson.readNxJson.call(void 0, );
|
|
82114
82114
|
const userProvidedReleaseConfig = _deepmergejson.deepMergeJson.call(void 0,
|
|
@@ -82803,7 +82803,7 @@ async function generateChangelogForWorkspace({
|
|
|
82803
82803
|
workspaceChangelogVersion,
|
|
82804
82804
|
changes
|
|
82805
82805
|
}) {
|
|
82806
|
-
const workspaceConfig = await
|
|
82806
|
+
const workspaceConfig = await _chunkM7I7GGGAcjs.getWorkspaceConfig.call(void 0, );
|
|
82807
82807
|
if (!workspaceConfig) {
|
|
82808
82808
|
throw new Error(
|
|
82809
82809
|
`Unable to determine the Storm workspace config. Please ensure that your storm-workspace.json file is present and valid.`
|
|
@@ -82919,7 +82919,7 @@ async function generateChangelogForProjects({
|
|
|
82919
82919
|
nxReleaseConfig,
|
|
82920
82920
|
projectToAdditionalDependencyBumps
|
|
82921
82921
|
}) {
|
|
82922
|
-
const workspaceConfig = await
|
|
82922
|
+
const workspaceConfig = await _chunkM7I7GGGAcjs.getWorkspaceConfig.call(void 0, );
|
|
82923
82923
|
if (!workspaceConfig) {
|
|
82924
82924
|
throw new Error(
|
|
82925
82925
|
`Unable to determine the Storm workspace config. Please ensure that your storm-workspace.json file is present and valid.`
|
|
@@ -83228,7 +83228,7 @@ var runRelease = async (config, options) => {
|
|
|
83228
83228
|
throw new Error("The `GITHUB_ACTOR` environment variable is not set.");
|
|
83229
83229
|
}
|
|
83230
83230
|
if (!await isUserAnOrganizationMember(process.env.GITHUB_ACTOR, config)) {
|
|
83231
|
-
|
|
83231
|
+
_chunkM7I7GGGAcjs.writeFatal.call(void 0,
|
|
83232
83232
|
"You must be a member of the Storm Software organization to run the release process.",
|
|
83233
83233
|
config
|
|
83234
83234
|
);
|
|
@@ -83245,12 +83245,12 @@ var runRelease = async (config, options) => {
|
|
|
83245
83245
|
process.env.NODE_AUTH_TOKEN = process.env.NPM_TOKEN;
|
|
83246
83246
|
process.env.NPM_AUTH_TOKEN = process.env.NPM_TOKEN;
|
|
83247
83247
|
process.env.NPM_CONFIG_PROVENANCE = "true";
|
|
83248
|
-
|
|
83248
|
+
_chunkM7I7GGGAcjs.writeDebug.call(void 0, "Creating workspace Project Graph data...", config);
|
|
83249
83249
|
const nxJson = _nxjsonjs.readNxJson.call(void 0, );
|
|
83250
|
-
|
|
83250
|
+
_chunkM7I7GGGAcjs.writeDebug.call(void 0, "Reading in the workspaces release configuration", config);
|
|
83251
83251
|
const to = options.head || process.env.NX_HEAD;
|
|
83252
83252
|
const from = options.base || process.env.NX_BASE;
|
|
83253
|
-
|
|
83253
|
+
_chunkM7I7GGGAcjs.writeDebug.call(void 0,
|
|
83254
83254
|
`Using the following Git SHAs to determine the release content:
|
|
83255
83255
|
- From: ${from}
|
|
83256
83256
|
- To: ${to}
|
|
@@ -83271,18 +83271,18 @@ var runRelease = async (config, options) => {
|
|
|
83271
83271
|
nxJson.release,
|
|
83272
83272
|
DEFAULT_RELEASE_CONFIG
|
|
83273
83273
|
);
|
|
83274
|
-
|
|
83274
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0,
|
|
83275
83275
|
"Using the following `nx.json` release configuration values",
|
|
83276
83276
|
config
|
|
83277
83277
|
);
|
|
83278
|
-
|
|
83278
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0, nxReleaseConfig, config);
|
|
83279
83279
|
const releaseVersion = _versionjs.createAPI.call(void 0, nxReleaseConfig);
|
|
83280
83280
|
const releaseChangelog = createAPI(nxReleaseConfig);
|
|
83281
83281
|
const releasePublish = _publishjs.createAPI.call(void 0, nxReleaseConfig);
|
|
83282
|
-
|
|
83282
|
+
_chunkM7I7GGGAcjs.writeDebug.call(void 0, "Determining the current release versions...", config);
|
|
83283
83283
|
const { workspaceVersion, projectsVersionData } = await releaseVersion({
|
|
83284
83284
|
dryRun: false,
|
|
83285
|
-
verbose:
|
|
83285
|
+
verbose: _chunkM7I7GGGAcjs.isVerbose.call(void 0, config.logLevel),
|
|
83286
83286
|
preid: config.preid,
|
|
83287
83287
|
deleteVersionPlans: false,
|
|
83288
83288
|
stageChanges: true,
|
|
@@ -83293,15 +83293,15 @@ var runRelease = async (config, options) => {
|
|
|
83293
83293
|
version: _optionalChain([nxReleaseConfig, 'optionalAccess', _314 => _314.projectsRelationship]) !== "fixed" ? void 0 : workspaceVersion,
|
|
83294
83294
|
versionData: projectsVersionData,
|
|
83295
83295
|
dryRun: false,
|
|
83296
|
-
verbose:
|
|
83296
|
+
verbose: _chunkM7I7GGGAcjs.isVerbose.call(void 0, config.logLevel),
|
|
83297
83297
|
to,
|
|
83298
83298
|
from,
|
|
83299
83299
|
gitCommit: true,
|
|
83300
83300
|
gitCommitMessage: "release(monorepo): Publish workspace release updates"
|
|
83301
83301
|
});
|
|
83302
|
-
|
|
83302
|
+
_chunkM7I7GGGAcjs.writeDebug.call(void 0, "Tagging commit with git", config);
|
|
83303
83303
|
if (options.skipPublish) {
|
|
83304
|
-
|
|
83304
|
+
_chunkM7I7GGGAcjs.writeWarning.call(void 0,
|
|
83305
83305
|
"Skipping publishing packages since `skipPublish` was provided as `true` in the release options.",
|
|
83306
83306
|
config
|
|
83307
83307
|
);
|
|
@@ -83310,7 +83310,7 @@ var runRelease = async (config, options) => {
|
|
|
83310
83310
|
(key) => _optionalChain([projectsVersionData, 'access', _315 => _315[key], 'optionalAccess', _316 => _316.newVersion])
|
|
83311
83311
|
);
|
|
83312
83312
|
if (changedProjects.length > 0) {
|
|
83313
|
-
|
|
83313
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0,
|
|
83314
83314
|
`Publishing release for ${changedProjects.length} ${changedProjects.length === 1 ? "project" : "projects"}:
|
|
83315
83315
|
${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
|
|
83316
83316
|
`,
|
|
@@ -83320,7 +83320,7 @@ ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
|
|
|
83320
83320
|
const result2 = await releasePublish({
|
|
83321
83321
|
...options,
|
|
83322
83322
|
dryRun: !!options.dryRun,
|
|
83323
|
-
verbose:
|
|
83323
|
+
verbose: _chunkM7I7GGGAcjs.isVerbose.call(void 0, config.logLevel)
|
|
83324
83324
|
});
|
|
83325
83325
|
const failedProjects = Object.keys(result2).filter(
|
|
83326
83326
|
(key) => _optionalChain([result2, 'access', _317 => _317[key], 'optionalAccess', _318 => _318.code]) && _optionalChain([result2, 'access', _319 => _319[key], 'optionalAccess', _320 => _320.code]) > 0
|
|
@@ -83335,10 +83335,10 @@ ${failedProjects.map((failedProject) => ` - ${failedProject} (Error Code: ${_op
|
|
|
83335
83335
|
);
|
|
83336
83336
|
}
|
|
83337
83337
|
} else {
|
|
83338
|
-
|
|
83338
|
+
_chunkM7I7GGGAcjs.writeWarning.call(void 0, "Skipped publishing packages.", config);
|
|
83339
83339
|
}
|
|
83340
83340
|
}
|
|
83341
|
-
|
|
83341
|
+
_chunkM7I7GGGAcjs.writeSuccess.call(void 0, "Completed the Storm workspace release process!", config);
|
|
83342
83342
|
};
|
|
83343
83343
|
async function updatePackageManifests(projectsVersionData, config) {
|
|
83344
83344
|
let projectGraph;
|
|
@@ -83353,7 +83353,7 @@ async function updatePackageManifests(projectsVersionData, config) {
|
|
|
83353
83353
|
Object.keys(projectsVersionData).map(async (node) => {
|
|
83354
83354
|
const projectNode = projectGraph.nodes[node];
|
|
83355
83355
|
if (!_optionalChain([projectNode, 'optionalAccess', _323 => _323.data, 'access', _324 => _324.root])) {
|
|
83356
|
-
|
|
83356
|
+
_chunkM7I7GGGAcjs.writeWarning.call(void 0,
|
|
83357
83357
|
`Project node ${node} not found in the project graph. Skipping manifest update.`,
|
|
83358
83358
|
config
|
|
83359
83359
|
);
|
|
@@ -83361,17 +83361,17 @@ async function updatePackageManifests(projectsVersionData, config) {
|
|
|
83361
83361
|
}
|
|
83362
83362
|
const versionData = projectsVersionData[node];
|
|
83363
83363
|
if (_optionalChain([projectNode, 'optionalAccess', _325 => _325.data, 'access', _326 => _326.root]) && versionData && versionData.newVersion !== null) {
|
|
83364
|
-
|
|
83364
|
+
_chunkM7I7GGGAcjs.writeTrace.call(void 0,
|
|
83365
83365
|
`Writing version ${versionData.newVersion} update to manifest file for ${node}
|
|
83366
83366
|
`,
|
|
83367
83367
|
config
|
|
83368
83368
|
);
|
|
83369
|
-
const projectRoot =
|
|
83369
|
+
const projectRoot = _chunkM7I7GGGAcjs.joinPaths.call(void 0,
|
|
83370
83370
|
config.workspaceRoot,
|
|
83371
83371
|
projectNode.data.root
|
|
83372
83372
|
);
|
|
83373
|
-
const packageJsonPath =
|
|
83374
|
-
const cargoTomlPath =
|
|
83373
|
+
const packageJsonPath = _chunkM7I7GGGAcjs.joinPaths.call(void 0, projectRoot, "package.json");
|
|
83374
|
+
const cargoTomlPath = _chunkM7I7GGGAcjs.joinPaths.call(void 0, projectRoot, "Cargo.toml");
|
|
83375
83375
|
if (_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
83376
83376
|
const packageJsonContent = await _promises.readFile.call(void 0, packageJsonPath, "utf8");
|
|
83377
83377
|
const packageJson = JSON.parse(packageJsonContent);
|
|
@@ -83389,7 +83389,7 @@ async function updatePackageManifests(projectsVersionData, config) {
|
|
|
83389
83389
|
})
|
|
83390
83390
|
);
|
|
83391
83391
|
} else {
|
|
83392
|
-
|
|
83392
|
+
_chunkM7I7GGGAcjs.writeWarning.call(void 0, "No project nodes found. Skipping manifest updates.", config);
|
|
83393
83393
|
}
|
|
83394
83394
|
}
|
|
83395
83395
|
|
|
@@ -83397,8 +83397,8 @@ async function updatePackageManifests(projectsVersionData, config) {
|
|
|
83397
83397
|
var _config = {};
|
|
83398
83398
|
function createProgram(config) {
|
|
83399
83399
|
_config = config;
|
|
83400
|
-
|
|
83401
|
-
const root2 =
|
|
83400
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0, "\u26A1 Running Storm Git Tools", config);
|
|
83401
|
+
const root2 = _chunkM7I7GGGAcjs.findWorkspaceRootSafe.call(void 0, process.cwd());
|
|
83402
83402
|
process.env.STORM_WORKSPACE_ROOT ??= root2;
|
|
83403
83403
|
process.env.NX_WORKSPACE_ROOT_PATH ??= root2;
|
|
83404
83404
|
if (root2) {
|
|
@@ -83463,12 +83463,12 @@ async function commitAction({
|
|
|
83463
83463
|
dryRun = false
|
|
83464
83464
|
}) {
|
|
83465
83465
|
try {
|
|
83466
|
-
|
|
83466
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0,
|
|
83467
83467
|
`\u26A1 Preparing to commit your changes. Please provide the requested details below...`,
|
|
83468
83468
|
_config
|
|
83469
83469
|
);
|
|
83470
83470
|
await runCommit(config, dryRun);
|
|
83471
|
-
|
|
83471
|
+
_chunkM7I7GGGAcjs.writeSuccess.call(void 0,
|
|
83472
83472
|
`\u{1F389} Storm Commit processing completed successfully!
|
|
83473
83473
|
|
|
83474
83474
|
Note: Please run "pnpm push" to upload these changes to the remote ${_config.name ? _config.name : _config.namespace ? _config.namespace : _config.organization ? _config.organization : "Storm-Software"} Git repository at ${_config.repository}
|
|
@@ -83476,7 +83476,7 @@ Note: Please run "pnpm push" to upload these changes to the remote ${_config.nam
|
|
|
83476
83476
|
_config
|
|
83477
83477
|
);
|
|
83478
83478
|
} catch (error) {
|
|
83479
|
-
|
|
83479
|
+
_chunkM7I7GGGAcjs.writeFatal.call(void 0,
|
|
83480
83480
|
`A fatal error occurred while running commit action:
|
|
83481
83481
|
|
|
83482
83482
|
${error.message}`,
|
|
@@ -83487,14 +83487,14 @@ ${error.message}`,
|
|
|
83487
83487
|
}
|
|
83488
83488
|
async function readmeAction(options) {
|
|
83489
83489
|
try {
|
|
83490
|
-
|
|
83490
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0, "\u26A1 Formatting the workspace's README.md files", _config);
|
|
83491
83491
|
await runReadme(options);
|
|
83492
|
-
|
|
83492
|
+
_chunkM7I7GGGAcjs.writeSuccess.call(void 0,
|
|
83493
83493
|
"Formatting of the workspace's README.md files is complete\n",
|
|
83494
83494
|
_config
|
|
83495
83495
|
);
|
|
83496
83496
|
} catch (error) {
|
|
83497
|
-
|
|
83497
|
+
_chunkM7I7GGGAcjs.writeFatal.call(void 0,
|
|
83498
83498
|
`A fatal error occurred while running README format action:
|
|
83499
83499
|
|
|
83500
83500
|
${error.message}`
|
|
@@ -83509,7 +83509,7 @@ async function releaseAction({
|
|
|
83509
83509
|
dryRun
|
|
83510
83510
|
}) {
|
|
83511
83511
|
try {
|
|
83512
|
-
|
|
83512
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0,
|
|
83513
83513
|
"\u26A1 Running the Storm Release and Publish process on the workspace",
|
|
83514
83514
|
_config
|
|
83515
83515
|
);
|
|
@@ -83519,9 +83519,9 @@ async function releaseAction({
|
|
|
83519
83519
|
base,
|
|
83520
83520
|
head
|
|
83521
83521
|
});
|
|
83522
|
-
|
|
83522
|
+
_chunkM7I7GGGAcjs.writeSuccess.call(void 0, "Release completed successfully!\n", _config);
|
|
83523
83523
|
} catch (error) {
|
|
83524
|
-
|
|
83524
|
+
_chunkM7I7GGGAcjs.writeFatal.call(void 0,
|
|
83525
83525
|
`A fatal error occurred while running release action:
|
|
83526
83526
|
|
|
83527
83527
|
${error.message} ${error.stack ? `
|
|
@@ -83539,7 +83539,7 @@ async function commitLintAction({
|
|
|
83539
83539
|
file
|
|
83540
83540
|
}) {
|
|
83541
83541
|
try {
|
|
83542
|
-
|
|
83542
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0,
|
|
83543
83543
|
`\u26A1 Linting the ${_config.repository ? _config.repository : _config.namespace ? _config.namespace : _config.name ? _config.name : typeof _config.organization === "string" ? _config.organization : _optionalChain([_config, 'access', _327 => _327.organization, 'optionalAccess', _328 => _328.name]) ? _optionalChain([_config, 'access', _329 => _329.organization, 'optionalAccess', _330 => _330.name]) : "Storm-Software"} repository's commit messages.`,
|
|
83544
83544
|
_config
|
|
83545
83545
|
);
|
|
@@ -83548,12 +83548,12 @@ async function commitLintAction({
|
|
|
83548
83548
|
message: message2,
|
|
83549
83549
|
file
|
|
83550
83550
|
});
|
|
83551
|
-
|
|
83551
|
+
_chunkM7I7GGGAcjs.writeSuccess.call(void 0,
|
|
83552
83552
|
"Linting the commit messages completed successfully!\n",
|
|
83553
83553
|
_config
|
|
83554
83554
|
);
|
|
83555
83555
|
} catch (error) {
|
|
83556
|
-
|
|
83556
|
+
_chunkM7I7GGGAcjs.writeFatal.call(void 0,
|
|
83557
83557
|
`A fatal error occurred while linting the commit messages:
|
|
83558
83558
|
|
|
83559
83559
|
${error.message}`,
|
|
@@ -83565,18 +83565,18 @@ ${error.message}`,
|
|
|
83565
83565
|
|
|
83566
83566
|
// bin/git.ts
|
|
83567
83567
|
void (async () => {
|
|
83568
|
-
const config = await
|
|
83568
|
+
const config = await _chunkM7I7GGGAcjs.getConfig.call(void 0, );
|
|
83569
83569
|
try {
|
|
83570
|
-
|
|
83570
|
+
_chunkM7I7GGGAcjs.handleProcess.call(void 0, config);
|
|
83571
83571
|
const program2 = createProgram(config);
|
|
83572
83572
|
await program2.parseAsync(process.argv);
|
|
83573
|
-
|
|
83573
|
+
_chunkM7I7GGGAcjs.writeSuccess.call(void 0,
|
|
83574
83574
|
`\u{1F389} Git ${process.argv && process.argv.length >= 3 && process.argv[2] ? process.argv[2] : "tool"} processing completed successfully!`,
|
|
83575
83575
|
config
|
|
83576
83576
|
);
|
|
83577
|
-
|
|
83577
|
+
_chunkM7I7GGGAcjs.exitWithSuccess.call(void 0, config);
|
|
83578
83578
|
} catch (error) {
|
|
83579
|
-
|
|
83579
|
+
_chunkM7I7GGGAcjs.exitWithError.call(void 0, config);
|
|
83580
83580
|
process.exit(1);
|
|
83581
83581
|
}
|
|
83582
83582
|
})();
|
package/bin/git.js
CHANGED
package/bin/post-checkout.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkM7I7GGGAcjs = require('./chunk-M7I7GGGA.cjs');
|
|
17
17
|
require('./chunk-FMYKTN2Z.cjs');
|
|
18
18
|
require('./chunk-MXO7CLUN.cjs');
|
|
19
19
|
require('./chunk-GSZ2Y7H4.cjs');
|
|
@@ -27,29 +27,29 @@ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
|
|
|
27
27
|
// bin/post-checkout.ts
|
|
28
28
|
_chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkM7I7GGGAcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
_chunkM7I7GGGAcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0, "Running post-checkout hook...", config);
|
|
34
34
|
_chunkHTVOKCRJcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
36
|
_chunkGWDOCACNcjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
38
|
+
_chunkM7I7GGGAcjs.writeError.call(void 0,
|
|
39
39
|
`This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-checkout.
|
|
40
40
|
Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
|
|
41
41
|
config
|
|
42
42
|
);
|
|
43
|
-
|
|
43
|
+
_chunkM7I7GGGAcjs.exitWithError.call(void 0, config);
|
|
44
44
|
}
|
|
45
45
|
_chunkGWDOCACNcjs.run.call(void 0, config, "git lfs post-checkout");
|
|
46
|
-
|
|
46
|
+
_chunkM7I7GGGAcjs.exitWithSuccess.call(void 0, config);
|
|
47
47
|
} catch (error) {
|
|
48
|
-
|
|
48
|
+
_chunkM7I7GGGAcjs.writeFatal.call(void 0,
|
|
49
49
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
50
|
config
|
|
51
51
|
);
|
|
52
|
-
|
|
52
|
+
_chunkM7I7GGGAcjs.exitWithError.call(void 0, config);
|
|
53
53
|
process.exit(1);
|
|
54
54
|
}
|
|
55
55
|
})();
|
package/bin/post-checkout.js
CHANGED
package/bin/post-commit.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkM7I7GGGAcjs = require('./chunk-M7I7GGGA.cjs');
|
|
17
17
|
require('./chunk-FMYKTN2Z.cjs');
|
|
18
18
|
require('./chunk-MXO7CLUN.cjs');
|
|
19
19
|
require('./chunk-GSZ2Y7H4.cjs');
|
|
@@ -27,29 +27,29 @@ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
|
|
|
27
27
|
// bin/post-commit.ts
|
|
28
28
|
_chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkM7I7GGGAcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
_chunkM7I7GGGAcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0, "Running post-commit hook...", config);
|
|
34
34
|
_chunkHTVOKCRJcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
36
|
_chunkGWDOCACNcjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
38
|
+
_chunkM7I7GGGAcjs.writeError.call(void 0,
|
|
39
39
|
`This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-commit.
|
|
40
40
|
Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
|
|
41
41
|
config
|
|
42
42
|
);
|
|
43
|
-
|
|
43
|
+
_chunkM7I7GGGAcjs.exitWithError.call(void 0, config);
|
|
44
44
|
}
|
|
45
45
|
_chunkGWDOCACNcjs.run.call(void 0, config, "git lfs post-commit");
|
|
46
|
-
|
|
46
|
+
_chunkM7I7GGGAcjs.exitWithSuccess.call(void 0, config);
|
|
47
47
|
} catch (error) {
|
|
48
|
-
|
|
48
|
+
_chunkM7I7GGGAcjs.writeFatal.call(void 0,
|
|
49
49
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
50
|
config
|
|
51
51
|
);
|
|
52
|
-
|
|
52
|
+
_chunkM7I7GGGAcjs.exitWithError.call(void 0, config);
|
|
53
53
|
process.exit(1);
|
|
54
54
|
}
|
|
55
55
|
})();
|
package/bin/post-commit.js
CHANGED
package/bin/post-merge.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkM7I7GGGAcjs = require('./chunk-M7I7GGGA.cjs');
|
|
17
17
|
require('./chunk-FMYKTN2Z.cjs');
|
|
18
18
|
require('./chunk-MXO7CLUN.cjs');
|
|
19
19
|
require('./chunk-GSZ2Y7H4.cjs');
|
|
@@ -27,29 +27,29 @@ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
|
|
|
27
27
|
// bin/post-merge.ts
|
|
28
28
|
_chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkM7I7GGGAcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
_chunkM7I7GGGAcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0, "Running post-merge hook...", config);
|
|
34
34
|
_chunkHTVOKCRJcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
36
|
_chunkGWDOCACNcjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
38
|
+
_chunkM7I7GGGAcjs.writeError.call(void 0,
|
|
39
39
|
`This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-merge.
|
|
40
40
|
Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
|
|
41
41
|
config
|
|
42
42
|
);
|
|
43
|
-
|
|
43
|
+
_chunkM7I7GGGAcjs.exitWithError.call(void 0, config);
|
|
44
44
|
}
|
|
45
45
|
_chunkGWDOCACNcjs.run.call(void 0, config, "git lfs post-merge");
|
|
46
|
-
|
|
46
|
+
_chunkM7I7GGGAcjs.exitWithSuccess.call(void 0, config);
|
|
47
47
|
} catch (error) {
|
|
48
|
-
|
|
48
|
+
_chunkM7I7GGGAcjs.writeFatal.call(void 0,
|
|
49
49
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
50
|
config
|
|
51
51
|
);
|
|
52
|
-
|
|
52
|
+
_chunkM7I7GGGAcjs.exitWithError.call(void 0, config);
|
|
53
53
|
process.exit(1);
|
|
54
54
|
}
|
|
55
55
|
})();
|
package/bin/post-merge.js
CHANGED
package/bin/pre-commit.cjs
CHANGED
|
@@ -11,7 +11,7 @@ var _chunkHTVOKCRJcjs = require('./chunk-HTVOKCRJ.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkM7I7GGGAcjs = require('./chunk-M7I7GGGA.cjs');
|
|
15
15
|
require('./chunk-FMYKTN2Z.cjs');
|
|
16
16
|
require('./chunk-MXO7CLUN.cjs');
|
|
17
17
|
require('./chunk-GSZ2Y7H4.cjs');
|
|
@@ -25,25 +25,25 @@ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
|
|
|
25
25
|
// bin/pre-commit.ts
|
|
26
26
|
_chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
|
|
27
27
|
void (async () => {
|
|
28
|
-
const config = await
|
|
28
|
+
const config = await _chunkM7I7GGGAcjs.getConfig.call(void 0, );
|
|
29
29
|
try {
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
_chunkM7I7GGGAcjs.handleProcess.call(void 0, config);
|
|
31
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0, "Running pre-commit hook...", config);
|
|
32
32
|
_chunkHTVOKCRJcjs.checkPackageVersion.call(void 0, process.argv.slice(1));
|
|
33
33
|
if (_chunkHTVOKCRJcjs.isPackageVersionChanged.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]))) {
|
|
34
|
-
|
|
34
|
+
_chunkM7I7GGGAcjs.writeError.call(void 0,
|
|
35
35
|
"Please regenerate the package lock file before committing...",
|
|
36
36
|
config
|
|
37
37
|
);
|
|
38
|
-
|
|
38
|
+
_chunkM7I7GGGAcjs.exitWithError.call(void 0, config);
|
|
39
39
|
}
|
|
40
|
-
|
|
40
|
+
_chunkM7I7GGGAcjs.exitWithSuccess.call(void 0, config);
|
|
41
41
|
} catch (error) {
|
|
42
|
-
|
|
42
|
+
_chunkM7I7GGGAcjs.writeFatal.call(void 0,
|
|
43
43
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
44
44
|
config
|
|
45
45
|
);
|
|
46
|
-
|
|
46
|
+
_chunkM7I7GGGAcjs.exitWithError.call(void 0, config);
|
|
47
47
|
process.exit(1);
|
|
48
48
|
}
|
|
49
49
|
})();
|
package/bin/pre-commit.js
CHANGED
package/bin/pre-install.cjs
CHANGED
|
@@ -9,7 +9,7 @@ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkM7I7GGGAcjs = require('./chunk-M7I7GGGA.cjs');
|
|
13
13
|
require('./chunk-FMYKTN2Z.cjs');
|
|
14
14
|
require('./chunk-MXO7CLUN.cjs');
|
|
15
15
|
require('./chunk-GSZ2Y7H4.cjs');
|
|
@@ -23,22 +23,22 @@ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
|
|
|
23
23
|
// bin/pre-install.ts
|
|
24
24
|
_chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
|
|
25
25
|
void (async () => {
|
|
26
|
-
const config = await
|
|
26
|
+
const config = await _chunkM7I7GGGAcjs.getConfig.call(void 0, );
|
|
27
27
|
try {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
_chunkM7I7GGGAcjs.handleProcess.call(void 0, config);
|
|
29
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0, "Running pre-install hook...", config);
|
|
30
30
|
if (Boolean(process.env.CI) || Boolean(process.env.STORM_CI)) {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0, "Skipping pre-install for CI process...", config);
|
|
32
|
+
_chunkM7I7GGGAcjs.exitWithSuccess.call(void 0, config);
|
|
33
33
|
}
|
|
34
34
|
_chunkGWDOCACNcjs.run.call(void 0, config, "npx -y only-allow pnpm");
|
|
35
|
-
|
|
35
|
+
_chunkM7I7GGGAcjs.exitWithSuccess.call(void 0, config);
|
|
36
36
|
} catch (error) {
|
|
37
|
-
|
|
37
|
+
_chunkM7I7GGGAcjs.writeFatal.call(void 0,
|
|
38
38
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
39
39
|
config
|
|
40
40
|
);
|
|
41
|
-
|
|
41
|
+
_chunkM7I7GGGAcjs.exitWithError.call(void 0, config);
|
|
42
42
|
process.exit(1);
|
|
43
43
|
}
|
|
44
44
|
})();
|
package/bin/pre-install.js
CHANGED
package/bin/pre-push.cjs
CHANGED
|
@@ -14,7 +14,7 @@ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkM7I7GGGAcjs = require('./chunk-M7I7GGGA.cjs');
|
|
18
18
|
require('./chunk-FMYKTN2Z.cjs');
|
|
19
19
|
require('./chunk-MXO7CLUN.cjs');
|
|
20
20
|
require('./chunk-GSZ2Y7H4.cjs');
|
|
@@ -31,12 +31,12 @@ var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
|
31
31
|
var _promises = require('fs/promises');
|
|
32
32
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
33
33
|
void (async () => {
|
|
34
|
-
const config = await
|
|
34
|
+
const config = await _chunkM7I7GGGAcjs.getConfig.call(void 0, );
|
|
35
35
|
try {
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
_chunkM7I7GGGAcjs.handleProcess.call(void 0, config);
|
|
37
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0, "Running pre-push hook...", config);
|
|
38
38
|
_chunkHTVOKCRJcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
39
|
-
|
|
39
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0, "\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}\n", config);
|
|
40
40
|
const errors = [];
|
|
41
41
|
if (_fs2.default.existsSync(
|
|
42
42
|
_path2.default.join(_nullishCoalesce(config.workspaceRoot, () => ( "./")), "package-lock.json")
|
|
@@ -71,32 +71,32 @@ void (async () => {
|
|
|
71
71
|
errors.push('The "pnpm-lock.yaml" does not exist or cannot be read');
|
|
72
72
|
}
|
|
73
73
|
if (errors.length > 0) {
|
|
74
|
-
|
|
74
|
+
_chunkM7I7GGGAcjs.writeError.call(void 0, "\u274C Lock file validation failed", config);
|
|
75
75
|
for (const error of errors) {
|
|
76
76
|
console.error(error);
|
|
77
77
|
}
|
|
78
|
-
|
|
78
|
+
_chunkM7I7GGGAcjs.exitWithError.call(void 0, config);
|
|
79
79
|
}
|
|
80
|
-
|
|
80
|
+
_chunkM7I7GGGAcjs.writeSuccess.call(void 0, "Lock file is valid \u2705", config);
|
|
81
81
|
_chunkGWDOCACNcjs.run.call(void 0, config, "git lfs pre-push origin");
|
|
82
82
|
try {
|
|
83
83
|
_chunkGWDOCACNcjs.run.call(void 0, config, "git-lfs version");
|
|
84
84
|
} catch (error) {
|
|
85
|
-
|
|
85
|
+
_chunkM7I7GGGAcjs.writeError.call(void 0,
|
|
86
86
|
`This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.
|
|
87
87
|
Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
|
|
88
88
|
config
|
|
89
89
|
);
|
|
90
|
-
|
|
90
|
+
_chunkM7I7GGGAcjs.exitWithError.call(void 0, config);
|
|
91
91
|
}
|
|
92
92
|
_chunkGWDOCACNcjs.run.call(void 0, config, "git lfs pre-push origin");
|
|
93
|
-
|
|
93
|
+
_chunkM7I7GGGAcjs.exitWithSuccess.call(void 0, config);
|
|
94
94
|
} catch (error) {
|
|
95
|
-
|
|
95
|
+
_chunkM7I7GGGAcjs.writeFatal.call(void 0,
|
|
96
96
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
97
97
|
config
|
|
98
98
|
);
|
|
99
|
-
|
|
99
|
+
_chunkM7I7GGGAcjs.exitWithError.call(void 0, config);
|
|
100
100
|
process.exit(1);
|
|
101
101
|
}
|
|
102
102
|
})();
|
package/bin/pre-push.js
CHANGED
package/bin/prepare.cjs
CHANGED
|
@@ -9,7 +9,7 @@ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkM7I7GGGAcjs = require('./chunk-M7I7GGGA.cjs');
|
|
13
13
|
require('./chunk-FMYKTN2Z.cjs');
|
|
14
14
|
require('./chunk-MXO7CLUN.cjs');
|
|
15
15
|
require('./chunk-GSZ2Y7H4.cjs');
|
|
@@ -23,20 +23,20 @@ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
|
|
|
23
23
|
// bin/prepare.ts
|
|
24
24
|
_chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
|
|
25
25
|
void (async () => {
|
|
26
|
-
const config = await
|
|
26
|
+
const config = await _chunkM7I7GGGAcjs.getConfig.call(void 0, );
|
|
27
27
|
try {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
_chunkM7I7GGGAcjs.handleProcess.call(void 0, config);
|
|
29
|
+
_chunkM7I7GGGAcjs.writeInfo.call(void 0, "Running prepare hook...", config);
|
|
30
30
|
if (!process.env.CI && !process.env.STORM_CI) {
|
|
31
31
|
_chunkGWDOCACNcjs.run.call(void 0, config, "lefthook install");
|
|
32
32
|
}
|
|
33
|
-
|
|
33
|
+
_chunkM7I7GGGAcjs.exitWithSuccess.call(void 0, config);
|
|
34
34
|
} catch (error) {
|
|
35
|
-
|
|
35
|
+
_chunkM7I7GGGAcjs.writeFatal.call(void 0,
|
|
36
36
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
37
37
|
config
|
|
38
38
|
);
|
|
39
|
-
|
|
39
|
+
_chunkM7I7GGGAcjs.exitWithError.call(void 0, config);
|
|
40
40
|
process.exit(1);
|
|
41
41
|
}
|
|
42
42
|
})();
|
package/bin/prepare.js
CHANGED
package/bin/version-warning.cjs
CHANGED
|
@@ -7,7 +7,7 @@ var _chunkHTVOKCRJcjs = require('./chunk-HTVOKCRJ.cjs');
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkM7I7GGGAcjs = require('./chunk-M7I7GGGA.cjs');
|
|
11
11
|
require('./chunk-FMYKTN2Z.cjs');
|
|
12
12
|
require('./chunk-MXO7CLUN.cjs');
|
|
13
13
|
require('./chunk-GSZ2Y7H4.cjs');
|
|
@@ -21,16 +21,16 @@ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
|
|
|
21
21
|
// bin/version-warning.ts
|
|
22
22
|
_chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
|
|
23
23
|
void (async () => {
|
|
24
|
-
const config = await
|
|
24
|
+
const config = await _chunkM7I7GGGAcjs.getConfig.call(void 0, );
|
|
25
25
|
try {
|
|
26
|
-
|
|
26
|
+
_chunkM7I7GGGAcjs.handleProcess.call(void 0, config);
|
|
27
27
|
_chunkHTVOKCRJcjs.checkPackageVersion.call(void 0, process.argv.slice(1));
|
|
28
28
|
} catch (error) {
|
|
29
|
-
|
|
29
|
+
_chunkM7I7GGGAcjs.writeFatal.call(void 0,
|
|
30
30
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
31
31
|
config
|
|
32
32
|
);
|
|
33
|
-
|
|
33
|
+
_chunkM7I7GGGAcjs.exitWithError.call(void 0, config);
|
|
34
34
|
process.exit(1);
|
|
35
35
|
}
|
|
36
36
|
})();
|
package/bin/version-warning.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/git-tools",
|
|
3
|
-
"version": "2.112.
|
|
3
|
+
"version": "2.112.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Tools for managing Git repositories within a Nx workspace.",
|
|
6
6
|
"repository": {
|
|
@@ -262,5 +262,5 @@
|
|
|
262
262
|
"word-wrap": "1.2.5"
|
|
263
263
|
},
|
|
264
264
|
"publishConfig": { "access": "public" },
|
|
265
|
-
"gitHead": "
|
|
265
|
+
"gitHead": "457c32063cb35e831f63fef9e40e5f881c5ffc26"
|
|
266
266
|
}
|