@storm-software/git-tools 2.104.39 → 2.104.41
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-LTT3EVPJ.js → chunk-2XK2GEHX.js} +1 -1
- package/bin/{chunk-77IISK6X.cjs → chunk-3AY2ETGU.cjs} +5 -5
- package/bin/{chunk-NX7RKPTB.js → chunk-4SG6L7KZ.js} +2 -2
- package/bin/{chunk-D63CYQF3.cjs → chunk-5A2B7ARD.cjs} +138 -138
- package/bin/{chunk-RAZM3SOB.cjs → chunk-6QH67MDH.cjs} +44 -44
- package/bin/{chunk-DQXMIRWU.cjs → chunk-CNSINS6M.cjs} +153 -153
- package/bin/{chunk-XYSM3CD6.js → chunk-DI42VU2Y.js} +2 -2
- package/bin/{chunk-AGDMOGHZ.js → chunk-FEODEU53.js} +1 -1
- package/bin/{chunk-KA3GJRST.js → chunk-HA4RU2IV.js} +2 -2
- package/bin/{chunk-D5ZTY753.cjs → chunk-HDBERUPP.cjs} +11 -11
- package/bin/{chunk-CNP2JFR6.cjs → chunk-IFSA3KTA.cjs} +2 -2
- package/bin/{chunk-YML42QJD.cjs → chunk-IGPA3E4X.cjs} +388 -388
- package/bin/{chunk-745YLM5E.js → chunk-IP7YEHGA.js} +2 -2
- package/bin/{chunk-2A6YTWN7.js → chunk-IXEFC2CN.js} +9 -9
- package/bin/{chunk-QNXYOM4P.js → chunk-J5V6RN7J.js} +2 -2
- package/bin/{chunk-IVDIALUQ.cjs → chunk-LJWC4RB6.cjs} +3 -3
- package/bin/{chunk-7PECK4IJ.cjs → chunk-PA2TTU2X.cjs} +2227 -2227
- package/bin/{chunk-JSB6ZHRQ.js → chunk-PROSABYQ.js} +1 -1
- package/bin/{chunk-IYVWO4VO.js → chunk-S7AYYV7F.js} +2 -2
- package/bin/{chunk-6LNEB52A.js → chunk-TIZIZUQQ.js} +1 -1
- package/bin/{chunk-U7WP6HPN.cjs → chunk-UCAWAVXZ.cjs} +40 -40
- package/bin/{chunk-DLLFYZCI.cjs → chunk-XKYC75ZP.cjs} +32 -32
- package/bin/{chunk-27ZHHJZ3.cjs → chunk-Y2FQGYTE.cjs} +4 -4
- package/bin/{chunk-OTZXWJ6D.js → chunk-YB4LN235.js} +2 -2
- package/bin/{dist-VDGMW2ZV.cjs → dist-6EVS2APL.cjs} +8 -8
- package/bin/{dist-YJRUBP26.js → dist-ADN34VBT.js} +8 -8
- package/bin/{dist-W3OS4E4X.cjs → dist-BJOKLL2B.cjs} +1038 -1038
- package/bin/{dist-XVUBRTDP.js → dist-JF7DX2LS.js} +2 -2
- package/bin/{esm-F3DUFO6K.cjs → esm-N7PG3VBM.cjs} +46 -46
- package/bin/{esm-LZFK6NWB.js → esm-YB4IW5RJ.js} +1 -1
- package/bin/git.cjs +4694 -4694
- package/bin/git.js +9 -9
- package/bin/json5-6IUD42I6.cjs +10 -0
- package/bin/json5-UX4MLDSU.js +10 -0
- package/bin/{jsonc-7SRYSBLV.js → jsonc-34WDTSBH.js} +3 -3
- package/bin/jsonc-ZKQ2BUN6.cjs +15 -0
- package/bin/{multipart-parser-K6TIEEIA.js → multipart-parser-57ARWDE7.js} +2 -2
- package/bin/{multipart-parser-ZWRZPDEG.cjs → multipart-parser-DPSN2VJY.cjs} +11 -11
- 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-PMEOAAI4.cjs +10 -0
- package/bin/toml-ZZYFXS46.js +10 -0
- package/bin/{utils-TPMK3J4B.cjs → utils-ATNNBHPH.cjs} +10 -10
- package/bin/{utils-5VMROF7Q.js → utils-JWX7FC4K.js} +2 -2
- package/bin/version-warning.cjs +15 -15
- package/bin/version-warning.js +9 -9
- package/bin/yaml-OLXTLVXQ.cjs +10 -0
- package/bin/yaml-PLGSS3L5.js +10 -0
- package/package.json +1 -1
- package/bin/json5-JN5IIJR6.cjs +0 -10
- package/bin/json5-Z46BRKSF.js +0 -10
- package/bin/jsonc-N4YNWUOA.cjs +0 -15
- package/bin/toml-KYSZOLB4.cjs +0 -10
- package/bin/toml-ZQCMNWBY.js +0 -10
- package/bin/yaml-CNRAWEIC.cjs +0 -10
- package/bin/yaml-VO2CKVFF.js +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-TIZIZUQQ.js";
|
|
5
5
|
import {
|
|
6
6
|
exitWithError,
|
|
7
7
|
exitWithSuccess,
|
|
@@ -21,15 +21,15 @@ import {
|
|
|
21
21
|
writeInfo,
|
|
22
22
|
writeSuccess,
|
|
23
23
|
writeWarning
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IXEFC2CN.js";
|
|
25
25
|
import {
|
|
26
26
|
defu
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-S7AYYV7F.js";
|
|
28
|
+
import "./chunk-DI42VU2Y.js";
|
|
29
|
+
import "./chunk-4SG6L7KZ.js";
|
|
30
|
+
import "./chunk-HA4RU2IV.js";
|
|
31
|
+
import "./chunk-J5V6RN7J.js";
|
|
32
|
+
import "./chunk-FEODEU53.js";
|
|
33
33
|
import {
|
|
34
34
|
__commonJS,
|
|
35
35
|
__esm,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
__toCommonJS,
|
|
40
40
|
__toESM,
|
|
41
41
|
init_esm_shims
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-YB4LN235.js";
|
|
43
43
|
|
|
44
44
|
// ../../node_modules/.pnpm/commander@12.1.0/node_modules/commander/lib/error.js
|
|
45
45
|
var require_error = __commonJS({
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkXKYC75ZPcjs = require('./chunk-XKYC75ZP.cjs');
|
|
5
|
+
require('./chunk-HDBERUPP.cjs');
|
|
6
|
+
require('./chunk-IFSA3KTA.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
exports.parseJSON5 = _chunkXKYC75ZPcjs.ou; exports.stringifyJSON5 = _chunkXKYC75ZPcjs.cu;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
d,
|
|
3
3
|
h
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-J5V6RN7J.js";
|
|
5
|
+
import "./chunk-FEODEU53.js";
|
|
6
6
|
import {
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YB4LN235.js";
|
|
9
9
|
|
|
10
10
|
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/jsonc.mjs
|
|
11
11
|
init_esm_shims();
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunk6QH67MDHcjs = require('./chunk-6QH67MDH.cjs');
|
|
5
|
+
require('./chunk-HDBERUPP.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkIFSA3KTAcjs = require('./chunk-IFSA3KTA.cjs');
|
|
9
|
+
|
|
10
|
+
// ../../node_modules/.pnpm/confbox@0.1.8/node_modules/confbox/dist/jsonc.mjs
|
|
11
|
+
_chunkIFSA3KTAcjs.init_cjs_shims.call(void 0, );
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
exports.parseJSONC = _chunk6QH67MDHcjs.h; exports.stringifyJSONC = _chunk6QH67MDHcjs.d;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_node,
|
|
3
3
|
require_node_fetch_native_DhEqb06g
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IP7YEHGA.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__name,
|
|
8
8
|
__require,
|
|
9
9
|
init_esm_shims
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YB4LN235.js";
|
|
11
11
|
|
|
12
12
|
// ../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs
|
|
13
13
|
var require_multipart_parser = __commonJS({
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkIGPA3E4Xcjs = require('./chunk-IGPA3E4X.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkIFSA3KTAcjs = require('./chunk-IFSA3KTA.cjs');
|
|
11
11
|
|
|
12
12
|
// ../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs
|
|
13
|
-
var require_multipart_parser =
|
|
13
|
+
var require_multipart_parser = _chunkIFSA3KTAcjs.__commonJS.call(void 0, {
|
|
14
14
|
"../../node_modules/.pnpm/node-fetch-native@1.6.6/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs"(exports) {
|
|
15
|
-
|
|
15
|
+
_chunkIFSA3KTAcjs.init_cjs_shims.call(void 0, );
|
|
16
16
|
var N = Object.defineProperty;
|
|
17
|
-
var c = /* @__PURE__ */
|
|
18
|
-
|
|
19
|
-
var node =
|
|
20
|
-
|
|
17
|
+
var c = /* @__PURE__ */ _chunkIFSA3KTAcjs.__name.call(void 0, (_, a) => N(_, "name", { value: a, configurable: true }), "c");
|
|
18
|
+
_chunkIFSA3KTAcjs.__require.call(void 0, "fs"), _chunkIFSA3KTAcjs.__require.call(void 0, "path");
|
|
19
|
+
var node = _chunkIGPA3E4Xcjs.require_node.call(void 0, );
|
|
20
|
+
_chunkIFSA3KTAcjs.__require.call(void 0, "http"), _chunkIFSA3KTAcjs.__require.call(void 0, "https"), _chunkIFSA3KTAcjs.__require.call(void 0, "zlib"), _chunkIFSA3KTAcjs.__require.call(void 0, "stream"), _chunkIFSA3KTAcjs.__require.call(void 0, "buffer"), _chunkIFSA3KTAcjs.__require.call(void 0, "util"), _chunkIGPA3E4Xcjs.require_node_fetch_native_DhEqb06g.call(void 0, ), _chunkIFSA3KTAcjs.__require.call(void 0, "url"), _chunkIFSA3KTAcjs.__require.call(void 0, "net");
|
|
21
21
|
var s = 0;
|
|
22
22
|
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
23
|
var f = 1;
|
|
@@ -34,7 +34,7 @@ var require_multipart_parser = _chunkCNP2JFR6cjs.__commonJS.call(void 0, {
|
|
|
34
34
|
}, "noop");
|
|
35
35
|
var MultipartParser = class {
|
|
36
36
|
static {
|
|
37
|
-
|
|
37
|
+
_chunkIFSA3KTAcjs.__name.call(void 0, this, "MultipartParser");
|
|
38
38
|
}
|
|
39
39
|
static {
|
|
40
40
|
c(this, "MultipartParser");
|
|
@@ -146,7 +146,7 @@ var require_multipart_parser = _chunkCNP2JFR6cjs.__commonJS.call(void 0, {
|
|
|
146
146
|
let n = t.slice(t.lastIndexOf("\\") + 1);
|
|
147
147
|
return n = n.replace(/%22/g, '"'), n = n.replace(/&#(\d{4});/g, (E, d) => String.fromCharCode(d)), n;
|
|
148
148
|
}
|
|
149
|
-
|
|
149
|
+
_chunkIFSA3KTAcjs.__name.call(void 0, _fileName, "_fileName");
|
|
150
150
|
c(_fileName, "_fileName");
|
|
151
151
|
async function toFormData(_, a) {
|
|
152
152
|
if (!/multipart/i.test(a)) throw new TypeError("Failed to fetch");
|
|
@@ -180,7 +180,7 @@ var require_multipart_parser = _chunkCNP2JFR6cjs.__commonJS.call(void 0, {
|
|
|
180
180
|
for await (const i of _) n.write(i);
|
|
181
181
|
return n.end(), b;
|
|
182
182
|
}
|
|
183
|
-
|
|
183
|
+
_chunkIFSA3KTAcjs.__name.call(void 0, toFormData, "toFormData");
|
|
184
184
|
c(toFormData, "toFormData"), exports.toFormData = toFormData;
|
|
185
185
|
}
|
|
186
186
|
});
|
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 _chunkY2FQGYTEcjs = require('./chunk-Y2FQGYTE.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkLJWC4RB6cjs = require('./chunk-LJWC4RB6.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,37 +13,37 @@ var _chunkIVDIALUQcjs = require('./chunk-IVDIALUQ.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 _chunkPA2TTU2Xcjs = require('./chunk-PA2TTU2X.cjs');
|
|
17
|
+
require('./chunk-CNSINS6M.cjs');
|
|
18
|
+
require('./chunk-XKYC75ZP.cjs');
|
|
19
|
+
require('./chunk-5A2B7ARD.cjs');
|
|
20
|
+
require('./chunk-UCAWAVXZ.cjs');
|
|
21
|
+
require('./chunk-6QH67MDH.cjs');
|
|
22
|
+
require('./chunk-HDBERUPP.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkIFSA3KTAcjs = require('./chunk-IFSA3KTA.cjs');
|
|
26
26
|
|
|
27
27
|
// bin/post-checkout.ts
|
|
28
|
-
|
|
28
|
+
_chunkIFSA3KTAcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkPA2TTU2Xcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
_chunkPA2TTU2Xcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkPA2TTU2Xcjs.writeInfo.call(void 0, "Running post-checkout hook...", config);
|
|
34
|
+
_chunkY2FQGYTEcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
_chunkLJWC4RB6cjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
38
|
+
_chunkPA2TTU2Xcjs.writeError.call(void 0, `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.
|
|
39
39
|
Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`, config);
|
|
40
|
-
|
|
40
|
+
_chunkPA2TTU2Xcjs.exitWithError.call(void 0, config);
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
_chunkLJWC4RB6cjs.run.call(void 0, config, "git lfs post-checkout");
|
|
43
|
+
_chunkPA2TTU2Xcjs.exitWithSuccess.call(void 0, config);
|
|
44
44
|
} catch (error) {
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
_chunkPA2TTU2Xcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
|
|
46
|
+
_chunkPA2TTU2Xcjs.exitWithError.call(void 0, config);
|
|
47
47
|
process.exit(1);
|
|
48
48
|
}
|
|
49
49
|
})();
|
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-2XK2GEHX.js";
|
|
5
5
|
import {
|
|
6
6
|
run
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TIZIZUQQ.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-IXEFC2CN.js";
|
|
17
|
+
import "./chunk-S7AYYV7F.js";
|
|
18
|
+
import "./chunk-DI42VU2Y.js";
|
|
19
|
+
import "./chunk-4SG6L7KZ.js";
|
|
20
|
+
import "./chunk-HA4RU2IV.js";
|
|
21
|
+
import "./chunk-J5V6RN7J.js";
|
|
22
|
+
import "./chunk-FEODEU53.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esm_shims
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YB4LN235.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 _chunkY2FQGYTEcjs = require('./chunk-Y2FQGYTE.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkLJWC4RB6cjs = require('./chunk-LJWC4RB6.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,37 +13,37 @@ var _chunkIVDIALUQcjs = require('./chunk-IVDIALUQ.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 _chunkPA2TTU2Xcjs = require('./chunk-PA2TTU2X.cjs');
|
|
17
|
+
require('./chunk-CNSINS6M.cjs');
|
|
18
|
+
require('./chunk-XKYC75ZP.cjs');
|
|
19
|
+
require('./chunk-5A2B7ARD.cjs');
|
|
20
|
+
require('./chunk-UCAWAVXZ.cjs');
|
|
21
|
+
require('./chunk-6QH67MDH.cjs');
|
|
22
|
+
require('./chunk-HDBERUPP.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkIFSA3KTAcjs = require('./chunk-IFSA3KTA.cjs');
|
|
26
26
|
|
|
27
27
|
// bin/post-commit.ts
|
|
28
|
-
|
|
28
|
+
_chunkIFSA3KTAcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkPA2TTU2Xcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
_chunkPA2TTU2Xcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkPA2TTU2Xcjs.writeInfo.call(void 0, "Running post-commit hook...", config);
|
|
34
|
+
_chunkY2FQGYTEcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
_chunkLJWC4RB6cjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
38
|
+
_chunkPA2TTU2Xcjs.writeError.call(void 0, `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.
|
|
39
39
|
Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`, config);
|
|
40
|
-
|
|
40
|
+
_chunkPA2TTU2Xcjs.exitWithError.call(void 0, config);
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
_chunkLJWC4RB6cjs.run.call(void 0, config, "git lfs post-commit");
|
|
43
|
+
_chunkPA2TTU2Xcjs.exitWithSuccess.call(void 0, config);
|
|
44
44
|
} catch (error) {
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
_chunkPA2TTU2Xcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
|
|
46
|
+
_chunkPA2TTU2Xcjs.exitWithError.call(void 0, config);
|
|
47
47
|
process.exit(1);
|
|
48
48
|
}
|
|
49
49
|
})();
|
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-2XK2GEHX.js";
|
|
5
5
|
import {
|
|
6
6
|
run
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TIZIZUQQ.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-IXEFC2CN.js";
|
|
17
|
+
import "./chunk-S7AYYV7F.js";
|
|
18
|
+
import "./chunk-DI42VU2Y.js";
|
|
19
|
+
import "./chunk-4SG6L7KZ.js";
|
|
20
|
+
import "./chunk-HA4RU2IV.js";
|
|
21
|
+
import "./chunk-J5V6RN7J.js";
|
|
22
|
+
import "./chunk-FEODEU53.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esm_shims
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YB4LN235.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 _chunkY2FQGYTEcjs = require('./chunk-Y2FQGYTE.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkLJWC4RB6cjs = require('./chunk-LJWC4RB6.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -13,37 +13,37 @@ var _chunkIVDIALUQcjs = require('./chunk-IVDIALUQ.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 _chunkPA2TTU2Xcjs = require('./chunk-PA2TTU2X.cjs');
|
|
17
|
+
require('./chunk-CNSINS6M.cjs');
|
|
18
|
+
require('./chunk-XKYC75ZP.cjs');
|
|
19
|
+
require('./chunk-5A2B7ARD.cjs');
|
|
20
|
+
require('./chunk-UCAWAVXZ.cjs');
|
|
21
|
+
require('./chunk-6QH67MDH.cjs');
|
|
22
|
+
require('./chunk-HDBERUPP.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkIFSA3KTAcjs = require('./chunk-IFSA3KTA.cjs');
|
|
26
26
|
|
|
27
27
|
// bin/post-merge.ts
|
|
28
|
-
|
|
28
|
+
_chunkIFSA3KTAcjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
void (async () => {
|
|
30
|
-
const config = await
|
|
30
|
+
const config = await _chunkPA2TTU2Xcjs.getConfig.call(void 0, );
|
|
31
31
|
try {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
_chunkPA2TTU2Xcjs.handleProcess.call(void 0, config);
|
|
33
|
+
_chunkPA2TTU2Xcjs.writeInfo.call(void 0, "Running post-merge hook...", config);
|
|
34
|
+
_chunkY2FQGYTEcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
_chunkLJWC4RB6cjs.run.call(void 0, config, "git-lfs version");
|
|
37
37
|
} catch (error) {
|
|
38
|
-
|
|
38
|
+
_chunkPA2TTU2Xcjs.writeError.call(void 0, `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.
|
|
39
39
|
Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`, config);
|
|
40
|
-
|
|
40
|
+
_chunkPA2TTU2Xcjs.exitWithError.call(void 0, config);
|
|
41
41
|
}
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
_chunkLJWC4RB6cjs.run.call(void 0, config, "git lfs post-merge");
|
|
43
|
+
_chunkPA2TTU2Xcjs.exitWithSuccess.call(void 0, config);
|
|
44
44
|
} catch (error) {
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
_chunkPA2TTU2Xcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
|
|
46
|
+
_chunkPA2TTU2Xcjs.exitWithError.call(void 0, config);
|
|
47
47
|
process.exit(1);
|
|
48
48
|
}
|
|
49
49
|
})();
|
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-2XK2GEHX.js";
|
|
5
5
|
import {
|
|
6
6
|
run
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TIZIZUQQ.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-IXEFC2CN.js";
|
|
17
|
+
import "./chunk-S7AYYV7F.js";
|
|
18
|
+
import "./chunk-DI42VU2Y.js";
|
|
19
|
+
import "./chunk-4SG6L7KZ.js";
|
|
20
|
+
import "./chunk-HA4RU2IV.js";
|
|
21
|
+
import "./chunk-J5V6RN7J.js";
|
|
22
|
+
import "./chunk-FEODEU53.js";
|
|
23
23
|
import {
|
|
24
24
|
init_esm_shims
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YB4LN235.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 _chunkY2FQGYTEcjs = require('./chunk-Y2FQGYTE.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
@@ -11,33 +11,33 @@ var _chunk27ZHHJZ3cjs = require('./chunk-27ZHHJZ3.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 _chunkPA2TTU2Xcjs = require('./chunk-PA2TTU2X.cjs');
|
|
15
|
+
require('./chunk-CNSINS6M.cjs');
|
|
16
|
+
require('./chunk-XKYC75ZP.cjs');
|
|
17
|
+
require('./chunk-5A2B7ARD.cjs');
|
|
18
|
+
require('./chunk-UCAWAVXZ.cjs');
|
|
19
|
+
require('./chunk-6QH67MDH.cjs');
|
|
20
|
+
require('./chunk-HDBERUPP.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkIFSA3KTAcjs = require('./chunk-IFSA3KTA.cjs');
|
|
24
24
|
|
|
25
25
|
// bin/pre-commit.ts
|
|
26
|
-
|
|
26
|
+
_chunkIFSA3KTAcjs.init_cjs_shims.call(void 0, );
|
|
27
27
|
void (async () => {
|
|
28
|
-
const config = await
|
|
28
|
+
const config = await _chunkPA2TTU2Xcjs.getConfig.call(void 0, );
|
|
29
29
|
try {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
if (
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
_chunkPA2TTU2Xcjs.handleProcess.call(void 0, config);
|
|
31
|
+
_chunkPA2TTU2Xcjs.writeInfo.call(void 0, "Running pre-commit hook...", config);
|
|
32
|
+
_chunkY2FQGYTEcjs.checkPackageVersion.call(void 0, process.argv.slice(1));
|
|
33
|
+
if (_chunkY2FQGYTEcjs.isPackageVersionChanged.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]))) {
|
|
34
|
+
_chunkPA2TTU2Xcjs.writeError.call(void 0, "Please regenerate the package lock file before committing...", config);
|
|
35
|
+
_chunkPA2TTU2Xcjs.exitWithError.call(void 0, config);
|
|
36
36
|
}
|
|
37
|
-
|
|
37
|
+
_chunkPA2TTU2Xcjs.exitWithSuccess.call(void 0, config);
|
|
38
38
|
} catch (error) {
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
_chunkPA2TTU2Xcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
|
|
40
|
+
_chunkPA2TTU2Xcjs.exitWithError.call(void 0, config);
|
|
41
41
|
process.exit(1);
|
|
42
42
|
}
|
|
43
43
|
})();
|
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-2XK2GEHX.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-IXEFC2CN.js";
|
|
15
|
+
import "./chunk-S7AYYV7F.js";
|
|
16
|
+
import "./chunk-DI42VU2Y.js";
|
|
17
|
+
import "./chunk-4SG6L7KZ.js";
|
|
18
|
+
import "./chunk-HA4RU2IV.js";
|
|
19
|
+
import "./chunk-J5V6RN7J.js";
|
|
20
|
+
import "./chunk-FEODEU53.js";
|
|
21
21
|
import {
|
|
22
22
|
init_esm_shims
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-YB4LN235.js";
|
|
24
24
|
|
|
25
25
|
// bin/pre-commit.ts
|
|
26
26
|
init_esm_shims();
|