@storm-software/git-tools 2.130.40 → 2.131.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 -1
- package/bin/{chunk-3RY4CGUX.js → chunk-32WE3MHJ.js} +3 -3
- package/bin/{chunk-3RY4CGUX.js.map → chunk-32WE3MHJ.js.map} +1 -1
- package/bin/chunk-4EOHM2UV.cjs +16 -0
- package/bin/{chunk-ROM64JTJ.cjs.map → chunk-4EOHM2UV.cjs.map} +1 -1
- package/bin/{chunk-PTYTYIPG.cjs → chunk-4ILBJTRR.cjs} +9 -3
- package/bin/chunk-4ILBJTRR.cjs.map +1 -0
- package/bin/{chunk-BHWWH5OI.js → chunk-7ES3CGZQ.js} +9 -4
- package/bin/chunk-7ES3CGZQ.js.map +1 -0
- package/bin/{chunk-Y6YU46VF.js → chunk-ABI4JM6L.js} +3 -3
- package/bin/{chunk-Y6YU46VF.js.map → chunk-ABI4JM6L.js.map} +1 -1
- package/bin/{chunk-UIGOGTUM.cjs → chunk-AQ5YHZ3Z.cjs} +4 -4
- package/bin/{chunk-UIGOGTUM.cjs.map → chunk-AQ5YHZ3Z.cjs.map} +1 -1
- package/bin/{chunk-IEGXPTOH.js → chunk-AZGQVIYO.js} +4 -4
- package/bin/{chunk-IEGXPTOH.js.map → chunk-AZGQVIYO.js.map} +1 -1
- package/bin/{chunk-6V4HD3QJ.js → chunk-CDUCLZJV.js} +4 -4
- package/bin/{chunk-6V4HD3QJ.js.map → chunk-CDUCLZJV.js.map} +1 -1
- package/bin/{chunk-GU7L3IBA.js → chunk-CVTLZKKX.js} +4 -4
- package/bin/{chunk-GU7L3IBA.js.map → chunk-CVTLZKKX.js.map} +1 -1
- package/bin/{chunk-THX6DU6T.cjs → chunk-DPKFBB3S.cjs} +7 -7
- package/bin/{chunk-THX6DU6T.cjs.map → chunk-DPKFBB3S.cjs.map} +1 -1
- package/bin/{chunk-V6PBXXP5.js → chunk-IAZL2KCV.js} +4 -4
- package/bin/{chunk-V6PBXXP5.js.map → chunk-IAZL2KCV.js.map} +1 -1
- package/bin/{chunk-FH5OSXAJ.cjs → chunk-MTAYUS7E.cjs} +18 -2
- package/bin/chunk-MTAYUS7E.cjs.map +1 -0
- package/bin/{chunk-DNLVUV64.js → chunk-NOZEXVLA.js} +4 -4
- package/bin/{chunk-DNLVUV64.js.map → chunk-NOZEXVLA.js.map} +1 -1
- package/bin/{chunk-LR2WNL25.cjs → chunk-OGGY5I23.cjs} +7 -7
- package/bin/{chunk-LR2WNL25.cjs.map → chunk-OGGY5I23.cjs.map} +1 -1
- package/bin/chunk-POFLIQQB.cjs +18 -0
- package/bin/{chunk-USGU6ZVC.cjs.map → chunk-POFLIQQB.cjs.map} +1 -1
- package/bin/chunk-RPK5AKGK.js +39 -0
- package/bin/chunk-RPK5AKGK.js.map +1 -0
- package/bin/{chunk-27LFN4VQ.cjs → chunk-RZNFHUM6.cjs} +7 -7
- package/bin/{chunk-27LFN4VQ.cjs.map → chunk-RZNFHUM6.cjs.map} +1 -1
- package/bin/{chunk-MY767YV7.cjs → chunk-W5P2IM2W.cjs} +6 -6
- package/bin/{chunk-MY767YV7.cjs.map → chunk-W5P2IM2W.cjs.map} +1 -1
- package/bin/git.cjs +1341 -200
- package/bin/git.cjs.map +1 -1
- package/bin/git.js +1235 -97
- package/bin/git.js.map +1 -1
- package/bin/post-checkout.cjs +8 -8
- package/bin/post-checkout.js +3 -3
- package/bin/post-commit.cjs +8 -8
- package/bin/post-commit.js +3 -3
- package/bin/post-merge.cjs +8 -8
- package/bin/post-merge.js +3 -3
- package/bin/pre-commit.cjs +7 -7
- package/bin/pre-commit.js +2 -2
- package/bin/pre-install.cjs +8 -8
- package/bin/pre-install.js +3 -3
- package/bin/pre-push.cjs +7 -7
- package/bin/pre-push.js +2 -2
- package/bin/prepare.cjs +8 -8
- package/bin/prepare.js +3 -3
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/dist/{chunk-GTHIKJY7.cjs → chunk-EMMN3RCO.cjs} +82 -18
- package/dist/{chunk-VBTXRYZY.js → chunk-R6XSEPQS.js} +76 -19
- package/dist/index.cjs +36 -8
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/release/config.cjs +36 -8
- package/dist/release/config.d.cts +138 -2
- package/dist/release/config.d.ts +138 -2
- package/dist/release/config.js +1 -1
- package/package.json +10 -8
- package/bin/chunk-BHWWH5OI.js.map +0 -1
- package/bin/chunk-FH5OSXAJ.cjs.map +0 -1
- package/bin/chunk-G3YPGVPS.js +0 -24
- package/bin/chunk-G3YPGVPS.js.map +0 -1
- package/bin/chunk-PTYTYIPG.cjs.map +0 -1
- package/bin/chunk-ROM64JTJ.cjs +0 -16
- package/bin/chunk-USGU6ZVC.cjs +0 -18
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { checkPackageVersion, isPackageVersionChanged } from './chunk-HBLWPOJV.js';
|
|
2
|
-
import { writeInfo } from './chunk-
|
|
2
|
+
import { writeInfo } from './chunk-7ES3CGZQ.js';
|
|
3
3
|
|
|
4
4
|
// src/hooks/pre-commit.ts
|
|
5
5
|
async function preCommitHook(config, files) {
|
|
@@ -13,5 +13,5 @@ async function preCommitHook(config, files) {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export { preCommitHook };
|
|
16
|
-
//# sourceMappingURL=chunk-
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
16
|
+
//# sourceMappingURL=chunk-32WE3MHJ.js.map
|
|
17
|
+
//# sourceMappingURL=chunk-32WE3MHJ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/hooks/pre-commit.ts"],"names":[],"mappings":";;;;AASA,eAAsB,aAAA,CACpB,QACA,KAAA,EACA;AACA,EAAA,SAAA,CAAU,8BAA8B,MAAM,CAAA;AAE9C,EAAA,mBAAA,CAAoB,KAAK,CAAA;AACzB,EAAA,IAAI,uBAAA,CAAwB,KAAK,CAAA,EAAG;AAClC,IAAA,MAAM,IAAI,KAAA;AAAA,MACR;AAAA,KACF;AAAA,EACF;AACF","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/hooks/pre-commit.ts"],"names":[],"mappings":";;;;AASA,eAAsB,aAAA,CACpB,QACA,KAAA,EACA;AACA,EAAA,SAAA,CAAU,8BAA8B,MAAM,CAAA;AAE9C,EAAA,mBAAA,CAAoB,KAAK,CAAA;AACzB,EAAA,IAAI,uBAAA,CAAwB,KAAK,CAAA,EAAG;AAClC,IAAA,MAAM,IAAI,KAAA;AAAA,MACR;AAAA,KACF;AAAA,EACF;AACF","file":"chunk-32WE3MHJ.js","sourcesContent":["#!/usr/bin/env node\n\nimport { StormWorkspaceConfig } from \"@storm-software/config\";\nimport { writeInfo } from \"@storm-software/config-tools\";\nimport {\n checkPackageVersion,\n isPackageVersionChanged\n} from \"../utilities/check-package-version\";\n\nexport async function preCommitHook(\n config: StormWorkspaceConfig,\n files: string[]\n) {\n writeInfo(\"Running pre-commit hook...\", config);\n\n checkPackageVersion(files);\n if (isPackageVersionChanged(files)) {\n throw new Error(\n \"Please regenerate the package lock file before committing...\"\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkMTAYUS7E_cjs = require('./chunk-MTAYUS7E.cjs');
|
|
4
|
+
var chunk4ILBJTRR_cjs = require('./chunk-4ILBJTRR.cjs');
|
|
5
|
+
|
|
6
|
+
// src/hooks/prepare.ts
|
|
7
|
+
async function prepareHook(config) {
|
|
8
|
+
chunk4ILBJTRR_cjs.writeInfo("Running prepare hook...", config);
|
|
9
|
+
if (!process.env.CI && !process.env.STORM_CI) {
|
|
10
|
+
chunkMTAYUS7E_cjs.run(config, "pnpm lefthook install");
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
exports.prepareHook = prepareHook;
|
|
15
|
+
//# sourceMappingURL=chunk-4EOHM2UV.cjs.map
|
|
16
|
+
//# sourceMappingURL=chunk-4EOHM2UV.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/hooks/prepare.ts"],"names":["writeInfo","run"],"mappings":";;;;;;AAKA,eAAsB,YAAY,MAAA,EAA8B;AAC9D,EAAAA,2BAAA,CAAU,2BAA2B,MAAM,CAAA;AAE3C,EAAA,IAAI,CAAC,OAAA,CAAQ,GAAA,CAAI,MAAM,CAAC,OAAA,CAAQ,IAAI,QAAA,EAAU;AAC5C,IAAAC,qBAAA,CAAI,QAAQ,uBAAuB,CAAA;AAAA,EACrC;AACF","file":"chunk-
|
|
1
|
+
{"version":3,"sources":["../../src/hooks/prepare.ts"],"names":["writeInfo","run"],"mappings":";;;;;;AAKA,eAAsB,YAAY,MAAA,EAA8B;AAC9D,EAAAA,2BAAA,CAAU,2BAA2B,MAAM,CAAA;AAE3C,EAAA,IAAI,CAAC,OAAA,CAAQ,GAAA,CAAI,MAAM,CAAC,OAAA,CAAQ,IAAI,QAAA,EAAU;AAC5C,IAAAC,qBAAA,CAAI,QAAQ,uBAAuB,CAAA;AAAA,EACrC;AACF","file":"chunk-4EOHM2UV.cjs","sourcesContent":["#!/usr/bin/env node\n\nimport { StormWorkspaceConfig } from \"@storm-software/config\";\nimport { run, writeInfo } from \"@storm-software/config-tools\";\n\nexport async function prepareHook(config: StormWorkspaceConfig) {\n writeInfo(\"Running prepare hook...\", config);\n\n if (!process.env.CI && !process.env.STORM_CI) {\n run(config, \"pnpm lefthook install\");\n }\n}\n"]}
|
|
@@ -11,7 +11,12 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
11
11
|
|
|
12
12
|
var chalk__default = /*#__PURE__*/_interopDefault(chalk);
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
15
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
16
|
+
}) : x)(function(x) {
|
|
17
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
18
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
19
|
+
});
|
|
15
20
|
|
|
16
21
|
// ../config-tools/src/types.ts
|
|
17
22
|
var LogLevel = {
|
|
@@ -3533,6 +3538,7 @@ function getWorkspaceConfig(skipLogs = true, options = {}) {
|
|
|
3533
3538
|
}
|
|
3534
3539
|
|
|
3535
3540
|
exports.STORM_DEFAULT_RELEASE_BANNER = STORM_DEFAULT_RELEASE_BANNER;
|
|
3541
|
+
exports.__require = __require;
|
|
3536
3542
|
exports.brandIcon = brandIcon;
|
|
3537
3543
|
exports.defu = defu;
|
|
3538
3544
|
exports.exitWithError = exitWithError;
|
|
@@ -3549,5 +3555,5 @@ exports.writeInfo = writeInfo;
|
|
|
3549
3555
|
exports.writeSuccess = writeSuccess;
|
|
3550
3556
|
exports.writeTrace = writeTrace;
|
|
3551
3557
|
exports.writeWarning = writeWarning;
|
|
3552
|
-
//# sourceMappingURL=chunk-
|
|
3553
|
-
//# sourceMappingURL=chunk-
|
|
3558
|
+
//# sourceMappingURL=chunk-4ILBJTRR.cjs.map
|
|
3559
|
+
//# sourceMappingURL=chunk-4ILBJTRR.cjs.map
|