@storm-software/git-tools 2.96.11 → 2.96.13

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.
Files changed (47) hide show
  1. package/README.md +1 -1
  2. package/bin/{chunk-M2LVPB4L.js → chunk-HQRC5X3M.js} +45 -2
  3. package/bin/{chunk-O2V4JHMG.cjs → chunk-X4ZORIOI.cjs} +45 -2
  4. package/bin/git.cjs +26439 -5464
  5. package/bin/git.js +26333 -5358
  6. package/bin/post-checkout.cjs +9 -9
  7. package/bin/post-checkout.js +1 -1
  8. package/bin/post-commit.cjs +9 -9
  9. package/bin/post-commit.js +1 -1
  10. package/bin/post-merge.cjs +9 -9
  11. package/bin/post-merge.js +1 -1
  12. package/bin/pre-commit.cjs +9 -9
  13. package/bin/pre-commit.js +1 -1
  14. package/bin/pre-install.cjs +9 -9
  15. package/bin/pre-install.js +1 -1
  16. package/bin/pre-push.cjs +13 -13
  17. package/bin/pre-push.js +1 -1
  18. package/bin/prepare.cjs +7 -7
  19. package/bin/prepare.js +1 -1
  20. package/bin/version-warning.cjs +5 -5
  21. package/bin/version-warning.js +1 -1
  22. package/dist/{chunk-QFZNPBUB.cjs → chunk-AZCYMACD.cjs} +3 -3
  23. package/dist/{chunk-XY4PXHHT.js → chunk-JPOOLWH4.js} +1 -1
  24. package/dist/{chunk-NXD22ACT.js → chunk-QRP3KP65.js} +1 -1
  25. package/dist/{chunk-6EYTSWXU.js → chunk-WEKKNQBE.js} +0 -1
  26. package/dist/{chunk-MIBBWD5T.cjs → chunk-WZADZNEI.cjs} +1 -2
  27. package/dist/chunk-YCY2PJXX.cjs +18 -0
  28. package/dist/commit/config.cjs +3 -3
  29. package/dist/commit/config.js +2 -2
  30. package/dist/commitlint/config.cjs +20 -20
  31. package/dist/commitlint/config.js +1 -1
  32. package/dist/index.cjs +4 -5
  33. package/dist/index.d.cts +0 -5
  34. package/dist/index.d.ts +0 -5
  35. package/dist/index.js +3 -4
  36. package/dist/release/config.cjs +3 -3
  37. package/dist/release/config.js +2 -2
  38. package/dist/types.cjs +2 -2
  39. package/dist/types.js +1 -1
  40. package/package.json +11 -11
  41. package/dist/chunk-FGIAHPQJ.js +0 -36
  42. package/dist/chunk-VOGVIPTZ.cjs +0 -18
  43. package/dist/chunk-WBWFRERX.cjs +0 -36
  44. package/dist/release/changelog-renderer.cjs +0 -7
  45. package/dist/release/changelog-renderer.d.cts +0 -60
  46. package/dist/release/changelog-renderer.d.ts +0 -60
  47. package/dist/release/changelog-renderer.js +0 -7
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
- [![Version](https://img.shields.io/badge/version-2.96.10-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-2.96.13-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -35341,6 +35341,26 @@ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
35341
35341
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
35342
35342
  var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
35343
35343
  var STORM_DEFAULT_LICENSE = "Apache-2.0";
35344
+ var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/logo-banner.png";
35345
+ var STORM_DEFAULT_RELEASE_FOOTER = `
35346
+ Storm Software is an open source software development organization and creator
35347
+ of Cyclone UI, Storm Stack and Acidic.
35348
+
35349
+ Our mission is to make software development more accessible. Our ideal future is
35350
+ one where anyone can create software without years of prior development
35351
+ experience serving as a barrier to entry. We hope to achieve this via LLMs,
35352
+ Generative AI, and intuitive, high-level data modeling/programming languages.
35353
+
35354
+ Join us on [Discord](https://discord.gg/MQ6YVzakM5) to chat with the team,
35355
+ receive release notifications, ask questions, and get involved.
35356
+
35357
+ If this sounds interesting, and you would like to help us in creating the next
35358
+ generation of development tools, please reach out on our [website](https://stormsoftware.com/contact) or join our
35359
+ [Slack](https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA) channel!
35360
+
35361
+ ![Storm Software](https://public.storm-cdn.com/icon-fill.png){ width="200" style="display: block; margin: 0 auto" }
35362
+ ![Visit us at stormsoftware.com](https://public.storm-cdn.com/visit-us-text.svg){ height="90" style="display: block; margin: 0 auto" }
35363
+ `;
35344
35364
 
35345
35365
  // ../config/src/define-config.ts
35346
35366
  init_esm_shims();
@@ -39642,6 +39662,11 @@ var WorkspaceBotConfigSchema = z.object({
39642
39662
  name: z.string().trim().default("stormie-bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
39643
39663
  email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
39644
39664
  }).describe("The workspace's bot user's config used to automated various operations tasks");
39665
+ var WorkspaceReleaseConfigSchema = z.object({
39666
+ banner: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe("A URL to a banner image used to display the workspace's release"),
39667
+ header: z.string().trim().optional().describe("A header message appended to the start of the workspace's release notes"),
39668
+ footer: z.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe("A footer message appended to the end of the workspace's release notes")
39669
+ }).describe("The workspace's release config used during the release process");
39645
39670
  var WorkspaceDirectoryConfigSchema = z.object({
39646
39671
  cache: z.string().trim().optional().describe("The directory used to store the environment's cached file data"),
39647
39672
  data: z.string().trim().optional().describe("The directory used to store the environment's data files"),
@@ -39665,6 +39690,7 @@ var StormConfigSchema = z.object({
39665
39690
  preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
39666
39691
  owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
39667
39692
  bot: WorkspaceBotConfigSchema,
39693
+ release: WorkspaceReleaseConfigSchema,
39668
39694
  mode: z.enum([
39669
39695
  "development",
39670
39696
  "staging",
@@ -41010,6 +41036,11 @@ var getConfigEnv = /* @__PURE__ */ __name(() => {
41010
41036
  name: process.env[`${prefix}BOT_NAME`] || void 0,
41011
41037
  email: process.env[`${prefix}BOT_EMAIL`] || void 0
41012
41038
  },
41039
+ release: {
41040
+ banner: process.env[`${prefix}RELEASE_BANNER`] || void 0,
41041
+ header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
41042
+ footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
41043
+ },
41013
41044
  organization: process.env[`${prefix}ORGANIZATION`] || void 0,
41014
41045
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`] || void 0,
41015
41046
  license: process.env[`${prefix}LICENSE`] || void 0,
@@ -41175,6 +41206,11 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
41175
41206
  process.env[`${prefix}BOT_NAME`] = config.bot.name;
41176
41207
  process.env[`${prefix}BOT_EMAIL`] = config.bot.email;
41177
41208
  }
41209
+ if (config.release) {
41210
+ process.env[`${prefix}RELEASE_BANNER`] = config.release.banner;
41211
+ process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
41212
+ process.env[`${prefix}RELEASE_FOOTER`] = config.release.footer;
41213
+ }
41178
41214
  if (config.organization) {
41179
41215
  process.env[`${prefix}ORGANIZATION`] = config.organization;
41180
41216
  }
@@ -41291,7 +41327,9 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
41291
41327
  }
41292
41328
  process.env[`${prefix}CONFIG`] = JSON.stringify(config);
41293
41329
  for (const key of Object.keys(config.extensions ?? {})) {
41294
- config.extensions[key] && Object.keys(config.extensions[key]) && setExtensionEnv(key, config.extensions[key]);
41330
+ if (config.extensions[key] && Object.keys(config.extensions[key])) {
41331
+ setExtensionEnv(key, config.extensions[key]);
41332
+ }
41295
41333
  }
41296
41334
  }, "setConfigEnv");
41297
41335
  var setThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
@@ -41455,6 +41493,9 @@ ${formatLogMessage(config)}`, config);
41455
41493
  var getConfig = /* @__PURE__ */ __name((workspaceRoot, skipLogs = false) => {
41456
41494
  return loadStormConfig(workspaceRoot, skipLogs);
41457
41495
  }, "getConfig");
41496
+ var getWorkspaceConfig = /* @__PURE__ */ __name((skipLogs = false) => {
41497
+ return getConfig(void 0, skipLogs);
41498
+ }, "getWorkspaceConfig");
41458
41499
 
41459
41500
  export {
41460
41501
  joinPaths,
@@ -41462,6 +41503,7 @@ export {
41462
41503
  findWorkspaceRoot,
41463
41504
  require_ansi_styles,
41464
41505
  require_supports_color,
41506
+ require_source,
41465
41507
  isVerbose,
41466
41508
  writeFatal,
41467
41509
  writeError,
@@ -41472,5 +41514,6 @@ export {
41472
41514
  exitWithError,
41473
41515
  exitWithSuccess,
41474
41516
  handleProcess,
41475
- getConfig
41517
+ getConfig,
41518
+ getWorkspaceConfig
41476
41519
  };
@@ -35341,6 +35341,26 @@ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
35341
35341
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
35342
35342
  var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
35343
35343
  var STORM_DEFAULT_LICENSE = "Apache-2.0";
35344
+ var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/logo-banner.png";
35345
+ var STORM_DEFAULT_RELEASE_FOOTER = `
35346
+ Storm Software is an open source software development organization and creator
35347
+ of Cyclone UI, Storm Stack and Acidic.
35348
+
35349
+ Our mission is to make software development more accessible. Our ideal future is
35350
+ one where anyone can create software without years of prior development
35351
+ experience serving as a barrier to entry. We hope to achieve this via LLMs,
35352
+ Generative AI, and intuitive, high-level data modeling/programming languages.
35353
+
35354
+ Join us on [Discord](https://discord.gg/MQ6YVzakM5) to chat with the team,
35355
+ receive release notifications, ask questions, and get involved.
35356
+
35357
+ If this sounds interesting, and you would like to help us in creating the next
35358
+ generation of development tools, please reach out on our [website](https://stormsoftware.com/contact) or join our
35359
+ [Slack](https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA) channel!
35360
+
35361
+ ![Storm Software](https://public.storm-cdn.com/icon-fill.png){ width="200" style="display: block; margin: 0 auto" }
35362
+ ![Visit us at stormsoftware.com](https://public.storm-cdn.com/visit-us-text.svg){ height="90" style="display: block; margin: 0 auto" }
35363
+ `;
35344
35364
 
35345
35365
  // ../config/src/define-config.ts
35346
35366
  _chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
@@ -39642,6 +39662,11 @@ var WorkspaceBotConfigSchema = z.object({
39642
39662
  name: z.string().trim().default("stormie-bot").describe("The workspace bot user's name (this is the bot that will be used to perform various tasks)"),
39643
39663
  email: z.string().trim().email().default("bot@stormsoftware.com").describe("The email of the workspace bot")
39644
39664
  }).describe("The workspace's bot user's config used to automated various operations tasks");
39665
+ var WorkspaceReleaseConfigSchema = z.object({
39666
+ banner: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe("A URL to a banner image used to display the workspace's release"),
39667
+ header: z.string().trim().optional().describe("A header message appended to the start of the workspace's release notes"),
39668
+ footer: z.string().trim().default(STORM_DEFAULT_RELEASE_FOOTER).describe("A footer message appended to the end of the workspace's release notes")
39669
+ }).describe("The workspace's release config used during the release process");
39645
39670
  var WorkspaceDirectoryConfigSchema = z.object({
39646
39671
  cache: z.string().trim().optional().describe("The directory used to store the environment's cached file data"),
39647
39672
  data: z.string().trim().optional().describe("The directory used to store the environment's data files"),
@@ -39665,6 +39690,7 @@ var StormConfigSchema = z.object({
39665
39690
  preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
39666
39691
  owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
39667
39692
  bot: WorkspaceBotConfigSchema,
39693
+ release: WorkspaceReleaseConfigSchema,
39668
39694
  mode: z.enum([
39669
39695
  "development",
39670
39696
  "staging",
@@ -41013,6 +41039,11 @@ var getConfigEnv = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, () => {
41013
41039
  name: process.env[`${prefix}BOT_NAME`] || void 0,
41014
41040
  email: process.env[`${prefix}BOT_EMAIL`] || void 0
41015
41041
  },
41042
+ release: {
41043
+ banner: process.env[`${prefix}RELEASE_BANNER`] || void 0,
41044
+ header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
41045
+ footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
41046
+ },
41016
41047
  organization: process.env[`${prefix}ORGANIZATION`] || void 0,
41017
41048
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`] || void 0,
41018
41049
  license: process.env[`${prefix}LICENSE`] || void 0,
@@ -41178,6 +41209,11 @@ var setConfigEnv = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (config
41178
41209
  process.env[`${prefix}BOT_NAME`] = config.bot.name;
41179
41210
  process.env[`${prefix}BOT_EMAIL`] = config.bot.email;
41180
41211
  }
41212
+ if (config.release) {
41213
+ process.env[`${prefix}RELEASE_BANNER`] = config.release.banner;
41214
+ process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
41215
+ process.env[`${prefix}RELEASE_FOOTER`] = config.release.footer;
41216
+ }
41181
41217
  if (config.organization) {
41182
41218
  process.env[`${prefix}ORGANIZATION`] = config.organization;
41183
41219
  }
@@ -41294,7 +41330,9 @@ var setConfigEnv = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (config
41294
41330
  }
41295
41331
  process.env[`${prefix}CONFIG`] = JSON.stringify(config);
41296
41332
  for (const key of Object.keys(_nullishCoalesce(config.extensions, () => ( {})))) {
41297
- config.extensions[key] && Object.keys(config.extensions[key]) && setExtensionEnv(key, config.extensions[key]);
41333
+ if (config.extensions[key] && Object.keys(config.extensions[key])) {
41334
+ setExtensionEnv(key, config.extensions[key]);
41335
+ }
41298
41336
  }
41299
41337
  }, "setConfigEnv");
41300
41338
  var setThemeColorConfigEnv = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (prefix, config) => {
@@ -41458,6 +41496,11 @@ ${formatLogMessage(config)}`, config);
41458
41496
  var getConfig = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (workspaceRoot, skipLogs = false) => {
41459
41497
  return loadStormConfig(workspaceRoot, skipLogs);
41460
41498
  }, "getConfig");
41499
+ var getWorkspaceConfig = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (skipLogs = false) => {
41500
+ return getConfig(void 0, skipLogs);
41501
+ }, "getWorkspaceConfig");
41502
+
41503
+
41461
41504
 
41462
41505
 
41463
41506
 
@@ -41476,4 +41519,4 @@ var getConfig = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, (workspace
41476
41519
 
41477
41520
 
41478
41521
 
41479
- exports.joinPaths = joinPaths; exports.findWorkspaceRootSafe = findWorkspaceRootSafe; exports.findWorkspaceRoot = findWorkspaceRoot; exports.require_ansi_styles = require_ansi_styles; exports.require_supports_color = require_supports_color; exports.isVerbose = isVerbose; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.exitWithError = exitWithError; exports.exitWithSuccess = exitWithSuccess; exports.handleProcess = handleProcess; exports.getConfig = getConfig;
41522
+ exports.joinPaths = joinPaths; exports.findWorkspaceRootSafe = findWorkspaceRootSafe; exports.findWorkspaceRoot = findWorkspaceRoot; exports.require_ansi_styles = require_ansi_styles; exports.require_supports_color = require_supports_color; exports.require_source = require_source; exports.isVerbose = isVerbose; exports.writeFatal = writeFatal; exports.writeError = writeError; exports.writeWarning = writeWarning; exports.writeInfo = writeInfo; exports.writeSuccess = writeSuccess; exports.writeDebug = writeDebug; exports.exitWithError = exitWithError; exports.exitWithSuccess = exitWithSuccess; exports.handleProcess = handleProcess; exports.getConfig = getConfig; exports.getWorkspaceConfig = getWorkspaceConfig;