@storm-software/git-tools 2.104.4 → 2.104.5
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-ENEDM37L.js → chunk-JT7CY52A.js} +18 -2
- package/bin/{chunk-LWOFPYON.cjs → chunk-WZ6ONU2G.cjs} +18 -2
- package/bin/git.cjs +587 -555
- package/bin/git.js +519 -487
- 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/package.json +2 -2
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 -->
|
|
@@ -39678,6 +39678,10 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
39678
39678
|
log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
|
|
39679
39679
|
build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
|
|
39680
39680
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
39681
|
+
var errorConfigSchema = z.object({
|
|
39682
|
+
codesFile: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe("The path to the workspace's error codes JSON file"),
|
|
39683
|
+
url: z.string().trim().url().optional().describe("A URL to a page that looks up the workspace's error messages given a specific error code")
|
|
39684
|
+
}).describe("The workspace's error config used during the error process");
|
|
39681
39685
|
var stormWorkspaceConfigSchema = z.object({
|
|
39682
39686
|
$schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
39683
39687
|
extends: ExtendsSchema.optional(),
|
|
@@ -39696,6 +39700,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
39696
39700
|
bot: WorkspaceBotConfigSchema,
|
|
39697
39701
|
release: WorkspaceReleaseConfigSchema,
|
|
39698
39702
|
account: WorkspaceAccountConfigSchema,
|
|
39703
|
+
error: errorConfigSchema,
|
|
39699
39704
|
mode: z.enum([
|
|
39700
39705
|
"development",
|
|
39701
39706
|
"staging",
|
|
@@ -40039,7 +40044,10 @@ var getDefaultConfig = /* @__PURE__ */ __name(async (root) => {
|
|
|
40039
40044
|
license,
|
|
40040
40045
|
homepage,
|
|
40041
40046
|
docs: `${homepage || STORM_DEFAULT_HOMEPAGE}/docs`,
|
|
40042
|
-
licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license
|
|
40047
|
+
licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license`,
|
|
40048
|
+
error: {
|
|
40049
|
+
url: `${homepage || STORM_DEFAULT_HOMEPAGE}/errors`
|
|
40050
|
+
}
|
|
40043
40051
|
};
|
|
40044
40052
|
}, "getDefaultConfig");
|
|
40045
40053
|
|
|
@@ -41046,6 +41054,10 @@ var getConfigEnv = /* @__PURE__ */ __name(() => {
|
|
|
41046
41054
|
header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
|
|
41047
41055
|
footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
|
|
41048
41056
|
},
|
|
41057
|
+
error: {
|
|
41058
|
+
codesFile: process.env[`${prefix}ERROR_CODES_FILE`] || void 0,
|
|
41059
|
+
url: process.env[`${prefix}ERROR_URL`] || void 0
|
|
41060
|
+
},
|
|
41049
41061
|
account: {
|
|
41050
41062
|
twitter: process.env[`${prefix}ACCOUNT_TWITTER`] || void 0,
|
|
41051
41063
|
discord: process.env[`${prefix}ACCOUNT_DISCORD`] || void 0,
|
|
@@ -41220,6 +41232,10 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
|
|
|
41220
41232
|
process.env[`${prefix}BOT_NAME`] = config.bot.name;
|
|
41221
41233
|
process.env[`${prefix}BOT_EMAIL`] = config.bot.email;
|
|
41222
41234
|
}
|
|
41235
|
+
if (config.error) {
|
|
41236
|
+
process.env[`${prefix}ERROR_CODES_FILE`] = config.error.codesFile;
|
|
41237
|
+
process.env[`${prefix}ERROR_URL`] = config.error.url;
|
|
41238
|
+
}
|
|
41223
41239
|
if (config.release) {
|
|
41224
41240
|
process.env[`${prefix}RELEASE_BANNER`] = config.release.banner;
|
|
41225
41241
|
process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
|
|
@@ -41350,7 +41366,7 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
|
|
|
41350
41366
|
process.env[`${prefix}REGISTRY_CYCLONE`] = String(config.registry.cyclone);
|
|
41351
41367
|
}
|
|
41352
41368
|
if (config.registry.container) {
|
|
41353
|
-
process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.
|
|
41369
|
+
process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.container);
|
|
41354
41370
|
}
|
|
41355
41371
|
}
|
|
41356
41372
|
if (config.logLevel) {
|
|
@@ -39678,6 +39678,10 @@ var WorkspaceDirectoryConfigSchema = z.object({
|
|
|
39678
39678
|
log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
|
|
39679
39679
|
build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
|
|
39680
39680
|
}).describe("Various directories used by the workspace to store data, cache, and configuration files");
|
|
39681
|
+
var errorConfigSchema = z.object({
|
|
39682
|
+
codesFile: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe("The path to the workspace's error codes JSON file"),
|
|
39683
|
+
url: z.string().trim().url().optional().describe("A URL to a page that looks up the workspace's error messages given a specific error code")
|
|
39684
|
+
}).describe("The workspace's error config used during the error process");
|
|
39681
39685
|
var stormWorkspaceConfigSchema = z.object({
|
|
39682
39686
|
$schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
|
|
39683
39687
|
extends: ExtendsSchema.optional(),
|
|
@@ -39696,6 +39700,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
39696
39700
|
bot: WorkspaceBotConfigSchema,
|
|
39697
39701
|
release: WorkspaceReleaseConfigSchema,
|
|
39698
39702
|
account: WorkspaceAccountConfigSchema,
|
|
39703
|
+
error: errorConfigSchema,
|
|
39699
39704
|
mode: z.enum([
|
|
39700
39705
|
"development",
|
|
39701
39706
|
"staging",
|
|
@@ -40039,7 +40044,10 @@ var getDefaultConfig = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, asy
|
|
|
40039
40044
|
license,
|
|
40040
40045
|
homepage,
|
|
40041
40046
|
docs: `${homepage || STORM_DEFAULT_HOMEPAGE}/docs`,
|
|
40042
|
-
licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license
|
|
40047
|
+
licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license`,
|
|
40048
|
+
error: {
|
|
40049
|
+
url: `${homepage || STORM_DEFAULT_HOMEPAGE}/errors`
|
|
40050
|
+
}
|
|
40043
40051
|
};
|
|
40044
40052
|
}, "getDefaultConfig");
|
|
40045
40053
|
|
|
@@ -41049,6 +41057,10 @@ var getConfigEnv = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, () => {
|
|
|
41049
41057
|
header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
|
|
41050
41058
|
footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
|
|
41051
41059
|
},
|
|
41060
|
+
error: {
|
|
41061
|
+
codesFile: process.env[`${prefix}ERROR_CODES_FILE`] || void 0,
|
|
41062
|
+
url: process.env[`${prefix}ERROR_URL`] || void 0
|
|
41063
|
+
},
|
|
41052
41064
|
account: {
|
|
41053
41065
|
twitter: process.env[`${prefix}ACCOUNT_TWITTER`] || void 0,
|
|
41054
41066
|
discord: process.env[`${prefix}ACCOUNT_DISCORD`] || void 0,
|
|
@@ -41223,6 +41235,10 @@ var setConfigEnv = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (config
|
|
|
41223
41235
|
process.env[`${prefix}BOT_NAME`] = config.bot.name;
|
|
41224
41236
|
process.env[`${prefix}BOT_EMAIL`] = config.bot.email;
|
|
41225
41237
|
}
|
|
41238
|
+
if (config.error) {
|
|
41239
|
+
process.env[`${prefix}ERROR_CODES_FILE`] = config.error.codesFile;
|
|
41240
|
+
process.env[`${prefix}ERROR_URL`] = config.error.url;
|
|
41241
|
+
}
|
|
41226
41242
|
if (config.release) {
|
|
41227
41243
|
process.env[`${prefix}RELEASE_BANNER`] = config.release.banner;
|
|
41228
41244
|
process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
|
|
@@ -41353,7 +41369,7 @@ var setConfigEnv = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (config
|
|
|
41353
41369
|
process.env[`${prefix}REGISTRY_CYCLONE`] = String(config.registry.cyclone);
|
|
41354
41370
|
}
|
|
41355
41371
|
if (config.registry.container) {
|
|
41356
|
-
process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.
|
|
41372
|
+
process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.container);
|
|
41357
41373
|
}
|
|
41358
41374
|
}
|
|
41359
41375
|
if (config.logLevel) {
|