@storm-software/git-tools 2.111.8 → 2.111.9
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-4MKGY5XK.js → chunk-2DP3RWFN.js} +68 -26
- package/bin/{chunk-7A5EGZ6Q.js → chunk-366ZODIG.js} +1 -1
- package/bin/{chunk-MLXL65VE.cjs → chunk-3HRNQKOS.cjs} +2 -2
- package/bin/{chunk-F46DUYDE.cjs → chunk-4CISOROA.cjs} +12 -12
- package/bin/{chunk-HRLGG2YT.js → chunk-CUEWVBIL.js} +2 -2
- package/bin/{chunk-XCQ4AR7G.cjs → chunk-DG64PTNN.cjs} +2 -2
- package/bin/{chunk-CWFRYFKU.cjs → chunk-ED7QFHYA.cjs} +20 -20
- package/bin/{chunk-7ZEGT6RA.cjs → chunk-HASRY73V.cjs} +2 -2
- package/bin/{chunk-CEHH4PRS.cjs → chunk-JOREIJTD.cjs} +5 -5
- package/bin/{chunk-BR6QCADR.js → chunk-LJUBI4MJ.js} +2 -2
- package/bin/{chunk-VPG4MABV.js → chunk-NPMDSD32.js} +2 -2
- package/bin/{chunk-UIJL3IK3.js → chunk-OBSQ7SKQ.js} +1 -1
- package/bin/{chunk-6SXMMZHP.js → chunk-ODICLANG.js} +2 -2
- package/bin/{chunk-47K7PVZC.js → chunk-Q64CWGBR.js} +1 -1
- package/bin/{chunk-PZG2RZNU.cjs → chunk-QDIZ5GTL.cjs} +2 -2
- package/bin/{chunk-ZTLQGOB4.cjs → chunk-SBXGWZAZ.cjs} +5 -5
- package/bin/{chunk-IAGZMAZR.cjs → chunk-SN4DGQCW.cjs} +191 -149
- package/bin/{chunk-T67XJAEY.cjs → chunk-TPQW4HXD.cjs} +5 -5
- package/bin/{chunk-PTIZML4F.cjs → chunk-UCXPHLIA.cjs} +6 -6
- package/bin/{chunk-IMCD67OQ.js → chunk-VOVERBMC.js} +2 -2
- package/bin/{chunk-6SZCO3SJ.js → chunk-WDG7XXTB.js} +1 -1
- package/bin/{chunk-XPNTNVZC.cjs → chunk-WH5AEUBX.cjs} +2 -2
- package/bin/{chunk-KG4SNSNZ.js → chunk-WSRXAWLA.js} +2 -2
- package/bin/{chunk-Q3W7SD6V.js → chunk-X3OB6CDD.js} +2 -2
- package/bin/{dist-WYYI32X2.js → dist-BN24IO4Q.js} +8 -8
- package/bin/{dist-ZE7HNGJC.js → dist-PFHZHVCU.js} +2 -2
- package/bin/{dist-PNUN2YPH.cjs → dist-W3747GWZ.cjs} +6 -6
- package/bin/{dist-IJIVRIO7.cjs → dist-ZEZ6EUJ6.cjs} +206 -206
- package/bin/{esm-TCFXXWC4.cjs → esm-LG2JNVCX.cjs} +4 -4
- package/bin/{esm-KZRVZVO3.js → esm-QVVRIMFQ.js} +1 -1
- package/bin/git.cjs +1977 -1977
- package/bin/git.js +20 -20
- package/bin/json5-C5GUJL7X.js +10 -0
- package/bin/json5-DRQXCSMK.cjs +10 -0
- package/bin/jsonc-EKLMX47R.cjs +15 -0
- package/bin/{jsonc-6SCBF4RA.js → jsonc-HL3K2I42.js} +3 -3
- package/bin/{multipart-parser-VLR6XMHA.cjs → multipart-parser-735Z3Y3L.cjs} +7 -7
- package/bin/{multipart-parser-75I7EYL4.js → multipart-parser-GZR6ZEXW.js} +2 -2
- package/bin/post-checkout.cjs +22 -22
- package/bin/post-checkout.js +10 -10
- package/bin/post-commit.cjs +22 -22
- package/bin/post-commit.js +10 -10
- package/bin/post-merge.cjs +22 -22
- package/bin/post-merge.js +10 -10
- package/bin/pre-commit.cjs +20 -20
- package/bin/pre-commit.js +9 -9
- package/bin/pre-install.cjs +19 -19
- package/bin/pre-install.js +9 -9
- package/bin/pre-push.cjs +27 -27
- package/bin/pre-push.js +10 -10
- package/bin/prepare.cjs +17 -17
- package/bin/prepare.js +9 -9
- package/bin/toml-TIZ2QRT2.js +10 -0
- package/bin/toml-V745PTWO.cjs +10 -0
- package/bin/{utils-6WH7MAJK.cjs → utils-LCWUFGHN.cjs} +5 -5
- package/bin/{utils-KPYUHBCA.js → utils-Q5DXMJZ4.js} +2 -2
- package/bin/version-warning.cjs +15 -15
- package/bin/version-warning.js +9 -9
- package/bin/yaml-DCW24WRF.js +10 -0
- package/bin/yaml-SYREFWGA.cjs +10 -0
- package/package.json +1 -1
- package/bin/json5-OZ5MTESN.cjs +0 -10
- package/bin/json5-W6R4YGXR.js +0 -10
- package/bin/jsonc-3MDLBHMB.cjs +0 -15
- package/bin/toml-C2DAH5VN.cjs +0 -10
- package/bin/toml-MUQS3ENI.js +0 -10
- package/bin/yaml-KTG5PRJT.js +0 -10
- package/bin/yaml-XPFVN55H.cjs +0 -10
package/bin/git.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
run
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OBSQ7SKQ.js";
|
|
5
5
|
import {
|
|
6
6
|
exitWithError,
|
|
7
7
|
exitWithSuccess,
|
|
@@ -20,15 +20,15 @@ import {
|
|
|
20
20
|
writeSuccess,
|
|
21
21
|
writeTrace,
|
|
22
22
|
writeWarning
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-2DP3RWFN.js";
|
|
24
24
|
import {
|
|
25
25
|
defu
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-X3OB6CDD.js";
|
|
27
|
+
import "./chunk-ODICLANG.js";
|
|
28
|
+
import "./chunk-CUEWVBIL.js";
|
|
29
|
+
import "./chunk-LJUBI4MJ.js";
|
|
30
|
+
import "./chunk-WSRXAWLA.js";
|
|
31
|
+
import "./chunk-WDG7XXTB.js";
|
|
32
32
|
import {
|
|
33
33
|
__commonJS,
|
|
34
34
|
__esm,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
__toCommonJS,
|
|
38
38
|
__toESM,
|
|
39
39
|
init_esm_shims
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-NPMDSD32.js";
|
|
41
41
|
|
|
42
42
|
// ../../node_modules/.pnpm/commander@12.1.0/node_modules/commander/lib/error.js
|
|
43
43
|
var require_error = __commonJS({
|
|
@@ -15038,9 +15038,9 @@ var require_ms = __commonJS({
|
|
|
15038
15038
|
}
|
|
15039
15039
|
});
|
|
15040
15040
|
|
|
15041
|
-
// ../../node_modules/.pnpm/debug@4.4.
|
|
15041
|
+
// ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js
|
|
15042
15042
|
var require_common = __commonJS({
|
|
15043
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
15043
|
+
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js"(exports, module) {
|
|
15044
15044
|
init_esm_shims();
|
|
15045
15045
|
var __import_ms = __toESM(require_ms());
|
|
15046
15046
|
function setup(env2) {
|
|
@@ -15143,7 +15143,7 @@ var require_common = __commonJS({
|
|
|
15143
15143
|
createDebug.namespaces = namespaces;
|
|
15144
15144
|
createDebug.names = [];
|
|
15145
15145
|
createDebug.skips = [];
|
|
15146
|
-
const split2 = (typeof namespaces === "string" ? namespaces : "").trim().replace(
|
|
15146
|
+
const split2 = (typeof namespaces === "string" ? namespaces : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
|
|
15147
15147
|
for (const ns of split2) {
|
|
15148
15148
|
if (ns[0] === "-") {
|
|
15149
15149
|
createDebug.skips.push(ns.slice(1));
|
|
@@ -15217,9 +15217,9 @@ var require_common = __commonJS({
|
|
|
15217
15217
|
}
|
|
15218
15218
|
});
|
|
15219
15219
|
|
|
15220
|
-
// ../../node_modules/.pnpm/debug@4.4.
|
|
15220
|
+
// ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js
|
|
15221
15221
|
var require_browser = __commonJS({
|
|
15222
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
15222
|
+
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js"(exports, module) {
|
|
15223
15223
|
init_esm_shims();
|
|
15224
15224
|
var __import___common = __toESM(require_common());
|
|
15225
15225
|
exports.formatArgs = formatArgs;
|
|
@@ -15363,7 +15363,7 @@ var require_browser = __commonJS({
|
|
|
15363
15363
|
function load2() {
|
|
15364
15364
|
let r;
|
|
15365
15365
|
try {
|
|
15366
|
-
r = exports.storage.getItem("debug");
|
|
15366
|
+
r = exports.storage.getItem("debug") || exports.storage.getItem("DEBUG");
|
|
15367
15367
|
} catch (error) {
|
|
15368
15368
|
}
|
|
15369
15369
|
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
@@ -15389,11 +15389,11 @@ var require_browser = __commonJS({
|
|
|
15389
15389
|
}
|
|
15390
15390
|
});
|
|
15391
15391
|
|
|
15392
|
-
// ../../node_modules/.pnpm/debug@4.4.
|
|
15392
|
+
// ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js
|
|
15393
15393
|
import * as __import_tty2 from "tty";
|
|
15394
15394
|
import * as __import_util6 from "util";
|
|
15395
15395
|
var require_node = __commonJS({
|
|
15396
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
15396
|
+
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/node.js"(exports, module) {
|
|
15397
15397
|
init_esm_shims();
|
|
15398
15398
|
var __import___common = __toESM(require_common());
|
|
15399
15399
|
var tty2 = __import_tty2;
|
|
@@ -15567,9 +15567,9 @@ var require_node = __commonJS({
|
|
|
15567
15567
|
}
|
|
15568
15568
|
});
|
|
15569
15569
|
|
|
15570
|
-
// ../../node_modules/.pnpm/debug@4.4.
|
|
15570
|
+
// ../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js
|
|
15571
15571
|
var require_src = __commonJS({
|
|
15572
|
-
"../../node_modules/.pnpm/debug@4.4.
|
|
15572
|
+
"../../node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/index.js"(exports, module) {
|
|
15573
15573
|
init_esm_shims();
|
|
15574
15574
|
var __import___browser_js = __toESM(require_browser());
|
|
15575
15575
|
var __import___node_js = __toESM(require_node());
|
|
@@ -92061,7 +92061,7 @@ function createAPI(overrideReleaseConfig) {
|
|
|
92061
92061
|
const autoCommitEnabled = args.gitCommit ?? nxReleaseConfig.changelog?.git.commit;
|
|
92062
92062
|
if (autoCommitEnabled && headSHA !== toSHA) {
|
|
92063
92063
|
throw new Error(
|
|
92064
|
-
`You are attempting to recreate the changelog for an old release, but you have enabled auto-commit mode. Please disable auto-commit mode by updating your nx.json, or passing --git-commit=false`
|
|
92064
|
+
`You are attempting to recreate the changelog for an old release (Head: "${headSHA}", To: "${toSHA}", From: "${args.from}"), but you have enabled auto-commit mode. Please disable auto-commit mode by updating your nx.json, or passing --git-commit=false`
|
|
92065
92065
|
);
|
|
92066
92066
|
}
|
|
92067
92067
|
const commitMessage = args.gitCommitMessage || nxReleaseConfig.changelog?.git?.commitMessage;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkJOREIJTDcjs = require('./chunk-JOREIJTD.cjs');
|
|
5
|
+
require('./chunk-HASRY73V.cjs');
|
|
6
|
+
require('./chunk-DG64PTNN.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.parseJSON5 = _chunkJOREIJTDcjs.ou; exports.stringifyJSON5 = _chunkJOREIJTDcjs.cu;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkUCXPHLIAcjs = require('./chunk-UCXPHLIA.cjs');
|
|
5
|
+
require('./chunk-HASRY73V.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkDG64PTNNcjs = require('./chunk-DG64PTNN.cjs');
|
|
9
|
+
|
|
10
|
+
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/jsonc.mjs
|
|
11
|
+
_chunkDG64PTNNcjs.init_cjs_shims.call(void 0, );
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
exports.parseJSONC = _chunkUCXPHLIAcjs.h; exports.stringifyJSONC = _chunkUCXPHLIAcjs.d;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
d,
|
|
3
3
|
h
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-WSRXAWLA.js";
|
|
5
|
+
import "./chunk-WDG7XXTB.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NPMDSD32.js";
|
|
9
9
|
|
|
10
10
|
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/jsonc.mjs
|
|
11
11
|
init_esm_shims();
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkED7QFHYAcjs = require('./chunk-ED7QFHYA.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkDG64PTNNcjs = require('./chunk-DG64PTNN.cjs');
|
|
10
10
|
|
|
11
11
|
// ../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs
|
|
12
|
-
var require_multipart_parser =
|
|
12
|
+
var require_multipart_parser = _chunkDG64PTNNcjs.__commonJS.call(void 0, {
|
|
13
13
|
"../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs"(exports) {
|
|
14
|
-
|
|
14
|
+
_chunkDG64PTNNcjs.init_cjs_shims.call(void 0, );
|
|
15
15
|
var N = Object.defineProperty;
|
|
16
16
|
var c = (_, a) => N(_, "name", { value: a, configurable: true });
|
|
17
|
-
|
|
18
|
-
var node =
|
|
19
|
-
|
|
17
|
+
_chunkDG64PTNNcjs.__require.call(void 0, "fs"), _chunkDG64PTNNcjs.__require.call(void 0, "path");
|
|
18
|
+
var node = _chunkED7QFHYAcjs.require_node.call(void 0, );
|
|
19
|
+
_chunkDG64PTNNcjs.__require.call(void 0, "http"), _chunkDG64PTNNcjs.__require.call(void 0, "https"), _chunkDG64PTNNcjs.__require.call(void 0, "zlib"), _chunkDG64PTNNcjs.__require.call(void 0, "stream"), _chunkDG64PTNNcjs.__require.call(void 0, "buffer"), _chunkDG64PTNNcjs.__require.call(void 0, "util"), _chunkED7QFHYAcjs.require_node_fetch_native_DhEqb06g.call(void 0, ), _chunkDG64PTNNcjs.__require.call(void 0, "url"), _chunkDG64PTNNcjs.__require.call(void 0, "net");
|
|
20
20
|
var s = 0;
|
|
21
21
|
var S = { START_BOUNDARY: s++, HEADER_FIELD_START: s++, HEADER_FIELD: s++, HEADER_VALUE_START: s++, HEADER_VALUE: s++, HEADER_VALUE_ALMOST_DONE: s++, HEADERS_ALMOST_DONE: s++, PART_DATA_START: s++, PART_DATA: s++, END: s++ };
|
|
22
22
|
var f = 1;
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
Zt,
|
|
4
4
|
init_node,
|
|
5
5
|
init_node_fetch_native_DfbY2q_x
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VOVERBMC.js";
|
|
7
7
|
import {
|
|
8
8
|
__esm,
|
|
9
9
|
init_esm_shims
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NPMDSD32.js";
|
|
11
11
|
|
|
12
12
|
// ../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs
|
|
13
13
|
function $(_) {
|
package/bin/post-checkout.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict"; function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWH5AEUBXcjs = require('./chunk-WH5AEUBX.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkQDIZ5GTLcjs = require('./chunk-QDIZ5GTL.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,43 +13,43 @@ var _chunkPZG2RZNUcjs = require('./chunk-PZG2RZNU.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
20
|
-
require('./chunk-
|
|
21
|
-
require('./chunk-
|
|
22
|
-
require('./chunk-
|
|
16
|
+
var _chunkSN4DGQCWcjs = require('./chunk-SN4DGQCW.cjs');
|
|
17
|
+
require('./chunk-4CISOROA.cjs');
|
|
18
|
+
require('./chunk-JOREIJTD.cjs');
|
|
19
|
+
require('./chunk-TPQW4HXD.cjs');
|
|
20
|
+
require('./chunk-SBXGWZAZ.cjs');
|
|
21
|
+
require('./chunk-UCXPHLIA.cjs');
|
|
22
|
+
require('./chunk-HASRY73V.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkDG64PTNNcjs = require('./chunk-DG64PTNN.cjs');
|
|
26
26
|
|
|
27
27
|
// bin/post-checkout.ts
|
|
28
|
-
|
|
28
|
+
_chunkDG64PTNNcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkSN4DGQCWcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
_chunkSN4DGQCWcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkSN4DGQCWcjs.writeInfo.call(void 0, "Running post-checkout hook...", config);
|
|
34
|
+
_chunkWH5AEUBXcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
_chunkQDIZ5GTLcjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
38
|
+
_chunkSN4DGQCWcjs.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
|
+
_chunkSN4DGQCWcjs.exitWithError.call(void 0, config);
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
_chunkQDIZ5GTLcjs.run.call(void 0, config, "git lfs post-checkout");
|
|
46
|
+
_chunkSN4DGQCWcjs.exitWithSuccess.call(void 0, config);
|
|
47
47
|
} catch (error) {
|
|
48
|
-
|
|
48
|
+
_chunkSN4DGQCWcjs.writeFatal.call(void 0,
|
|
49
49
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
50
|
config
|
|
51
51
|
);
|
|
52
|
-
|
|
52
|
+
_chunkSN4DGQCWcjs.exitWithError.call(void 0, config);
|
|
53
53
|
process.exit(1);
|
|
54
54
|
}
|
|
55
55
|
})();
|
package/bin/post-checkout.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
checkPackageVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-366ZODIG.js";
|
|
5
5
|
import {
|
|
6
6
|
run
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OBSQ7SKQ.js";
|
|
8
8
|
import {
|
|
9
9
|
exitWithError,
|
|
10
10
|
exitWithSuccess,
|
|
@@ -13,16 +13,16 @@ import {
|
|
|
13
13
|
writeError,
|
|
14
14
|
writeFatal,
|
|
15
15
|
writeInfo
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-2DP3RWFN.js";
|
|
17
|
+
import "./chunk-X3OB6CDD.js";
|
|
18
|
+
import "./chunk-ODICLANG.js";
|
|
19
|
+
import "./chunk-CUEWVBIL.js";
|
|
20
|
+
import "./chunk-LJUBI4MJ.js";
|
|
21
|
+
import "./chunk-WSRXAWLA.js";
|
|
22
|
+
import "./chunk-WDG7XXTB.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esm_shims
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NPMDSD32.js";
|
|
26
26
|
|
|
27
27
|
// bin/post-checkout.ts
|
|
28
28
|
init_esm_shims();
|
package/bin/post-commit.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict"; function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWH5AEUBXcjs = require('./chunk-WH5AEUBX.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkQDIZ5GTLcjs = require('./chunk-QDIZ5GTL.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,43 +13,43 @@ var _chunkPZG2RZNUcjs = require('./chunk-PZG2RZNU.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
20
|
-
require('./chunk-
|
|
21
|
-
require('./chunk-
|
|
22
|
-
require('./chunk-
|
|
16
|
+
var _chunkSN4DGQCWcjs = require('./chunk-SN4DGQCW.cjs');
|
|
17
|
+
require('./chunk-4CISOROA.cjs');
|
|
18
|
+
require('./chunk-JOREIJTD.cjs');
|
|
19
|
+
require('./chunk-TPQW4HXD.cjs');
|
|
20
|
+
require('./chunk-SBXGWZAZ.cjs');
|
|
21
|
+
require('./chunk-UCXPHLIA.cjs');
|
|
22
|
+
require('./chunk-HASRY73V.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkDG64PTNNcjs = require('./chunk-DG64PTNN.cjs');
|
|
26
26
|
|
|
27
27
|
// bin/post-commit.ts
|
|
28
|
-
|
|
28
|
+
_chunkDG64PTNNcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkSN4DGQCWcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
_chunkSN4DGQCWcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkSN4DGQCWcjs.writeInfo.call(void 0, "Running post-commit hook...", config);
|
|
34
|
+
_chunkWH5AEUBXcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
_chunkQDIZ5GTLcjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
38
|
+
_chunkSN4DGQCWcjs.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
|
+
_chunkSN4DGQCWcjs.exitWithError.call(void 0, config);
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
_chunkQDIZ5GTLcjs.run.call(void 0, config, "git lfs post-commit");
|
|
46
|
+
_chunkSN4DGQCWcjs.exitWithSuccess.call(void 0, config);
|
|
47
47
|
} catch (error) {
|
|
48
|
-
|
|
48
|
+
_chunkSN4DGQCWcjs.writeFatal.call(void 0,
|
|
49
49
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
50
|
config
|
|
51
51
|
);
|
|
52
|
-
|
|
52
|
+
_chunkSN4DGQCWcjs.exitWithError.call(void 0, config);
|
|
53
53
|
process.exit(1);
|
|
54
54
|
}
|
|
55
55
|
})();
|
package/bin/post-commit.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
checkPackageVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-366ZODIG.js";
|
|
5
5
|
import {
|
|
6
6
|
run
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OBSQ7SKQ.js";
|
|
8
8
|
import {
|
|
9
9
|
exitWithError,
|
|
10
10
|
exitWithSuccess,
|
|
@@ -13,16 +13,16 @@ import {
|
|
|
13
13
|
writeError,
|
|
14
14
|
writeFatal,
|
|
15
15
|
writeInfo
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-2DP3RWFN.js";
|
|
17
|
+
import "./chunk-X3OB6CDD.js";
|
|
18
|
+
import "./chunk-ODICLANG.js";
|
|
19
|
+
import "./chunk-CUEWVBIL.js";
|
|
20
|
+
import "./chunk-LJUBI4MJ.js";
|
|
21
|
+
import "./chunk-WSRXAWLA.js";
|
|
22
|
+
import "./chunk-WDG7XXTB.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esm_shims
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NPMDSD32.js";
|
|
26
26
|
|
|
27
27
|
// bin/post-commit.ts
|
|
28
28
|
init_esm_shims();
|
package/bin/post-merge.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict"; function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkWH5AEUBXcjs = require('./chunk-WH5AEUBX.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkQDIZ5GTLcjs = require('./chunk-QDIZ5GTL.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,43 +13,43 @@ var _chunkPZG2RZNUcjs = require('./chunk-PZG2RZNU.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
20
|
-
require('./chunk-
|
|
21
|
-
require('./chunk-
|
|
22
|
-
require('./chunk-
|
|
16
|
+
var _chunkSN4DGQCWcjs = require('./chunk-SN4DGQCW.cjs');
|
|
17
|
+
require('./chunk-4CISOROA.cjs');
|
|
18
|
+
require('./chunk-JOREIJTD.cjs');
|
|
19
|
+
require('./chunk-TPQW4HXD.cjs');
|
|
20
|
+
require('./chunk-SBXGWZAZ.cjs');
|
|
21
|
+
require('./chunk-UCXPHLIA.cjs');
|
|
22
|
+
require('./chunk-HASRY73V.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkDG64PTNNcjs = require('./chunk-DG64PTNN.cjs');
|
|
26
26
|
|
|
27
27
|
// bin/post-merge.ts
|
|
28
|
-
|
|
28
|
+
_chunkDG64PTNNcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkSN4DGQCWcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
_chunkSN4DGQCWcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkSN4DGQCWcjs.writeInfo.call(void 0, "Running post-merge hook...", config);
|
|
34
|
+
_chunkWH5AEUBXcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
_chunkQDIZ5GTLcjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
38
|
+
_chunkSN4DGQCWcjs.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
|
+
_chunkSN4DGQCWcjs.exitWithError.call(void 0, config);
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
_chunkQDIZ5GTLcjs.run.call(void 0, config, "git lfs post-merge");
|
|
46
|
+
_chunkSN4DGQCWcjs.exitWithSuccess.call(void 0, config);
|
|
47
47
|
} catch (error) {
|
|
48
|
-
|
|
48
|
+
_chunkSN4DGQCWcjs.writeFatal.call(void 0,
|
|
49
49
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
50
|
config
|
|
51
51
|
);
|
|
52
|
-
|
|
52
|
+
_chunkSN4DGQCWcjs.exitWithError.call(void 0, config);
|
|
53
53
|
process.exit(1);
|
|
54
54
|
}
|
|
55
55
|
})();
|
package/bin/post-merge.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
checkPackageVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-366ZODIG.js";
|
|
5
5
|
import {
|
|
6
6
|
run
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OBSQ7SKQ.js";
|
|
8
8
|
import {
|
|
9
9
|
exitWithError,
|
|
10
10
|
exitWithSuccess,
|
|
@@ -13,16 +13,16 @@ import {
|
|
|
13
13
|
writeError,
|
|
14
14
|
writeFatal,
|
|
15
15
|
writeInfo
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-2DP3RWFN.js";
|
|
17
|
+
import "./chunk-X3OB6CDD.js";
|
|
18
|
+
import "./chunk-ODICLANG.js";
|
|
19
|
+
import "./chunk-CUEWVBIL.js";
|
|
20
|
+
import "./chunk-LJUBI4MJ.js";
|
|
21
|
+
import "./chunk-WSRXAWLA.js";
|
|
22
|
+
import "./chunk-WDG7XXTB.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esm_shims
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NPMDSD32.js";
|
|
26
26
|
|
|
27
27
|
// bin/post-merge.ts
|
|
28
28
|
init_esm_shims();
|
package/bin/pre-commit.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"use strict"; function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkWH5AEUBXcjs = require('./chunk-WH5AEUBX.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -11,39 +11,39 @@ var _chunkXPNTNVZCcjs = require('./chunk-XPNTNVZC.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
16
|
-
require('./chunk-
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
20
|
-
require('./chunk-
|
|
14
|
+
var _chunkSN4DGQCWcjs = require('./chunk-SN4DGQCW.cjs');
|
|
15
|
+
require('./chunk-4CISOROA.cjs');
|
|
16
|
+
require('./chunk-JOREIJTD.cjs');
|
|
17
|
+
require('./chunk-TPQW4HXD.cjs');
|
|
18
|
+
require('./chunk-SBXGWZAZ.cjs');
|
|
19
|
+
require('./chunk-UCXPHLIA.cjs');
|
|
20
|
+
require('./chunk-HASRY73V.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkDG64PTNNcjs = require('./chunk-DG64PTNN.cjs');
|
|
24
24
|
|
|
25
25
|
// bin/pre-commit.ts
|
|
26
|
-
|
|
26
|
+
_chunkDG64PTNNcjs.init_cjs_shims.call(void 0, );
|
|
27
27
|
void (async () => {
|
|
28
|
-
const config = await
|
|
28
|
+
const config = await _chunkSN4DGQCWcjs.getConfig.call(void 0, );
|
|
29
29
|
try {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
if (
|
|
34
|
-
|
|
30
|
+
_chunkSN4DGQCWcjs.handleProcess.call(void 0, config);
|
|
31
|
+
_chunkSN4DGQCWcjs.writeInfo.call(void 0, "Running pre-commit hook...", config);
|
|
32
|
+
_chunkWH5AEUBXcjs.checkPackageVersion.call(void 0, process.argv.slice(1));
|
|
33
|
+
if (_chunkWH5AEUBXcjs.isPackageVersionChanged.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]))) {
|
|
34
|
+
_chunkSN4DGQCWcjs.writeError.call(void 0,
|
|
35
35
|
"Please regenerate the package lock file before committing...",
|
|
36
36
|
config
|
|
37
37
|
);
|
|
38
|
-
|
|
38
|
+
_chunkSN4DGQCWcjs.exitWithError.call(void 0, config);
|
|
39
39
|
}
|
|
40
|
-
|
|
40
|
+
_chunkSN4DGQCWcjs.exitWithSuccess.call(void 0, config);
|
|
41
41
|
} catch (error) {
|
|
42
|
-
|
|
42
|
+
_chunkSN4DGQCWcjs.writeFatal.call(void 0,
|
|
43
43
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
44
44
|
config
|
|
45
45
|
);
|
|
46
|
-
|
|
46
|
+
_chunkSN4DGQCWcjs.exitWithError.call(void 0, config);
|
|
47
47
|
process.exit(1);
|
|
48
48
|
}
|
|
49
49
|
})();
|