@storm-software/git-tools 2.111.4 → 2.111.6
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-OM5L47NG.js → chunk-47K7PVZC.js} +1 -1
- package/bin/{chunk-H4UZA6YV.js → chunk-4MKGY5XK.js} +15 -14
- package/bin/{chunk-F23RVWIU.js → chunk-6SXMMZHP.js} +2 -2
- package/bin/{chunk-F4EJA5YJ.js → chunk-6SZCO3SJ.js} +1 -1
- package/bin/{chunk-AEKTGCCN.js → chunk-7A5EGZ6Q.js} +1 -1
- package/bin/{chunk-YGWVP3UJ.cjs → chunk-7ZEGT6RA.cjs} +2 -2
- package/bin/{chunk-V6NN3AWF.js → chunk-BR6QCADR.js} +2 -2
- package/bin/{chunk-LLO5CIGT.cjs → chunk-CEHH4PRS.cjs} +5 -5
- package/bin/{chunk-WSSMPAHI.cjs → chunk-CWFRYFKU.cjs} +20 -20
- package/bin/{chunk-EL73OKXQ.cjs → chunk-F46DUYDE.cjs} +12 -12
- package/bin/{chunk-JJCCJWWR.js → chunk-HRLGG2YT.js} +2 -2
- package/bin/{chunk-Z4PIZYPL.cjs → chunk-IAGZMAZR.cjs} +122 -121
- package/bin/{chunk-ZKFRHZAA.js → chunk-IMCD67OQ.js} +2 -2
- package/bin/{chunk-DEZYFNWB.js → chunk-KG4SNSNZ.js} +2 -2
- package/bin/{chunk-2TWVDLJE.cjs → chunk-MLXL65VE.cjs} +2 -2
- package/bin/{chunk-UKZ6FNVL.cjs → chunk-PTIZML4F.cjs} +6 -6
- package/bin/{chunk-CNVQU2MO.cjs → chunk-PZG2RZNU.cjs} +2 -2
- package/bin/{chunk-LGDV5HY6.js → chunk-Q3W7SD6V.js} +2 -2
- package/bin/{chunk-OBTBM2ID.cjs → chunk-T67XJAEY.cjs} +5 -5
- package/bin/{chunk-UXQRKLJQ.js → chunk-UIJL3IK3.js} +1 -1
- package/bin/{chunk-R6NDWZ5M.js → chunk-VPG4MABV.js} +2 -2
- package/bin/{chunk-Y3KSAS4M.cjs → chunk-XCQ4AR7G.cjs} +2 -2
- package/bin/{chunk-JRKGCCPX.cjs → chunk-XPNTNVZC.cjs} +2 -2
- package/bin/{chunk-3JMNL5KZ.cjs → chunk-ZTLQGOB4.cjs} +5 -5
- package/bin/{dist-A55USZJN.cjs → dist-IJIVRIO7.cjs} +206 -206
- package/bin/{dist-BWZWXMBU.cjs → dist-PNUN2YPH.cjs} +6 -6
- package/bin/{dist-LZLLTBUP.js → dist-WYYI32X2.js} +8 -8
- package/bin/{dist-H66OM4JV.js → dist-ZE7HNGJC.js} +2 -2
- package/bin/{esm-AF5NY6SD.js → esm-KZRVZVO3.js} +1 -1
- package/bin/{esm-I7ICZBT5.cjs → esm-TCFXXWC4.cjs} +4 -4
- package/bin/git.cjs +2046 -2046
- package/bin/git.js +89 -89
- package/bin/json5-OZ5MTESN.cjs +10 -0
- package/bin/json5-W6R4YGXR.js +10 -0
- package/bin/jsonc-3MDLBHMB.cjs +15 -0
- package/bin/{jsonc-4NBVH2AL.js → jsonc-6SCBF4RA.js} +3 -3
- package/bin/{multipart-parser-T3WT4LJG.js → multipart-parser-75I7EYL4.js} +2 -2
- package/bin/{multipart-parser-NYN23YHY.cjs → multipart-parser-VLR6XMHA.cjs} +7 -7
- 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-C2DAH5VN.cjs +10 -0
- package/bin/toml-MUQS3ENI.js +10 -0
- package/bin/{utils-434SWAH5.cjs → utils-6WH7MAJK.cjs} +5 -5
- package/bin/{utils-DBJFBR4S.js → utils-KPYUHBCA.js} +2 -2
- package/bin/version-warning.cjs +15 -15
- package/bin/version-warning.js +9 -9
- package/bin/yaml-KTG5PRJT.js +10 -0
- package/bin/yaml-XPFVN55H.cjs +10 -0
- package/package.json +4 -4
- package/bin/json5-IKFOB56I.cjs +0 -10
- package/bin/json5-NG6OD5WI.js +0 -10
- package/bin/jsonc-ARAN2EZI.cjs +0 -15
- package/bin/toml-4GGNCLG2.cjs +0 -10
- package/bin/toml-QNXUBTOW.js +0 -10
- package/bin/yaml-IB6KRZOC.js +0 -10
- package/bin/yaml-IJ4ESRUR.cjs +0 -10
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkCEHH4PRScjs = require('./chunk-CEHH4PRS.cjs');
|
|
5
|
+
require('./chunk-7ZEGT6RA.cjs');
|
|
6
|
+
require('./chunk-XCQ4AR7G.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.parseJSON5 = _chunkCEHH4PRScjs.ou; exports.stringifyJSON5 = _chunkCEHH4PRScjs.cu;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkPTIZML4Fcjs = require('./chunk-PTIZML4F.cjs');
|
|
5
|
+
require('./chunk-7ZEGT6RA.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkXCQ4AR7Gcjs = require('./chunk-XCQ4AR7G.cjs');
|
|
9
|
+
|
|
10
|
+
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/jsonc.mjs
|
|
11
|
+
_chunkXCQ4AR7Gcjs.init_cjs_shims.call(void 0, );
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
exports.parseJSONC = _chunkPTIZML4Fcjs.h; exports.stringifyJSONC = _chunkPTIZML4Fcjs.d;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
d,
|
|
3
3
|
h
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-KG4SNSNZ.js";
|
|
5
|
+
import "./chunk-6SZCO3SJ.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VPG4MABV.js";
|
|
9
9
|
|
|
10
10
|
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/jsonc.mjs
|
|
11
11
|
init_esm_shims();
|
|
@@ -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-IMCD67OQ.js";
|
|
7
7
|
import {
|
|
8
8
|
__esm,
|
|
9
9
|
init_esm_shims
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VPG4MABV.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 $(_) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkCWFRYFKUcjs = require('./chunk-CWFRYFKU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkXCQ4AR7Gcjs = require('./chunk-XCQ4AR7G.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 = _chunkXCQ4AR7Gcjs.__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
|
+
_chunkXCQ4AR7Gcjs.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
|
+
_chunkXCQ4AR7Gcjs.__require.call(void 0, "fs"), _chunkXCQ4AR7Gcjs.__require.call(void 0, "path");
|
|
18
|
+
var node = _chunkCWFRYFKUcjs.require_node.call(void 0, );
|
|
19
|
+
_chunkXCQ4AR7Gcjs.__require.call(void 0, "http"), _chunkXCQ4AR7Gcjs.__require.call(void 0, "https"), _chunkXCQ4AR7Gcjs.__require.call(void 0, "zlib"), _chunkXCQ4AR7Gcjs.__require.call(void 0, "stream"), _chunkXCQ4AR7Gcjs.__require.call(void 0, "buffer"), _chunkXCQ4AR7Gcjs.__require.call(void 0, "util"), _chunkCWFRYFKUcjs.require_node_fetch_native_DhEqb06g.call(void 0, ), _chunkXCQ4AR7Gcjs.__require.call(void 0, "url"), _chunkXCQ4AR7Gcjs.__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;
|
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 _chunkXPNTNVZCcjs = require('./chunk-XPNTNVZC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkPZG2RZNUcjs = require('./chunk-PZG2RZNU.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,43 +13,43 @@ var _chunkCNVQU2MOcjs = require('./chunk-CNVQU2MO.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 _chunkIAGZMAZRcjs = require('./chunk-IAGZMAZR.cjs');
|
|
17
|
+
require('./chunk-F46DUYDE.cjs');
|
|
18
|
+
require('./chunk-CEHH4PRS.cjs');
|
|
19
|
+
require('./chunk-T67XJAEY.cjs');
|
|
20
|
+
require('./chunk-ZTLQGOB4.cjs');
|
|
21
|
+
require('./chunk-PTIZML4F.cjs');
|
|
22
|
+
require('./chunk-7ZEGT6RA.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkXCQ4AR7Gcjs = require('./chunk-XCQ4AR7G.cjs');
|
|
26
26
|
|
|
27
27
|
// bin/post-checkout.ts
|
|
28
|
-
|
|
28
|
+
_chunkXCQ4AR7Gcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkIAGZMAZRcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
_chunkIAGZMAZRcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkIAGZMAZRcjs.writeInfo.call(void 0, "Running post-checkout hook...", config);
|
|
34
|
+
_chunkXPNTNVZCcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
_chunkPZG2RZNUcjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
38
|
+
_chunkIAGZMAZRcjs.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
|
+
_chunkIAGZMAZRcjs.exitWithError.call(void 0, config);
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
_chunkPZG2RZNUcjs.run.call(void 0, config, "git lfs post-checkout");
|
|
46
|
+
_chunkIAGZMAZRcjs.exitWithSuccess.call(void 0, config);
|
|
47
47
|
} catch (error) {
|
|
48
|
-
|
|
48
|
+
_chunkIAGZMAZRcjs.writeFatal.call(void 0,
|
|
49
49
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
50
|
config
|
|
51
51
|
);
|
|
52
|
-
|
|
52
|
+
_chunkIAGZMAZRcjs.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-7A5EGZ6Q.js";
|
|
5
5
|
import {
|
|
6
6
|
run
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UIJL3IK3.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-4MKGY5XK.js";
|
|
17
|
+
import "./chunk-Q3W7SD6V.js";
|
|
18
|
+
import "./chunk-6SXMMZHP.js";
|
|
19
|
+
import "./chunk-HRLGG2YT.js";
|
|
20
|
+
import "./chunk-BR6QCADR.js";
|
|
21
|
+
import "./chunk-KG4SNSNZ.js";
|
|
22
|
+
import "./chunk-6SZCO3SJ.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esm_shims
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-VPG4MABV.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 _chunkXPNTNVZCcjs = require('./chunk-XPNTNVZC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkPZG2RZNUcjs = require('./chunk-PZG2RZNU.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,43 +13,43 @@ var _chunkCNVQU2MOcjs = require('./chunk-CNVQU2MO.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 _chunkIAGZMAZRcjs = require('./chunk-IAGZMAZR.cjs');
|
|
17
|
+
require('./chunk-F46DUYDE.cjs');
|
|
18
|
+
require('./chunk-CEHH4PRS.cjs');
|
|
19
|
+
require('./chunk-T67XJAEY.cjs');
|
|
20
|
+
require('./chunk-ZTLQGOB4.cjs');
|
|
21
|
+
require('./chunk-PTIZML4F.cjs');
|
|
22
|
+
require('./chunk-7ZEGT6RA.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkXCQ4AR7Gcjs = require('./chunk-XCQ4AR7G.cjs');
|
|
26
26
|
|
|
27
27
|
// bin/post-commit.ts
|
|
28
|
-
|
|
28
|
+
_chunkXCQ4AR7Gcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkIAGZMAZRcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
_chunkIAGZMAZRcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkIAGZMAZRcjs.writeInfo.call(void 0, "Running post-commit hook...", config);
|
|
34
|
+
_chunkXPNTNVZCcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
_chunkPZG2RZNUcjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
38
|
+
_chunkIAGZMAZRcjs.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
|
+
_chunkIAGZMAZRcjs.exitWithError.call(void 0, config);
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
_chunkPZG2RZNUcjs.run.call(void 0, config, "git lfs post-commit");
|
|
46
|
+
_chunkIAGZMAZRcjs.exitWithSuccess.call(void 0, config);
|
|
47
47
|
} catch (error) {
|
|
48
|
-
|
|
48
|
+
_chunkIAGZMAZRcjs.writeFatal.call(void 0,
|
|
49
49
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
50
|
config
|
|
51
51
|
);
|
|
52
|
-
|
|
52
|
+
_chunkIAGZMAZRcjs.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-7A5EGZ6Q.js";
|
|
5
5
|
import {
|
|
6
6
|
run
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UIJL3IK3.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-4MKGY5XK.js";
|
|
17
|
+
import "./chunk-Q3W7SD6V.js";
|
|
18
|
+
import "./chunk-6SXMMZHP.js";
|
|
19
|
+
import "./chunk-HRLGG2YT.js";
|
|
20
|
+
import "./chunk-BR6QCADR.js";
|
|
21
|
+
import "./chunk-KG4SNSNZ.js";
|
|
22
|
+
import "./chunk-6SZCO3SJ.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esm_shims
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-VPG4MABV.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 _chunkXPNTNVZCcjs = require('./chunk-XPNTNVZC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkPZG2RZNUcjs = require('./chunk-PZG2RZNU.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,43 +13,43 @@ var _chunkCNVQU2MOcjs = require('./chunk-CNVQU2MO.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 _chunkIAGZMAZRcjs = require('./chunk-IAGZMAZR.cjs');
|
|
17
|
+
require('./chunk-F46DUYDE.cjs');
|
|
18
|
+
require('./chunk-CEHH4PRS.cjs');
|
|
19
|
+
require('./chunk-T67XJAEY.cjs');
|
|
20
|
+
require('./chunk-ZTLQGOB4.cjs');
|
|
21
|
+
require('./chunk-PTIZML4F.cjs');
|
|
22
|
+
require('./chunk-7ZEGT6RA.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkXCQ4AR7Gcjs = require('./chunk-XCQ4AR7G.cjs');
|
|
26
26
|
|
|
27
27
|
// bin/post-merge.ts
|
|
28
|
-
|
|
28
|
+
_chunkXCQ4AR7Gcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkIAGZMAZRcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
_chunkIAGZMAZRcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkIAGZMAZRcjs.writeInfo.call(void 0, "Running post-merge hook...", config);
|
|
34
|
+
_chunkXPNTNVZCcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
_chunkPZG2RZNUcjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
38
|
+
_chunkIAGZMAZRcjs.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
|
+
_chunkIAGZMAZRcjs.exitWithError.call(void 0, config);
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
_chunkPZG2RZNUcjs.run.call(void 0, config, "git lfs post-merge");
|
|
46
|
+
_chunkIAGZMAZRcjs.exitWithSuccess.call(void 0, config);
|
|
47
47
|
} catch (error) {
|
|
48
|
-
|
|
48
|
+
_chunkIAGZMAZRcjs.writeFatal.call(void 0,
|
|
49
49
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
50
50
|
config
|
|
51
51
|
);
|
|
52
|
-
|
|
52
|
+
_chunkIAGZMAZRcjs.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-7A5EGZ6Q.js";
|
|
5
5
|
import {
|
|
6
6
|
run
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-UIJL3IK3.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-4MKGY5XK.js";
|
|
17
|
+
import "./chunk-Q3W7SD6V.js";
|
|
18
|
+
import "./chunk-6SXMMZHP.js";
|
|
19
|
+
import "./chunk-HRLGG2YT.js";
|
|
20
|
+
import "./chunk-BR6QCADR.js";
|
|
21
|
+
import "./chunk-KG4SNSNZ.js";
|
|
22
|
+
import "./chunk-6SZCO3SJ.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esm_shims
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-VPG4MABV.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 _chunkXPNTNVZCcjs = require('./chunk-XPNTNVZC.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -11,39 +11,39 @@ var _chunkJRKGCCPXcjs = require('./chunk-JRKGCCPX.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 _chunkIAGZMAZRcjs = require('./chunk-IAGZMAZR.cjs');
|
|
15
|
+
require('./chunk-F46DUYDE.cjs');
|
|
16
|
+
require('./chunk-CEHH4PRS.cjs');
|
|
17
|
+
require('./chunk-T67XJAEY.cjs');
|
|
18
|
+
require('./chunk-ZTLQGOB4.cjs');
|
|
19
|
+
require('./chunk-PTIZML4F.cjs');
|
|
20
|
+
require('./chunk-7ZEGT6RA.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkXCQ4AR7Gcjs = require('./chunk-XCQ4AR7G.cjs');
|
|
24
24
|
|
|
25
25
|
// bin/pre-commit.ts
|
|
26
|
-
|
|
26
|
+
_chunkXCQ4AR7Gcjs.init_cjs_shims.call(void 0, );
|
|
27
27
|
void (async () => {
|
|
28
|
-
const config = await
|
|
28
|
+
const config = await _chunkIAGZMAZRcjs.getConfig.call(void 0, );
|
|
29
29
|
try {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
if (
|
|
34
|
-
|
|
30
|
+
_chunkIAGZMAZRcjs.handleProcess.call(void 0, config);
|
|
31
|
+
_chunkIAGZMAZRcjs.writeInfo.call(void 0, "Running pre-commit hook...", config);
|
|
32
|
+
_chunkXPNTNVZCcjs.checkPackageVersion.call(void 0, process.argv.slice(1));
|
|
33
|
+
if (_chunkXPNTNVZCcjs.isPackageVersionChanged.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]))) {
|
|
34
|
+
_chunkIAGZMAZRcjs.writeError.call(void 0,
|
|
35
35
|
"Please regenerate the package lock file before committing...",
|
|
36
36
|
config
|
|
37
37
|
);
|
|
38
|
-
|
|
38
|
+
_chunkIAGZMAZRcjs.exitWithError.call(void 0, config);
|
|
39
39
|
}
|
|
40
|
-
|
|
40
|
+
_chunkIAGZMAZRcjs.exitWithSuccess.call(void 0, config);
|
|
41
41
|
} catch (error) {
|
|
42
|
-
|
|
42
|
+
_chunkIAGZMAZRcjs.writeFatal.call(void 0,
|
|
43
43
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
44
44
|
config
|
|
45
45
|
);
|
|
46
|
-
|
|
46
|
+
_chunkIAGZMAZRcjs.exitWithError.call(void 0, config);
|
|
47
47
|
process.exit(1);
|
|
48
48
|
}
|
|
49
49
|
})();
|
package/bin/pre-commit.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
checkPackageVersion,
|
|
4
4
|
isPackageVersionChanged
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7A5EGZ6Q.js";
|
|
6
6
|
import {
|
|
7
7
|
exitWithError,
|
|
8
8
|
exitWithSuccess,
|
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
writeError,
|
|
12
12
|
writeFatal,
|
|
13
13
|
writeInfo
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-4MKGY5XK.js";
|
|
15
|
+
import "./chunk-Q3W7SD6V.js";
|
|
16
|
+
import "./chunk-6SXMMZHP.js";
|
|
17
|
+
import "./chunk-HRLGG2YT.js";
|
|
18
|
+
import "./chunk-BR6QCADR.js";
|
|
19
|
+
import "./chunk-KG4SNSNZ.js";
|
|
20
|
+
import "./chunk-6SZCO3SJ.js";
|
|
21
21
|
import {
|
|
22
22
|
init_esm_shims
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VPG4MABV.js";
|
|
24
24
|
|
|
25
25
|
// bin/pre-commit.ts
|
|
26
26
|
init_esm_shims();
|
package/bin/pre-install.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkPZG2RZNUcjs = require('./chunk-PZG2RZNU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -9,36 +9,36 @@ var _chunkCNVQU2MOcjs = require('./chunk-CNVQU2MO.cjs');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
16
|
-
require('./chunk-
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
12
|
+
var _chunkIAGZMAZRcjs = require('./chunk-IAGZMAZR.cjs');
|
|
13
|
+
require('./chunk-F46DUYDE.cjs');
|
|
14
|
+
require('./chunk-CEHH4PRS.cjs');
|
|
15
|
+
require('./chunk-T67XJAEY.cjs');
|
|
16
|
+
require('./chunk-ZTLQGOB4.cjs');
|
|
17
|
+
require('./chunk-PTIZML4F.cjs');
|
|
18
|
+
require('./chunk-7ZEGT6RA.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkXCQ4AR7Gcjs = require('./chunk-XCQ4AR7G.cjs');
|
|
22
22
|
|
|
23
23
|
// bin/pre-install.ts
|
|
24
|
-
|
|
24
|
+
_chunkXCQ4AR7Gcjs.init_cjs_shims.call(void 0, );
|
|
25
25
|
void (async () => {
|
|
26
|
-
const config = await
|
|
26
|
+
const config = await _chunkIAGZMAZRcjs.getConfig.call(void 0, );
|
|
27
27
|
try {
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
_chunkIAGZMAZRcjs.handleProcess.call(void 0, config);
|
|
29
|
+
_chunkIAGZMAZRcjs.writeInfo.call(void 0, "Running pre-install hook...", config);
|
|
30
30
|
if (Boolean(process.env.CI) || Boolean(process.env.STORM_CI)) {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
_chunkIAGZMAZRcjs.writeInfo.call(void 0, "Skipping pre-install for CI process...", config);
|
|
32
|
+
_chunkIAGZMAZRcjs.exitWithSuccess.call(void 0, config);
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
_chunkPZG2RZNUcjs.run.call(void 0, config, "npx -y only-allow pnpm");
|
|
35
|
+
_chunkIAGZMAZRcjs.exitWithSuccess.call(void 0, config);
|
|
36
36
|
} catch (error) {
|
|
37
|
-
|
|
37
|
+
_chunkIAGZMAZRcjs.writeFatal.call(void 0,
|
|
38
38
|
`A fatal error occurred while running the program: ${error.message}`,
|
|
39
39
|
config
|
|
40
40
|
);
|
|
41
|
-
|
|
41
|
+
_chunkIAGZMAZRcjs.exitWithError.call(void 0, config);
|
|
42
42
|
process.exit(1);
|
|
43
43
|
}
|
|
44
44
|
})();
|