@storm-software/git-tools 2.104.47 → 2.104.49
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 -2
- package/bin/{chunk-MM5AJ3HN.js → chunk-23TCSI67.js} +26 -143
- package/bin/{chunk-LHINQG4H.cjs → chunk-34R4PCUS.cjs} +9 -35
- package/bin/chunk-3XEEEMLV.js +25 -0
- package/bin/{chunk-FDIL5LQQ.cjs → chunk-3YZZSIRA.cjs} +2 -8
- package/bin/{chunk-QVRLY7GO.js → chunk-5DZECCFZ.js} +1831 -3498
- package/bin/{chunk-C56ONEWE.cjs → chunk-A3QVIDKR.cjs} +2063 -4146
- package/bin/{chunk-RWG7K3L2.cjs → chunk-ANR3M366.cjs} +14 -46
- package/bin/{chunk-YCGKNXJZ.cjs → chunk-AQDYBQBF.cjs} +2 -12
- package/bin/{chunk-DNTOHRW4.js → chunk-BJYW7ISD.js} +78 -182
- package/bin/{chunk-YKGA2MVU.cjs → chunk-FY5QB5MQ.cjs} +13 -47
- package/bin/{chunk-DBXOSHV7.js → chunk-GIYWTOX5.js} +10 -44
- package/bin/{chunk-YS7O5BRI.cjs → chunk-H6RJC2EU.cjs} +29 -146
- package/bin/{chunk-IFBRUMYX.js → chunk-KTLBDGE7.js} +1 -11
- package/bin/{chunk-RJTSICHA.js → chunk-M3SPNRDT.js} +6 -32
- package/bin/{chunk-PW5R2BRU.cjs → chunk-MRCW7ZWW.cjs} +4 -5
- package/bin/{chunk-KD5ZCYX3.cjs → chunk-OQNZFKFJ.cjs} +22 -445
- package/bin/{chunk-OBE5IRH4.js → chunk-PAW5GJNL.js} +3 -4
- package/bin/{chunk-377YOE7Z.js → chunk-QROY5223.js} +4 -426
- package/bin/{chunk-QYSGMK4D.js → chunk-REUY4MDC.js} +10 -42
- package/bin/{chunk-JUU5ILZB.cjs → chunk-RHY34RLE.cjs} +4 -6
- package/bin/{chunk-PRG2N75Y.js → chunk-V3UDZCED.js} +1 -7
- package/bin/chunk-VNWRUK6N.cjs +25 -0
- package/bin/{chunk-EJRTGQIY.js → chunk-W2TU25OT.js} +2 -4
- package/bin/{chunk-V2L6QG6X.cjs → chunk-Z3K5JTIC.cjs} +88 -192
- package/bin/{dist-YVMKTFW6.cjs → dist-3B7RDNKI.cjs} +1097 -2113
- package/bin/{dist-AXJG5W3U.js → dist-BGCQPBHL.js} +2 -5
- package/bin/{dist-5TR4KAWC.cjs → dist-WGGNNSDG.cjs} +6 -9
- package/bin/{dist-KY7IAJSV.js → dist-YM6D424K.js} +417 -1489
- package/bin/{esm-MGSMO3WY.cjs → esm-6GE5MI4G.cjs} +249 -254
- package/bin/{esm-IZHFRARS.js → esm-WLHP7RVO.js} +246 -251
- package/bin/git.cjs +9757 -20881
- package/bin/git.js +4720 -13387
- package/bin/json5-ELADGSSP.js +10 -0
- package/bin/json5-FQPHMSAC.cjs +10 -0
- package/bin/jsonc-CTYQYPBR.cjs +15 -0
- package/bin/{jsonc-6643P3LC.js → jsonc-RUGZP2X2.js} +3 -3
- package/bin/{multipart-parser-Z3URKOGZ.cjs → multipart-parser-I4Y55UNL.cjs} +8 -14
- package/bin/{multipart-parser-HAF2WA3O.js → multipart-parser-MFV7BRF2.js} +3 -9
- package/bin/post-checkout.cjs +29 -23
- package/bin/post-checkout.js +19 -13
- package/bin/post-commit.cjs +29 -23
- package/bin/post-commit.js +19 -13
- package/bin/post-merge.cjs +29 -23
- package/bin/post-merge.js +19 -13
- package/bin/pre-commit.cjs +26 -20
- package/bin/pre-commit.js +17 -11
- package/bin/pre-install.cjs +22 -19
- package/bin/pre-install.js +13 -10
- package/bin/pre-push.cjs +55 -36
- package/bin/pre-push.js +40 -21
- package/bin/prepare.cjs +20 -17
- package/bin/prepare.js +13 -10
- package/bin/toml-IRXKI45Y.cjs +10 -0
- package/bin/toml-U3J6BEAR.js +10 -0
- package/bin/{utils-WL6G35GX.js → utils-6O4EJJM3.js} +2 -12
- package/bin/{utils-PZ3SHU7I.cjs → utils-GJRPR6GZ.cjs} +5 -15
- package/bin/version-warning.cjs +18 -15
- package/bin/version-warning.js +13 -10
- package/bin/yaml-CPOMXZOK.js +10 -0
- package/bin/yaml-WGJNEJ7V.cjs +10 -0
- package/dist/{chunk-232JIEVA.js → chunk-3MA2SHAT.js} +1 -1
- package/dist/chunk-3V3F7TB7.cjs +18 -0
- package/dist/{chunk-TFEV2FZY.js → chunk-D7HN6Y5M.js} +8 -9
- package/dist/{chunk-L2C6A3XV.cjs → chunk-EQZ3BKYL.cjs} +9 -10
- package/dist/{chunk-WTMYHIID.cjs → chunk-FX5G24P6.cjs} +3 -3
- package/dist/{chunk-W7SYRJE7.js → chunk-JVIJRTGD.js} +1 -1
- package/dist/commit/config.cjs +3 -3
- package/dist/commit/config.js +2 -2
- package/dist/commitlint/config.cjs +24 -103
- package/dist/commitlint/config.js +24 -103
- package/dist/index.cjs +4 -4
- package/dist/index.js +3 -3
- package/dist/release/config.cjs +3 -3
- package/dist/release/config.js +2 -2
- package/dist/types.cjs +2 -2
- package/dist/types.js +1 -1
- package/package.json +1 -1
- package/bin/chunk-5DWG2HXA.js +0 -22
- package/bin/chunk-7B6YVRI6.cjs +0 -22
- package/bin/json5-DQ2B7V4X.js +0 -10
- package/bin/json5-OV4LY5NN.cjs +0 -10
- package/bin/jsonc-SKJF3GPV.cjs +0 -15
- package/bin/toml-IP5GTCQW.cjs +0 -10
- package/bin/toml-KSQJ7SIB.js +0 -10
- package/bin/yaml-3NH46CEJ.cjs +0 -10
- package/bin/yaml-F3NXDIX4.js +0 -10
- package/dist/chunk-Y7XG7IJ6.cjs +0 -18
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunk34R4PCUScjs = require('./chunk-34R4PCUS.cjs');
|
|
5
|
+
require('./chunk-AQDYBQBF.cjs');
|
|
6
|
+
require('./chunk-RHY34RLE.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.parseJSON5 = _chunk34R4PCUScjs.ou; exports.stringifyJSON5 = _chunk34R4PCUScjs.cu;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkANR3M366cjs = require('./chunk-ANR3M366.cjs');
|
|
5
|
+
require('./chunk-AQDYBQBF.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkRHY34RLEcjs = require('./chunk-RHY34RLE.cjs');
|
|
9
|
+
|
|
10
|
+
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/jsonc.mjs
|
|
11
|
+
_chunkRHY34RLEcjs.init_cjs_shims.call(void 0, );
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
exports.parseJSONC = _chunkANR3M366cjs.h; exports.stringifyJSONC = _chunkANR3M366cjs.d;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
d,
|
|
3
3
|
h
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-REUY4MDC.js";
|
|
5
|
+
import "./chunk-KTLBDGE7.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-W2TU25OT.js";
|
|
9
9
|
|
|
10
10
|
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/jsonc.mjs
|
|
11
11
|
init_esm_shims();
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkOQNZFKFJcjs = require('./chunk-OQNZFKFJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
var _chunkJUU5ILZBcjs = require('./chunk-JUU5ILZB.cjs');
|
|
9
|
+
var _chunkRHY34RLEcjs = require('./chunk-RHY34RLE.cjs');
|
|
11
10
|
|
|
12
11
|
// ../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs
|
|
13
|
-
var require_multipart_parser =
|
|
12
|
+
var require_multipart_parser = _chunkRHY34RLEcjs.__commonJS.call(void 0, {
|
|
14
13
|
"../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs"(exports) {
|
|
15
|
-
|
|
14
|
+
_chunkRHY34RLEcjs.init_cjs_shims.call(void 0, );
|
|
16
15
|
var N = Object.defineProperty;
|
|
17
|
-
var c =
|
|
18
|
-
|
|
19
|
-
var node =
|
|
20
|
-
|
|
16
|
+
var c = (_, a) => N(_, "name", { value: a, configurable: true });
|
|
17
|
+
_chunkRHY34RLEcjs.__require.call(void 0, "fs"), _chunkRHY34RLEcjs.__require.call(void 0, "path");
|
|
18
|
+
var node = _chunkOQNZFKFJcjs.require_node.call(void 0, );
|
|
19
|
+
_chunkRHY34RLEcjs.__require.call(void 0, "http"), _chunkRHY34RLEcjs.__require.call(void 0, "https"), _chunkRHY34RLEcjs.__require.call(void 0, "zlib"), _chunkRHY34RLEcjs.__require.call(void 0, "stream"), _chunkRHY34RLEcjs.__require.call(void 0, "buffer"), _chunkRHY34RLEcjs.__require.call(void 0, "util"), _chunkOQNZFKFJcjs.require_node_fetch_native_DhEqb06g.call(void 0, ), _chunkRHY34RLEcjs.__require.call(void 0, "url"), _chunkRHY34RLEcjs.__require.call(void 0, "net");
|
|
21
20
|
var s = 0;
|
|
22
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++ };
|
|
23
22
|
var f = 1;
|
|
@@ -33,9 +32,6 @@ var require_multipart_parser = _chunkJUU5ILZBcjs.__commonJS.call(void 0, {
|
|
|
33
32
|
var noop = c(() => {
|
|
34
33
|
}, "noop");
|
|
35
34
|
var MultipartParser = class {
|
|
36
|
-
static {
|
|
37
|
-
_chunkJUU5ILZBcjs.__name.call(void 0, this, "MultipartParser");
|
|
38
|
-
}
|
|
39
35
|
static {
|
|
40
36
|
c(this, "MultipartParser");
|
|
41
37
|
}
|
|
@@ -146,7 +142,6 @@ var require_multipart_parser = _chunkJUU5ILZBcjs.__commonJS.call(void 0, {
|
|
|
146
142
|
let n = t.slice(t.lastIndexOf("\\") + 1);
|
|
147
143
|
return n = n.replace(/%22/g, '"'), n = n.replace(/&#(\d{4});/g, (E, d) => String.fromCharCode(d)), n;
|
|
148
144
|
}
|
|
149
|
-
_chunkJUU5ILZBcjs.__name.call(void 0, _fileName, "_fileName");
|
|
150
145
|
c(_fileName, "_fileName");
|
|
151
146
|
async function toFormData(_, a) {
|
|
152
147
|
if (!/multipart/i.test(a)) throw new TypeError("Failed to fetch");
|
|
@@ -180,7 +175,6 @@ var require_multipart_parser = _chunkJUU5ILZBcjs.__commonJS.call(void 0, {
|
|
|
180
175
|
for await (const i of _) n.write(i);
|
|
181
176
|
return n.end(), b;
|
|
182
177
|
}
|
|
183
|
-
_chunkJUU5ILZBcjs.__name.call(void 0, toFormData, "toFormData");
|
|
184
178
|
c(toFormData, "toFormData"), exports.toFormData = toFormData;
|
|
185
179
|
}
|
|
186
180
|
});
|
|
@@ -3,12 +3,11 @@ import {
|
|
|
3
3
|
Zt,
|
|
4
4
|
init_node,
|
|
5
5
|
init_node_fetch_native_DfbY2q_x
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QROY5223.js";
|
|
7
7
|
import {
|
|
8
8
|
__esm,
|
|
9
|
-
__name,
|
|
10
9
|
init_esm_shims
|
|
11
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W2TU25OT.js";
|
|
12
11
|
|
|
13
12
|
// ../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs
|
|
14
13
|
function $(_) {
|
|
@@ -57,7 +56,7 @@ var init_multipart_parser = __esm({
|
|
|
57
56
|
init_node();
|
|
58
57
|
init_node_fetch_native_DfbY2q_x();
|
|
59
58
|
U = Object.defineProperty;
|
|
60
|
-
E =
|
|
59
|
+
E = (_, o) => U(_, "name", { value: o, configurable: true });
|
|
61
60
|
D = 0;
|
|
62
61
|
t = { START_BOUNDARY: D++, HEADER_FIELD_START: D++, HEADER_FIELD: D++, HEADER_VALUE_START: D++, HEADER_VALUE: D++, HEADER_VALUE_ALMOST_DONE: D++, HEADERS_ALMOST_DONE: D++, PART_DATA_START: D++, PART_DATA: D++, END: D++ };
|
|
63
62
|
F = 1;
|
|
@@ -73,9 +72,6 @@ var init_multipart_parser = __esm({
|
|
|
73
72
|
p = E(() => {
|
|
74
73
|
}, "noop");
|
|
75
74
|
M = class {
|
|
76
|
-
static {
|
|
77
|
-
__name(this, "M");
|
|
78
|
-
}
|
|
79
75
|
static {
|
|
80
76
|
E(this, "MultipartParser");
|
|
81
77
|
}
|
|
@@ -179,9 +175,7 @@ var init_multipart_parser = __esm({
|
|
|
179
175
|
else if (this.state !== t.END) throw new Error("MultipartParser.end(): stream ended unexpectedly");
|
|
180
176
|
}
|
|
181
177
|
};
|
|
182
|
-
__name($, "$");
|
|
183
178
|
E($, "_fileName");
|
|
184
|
-
__name(v, "v");
|
|
185
179
|
E(v, "toFormData");
|
|
186
180
|
}
|
|
187
181
|
});
|
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 _chunkVNWRUK6Ncjs = require('./chunk-VNWRUK6N.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkMRCW7ZWWcjs = require('./chunk-MRCW7ZWW.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,37 +13,43 @@ var _chunkPW5R2BRUcjs = require('./chunk-PW5R2BRU.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 _chunkA3QVIDKRcjs = require('./chunk-A3QVIDKR.cjs');
|
|
17
|
+
require('./chunk-Z3K5JTIC.cjs');
|
|
18
|
+
require('./chunk-34R4PCUS.cjs');
|
|
19
|
+
require('./chunk-H6RJC2EU.cjs');
|
|
20
|
+
require('./chunk-FY5QB5MQ.cjs');
|
|
21
|
+
require('./chunk-ANR3M366.cjs');
|
|
22
|
+
require('./chunk-AQDYBQBF.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkRHY34RLEcjs = require('./chunk-RHY34RLE.cjs');
|
|
26
26
|
|
|
27
27
|
// bin/post-checkout.ts
|
|
28
|
-
|
|
28
|
+
_chunkRHY34RLEcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkA3QVIDKRcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
_chunkA3QVIDKRcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkA3QVIDKRcjs.writeInfo.call(void 0, "Running post-checkout hook...", config);
|
|
34
|
+
_chunkVNWRUK6Ncjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
_chunkMRCW7ZWWcjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
_chunkA3QVIDKRcjs.writeError.call(void 0,
|
|
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
|
+
Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
|
|
41
|
+
config
|
|
42
|
+
);
|
|
43
|
+
_chunkA3QVIDKRcjs.exitWithError.call(void 0, config);
|
|
41
44
|
}
|
|
42
|
-
|
|
43
|
-
|
|
45
|
+
_chunkMRCW7ZWWcjs.run.call(void 0, config, "git lfs post-checkout");
|
|
46
|
+
_chunkA3QVIDKRcjs.exitWithSuccess.call(void 0, config);
|
|
44
47
|
} catch (error) {
|
|
45
|
-
|
|
46
|
-
|
|
48
|
+
_chunkA3QVIDKRcjs.writeFatal.call(void 0,
|
|
49
|
+
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
|
+
config
|
|
51
|
+
);
|
|
52
|
+
_chunkA3QVIDKRcjs.exitWithError.call(void 0, config);
|
|
47
53
|
process.exit(1);
|
|
48
54
|
}
|
|
49
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-3XEEEMLV.js";
|
|
5
5
|
import {
|
|
6
6
|
run
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PAW5GJNL.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-5DZECCFZ.js";
|
|
17
|
+
import "./chunk-BJYW7ISD.js";
|
|
18
|
+
import "./chunk-M3SPNRDT.js";
|
|
19
|
+
import "./chunk-23TCSI67.js";
|
|
20
|
+
import "./chunk-GIYWTOX5.js";
|
|
21
|
+
import "./chunk-REUY4MDC.js";
|
|
22
|
+
import "./chunk-KTLBDGE7.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esm_shims
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-W2TU25OT.js";
|
|
26
26
|
|
|
27
27
|
// bin/post-checkout.ts
|
|
28
28
|
init_esm_shims();
|
|
@@ -35,14 +35,20 @@ void (async () => {
|
|
|
35
35
|
try {
|
|
36
36
|
run(config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
writeError(
|
|
39
|
-
|
|
38
|
+
writeError(
|
|
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
|
+
Error: ${error?.message}`,
|
|
41
|
+
config
|
|
42
|
+
);
|
|
40
43
|
exitWithError(config);
|
|
41
44
|
}
|
|
42
45
|
run(config, "git lfs post-checkout");
|
|
43
46
|
exitWithSuccess(config);
|
|
44
47
|
} catch (error) {
|
|
45
|
-
writeFatal(
|
|
48
|
+
writeFatal(
|
|
49
|
+
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
|
+
config
|
|
51
|
+
);
|
|
46
52
|
exitWithError(config);
|
|
47
53
|
process.exit(1);
|
|
48
54
|
}
|
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 _chunkVNWRUK6Ncjs = require('./chunk-VNWRUK6N.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkMRCW7ZWWcjs = require('./chunk-MRCW7ZWW.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,37 +13,43 @@ var _chunkPW5R2BRUcjs = require('./chunk-PW5R2BRU.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 _chunkA3QVIDKRcjs = require('./chunk-A3QVIDKR.cjs');
|
|
17
|
+
require('./chunk-Z3K5JTIC.cjs');
|
|
18
|
+
require('./chunk-34R4PCUS.cjs');
|
|
19
|
+
require('./chunk-H6RJC2EU.cjs');
|
|
20
|
+
require('./chunk-FY5QB5MQ.cjs');
|
|
21
|
+
require('./chunk-ANR3M366.cjs');
|
|
22
|
+
require('./chunk-AQDYBQBF.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkRHY34RLEcjs = require('./chunk-RHY34RLE.cjs');
|
|
26
26
|
|
|
27
27
|
// bin/post-commit.ts
|
|
28
|
-
|
|
28
|
+
_chunkRHY34RLEcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkA3QVIDKRcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
_chunkA3QVIDKRcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkA3QVIDKRcjs.writeInfo.call(void 0, "Running post-commit hook...", config);
|
|
34
|
+
_chunkVNWRUK6Ncjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
_chunkMRCW7ZWWcjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
_chunkA3QVIDKRcjs.writeError.call(void 0,
|
|
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
|
+
Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
|
|
41
|
+
config
|
|
42
|
+
);
|
|
43
|
+
_chunkA3QVIDKRcjs.exitWithError.call(void 0, config);
|
|
41
44
|
}
|
|
42
|
-
|
|
43
|
-
|
|
45
|
+
_chunkMRCW7ZWWcjs.run.call(void 0, config, "git lfs post-commit");
|
|
46
|
+
_chunkA3QVIDKRcjs.exitWithSuccess.call(void 0, config);
|
|
44
47
|
} catch (error) {
|
|
45
|
-
|
|
46
|
-
|
|
48
|
+
_chunkA3QVIDKRcjs.writeFatal.call(void 0,
|
|
49
|
+
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
|
+
config
|
|
51
|
+
);
|
|
52
|
+
_chunkA3QVIDKRcjs.exitWithError.call(void 0, config);
|
|
47
53
|
process.exit(1);
|
|
48
54
|
}
|
|
49
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-3XEEEMLV.js";
|
|
5
5
|
import {
|
|
6
6
|
run
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PAW5GJNL.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-5DZECCFZ.js";
|
|
17
|
+
import "./chunk-BJYW7ISD.js";
|
|
18
|
+
import "./chunk-M3SPNRDT.js";
|
|
19
|
+
import "./chunk-23TCSI67.js";
|
|
20
|
+
import "./chunk-GIYWTOX5.js";
|
|
21
|
+
import "./chunk-REUY4MDC.js";
|
|
22
|
+
import "./chunk-KTLBDGE7.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esm_shims
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-W2TU25OT.js";
|
|
26
26
|
|
|
27
27
|
// bin/post-commit.ts
|
|
28
28
|
init_esm_shims();
|
|
@@ -35,14 +35,20 @@ void (async () => {
|
|
|
35
35
|
try {
|
|
36
36
|
run(config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
writeError(
|
|
39
|
-
|
|
38
|
+
writeError(
|
|
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
|
+
Error: ${error?.message}`,
|
|
41
|
+
config
|
|
42
|
+
);
|
|
40
43
|
exitWithError(config);
|
|
41
44
|
}
|
|
42
45
|
run(config, "git lfs post-commit");
|
|
43
46
|
exitWithSuccess(config);
|
|
44
47
|
} catch (error) {
|
|
45
|
-
writeFatal(
|
|
48
|
+
writeFatal(
|
|
49
|
+
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
|
+
config
|
|
51
|
+
);
|
|
46
52
|
exitWithError(config);
|
|
47
53
|
process.exit(1);
|
|
48
54
|
}
|
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 _chunkVNWRUK6Ncjs = require('./chunk-VNWRUK6N.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkMRCW7ZWWcjs = require('./chunk-MRCW7ZWW.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,37 +13,43 @@ var _chunkPW5R2BRUcjs = require('./chunk-PW5R2BRU.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 _chunkA3QVIDKRcjs = require('./chunk-A3QVIDKR.cjs');
|
|
17
|
+
require('./chunk-Z3K5JTIC.cjs');
|
|
18
|
+
require('./chunk-34R4PCUS.cjs');
|
|
19
|
+
require('./chunk-H6RJC2EU.cjs');
|
|
20
|
+
require('./chunk-FY5QB5MQ.cjs');
|
|
21
|
+
require('./chunk-ANR3M366.cjs');
|
|
22
|
+
require('./chunk-AQDYBQBF.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkRHY34RLEcjs = require('./chunk-RHY34RLE.cjs');
|
|
26
26
|
|
|
27
27
|
// bin/post-merge.ts
|
|
28
|
-
|
|
28
|
+
_chunkRHY34RLEcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkA3QVIDKRcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
_chunkA3QVIDKRcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkA3QVIDKRcjs.writeInfo.call(void 0, "Running post-merge hook...", config);
|
|
34
|
+
_chunkVNWRUK6Ncjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
_chunkMRCW7ZWWcjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
_chunkA3QVIDKRcjs.writeError.call(void 0,
|
|
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
|
+
Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
|
|
41
|
+
config
|
|
42
|
+
);
|
|
43
|
+
_chunkA3QVIDKRcjs.exitWithError.call(void 0, config);
|
|
41
44
|
}
|
|
42
|
-
|
|
43
|
-
|
|
45
|
+
_chunkMRCW7ZWWcjs.run.call(void 0, config, "git lfs post-merge");
|
|
46
|
+
_chunkA3QVIDKRcjs.exitWithSuccess.call(void 0, config);
|
|
44
47
|
} catch (error) {
|
|
45
|
-
|
|
46
|
-
|
|
48
|
+
_chunkA3QVIDKRcjs.writeFatal.call(void 0,
|
|
49
|
+
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
|
+
config
|
|
51
|
+
);
|
|
52
|
+
_chunkA3QVIDKRcjs.exitWithError.call(void 0, config);
|
|
47
53
|
process.exit(1);
|
|
48
54
|
}
|
|
49
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-3XEEEMLV.js";
|
|
5
5
|
import {
|
|
6
6
|
run
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PAW5GJNL.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-5DZECCFZ.js";
|
|
17
|
+
import "./chunk-BJYW7ISD.js";
|
|
18
|
+
import "./chunk-M3SPNRDT.js";
|
|
19
|
+
import "./chunk-23TCSI67.js";
|
|
20
|
+
import "./chunk-GIYWTOX5.js";
|
|
21
|
+
import "./chunk-REUY4MDC.js";
|
|
22
|
+
import "./chunk-KTLBDGE7.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esm_shims
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-W2TU25OT.js";
|
|
26
26
|
|
|
27
27
|
// bin/post-merge.ts
|
|
28
28
|
init_esm_shims();
|
|
@@ -35,14 +35,20 @@ void (async () => {
|
|
|
35
35
|
try {
|
|
36
36
|
run(config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
writeError(
|
|
39
|
-
|
|
38
|
+
writeError(
|
|
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
|
+
Error: ${error?.message}`,
|
|
41
|
+
config
|
|
42
|
+
);
|
|
40
43
|
exitWithError(config);
|
|
41
44
|
}
|
|
42
45
|
run(config, "git lfs post-merge");
|
|
43
46
|
exitWithSuccess(config);
|
|
44
47
|
} catch (error) {
|
|
45
|
-
writeFatal(
|
|
48
|
+
writeFatal(
|
|
49
|
+
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
|
+
config
|
|
51
|
+
);
|
|
46
52
|
exitWithError(config);
|
|
47
53
|
process.exit(1);
|
|
48
54
|
}
|