@storm-software/git-tools 2.49.0 → 2.50.0

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 2.50.0 (2024-08-02)
2
+
3
+
4
+ ### Features
5
+
6
+ - **terraform-tools:** Initial check-in of project code ([c4ef4810](https://github.com/storm-software/storm-ops/commit/c4ef4810))
7
+
1
8
  ## 2.49.0 (2024-08-02)
2
9
 
3
10
 
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.48.0-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.49.0-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 -->
package/bin/git.js CHANGED
@@ -230816,9 +230816,6 @@ var StormConfigSchema = z2.object({
230816
230816
  "The worker of the package (this is the bot that will be used to perform various tasks)"
230817
230817
  ),
230818
230818
  env: z2.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
230819
- ci: z2.boolean().default(true).describe(
230820
- "An indicator specifying if the current environment is a CI environment"
230821
- ),
230822
230819
  workspaceRoot: z2.string().trim().default("").describe("The root directory of the workspace"),
230823
230820
  packageDirectory: z2.string().trim().optional().describe("The root directory of the package"),
230824
230821
  externalPackagePatterns: z2.array(z2.string()).default([]).describe(
@@ -230918,7 +230915,6 @@ var DEFAULT_STORM_CONFIG = {
230918
230915
  env: "production",
230919
230916
  branch: "main",
230920
230917
  organization: "storm-software",
230921
- ci: true,
230922
230918
  configFile: null,
230923
230919
  runtimeVersion: "1.0.0",
230924
230920
  colors: { ...DEFAULT_COLOR_CONFIG },
@@ -231324,9 +231320,14 @@ var getConfigEnv = () => {
231324
231320
  runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
231325
231321
  outputDirectory: correctPaths(process.env[`${prefix}OUTPUT_DIRECTORY`]),
231326
231322
  env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
231327
- ci: process.env[`${prefix}CI`] !== void 0 ? Boolean(
231328
- process.env[`${prefix}CI`] ?? process.env.CI ?? process.env.CONTINUOUS_INTEGRATION
231329
- ) : void 0,
231323
+ // ci:
231324
+ // process.env[`${prefix}CI`] !== undefined
231325
+ // ? Boolean(
231326
+ // process.env[`${prefix}CI`] ??
231327
+ // process.env.CI ??
231328
+ // process.env.CONTINUOUS_INTEGRATION
231329
+ // )
231330
+ // : undefined,
231330
231331
  repository: process.env[`${prefix}REPOSITORY`],
231331
231332
  branch: process.env[`${prefix}BRANCH`],
231332
231333
  preid: process.env[`${prefix}PRE_ID`],
@@ -231519,11 +231520,6 @@ var setConfigEnv = (config2) => {
231519
231520
  process.env.NODE_ENV = config2.env;
231520
231521
  process.env.ENVIRONMENT = config2.env;
231521
231522
  }
231522
- if (config2.ci) {
231523
- process.env[`${prefix}CI`] = String(config2.ci);
231524
- process.env.CI = String(config2.ci);
231525
- process.env.CONTINUOUS_INTEGRATION = String(config2.ci);
231526
- }
231527
231523
  if (config2.colors?.base?.light || config2.colors?.base?.dark) {
231528
231524
  for (const key2 of Object.keys(config2.colors)) {
231529
231525
  setThemeColorConfigEnv(`${prefix}COLOR_${key2}_`, config2.colors[key2]);
@@ -231673,8 +231669,16 @@ var setBaseThemeColorConfigEnv = (prefix, config2) => {
231673
231669
  };
231674
231670
 
231675
231671
  // packages/config-tools/src/create-storm-config.ts
231672
+ var _static_cache = void 0;
231676
231673
  var loadStormConfig = async (workspaceRoot3) => {
231677
231674
  let config2 = {};
231675
+ if (_static_cache?.data && _static_cache?.timestamp && _static_cache.timestamp >= Date.now() + 3e4) {
231676
+ writeInfo(
231677
+ `Configuration cache hit - ${_static_cache.timestamp}`,
231678
+ _static_cache.data
231679
+ );
231680
+ return _static_cache.data;
231681
+ }
231678
231682
  let _workspaceRoot = workspaceRoot3;
231679
231683
  if (!_workspaceRoot) {
231680
231684
  _workspaceRoot = findWorkspaceRoot();
@@ -67133,9 +67133,6 @@ var StormConfigSchema = z2.object({
67133
67133
  "The worker of the package (this is the bot that will be used to perform various tasks)"
67134
67134
  ),
67135
67135
  env: z2.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
67136
- ci: z2.boolean().default(true).describe(
67137
- "An indicator specifying if the current environment is a CI environment"
67138
- ),
67139
67136
  workspaceRoot: z2.string().trim().default("").describe("The root directory of the workspace"),
67140
67137
  packageDirectory: z2.string().trim().optional().describe("The root directory of the package"),
67141
67138
  externalPackagePatterns: z2.array(z2.string()).default([]).describe(
@@ -67235,7 +67232,6 @@ var DEFAULT_STORM_CONFIG = {
67235
67232
  env: "production",
67236
67233
  branch: "main",
67237
67234
  organization: "storm-software",
67238
- ci: true,
67239
67235
  configFile: null,
67240
67236
  runtimeVersion: "1.0.0",
67241
67237
  colors: { ...DEFAULT_COLOR_CONFIG },
@@ -67543,11 +67539,13 @@ Stacktrace: ${error.stack}`,
67543
67539
  // packages/config-tools/src/utilities/run.ts
67544
67540
  import { execSync } from "node:child_process";
67545
67541
  var LARGE_BUFFER = 1024 * 1e6;
67546
- var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio = "inherit") => {
67542
+ var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio = "inherit", env = process.env) => {
67547
67543
  return execSync(command, {
67548
67544
  cwd: cwd2,
67549
67545
  env: {
67550
67546
  ...process.env,
67547
+ ...env,
67548
+ CLICOLOR: "true",
67551
67549
  FORCE_COLOR: "true"
67552
67550
  },
67553
67551
  stdio,
@@ -67653,9 +67651,14 @@ var getConfigEnv = () => {
67653
67651
  runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
67654
67652
  outputDirectory: correctPaths(process.env[`${prefix}OUTPUT_DIRECTORY`]),
67655
67653
  env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
67656
- ci: process.env[`${prefix}CI`] !== void 0 ? Boolean(
67657
- process.env[`${prefix}CI`] ?? process.env.CI ?? process.env.CONTINUOUS_INTEGRATION
67658
- ) : void 0,
67654
+ // ci:
67655
+ // process.env[`${prefix}CI`] !== undefined
67656
+ // ? Boolean(
67657
+ // process.env[`${prefix}CI`] ??
67658
+ // process.env.CI ??
67659
+ // process.env.CONTINUOUS_INTEGRATION
67660
+ // )
67661
+ // : undefined,
67659
67662
  repository: process.env[`${prefix}REPOSITORY`],
67660
67663
  branch: process.env[`${prefix}BRANCH`],
67661
67664
  preid: process.env[`${prefix}PRE_ID`],
@@ -67848,11 +67851,6 @@ var setConfigEnv = (config) => {
67848
67851
  process.env.NODE_ENV = config.env;
67849
67852
  process.env.ENVIRONMENT = config.env;
67850
67853
  }
67851
- if (config.ci) {
67852
- process.env[`${prefix}CI`] = String(config.ci);
67853
- process.env.CI = String(config.ci);
67854
- process.env.CONTINUOUS_INTEGRATION = String(config.ci);
67855
- }
67856
67854
  if (config.colors?.base?.light || config.colors?.base?.dark) {
67857
67855
  for (const key of Object.keys(config.colors)) {
67858
67856
  setThemeColorConfigEnv(`${prefix}COLOR_${key}_`, config.colors[key]);
@@ -68002,8 +68000,16 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
68002
68000
  };
68003
68001
 
68004
68002
  // packages/config-tools/src/create-storm-config.ts
68003
+ var _static_cache = void 0;
68005
68004
  var loadStormConfig = async (workspaceRoot) => {
68006
68005
  let config = {};
68006
+ if (_static_cache?.data && _static_cache?.timestamp && _static_cache.timestamp >= Date.now() + 3e4) {
68007
+ writeInfo(
68008
+ `Configuration cache hit - ${_static_cache.timestamp}`,
68009
+ _static_cache.data
68010
+ );
68011
+ return _static_cache.data;
68012
+ }
68007
68013
  let _workspaceRoot = workspaceRoot;
68008
68014
  if (!_workspaceRoot) {
68009
68015
  _workspaceRoot = findWorkspaceRoot();
@@ -67133,9 +67133,6 @@ var StormConfigSchema = z2.object({
67133
67133
  "The worker of the package (this is the bot that will be used to perform various tasks)"
67134
67134
  ),
67135
67135
  env: z2.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
67136
- ci: z2.boolean().default(true).describe(
67137
- "An indicator specifying if the current environment is a CI environment"
67138
- ),
67139
67136
  workspaceRoot: z2.string().trim().default("").describe("The root directory of the workspace"),
67140
67137
  packageDirectory: z2.string().trim().optional().describe("The root directory of the package"),
67141
67138
  externalPackagePatterns: z2.array(z2.string()).default([]).describe(
@@ -67235,7 +67232,6 @@ var DEFAULT_STORM_CONFIG = {
67235
67232
  env: "production",
67236
67233
  branch: "main",
67237
67234
  organization: "storm-software",
67238
- ci: true,
67239
67235
  configFile: null,
67240
67236
  runtimeVersion: "1.0.0",
67241
67237
  colors: { ...DEFAULT_COLOR_CONFIG },
@@ -67543,11 +67539,13 @@ Stacktrace: ${error.stack}`,
67543
67539
  // packages/config-tools/src/utilities/run.ts
67544
67540
  import { execSync } from "node:child_process";
67545
67541
  var LARGE_BUFFER = 1024 * 1e6;
67546
- var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio = "inherit") => {
67542
+ var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio = "inherit", env = process.env) => {
67547
67543
  return execSync(command, {
67548
67544
  cwd: cwd2,
67549
67545
  env: {
67550
67546
  ...process.env,
67547
+ ...env,
67548
+ CLICOLOR: "true",
67551
67549
  FORCE_COLOR: "true"
67552
67550
  },
67553
67551
  stdio,
@@ -67653,9 +67651,14 @@ var getConfigEnv = () => {
67653
67651
  runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
67654
67652
  outputDirectory: correctPaths(process.env[`${prefix}OUTPUT_DIRECTORY`]),
67655
67653
  env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
67656
- ci: process.env[`${prefix}CI`] !== void 0 ? Boolean(
67657
- process.env[`${prefix}CI`] ?? process.env.CI ?? process.env.CONTINUOUS_INTEGRATION
67658
- ) : void 0,
67654
+ // ci:
67655
+ // process.env[`${prefix}CI`] !== undefined
67656
+ // ? Boolean(
67657
+ // process.env[`${prefix}CI`] ??
67658
+ // process.env.CI ??
67659
+ // process.env.CONTINUOUS_INTEGRATION
67660
+ // )
67661
+ // : undefined,
67659
67662
  repository: process.env[`${prefix}REPOSITORY`],
67660
67663
  branch: process.env[`${prefix}BRANCH`],
67661
67664
  preid: process.env[`${prefix}PRE_ID`],
@@ -67848,11 +67851,6 @@ var setConfigEnv = (config) => {
67848
67851
  process.env.NODE_ENV = config.env;
67849
67852
  process.env.ENVIRONMENT = config.env;
67850
67853
  }
67851
- if (config.ci) {
67852
- process.env[`${prefix}CI`] = String(config.ci);
67853
- process.env.CI = String(config.ci);
67854
- process.env.CONTINUOUS_INTEGRATION = String(config.ci);
67855
- }
67856
67854
  if (config.colors?.base?.light || config.colors?.base?.dark) {
67857
67855
  for (const key of Object.keys(config.colors)) {
67858
67856
  setThemeColorConfigEnv(`${prefix}COLOR_${key}_`, config.colors[key]);
@@ -68002,8 +68000,16 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
68002
68000
  };
68003
68001
 
68004
68002
  // packages/config-tools/src/create-storm-config.ts
68003
+ var _static_cache = void 0;
68005
68004
  var loadStormConfig = async (workspaceRoot) => {
68006
68005
  let config = {};
68006
+ if (_static_cache?.data && _static_cache?.timestamp && _static_cache.timestamp >= Date.now() + 3e4) {
68007
+ writeInfo(
68008
+ `Configuration cache hit - ${_static_cache.timestamp}`,
68009
+ _static_cache.data
68010
+ );
68011
+ return _static_cache.data;
68012
+ }
68007
68013
  let _workspaceRoot = workspaceRoot;
68008
68014
  if (!_workspaceRoot) {
68009
68015
  _workspaceRoot = findWorkspaceRoot();
package/bin/post-merge.js CHANGED
@@ -67133,9 +67133,6 @@ var StormConfigSchema = z2.object({
67133
67133
  "The worker of the package (this is the bot that will be used to perform various tasks)"
67134
67134
  ),
67135
67135
  env: z2.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
67136
- ci: z2.boolean().default(true).describe(
67137
- "An indicator specifying if the current environment is a CI environment"
67138
- ),
67139
67136
  workspaceRoot: z2.string().trim().default("").describe("The root directory of the workspace"),
67140
67137
  packageDirectory: z2.string().trim().optional().describe("The root directory of the package"),
67141
67138
  externalPackagePatterns: z2.array(z2.string()).default([]).describe(
@@ -67235,7 +67232,6 @@ var DEFAULT_STORM_CONFIG = {
67235
67232
  env: "production",
67236
67233
  branch: "main",
67237
67234
  organization: "storm-software",
67238
- ci: true,
67239
67235
  configFile: null,
67240
67236
  runtimeVersion: "1.0.0",
67241
67237
  colors: { ...DEFAULT_COLOR_CONFIG },
@@ -67543,11 +67539,13 @@ Stacktrace: ${error.stack}`,
67543
67539
  // packages/config-tools/src/utilities/run.ts
67544
67540
  import { execSync } from "node:child_process";
67545
67541
  var LARGE_BUFFER = 1024 * 1e6;
67546
- var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio = "inherit") => {
67542
+ var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio = "inherit", env = process.env) => {
67547
67543
  return execSync(command, {
67548
67544
  cwd: cwd2,
67549
67545
  env: {
67550
67546
  ...process.env,
67547
+ ...env,
67548
+ CLICOLOR: "true",
67551
67549
  FORCE_COLOR: "true"
67552
67550
  },
67553
67551
  stdio,
@@ -67653,9 +67651,14 @@ var getConfigEnv = () => {
67653
67651
  runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
67654
67652
  outputDirectory: correctPaths(process.env[`${prefix}OUTPUT_DIRECTORY`]),
67655
67653
  env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
67656
- ci: process.env[`${prefix}CI`] !== void 0 ? Boolean(
67657
- process.env[`${prefix}CI`] ?? process.env.CI ?? process.env.CONTINUOUS_INTEGRATION
67658
- ) : void 0,
67654
+ // ci:
67655
+ // process.env[`${prefix}CI`] !== undefined
67656
+ // ? Boolean(
67657
+ // process.env[`${prefix}CI`] ??
67658
+ // process.env.CI ??
67659
+ // process.env.CONTINUOUS_INTEGRATION
67660
+ // )
67661
+ // : undefined,
67659
67662
  repository: process.env[`${prefix}REPOSITORY`],
67660
67663
  branch: process.env[`${prefix}BRANCH`],
67661
67664
  preid: process.env[`${prefix}PRE_ID`],
@@ -67848,11 +67851,6 @@ var setConfigEnv = (config) => {
67848
67851
  process.env.NODE_ENV = config.env;
67849
67852
  process.env.ENVIRONMENT = config.env;
67850
67853
  }
67851
- if (config.ci) {
67852
- process.env[`${prefix}CI`] = String(config.ci);
67853
- process.env.CI = String(config.ci);
67854
- process.env.CONTINUOUS_INTEGRATION = String(config.ci);
67855
- }
67856
67854
  if (config.colors?.base?.light || config.colors?.base?.dark) {
67857
67855
  for (const key of Object.keys(config.colors)) {
67858
67856
  setThemeColorConfigEnv(`${prefix}COLOR_${key}_`, config.colors[key]);
@@ -68002,8 +68000,16 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
68002
68000
  };
68003
68001
 
68004
68002
  // packages/config-tools/src/create-storm-config.ts
68003
+ var _static_cache = void 0;
68005
68004
  var loadStormConfig = async (workspaceRoot) => {
68006
68005
  let config = {};
68006
+ if (_static_cache?.data && _static_cache?.timestamp && _static_cache.timestamp >= Date.now() + 3e4) {
68007
+ writeInfo(
68008
+ `Configuration cache hit - ${_static_cache.timestamp}`,
68009
+ _static_cache.data
68010
+ );
68011
+ return _static_cache.data;
68012
+ }
68007
68013
  let _workspaceRoot = workspaceRoot;
68008
68014
  if (!_workspaceRoot) {
68009
68015
  _workspaceRoot = findWorkspaceRoot();
package/bin/pre-commit.js CHANGED
@@ -67133,9 +67133,6 @@ var StormConfigSchema = z2.object({
67133
67133
  "The worker of the package (this is the bot that will be used to perform various tasks)"
67134
67134
  ),
67135
67135
  env: z2.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
67136
- ci: z2.boolean().default(true).describe(
67137
- "An indicator specifying if the current environment is a CI environment"
67138
- ),
67139
67136
  workspaceRoot: z2.string().trim().default("").describe("The root directory of the workspace"),
67140
67137
  packageDirectory: z2.string().trim().optional().describe("The root directory of the package"),
67141
67138
  externalPackagePatterns: z2.array(z2.string()).default([]).describe(
@@ -67235,7 +67232,6 @@ var DEFAULT_STORM_CONFIG = {
67235
67232
  env: "production",
67236
67233
  branch: "main",
67237
67234
  organization: "storm-software",
67238
- ci: true,
67239
67235
  configFile: null,
67240
67236
  runtimeVersion: "1.0.0",
67241
67237
  colors: { ...DEFAULT_COLOR_CONFIG },
@@ -67640,9 +67636,14 @@ var getConfigEnv = () => {
67640
67636
  runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
67641
67637
  outputDirectory: correctPaths(process.env[`${prefix}OUTPUT_DIRECTORY`]),
67642
67638
  env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
67643
- ci: process.env[`${prefix}CI`] !== void 0 ? Boolean(
67644
- process.env[`${prefix}CI`] ?? process.env.CI ?? process.env.CONTINUOUS_INTEGRATION
67645
- ) : void 0,
67639
+ // ci:
67640
+ // process.env[`${prefix}CI`] !== undefined
67641
+ // ? Boolean(
67642
+ // process.env[`${prefix}CI`] ??
67643
+ // process.env.CI ??
67644
+ // process.env.CONTINUOUS_INTEGRATION
67645
+ // )
67646
+ // : undefined,
67646
67647
  repository: process.env[`${prefix}REPOSITORY`],
67647
67648
  branch: process.env[`${prefix}BRANCH`],
67648
67649
  preid: process.env[`${prefix}PRE_ID`],
@@ -67835,11 +67836,6 @@ var setConfigEnv = (config) => {
67835
67836
  process.env.NODE_ENV = config.env;
67836
67837
  process.env.ENVIRONMENT = config.env;
67837
67838
  }
67838
- if (config.ci) {
67839
- process.env[`${prefix}CI`] = String(config.ci);
67840
- process.env.CI = String(config.ci);
67841
- process.env.CONTINUOUS_INTEGRATION = String(config.ci);
67842
- }
67843
67839
  if (config.colors?.base?.light || config.colors?.base?.dark) {
67844
67840
  for (const key of Object.keys(config.colors)) {
67845
67841
  setThemeColorConfigEnv(`${prefix}COLOR_${key}_`, config.colors[key]);
@@ -67989,8 +67985,16 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
67989
67985
  };
67990
67986
 
67991
67987
  // packages/config-tools/src/create-storm-config.ts
67988
+ var _static_cache = void 0;
67992
67989
  var loadStormConfig = async (workspaceRoot) => {
67993
67990
  let config = {};
67991
+ if (_static_cache?.data && _static_cache?.timestamp && _static_cache.timestamp >= Date.now() + 3e4) {
67992
+ writeInfo(
67993
+ `Configuration cache hit - ${_static_cache.timestamp}`,
67994
+ _static_cache.data
67995
+ );
67996
+ return _static_cache.data;
67997
+ }
67994
67998
  let _workspaceRoot = workspaceRoot;
67995
67999
  if (!_workspaceRoot) {
67996
68000
  _workspaceRoot = findWorkspaceRoot();
@@ -67133,9 +67133,6 @@ var StormConfigSchema = z2.object({
67133
67133
  "The worker of the package (this is the bot that will be used to perform various tasks)"
67134
67134
  ),
67135
67135
  env: z2.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
67136
- ci: z2.boolean().default(true).describe(
67137
- "An indicator specifying if the current environment is a CI environment"
67138
- ),
67139
67136
  workspaceRoot: z2.string().trim().default("").describe("The root directory of the workspace"),
67140
67137
  packageDirectory: z2.string().trim().optional().describe("The root directory of the package"),
67141
67138
  externalPackagePatterns: z2.array(z2.string()).default([]).describe(
@@ -67235,7 +67232,6 @@ var DEFAULT_STORM_CONFIG = {
67235
67232
  env: "production",
67236
67233
  branch: "main",
67237
67234
  organization: "storm-software",
67238
- ci: true,
67239
67235
  configFile: null,
67240
67236
  runtimeVersion: "1.0.0",
67241
67237
  colors: { ...DEFAULT_COLOR_CONFIG },
@@ -67543,11 +67539,13 @@ Stacktrace: ${error.stack}`,
67543
67539
  // packages/config-tools/src/utilities/run.ts
67544
67540
  import { execSync } from "node:child_process";
67545
67541
  var LARGE_BUFFER = 1024 * 1e6;
67546
- var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio = "inherit") => {
67542
+ var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio = "inherit", env = process.env) => {
67547
67543
  return execSync(command, {
67548
67544
  cwd: cwd2,
67549
67545
  env: {
67550
67546
  ...process.env,
67547
+ ...env,
67548
+ CLICOLOR: "true",
67551
67549
  FORCE_COLOR: "true"
67552
67550
  },
67553
67551
  stdio,
@@ -67653,9 +67651,14 @@ var getConfigEnv = () => {
67653
67651
  runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
67654
67652
  outputDirectory: correctPaths(process.env[`${prefix}OUTPUT_DIRECTORY`]),
67655
67653
  env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
67656
- ci: process.env[`${prefix}CI`] !== void 0 ? Boolean(
67657
- process.env[`${prefix}CI`] ?? process.env.CI ?? process.env.CONTINUOUS_INTEGRATION
67658
- ) : void 0,
67654
+ // ci:
67655
+ // process.env[`${prefix}CI`] !== undefined
67656
+ // ? Boolean(
67657
+ // process.env[`${prefix}CI`] ??
67658
+ // process.env.CI ??
67659
+ // process.env.CONTINUOUS_INTEGRATION
67660
+ // )
67661
+ // : undefined,
67659
67662
  repository: process.env[`${prefix}REPOSITORY`],
67660
67663
  branch: process.env[`${prefix}BRANCH`],
67661
67664
  preid: process.env[`${prefix}PRE_ID`],
@@ -67848,11 +67851,6 @@ var setConfigEnv = (config) => {
67848
67851
  process.env.NODE_ENV = config.env;
67849
67852
  process.env.ENVIRONMENT = config.env;
67850
67853
  }
67851
- if (config.ci) {
67852
- process.env[`${prefix}CI`] = String(config.ci);
67853
- process.env.CI = String(config.ci);
67854
- process.env.CONTINUOUS_INTEGRATION = String(config.ci);
67855
- }
67856
67854
  if (config.colors?.base?.light || config.colors?.base?.dark) {
67857
67855
  for (const key of Object.keys(config.colors)) {
67858
67856
  setThemeColorConfigEnv(`${prefix}COLOR_${key}_`, config.colors[key]);
@@ -68002,8 +68000,16 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
68002
68000
  };
68003
68001
 
68004
68002
  // packages/config-tools/src/create-storm-config.ts
68003
+ var _static_cache = void 0;
68005
68004
  var loadStormConfig = async (workspaceRoot) => {
68006
68005
  let config = {};
68006
+ if (_static_cache?.data && _static_cache?.timestamp && _static_cache.timestamp >= Date.now() + 3e4) {
68007
+ writeInfo(
68008
+ `Configuration cache hit - ${_static_cache.timestamp}`,
68009
+ _static_cache.data
68010
+ );
68011
+ return _static_cache.data;
68012
+ }
68007
68013
  let _workspaceRoot = workspaceRoot;
68008
68014
  if (!_workspaceRoot) {
68009
68015
  _workspaceRoot = findWorkspaceRoot();
package/bin/pre-push.js CHANGED
@@ -67138,9 +67138,6 @@ var StormConfigSchema = z2.object({
67138
67138
  "The worker of the package (this is the bot that will be used to perform various tasks)"
67139
67139
  ),
67140
67140
  env: z2.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
67141
- ci: z2.boolean().default(true).describe(
67142
- "An indicator specifying if the current environment is a CI environment"
67143
- ),
67144
67141
  workspaceRoot: z2.string().trim().default("").describe("The root directory of the workspace"),
67145
67142
  packageDirectory: z2.string().trim().optional().describe("The root directory of the package"),
67146
67143
  externalPackagePatterns: z2.array(z2.string()).default([]).describe(
@@ -67240,7 +67237,6 @@ var DEFAULT_STORM_CONFIG = {
67240
67237
  env: "production",
67241
67238
  branch: "main",
67242
67239
  organization: "storm-software",
67243
- ci: true,
67244
67240
  configFile: null,
67245
67241
  runtimeVersion: "1.0.0",
67246
67242
  colors: { ...DEFAULT_COLOR_CONFIG },
@@ -67548,11 +67544,13 @@ Stacktrace: ${error.stack}`,
67548
67544
  // packages/config-tools/src/utilities/run.ts
67549
67545
  import { execSync } from "node:child_process";
67550
67546
  var LARGE_BUFFER = 1024 * 1e6;
67551
- var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio = "inherit") => {
67547
+ var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio = "inherit", env = process.env) => {
67552
67548
  return execSync(command, {
67553
67549
  cwd: cwd2,
67554
67550
  env: {
67555
67551
  ...process.env,
67552
+ ...env,
67553
+ CLICOLOR: "true",
67556
67554
  FORCE_COLOR: "true"
67557
67555
  },
67558
67556
  stdio,
@@ -67658,9 +67656,14 @@ var getConfigEnv = () => {
67658
67656
  runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
67659
67657
  outputDirectory: correctPaths(process.env[`${prefix}OUTPUT_DIRECTORY`]),
67660
67658
  env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
67661
- ci: process.env[`${prefix}CI`] !== void 0 ? Boolean(
67662
- process.env[`${prefix}CI`] ?? process.env.CI ?? process.env.CONTINUOUS_INTEGRATION
67663
- ) : void 0,
67659
+ // ci:
67660
+ // process.env[`${prefix}CI`] !== undefined
67661
+ // ? Boolean(
67662
+ // process.env[`${prefix}CI`] ??
67663
+ // process.env.CI ??
67664
+ // process.env.CONTINUOUS_INTEGRATION
67665
+ // )
67666
+ // : undefined,
67664
67667
  repository: process.env[`${prefix}REPOSITORY`],
67665
67668
  branch: process.env[`${prefix}BRANCH`],
67666
67669
  preid: process.env[`${prefix}PRE_ID`],
@@ -67853,11 +67856,6 @@ var setConfigEnv = (config) => {
67853
67856
  process.env.NODE_ENV = config.env;
67854
67857
  process.env.ENVIRONMENT = config.env;
67855
67858
  }
67856
- if (config.ci) {
67857
- process.env[`${prefix}CI`] = String(config.ci);
67858
- process.env.CI = String(config.ci);
67859
- process.env.CONTINUOUS_INTEGRATION = String(config.ci);
67860
- }
67861
67859
  if (config.colors?.base?.light || config.colors?.base?.dark) {
67862
67860
  for (const key of Object.keys(config.colors)) {
67863
67861
  setThemeColorConfigEnv(`${prefix}COLOR_${key}_`, config.colors[key]);
@@ -68007,8 +68005,16 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
68007
68005
  };
68008
68006
 
68009
68007
  // packages/config-tools/src/create-storm-config.ts
68008
+ var _static_cache = void 0;
68010
68009
  var loadStormConfig = async (workspaceRoot) => {
68011
68010
  let config = {};
68011
+ if (_static_cache?.data && _static_cache?.timestamp && _static_cache.timestamp >= Date.now() + 3e4) {
68012
+ writeInfo(
68013
+ `Configuration cache hit - ${_static_cache.timestamp}`,
68014
+ _static_cache.data
68015
+ );
68016
+ return _static_cache.data;
68017
+ }
68012
68018
  let _workspaceRoot = workspaceRoot;
68013
68019
  if (!_workspaceRoot) {
68014
68020
  _workspaceRoot = findWorkspaceRoot();
package/bin/prepare.js CHANGED
@@ -67133,9 +67133,6 @@ var StormConfigSchema = z2.object({
67133
67133
  "The worker of the package (this is the bot that will be used to perform various tasks)"
67134
67134
  ),
67135
67135
  env: z2.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
67136
- ci: z2.boolean().default(true).describe(
67137
- "An indicator specifying if the current environment is a CI environment"
67138
- ),
67139
67136
  workspaceRoot: z2.string().trim().default("").describe("The root directory of the workspace"),
67140
67137
  packageDirectory: z2.string().trim().optional().describe("The root directory of the package"),
67141
67138
  externalPackagePatterns: z2.array(z2.string()).default([]).describe(
@@ -67235,7 +67232,6 @@ var DEFAULT_STORM_CONFIG = {
67235
67232
  env: "production",
67236
67233
  branch: "main",
67237
67234
  organization: "storm-software",
67238
- ci: true,
67239
67235
  configFile: null,
67240
67236
  runtimeVersion: "1.0.0",
67241
67237
  colors: { ...DEFAULT_COLOR_CONFIG },
@@ -67543,11 +67539,13 @@ Stacktrace: ${error.stack}`,
67543
67539
  // packages/config-tools/src/utilities/run.ts
67544
67540
  import { execSync } from "node:child_process";
67545
67541
  var LARGE_BUFFER = 1024 * 1e6;
67546
- var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio = "inherit") => {
67542
+ var run = (config, command, cwd2 = config.workspaceRoot ?? process.cwd(), stdio = "inherit", env = process.env) => {
67547
67543
  return execSync(command, {
67548
67544
  cwd: cwd2,
67549
67545
  env: {
67550
67546
  ...process.env,
67547
+ ...env,
67548
+ CLICOLOR: "true",
67551
67549
  FORCE_COLOR: "true"
67552
67550
  },
67553
67551
  stdio,
@@ -67653,9 +67651,14 @@ var getConfigEnv = () => {
67653
67651
  runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
67654
67652
  outputDirectory: correctPaths(process.env[`${prefix}OUTPUT_DIRECTORY`]),
67655
67653
  env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
67656
- ci: process.env[`${prefix}CI`] !== void 0 ? Boolean(
67657
- process.env[`${prefix}CI`] ?? process.env.CI ?? process.env.CONTINUOUS_INTEGRATION
67658
- ) : void 0,
67654
+ // ci:
67655
+ // process.env[`${prefix}CI`] !== undefined
67656
+ // ? Boolean(
67657
+ // process.env[`${prefix}CI`] ??
67658
+ // process.env.CI ??
67659
+ // process.env.CONTINUOUS_INTEGRATION
67660
+ // )
67661
+ // : undefined,
67659
67662
  repository: process.env[`${prefix}REPOSITORY`],
67660
67663
  branch: process.env[`${prefix}BRANCH`],
67661
67664
  preid: process.env[`${prefix}PRE_ID`],
@@ -67848,11 +67851,6 @@ var setConfigEnv = (config) => {
67848
67851
  process.env.NODE_ENV = config.env;
67849
67852
  process.env.ENVIRONMENT = config.env;
67850
67853
  }
67851
- if (config.ci) {
67852
- process.env[`${prefix}CI`] = String(config.ci);
67853
- process.env.CI = String(config.ci);
67854
- process.env.CONTINUOUS_INTEGRATION = String(config.ci);
67855
- }
67856
67854
  if (config.colors?.base?.light || config.colors?.base?.dark) {
67857
67855
  for (const key of Object.keys(config.colors)) {
67858
67856
  setThemeColorConfigEnv(`${prefix}COLOR_${key}_`, config.colors[key]);
@@ -68002,8 +68000,16 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
68002
68000
  };
68003
68001
 
68004
68002
  // packages/config-tools/src/create-storm-config.ts
68003
+ var _static_cache = void 0;
68005
68004
  var loadStormConfig = async (workspaceRoot) => {
68006
68005
  let config = {};
68006
+ if (_static_cache?.data && _static_cache?.timestamp && _static_cache.timestamp >= Date.now() + 3e4) {
68007
+ writeInfo(
68008
+ `Configuration cache hit - ${_static_cache.timestamp}`,
68009
+ _static_cache.data
68010
+ );
68011
+ return _static_cache.data;
68012
+ }
68007
68013
  let _workspaceRoot = workspaceRoot;
68008
68014
  if (!_workspaceRoot) {
68009
68015
  _workspaceRoot = findWorkspaceRoot();
@@ -67133,9 +67133,6 @@ var StormConfigSchema = z2.object({
67133
67133
  "The worker of the package (this is the bot that will be used to perform various tasks)"
67134
67134
  ),
67135
67135
  env: z2.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
67136
- ci: z2.boolean().default(true).describe(
67137
- "An indicator specifying if the current environment is a CI environment"
67138
- ),
67139
67136
  workspaceRoot: z2.string().trim().default("").describe("The root directory of the workspace"),
67140
67137
  packageDirectory: z2.string().trim().optional().describe("The root directory of the package"),
67141
67138
  externalPackagePatterns: z2.array(z2.string()).default([]).describe(
@@ -67235,7 +67232,6 @@ var DEFAULT_STORM_CONFIG = {
67235
67232
  env: "production",
67236
67233
  branch: "main",
67237
67234
  organization: "storm-software",
67238
- ci: true,
67239
67235
  configFile: null,
67240
67236
  runtimeVersion: "1.0.0",
67241
67237
  colors: { ...DEFAULT_COLOR_CONFIG },
@@ -67635,9 +67631,14 @@ var getConfigEnv = () => {
67635
67631
  runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
67636
67632
  outputDirectory: correctPaths(process.env[`${prefix}OUTPUT_DIRECTORY`]),
67637
67633
  env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
67638
- ci: process.env[`${prefix}CI`] !== void 0 ? Boolean(
67639
- process.env[`${prefix}CI`] ?? process.env.CI ?? process.env.CONTINUOUS_INTEGRATION
67640
- ) : void 0,
67634
+ // ci:
67635
+ // process.env[`${prefix}CI`] !== undefined
67636
+ // ? Boolean(
67637
+ // process.env[`${prefix}CI`] ??
67638
+ // process.env.CI ??
67639
+ // process.env.CONTINUOUS_INTEGRATION
67640
+ // )
67641
+ // : undefined,
67641
67642
  repository: process.env[`${prefix}REPOSITORY`],
67642
67643
  branch: process.env[`${prefix}BRANCH`],
67643
67644
  preid: process.env[`${prefix}PRE_ID`],
@@ -67830,11 +67831,6 @@ var setConfigEnv = (config) => {
67830
67831
  process.env.NODE_ENV = config.env;
67831
67832
  process.env.ENVIRONMENT = config.env;
67832
67833
  }
67833
- if (config.ci) {
67834
- process.env[`${prefix}CI`] = String(config.ci);
67835
- process.env.CI = String(config.ci);
67836
- process.env.CONTINUOUS_INTEGRATION = String(config.ci);
67837
- }
67838
67834
  if (config.colors?.base?.light || config.colors?.base?.dark) {
67839
67835
  for (const key of Object.keys(config.colors)) {
67840
67836
  setThemeColorConfigEnv(`${prefix}COLOR_${key}_`, config.colors[key]);
@@ -67984,8 +67980,16 @@ var setBaseThemeColorConfigEnv = (prefix, config) => {
67984
67980
  };
67985
67981
 
67986
67982
  // packages/config-tools/src/create-storm-config.ts
67983
+ var _static_cache = void 0;
67987
67984
  var loadStormConfig = async (workspaceRoot) => {
67988
67985
  let config = {};
67986
+ if (_static_cache?.data && _static_cache?.timestamp && _static_cache.timestamp >= Date.now() + 3e4) {
67987
+ writeInfo(
67988
+ `Configuration cache hit - ${_static_cache.timestamp}`,
67989
+ _static_cache.data
67990
+ );
67991
+ return _static_cache.data;
67992
+ }
67989
67993
  let _workspaceRoot = workspaceRoot;
67990
67994
  if (!_workspaceRoot) {
67991
67995
  _workspaceRoot = findWorkspaceRoot();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/git-tools",
3
- "version": "2.49.0",
3
+ "version": "2.50.0",
4
4
  "type": "module",
5
5
  "description": "⚡ A package containing various git tools used in Storm workspaces.",
6
6
  "repository": {
package/src/cli/index.js CHANGED
@@ -226654,9 +226654,6 @@ var StormConfigSchema = z2.object({
226654
226654
  "The worker of the package (this is the bot that will be used to perform various tasks)"
226655
226655
  ),
226656
226656
  env: z2.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
226657
- ci: z2.boolean().default(true).describe(
226658
- "An indicator specifying if the current environment is a CI environment"
226659
- ),
226660
226657
  workspaceRoot: z2.string().trim().default("").describe("The root directory of the workspace"),
226661
226658
  packageDirectory: z2.string().trim().optional().describe("The root directory of the package"),
226662
226659
  externalPackagePatterns: z2.array(z2.string()).default([]).describe(
@@ -226756,7 +226753,6 @@ var DEFAULT_STORM_CONFIG = {
226756
226753
  env: "production",
226757
226754
  branch: "main",
226758
226755
  organization: "storm-software",
226759
- ci: true,
226760
226756
  configFile: null,
226761
226757
  runtimeVersion: "1.0.0",
226762
226758
  colors: { ...DEFAULT_COLOR_CONFIG },
@@ -227119,9 +227115,14 @@ var getConfigEnv = () => {
227119
227115
  runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
227120
227116
  outputDirectory: correctPaths(process.env[`${prefix}OUTPUT_DIRECTORY`]),
227121
227117
  env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
227122
- ci: process.env[`${prefix}CI`] !== void 0 ? Boolean(
227123
- process.env[`${prefix}CI`] ?? process.env.CI ?? process.env.CONTINUOUS_INTEGRATION
227124
- ) : void 0,
227118
+ // ci:
227119
+ // process.env[`${prefix}CI`] !== undefined
227120
+ // ? Boolean(
227121
+ // process.env[`${prefix}CI`] ??
227122
+ // process.env.CI ??
227123
+ // process.env.CONTINUOUS_INTEGRATION
227124
+ // )
227125
+ // : undefined,
227125
227126
  repository: process.env[`${prefix}REPOSITORY`],
227126
227127
  branch: process.env[`${prefix}BRANCH`],
227127
227128
  preid: process.env[`${prefix}PRE_ID`],
@@ -227314,11 +227315,6 @@ var setConfigEnv = (config2) => {
227314
227315
  process.env.NODE_ENV = config2.env;
227315
227316
  process.env.ENVIRONMENT = config2.env;
227316
227317
  }
227317
- if (config2.ci) {
227318
- process.env[`${prefix}CI`] = String(config2.ci);
227319
- process.env.CI = String(config2.ci);
227320
- process.env.CONTINUOUS_INTEGRATION = String(config2.ci);
227321
- }
227322
227318
  if (config2.colors?.base?.light || config2.colors?.base?.dark) {
227323
227319
  for (const key2 of Object.keys(config2.colors)) {
227324
227320
  setThemeColorConfigEnv(`${prefix}COLOR_${key2}_`, config2.colors[key2]);
@@ -227468,8 +227464,16 @@ var setBaseThemeColorConfigEnv = (prefix, config2) => {
227468
227464
  };
227469
227465
 
227470
227466
  // packages/config-tools/src/create-storm-config.ts
227467
+ var _static_cache = void 0;
227471
227468
  var loadStormConfig = async (workspaceRoot3) => {
227472
227469
  let config2 = {};
227470
+ if (_static_cache?.data && _static_cache?.timestamp && _static_cache.timestamp >= Date.now() + 3e4) {
227471
+ writeInfo(
227472
+ `Configuration cache hit - ${_static_cache.timestamp}`,
227473
+ _static_cache.data
227474
+ );
227475
+ return _static_cache.data;
227476
+ }
227473
227477
  let _workspaceRoot = workspaceRoot3;
227474
227478
  if (!_workspaceRoot) {
227475
227479
  _workspaceRoot = findWorkspaceRoot();
@@ -37380,9 +37380,6 @@ var StormConfigSchema = z.object({
37380
37380
  "The worker of the package (this is the bot that will be used to perform various tasks)"
37381
37381
  ),
37382
37382
  env: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
37383
- ci: z.boolean().default(true).describe(
37384
- "An indicator specifying if the current environment is a CI environment"
37385
- ),
37386
37383
  workspaceRoot: z.string().trim().default("").describe("The root directory of the workspace"),
37387
37384
  packageDirectory: z.string().trim().optional().describe("The root directory of the package"),
37388
37385
  externalPackagePatterns: z.array(z.string()).default([]).describe(
@@ -37466,7 +37463,6 @@ var DEFAULT_STORM_CONFIG = {
37466
37463
  env: "production",
37467
37464
  branch: "main",
37468
37465
  organization: "storm-software",
37469
- ci: true,
37470
37466
  configFile: null,
37471
37467
  runtimeVersion: "1.0.0",
37472
37468
  colors: { ...DEFAULT_COLOR_CONFIG },
@@ -37327,9 +37327,6 @@ var StormConfigSchema = z.object({
37327
37327
  "The worker of the package (this is the bot that will be used to perform various tasks)"
37328
37328
  ),
37329
37329
  env: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
37330
- ci: z.boolean().default(true).describe(
37331
- "An indicator specifying if the current environment is a CI environment"
37332
- ),
37333
37330
  workspaceRoot: z.string().trim().default("").describe("The root directory of the workspace"),
37334
37331
  packageDirectory: z.string().trim().optional().describe("The root directory of the package"),
37335
37332
  externalPackagePatterns: z.array(z.string()).default([]).describe(
@@ -37413,7 +37410,6 @@ var DEFAULT_STORM_CONFIG = {
37413
37410
  env: "production",
37414
37411
  branch: "main",
37415
37412
  organization: "storm-software",
37416
- ci: true,
37417
37413
  configFile: null,
37418
37414
  runtimeVersion: "1.0.0",
37419
37415
  colors: { ...DEFAULT_COLOR_CONFIG },
package/src/index.js CHANGED
@@ -226654,9 +226654,6 @@ var StormConfigSchema = z2.object({
226654
226654
  "The worker of the package (this is the bot that will be used to perform various tasks)"
226655
226655
  ),
226656
226656
  env: z2.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
226657
- ci: z2.boolean().default(true).describe(
226658
- "An indicator specifying if the current environment is a CI environment"
226659
- ),
226660
226657
  workspaceRoot: z2.string().trim().default("").describe("The root directory of the workspace"),
226661
226658
  packageDirectory: z2.string().trim().optional().describe("The root directory of the package"),
226662
226659
  externalPackagePatterns: z2.array(z2.string()).default([]).describe(
@@ -226756,7 +226753,6 @@ var DEFAULT_STORM_CONFIG = {
226756
226753
  env: "production",
226757
226754
  branch: "main",
226758
226755
  organization: "storm-software",
226759
- ci: true,
226760
226756
  configFile: null,
226761
226757
  runtimeVersion: "1.0.0",
226762
226758
  colors: { ...DEFAULT_COLOR_CONFIG },
@@ -227119,9 +227115,14 @@ var getConfigEnv = () => {
227119
227115
  runtimeVersion: process.env[`${prefix}RUNTIME_VERSION`],
227120
227116
  outputDirectory: correctPaths(process.env[`${prefix}OUTPUT_DIRECTORY`]),
227121
227117
  env: process.env[`${prefix}ENV`] ?? process.env.NODE_ENV ?? process.env.ENVIRONMENT,
227122
- ci: process.env[`${prefix}CI`] !== void 0 ? Boolean(
227123
- process.env[`${prefix}CI`] ?? process.env.CI ?? process.env.CONTINUOUS_INTEGRATION
227124
- ) : void 0,
227118
+ // ci:
227119
+ // process.env[`${prefix}CI`] !== undefined
227120
+ // ? Boolean(
227121
+ // process.env[`${prefix}CI`] ??
227122
+ // process.env.CI ??
227123
+ // process.env.CONTINUOUS_INTEGRATION
227124
+ // )
227125
+ // : undefined,
227125
227126
  repository: process.env[`${prefix}REPOSITORY`],
227126
227127
  branch: process.env[`${prefix}BRANCH`],
227127
227128
  preid: process.env[`${prefix}PRE_ID`],
@@ -227314,11 +227315,6 @@ var setConfigEnv = (config2) => {
227314
227315
  process.env.NODE_ENV = config2.env;
227315
227316
  process.env.ENVIRONMENT = config2.env;
227316
227317
  }
227317
- if (config2.ci) {
227318
- process.env[`${prefix}CI`] = String(config2.ci);
227319
- process.env.CI = String(config2.ci);
227320
- process.env.CONTINUOUS_INTEGRATION = String(config2.ci);
227321
- }
227322
227318
  if (config2.colors?.base?.light || config2.colors?.base?.dark) {
227323
227319
  for (const key2 of Object.keys(config2.colors)) {
227324
227320
  setThemeColorConfigEnv(`${prefix}COLOR_${key2}_`, config2.colors[key2]);
@@ -227468,8 +227464,16 @@ var setBaseThemeColorConfigEnv = (prefix, config2) => {
227468
227464
  };
227469
227465
 
227470
227466
  // packages/config-tools/src/create-storm-config.ts
227467
+ var _static_cache = void 0;
227471
227468
  var loadStormConfig = async (workspaceRoot3) => {
227472
227469
  let config2 = {};
227470
+ if (_static_cache?.data && _static_cache?.timestamp && _static_cache.timestamp >= Date.now() + 3e4) {
227471
+ writeInfo(
227472
+ `Configuration cache hit - ${_static_cache.timestamp}`,
227473
+ _static_cache.data
227474
+ );
227475
+ return _static_cache.data;
227476
+ }
227473
227477
  let _workspaceRoot = workspaceRoot3;
227474
227478
  if (!_workspaceRoot) {
227475
227479
  _workspaceRoot = findWorkspaceRoot();
@@ -5781,9 +5781,6 @@ var StormConfigSchema = z.object({
5781
5781
  "The worker of the package (this is the bot that will be used to perform various tasks)"
5782
5782
  ),
5783
5783
  env: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment of the package"),
5784
- ci: z.boolean().default(true).describe(
5785
- "An indicator specifying if the current environment is a CI environment"
5786
- ),
5787
5784
  workspaceRoot: z.string().trim().default("").describe("The root directory of the workspace"),
5788
5785
  packageDirectory: z.string().trim().optional().describe("The root directory of the package"),
5789
5786
  externalPackagePatterns: z.array(z.string()).default([]).describe(
@@ -5867,7 +5864,6 @@ var DEFAULT_STORM_CONFIG = {
5867
5864
  env: "production",
5868
5865
  branch: "main",
5869
5866
  organization: "storm-software",
5870
- ci: true,
5871
5867
  configFile: null,
5872
5868
  runtimeVersion: "1.0.0",
5873
5869
  colors: { ...DEFAULT_COLOR_CONFIG },