@storm-software/git-tools 2.115.16 → 2.116.1
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-XH6F7XTV.cjs → chunk-LD4V463J.cjs} +17 -0
- package/bin/{chunk-7TA5K5AW.js → chunk-VATYGW5F.js} +12 -0
- package/bin/git.cjs +402 -264
- package/bin/git.js +354 -217
- package/bin/post-checkout.cjs +9 -9
- package/bin/post-checkout.js +1 -1
- package/bin/post-commit.cjs +9 -9
- package/bin/post-commit.js +1 -1
- package/bin/post-merge.cjs +9 -9
- package/bin/post-merge.js +1 -1
- package/bin/pre-commit.cjs +9 -9
- package/bin/pre-commit.js +1 -1
- package/bin/pre-install.cjs +9 -9
- package/bin/pre-install.js +1 -1
- package/bin/pre-push.cjs +13 -13
- package/bin/pre-push.js +1 -1
- package/bin/prepare.cjs +7 -7
- package/bin/prepare.js +1 -1
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/dist/{chunk-A4HFPO7F.js → chunk-5XXXTVPU.js} +87 -17
- package/dist/chunk-C4NLID2V.js +19 -0
- package/dist/chunk-KD6Y4AJS.cjs +19 -0
- package/dist/{chunk-R3RXM6UC.js → chunk-LSRFGWF5.js} +3 -3
- package/dist/{chunk-PGN2XOUF.cjs → chunk-NWZD3QTO.cjs} +3 -3
- package/dist/{chunk-MDOOV3KF.cjs → chunk-ZE542BCU.cjs} +84 -14
- package/dist/commit/minimal.cjs +18 -0
- package/dist/commit/minimal.d.cts +8 -0
- package/dist/commit/minimal.d.ts +8 -0
- package/dist/commit/minimal.js +18 -0
- package/dist/commit/monorepo.cjs +7 -0
- package/dist/commit/monorepo.d.cts +8 -0
- package/dist/commit/monorepo.d.ts +8 -0
- package/dist/commit/monorepo.js +7 -0
- package/dist/commitlint/minimal.cjs +22 -0
- package/dist/commitlint/{config.d.ts → minimal.d.cts} +6 -6
- package/dist/commitlint/{config.d.cts → minimal.d.ts} +6 -6
- package/dist/commitlint/minimal.js +22 -0
- package/dist/commitlint/monorepo.cjs +22 -0
- package/dist/commitlint/monorepo.d.cts +21 -0
- package/dist/commitlint/monorepo.d.ts +21 -0
- package/dist/commitlint/monorepo.js +22 -0
- package/dist/index.cjs +11 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +19 -12
- package/dist/release/config.cjs +3 -3
- package/dist/release/config.d.cts +3 -2
- package/dist/release/config.d.ts +3 -2
- package/dist/release/config.js +2 -2
- package/dist/types.cjs +12 -2
- package/dist/types.d.cts +153 -16
- package/dist/types.d.ts +153 -16
- package/dist/types.js +17 -7
- package/package.json +4 -46
- package/dist/chunk-OZ5QCRGG.js +0 -18
- package/dist/chunk-SXO5R5AG.cjs +0 -18
- package/dist/commit/config.cjs +0 -7
- package/dist/commit/config.d.cts +0 -7
- package/dist/commit/config.d.ts +0 -7
- package/dist/commit/config.js +0 -7
- package/dist/commitlint/config.cjs +0 -46
- package/dist/commitlint/config.js +0 -46
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -22,6 +22,10 @@ var __export = (target, all) => {
|
|
|
22
22
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__297f17f1454f91c6953e15139a881a25/node_modules/tsup/assets/cjs_shims.js
|
|
26
|
+
var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
27
|
+
var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
28
|
+
|
|
25
29
|
// ../config-tools/src/types.ts
|
|
26
30
|
var LogLevel = {
|
|
27
31
|
SILENT: 0,
|
|
@@ -2363,6 +2367,13 @@ var workspaceDirectorySchema = object({
|
|
|
2363
2367
|
schemaRegistry.add(workspaceDirectorySchema, {
|
|
2364
2368
|
description: "Various directories used by the workspace to store data, cache, and configuration files"
|
|
2365
2369
|
});
|
|
2370
|
+
var variantSchema = _default(
|
|
2371
|
+
_enum(["minimal", "monorepo"]),
|
|
2372
|
+
"monorepo"
|
|
2373
|
+
);
|
|
2374
|
+
schemaRegistry.add(variantSchema, {
|
|
2375
|
+
description: "The variant of the workspace. This can be used to enable or disable certain features or configurations."
|
|
2376
|
+
});
|
|
2366
2377
|
var errorCodesFileSchema = _default(
|
|
2367
2378
|
string2().check(_trim()),
|
|
2368
2379
|
STORM_DEFAULT_ERROR_CODES_FILE
|
|
@@ -2560,6 +2571,7 @@ var workspaceConfigSchema = object({
|
|
|
2560
2571
|
$schema: schemaNameSchema,
|
|
2561
2572
|
extends: extendsSchema,
|
|
2562
2573
|
name: nameSchema,
|
|
2574
|
+
variant: variantSchema,
|
|
2563
2575
|
namespace: namespaceSchema,
|
|
2564
2576
|
organization: orgSchema,
|
|
2565
2577
|
repository: repositorySchema,
|
|
@@ -3046,6 +3058,7 @@ var getConfigEnv = () => {
|
|
|
3046
3058
|
let config2 = {
|
|
3047
3059
|
extends: process.env[`${prefix}EXTENDS`] || void 0,
|
|
3048
3060
|
name: process.env[`${prefix}NAME`] || void 0,
|
|
3061
|
+
variant: process.env[`${prefix}VARIANT`] || void 0,
|
|
3049
3062
|
namespace: process.env[`${prefix}NAMESPACE`] || void 0,
|
|
3050
3063
|
owner: process.env[`${prefix}OWNER`] || void 0,
|
|
3051
3064
|
bot: {
|
|
@@ -3270,6 +3283,9 @@ var setConfigEnv = (config2) => {
|
|
|
3270
3283
|
if (config2.name) {
|
|
3271
3284
|
process.env[`${prefix}NAME`] = config2.name;
|
|
3272
3285
|
}
|
|
3286
|
+
if (config2.variant) {
|
|
3287
|
+
process.env[`${prefix}VARIANT`] = config2.variant;
|
|
3288
|
+
}
|
|
3273
3289
|
if (config2.namespace) {
|
|
3274
3290
|
process.env[`${prefix}NAMESPACE`] = config2.namespace;
|
|
3275
3291
|
}
|
|
@@ -3697,6 +3713,7 @@ exports.findWorkspaceRootSafe = findWorkspaceRootSafe;
|
|
|
3697
3713
|
exports.getConfig = getConfig;
|
|
3698
3714
|
exports.getWorkspaceConfig = getWorkspaceConfig;
|
|
3699
3715
|
exports.handleProcess = handleProcess;
|
|
3716
|
+
exports.importMetaUrl = importMetaUrl;
|
|
3700
3717
|
exports.isVerbose = isVerbose;
|
|
3701
3718
|
exports.joinPaths = joinPaths;
|
|
3702
3719
|
exports.writeDebug = writeDebug;
|
|
@@ -2357,6 +2357,13 @@ var workspaceDirectorySchema = object({
|
|
|
2357
2357
|
schemaRegistry.add(workspaceDirectorySchema, {
|
|
2358
2358
|
description: "Various directories used by the workspace to store data, cache, and configuration files"
|
|
2359
2359
|
});
|
|
2360
|
+
var variantSchema = _default(
|
|
2361
|
+
_enum(["minimal", "monorepo"]),
|
|
2362
|
+
"monorepo"
|
|
2363
|
+
);
|
|
2364
|
+
schemaRegistry.add(variantSchema, {
|
|
2365
|
+
description: "The variant of the workspace. This can be used to enable or disable certain features or configurations."
|
|
2366
|
+
});
|
|
2360
2367
|
var errorCodesFileSchema = _default(
|
|
2361
2368
|
string2().check(_trim()),
|
|
2362
2369
|
STORM_DEFAULT_ERROR_CODES_FILE
|
|
@@ -2554,6 +2561,7 @@ var workspaceConfigSchema = object({
|
|
|
2554
2561
|
$schema: schemaNameSchema,
|
|
2555
2562
|
extends: extendsSchema,
|
|
2556
2563
|
name: nameSchema,
|
|
2564
|
+
variant: variantSchema,
|
|
2557
2565
|
namespace: namespaceSchema,
|
|
2558
2566
|
organization: orgSchema,
|
|
2559
2567
|
repository: repositorySchema,
|
|
@@ -3040,6 +3048,7 @@ var getConfigEnv = () => {
|
|
|
3040
3048
|
let config2 = {
|
|
3041
3049
|
extends: process.env[`${prefix}EXTENDS`] || void 0,
|
|
3042
3050
|
name: process.env[`${prefix}NAME`] || void 0,
|
|
3051
|
+
variant: process.env[`${prefix}VARIANT`] || void 0,
|
|
3043
3052
|
namespace: process.env[`${prefix}NAMESPACE`] || void 0,
|
|
3044
3053
|
owner: process.env[`${prefix}OWNER`] || void 0,
|
|
3045
3054
|
bot: {
|
|
@@ -3264,6 +3273,9 @@ var setConfigEnv = (config2) => {
|
|
|
3264
3273
|
if (config2.name) {
|
|
3265
3274
|
process.env[`${prefix}NAME`] = config2.name;
|
|
3266
3275
|
}
|
|
3276
|
+
if (config2.variant) {
|
|
3277
|
+
process.env[`${prefix}VARIANT`] = config2.variant;
|
|
3278
|
+
}
|
|
3267
3279
|
if (config2.namespace) {
|
|
3268
3280
|
process.env[`${prefix}NAMESPACE`] = config2.namespace;
|
|
3269
3281
|
}
|