@storm-software/build-tools 0.144.19 → 0.144.21

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 (73) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-6KESXKM3.mjs → chunk-2IACGL5A.mjs} +69 -34
  3. package/dist/{chunk-XLAPHZPX.mjs → chunk-3VZVP5XV.mjs} +0 -5
  4. package/dist/{chunk-MY55IIR6.js → chunk-673CAI2G.js} +5 -14
  5. package/dist/{chunk-M5AC3COW.mjs → chunk-7NL4YIH3.mjs} +4 -13
  6. package/dist/{chunk-LCPSDCDB.mjs → chunk-7YKXR5JJ.mjs} +1 -8
  7. package/dist/{chunk-F7WSCB6H.js → chunk-A75DEKU5.js} +1 -6
  8. package/dist/{chunk-H2MR24BL.mjs → chunk-BKMDH7XQ.mjs} +10 -16
  9. package/dist/chunk-D7ZBIHS7.mjs +76 -0
  10. package/dist/{chunk-STJ5NLSZ.mjs → chunk-DLSOQQ2X.mjs} +24 -11
  11. package/dist/{chunk-LWYVLXCJ.js → chunk-ECGZDTG2.js} +72 -37
  12. package/dist/{chunk-NSNKG4UV.js → chunk-EGKFW7BM.js} +168 -114
  13. package/dist/{chunk-T2R2KKTW.mjs → chunk-HGTDDXA5.mjs} +2 -5
  14. package/dist/{chunk-2TV7ZJSK.js → chunk-HQD5ZBIU.js} +2 -9
  15. package/dist/{chunk-A6F6NNS6.mjs → chunk-JJQN3HTQ.mjs} +183 -119
  16. package/dist/{chunk-CNURHK3D.mjs → chunk-KUEYIH7W.mjs} +2 -6
  17. package/dist/{chunk-Y3HRAWPU.js → chunk-N7HP2YYE.js} +9 -8
  18. package/dist/chunk-ODQKLK6L.mjs +69 -0
  19. package/dist/{chunk-CNKJQMCL.js → chunk-TABRPMJB.js} +28 -15
  20. package/dist/{chunk-JP4YIUPA.js → chunk-TQIOTV5X.js} +25 -21
  21. package/dist/{chunk-4Y7DUAMQ.js → chunk-TSUTFOQG.js} +17 -23
  22. package/dist/{chunk-PBTSVWXL.js → chunk-UHJ5ACWH.js} +3 -7
  23. package/dist/chunk-UNY7ZVZF.js +76 -0
  24. package/dist/{chunk-VQUREEMI.mjs → chunk-VGLIZ2H3.mjs} +8 -7
  25. package/dist/{chunk-QKEUU3L3.mjs → chunk-VWJLKDCB.mjs} +141 -87
  26. package/dist/{chunk-5HOBE4TZ.js → chunk-WLW3DA6X.js} +2 -5
  27. package/dist/{chunk-VSAQXEXD.js → chunk-WNMPQTPH.js} +39 -31
  28. package/dist/{chunk-QCTHJR6E.js → chunk-XXESPGZP.js} +184 -120
  29. package/dist/{chunk-67VZRCF5.mjs → chunk-YZ6ZTM5M.mjs} +27 -23
  30. package/dist/config.js +0 -1
  31. package/dist/config.mjs +0 -1
  32. package/dist/index.js +16 -17
  33. package/dist/index.mjs +15 -16
  34. package/dist/plugins/analyze.js +3 -4
  35. package/dist/plugins/analyze.mjs +2 -3
  36. package/dist/plugins/index.js +6 -7
  37. package/dist/plugins/index.mjs +5 -6
  38. package/dist/plugins/swc.js +2 -3
  39. package/dist/plugins/swc.mjs +1 -2
  40. package/dist/plugins/ts-resolve.js +3 -4
  41. package/dist/plugins/ts-resolve.mjs +2 -3
  42. package/dist/plugins/type-definitions.js +2 -3
  43. package/dist/plugins/type-definitions.mjs +1 -2
  44. package/dist/types.js +1 -1
  45. package/dist/types.mjs +1 -1
  46. package/dist/utilities/copy-assets.js +3 -4
  47. package/dist/utilities/copy-assets.mjs +2 -3
  48. package/dist/utilities/generate-package-json.js +3 -4
  49. package/dist/utilities/generate-package-json.mjs +2 -3
  50. package/dist/utilities/get-entry-points.js +3 -4
  51. package/dist/utilities/get-entry-points.mjs +2 -3
  52. package/dist/utilities/get-env.js +2 -3
  53. package/dist/utilities/get-env.mjs +1 -2
  54. package/dist/utilities/get-file-banner.js +2 -3
  55. package/dist/utilities/get-file-banner.mjs +1 -2
  56. package/dist/utilities/get-out-extension.js +2 -3
  57. package/dist/utilities/get-out-extension.mjs +1 -2
  58. package/dist/utilities/get-project-deps.js +2 -3
  59. package/dist/utilities/get-project-deps.mjs +1 -2
  60. package/dist/utilities/index.js +11 -12
  61. package/dist/utilities/index.mjs +10 -11
  62. package/dist/utilities/read-nx-config.js +3 -4
  63. package/dist/utilities/read-nx-config.mjs +2 -3
  64. package/dist/utilities/task-graph.js +2 -3
  65. package/dist/utilities/task-graph.mjs +1 -2
  66. package/package.json +1 -1
  67. package/dist/chunk-O6YSETKJ.mjs +0 -6
  68. package/dist/chunk-S5V4ROWC.js +0 -67
  69. package/dist/chunk-S7LT43EW.mjs +0 -67
  70. package/dist/chunk-SHUYVCID.js +0 -6
  71. package/dist/chunk-ZW5JWBA4.mjs +0 -61
  72. /package/dist/{chunk-GGNOJ77I.js → chunk-6F4PWJZI.js} +0 -0
  73. /package/dist/{chunk-WAXGOBY2.mjs → chunk-WBQAMGXK.mjs} +0 -0
@@ -14,16 +14,13 @@
14
14
 
15
15
 
16
16
 
17
- var _chunkQCTHJR6Ejs = require('./chunk-QCTHJR6E.js');
18
-
19
-
20
- var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
17
+ var _chunkXXESPGZPjs = require('./chunk-XXESPGZP.js');
21
18
 
22
19
  // ../config-tools/src/config-file/get-config-file.ts
23
20
  var _c12 = require('c12');
24
21
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
25
- var getConfigFileByName = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
26
- const workspacePath = filePath || _chunkQCTHJR6Ejs.findWorkspaceRoot.call(void 0, filePath);
22
+ var getConfigFileByName = async (fileName, filePath, options = {}) => {
23
+ const workspacePath = filePath || _chunkXXESPGZPjs.findWorkspaceRoot.call(void 0, filePath);
27
24
  const configs = await Promise.all([
28
25
  _c12.loadConfig.call(void 0, {
29
26
  cwd: workspacePath,
@@ -32,7 +29,10 @@ var getConfigFileByName = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, a
32
29
  envName: _optionalChain([fileName, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]),
33
30
  jitiOptions: {
34
31
  debug: false,
35
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkQCTHJR6Ejs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
32
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkXXESPGZPjs.joinPaths.call(void 0,
33
+ process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
34
+ "jiti"
35
+ )
36
36
  },
37
37
  ...options
38
38
  }),
@@ -43,32 +43,45 @@ var getConfigFileByName = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, a
43
43
  envName: _optionalChain([fileName, 'optionalAccess', _3 => _3.toUpperCase, 'call', _4 => _4()]),
44
44
  jitiOptions: {
45
45
  debug: false,
46
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkQCTHJR6Ejs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
46
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkXXESPGZPjs.joinPaths.call(void 0,
47
+ process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
48
+ "jiti"
49
+ )
47
50
  },
48
51
  configFile: fileName,
49
52
  ...options
50
53
  })
51
54
  ]);
52
55
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
53
- }, "getConfigFileByName");
54
- var getConfigFile = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
55
- const workspacePath = filePath ? filePath : _chunkQCTHJR6Ejs.findWorkspaceRoot.call(void 0, filePath);
56
+ };
57
+ var getConfigFile = async (filePath, additionalFileNames = []) => {
58
+ const workspacePath = filePath ? filePath : _chunkXXESPGZPjs.findWorkspaceRoot.call(void 0, filePath);
56
59
  const result = await getConfigFileByName("storm-workspace", workspacePath);
57
60
  let config = result.config;
58
61
  const configFile = result.configFile;
59
62
  if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
60
- _chunkQCTHJR6Ejs.writeTrace.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
61
- logLevel: "all"
62
- });
63
+ _chunkXXESPGZPjs.writeTrace.call(void 0,
64
+ `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
65
+ {
66
+ logLevel: "all"
67
+ }
68
+ );
63
69
  }
64
70
  if (additionalFileNames && additionalFileNames.length > 0) {
65
- const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
71
+ const results = await Promise.all(
72
+ additionalFileNames.map(
73
+ (fileName) => getConfigFileByName(fileName, workspacePath)
74
+ )
75
+ );
66
76
  for (const result2 of results) {
67
77
  if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
68
78
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
69
- _chunkQCTHJR6Ejs.writeTrace.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
70
- logLevel: "all"
71
- });
79
+ _chunkXXESPGZPjs.writeTrace.call(void 0,
80
+ `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
81
+ {
82
+ logLevel: "all"
83
+ }
84
+ );
72
85
  }
73
86
  config = _defu2.default.call(void 0, _nullishCoalesce(result2.config, () => ( {})), _nullishCoalesce(config, () => ( {})));
74
87
  }
@@ -79,23 +92,25 @@ var getConfigFile = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (
79
92
  }
80
93
  config.configFile = configFile;
81
94
  return config;
82
- }, "getConfigFile");
95
+ };
83
96
 
84
97
  // ../config-tools/src/create-storm-config.ts
85
98
 
86
99
 
87
100
  // ../config-tools/src/env/get-env.ts
88
- var getExtensionEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (extensionName) => {
101
+ var getExtensionEnv = (extensionName) => {
89
102
  const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
90
103
  return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
91
- const name = key.replace(prefix, "").split("_").map((i) => i.length > 0 ? i.trim().charAt(0).toUpperCase() + i.trim().slice(1) : "").join("");
104
+ const name = key.replace(prefix, "").split("_").map(
105
+ (i) => i.length > 0 ? i.trim().charAt(0).toUpperCase() + i.trim().slice(1) : ""
106
+ ).join("");
92
107
  if (name) {
93
108
  ret[name] = process.env[key];
94
109
  }
95
110
  return ret;
96
111
  }, {});
97
- }, "getExtensionEnv");
98
- var getConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, () => {
112
+ };
113
+ var getConfigEnv = () => {
99
114
  const prefix = "STORM_";
100
115
  let config = {
101
116
  extends: process.env[`${prefix}EXTENDS`] || void 0,
@@ -132,15 +147,15 @@ var getConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, () => {
132
147
  contact: process.env[`${prefix}CONTACT`] || void 0,
133
148
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
134
149
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
135
- configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkQCTHJR6Ejs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
136
- workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkQCTHJR6Ejs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
150
+ configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkXXESPGZPjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
151
+ workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkXXESPGZPjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
137
152
  directories: {
138
- cache: process.env[`${prefix}CACHE_DIR`] ? _chunkQCTHJR6Ejs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkQCTHJR6Ejs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
139
- data: process.env[`${prefix}DATA_DIR`] ? _chunkQCTHJR6Ejs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkQCTHJR6Ejs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
140
- config: process.env[`${prefix}CONFIG_DIR`] ? _chunkQCTHJR6Ejs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkQCTHJR6Ejs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
141
- temp: process.env[`${prefix}TEMP_DIR`] ? _chunkQCTHJR6Ejs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkQCTHJR6Ejs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
142
- log: process.env[`${prefix}LOG_DIR`] ? _chunkQCTHJR6Ejs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkQCTHJR6Ejs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
143
- build: process.env[`${prefix}BUILD_DIR`] ? _chunkQCTHJR6Ejs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkQCTHJR6Ejs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
153
+ cache: process.env[`${prefix}CACHE_DIR`] ? _chunkXXESPGZPjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkXXESPGZPjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
154
+ data: process.env[`${prefix}DATA_DIR`] ? _chunkXXESPGZPjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkXXESPGZPjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
155
+ config: process.env[`${prefix}CONFIG_DIR`] ? _chunkXXESPGZPjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkXXESPGZPjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
156
+ temp: process.env[`${prefix}TEMP_DIR`] ? _chunkXXESPGZPjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkXXESPGZPjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
157
+ log: process.env[`${prefix}LOG_DIR`] ? _chunkXXESPGZPjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkXXESPGZPjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
158
+ build: process.env[`${prefix}BUILD_DIR`] ? _chunkXXESPGZPjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkXXESPGZPjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
144
159
  },
145
160
  skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
146
161
  mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
@@ -163,24 +178,35 @@ var getConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, () => {
163
178
  cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
164
179
  container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
165
180
  },
166
- logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) ? _chunkQCTHJR6Ejs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0,
181
+ logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
182
+ Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
183
+ ) ? _chunkXXESPGZPjs.getLogLevelLabel.call(void 0,
184
+ Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
185
+ ) : process.env[`${prefix}LOG_LEVEL`] : void 0,
167
186
  skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
168
187
  };
169
- const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkQCTHJR6Ejs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
170
- config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
171
- ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
172
- return ret;
173
- }, {}) : getThemeColorConfigEnv(prefix);
174
- if (config.docs === _chunkQCTHJR6Ejs.STORM_DEFAULT_DOCS) {
175
- if (config.homepage === _chunkQCTHJR6Ejs.STORM_DEFAULT_HOMEPAGE) {
176
- config.docs = `${_chunkQCTHJR6Ejs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
188
+ const themeNames = Object.keys(process.env).filter(
189
+ (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkXXESPGZPjs.COLOR_KEYS.every(
190
+ (colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
191
+ )
192
+ );
193
+ config.colors = themeNames.length > 0 ? themeNames.reduce(
194
+ (ret, themeName) => {
195
+ ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
196
+ return ret;
197
+ },
198
+ {}
199
+ ) : getThemeColorConfigEnv(prefix);
200
+ if (config.docs === _chunkXXESPGZPjs.STORM_DEFAULT_DOCS) {
201
+ if (config.homepage === _chunkXXESPGZPjs.STORM_DEFAULT_HOMEPAGE) {
202
+ config.docs = `${_chunkXXESPGZPjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
177
203
  } else {
178
204
  config.docs = `${config.homepage}/docs`;
179
205
  }
180
206
  }
181
- if (config.licensing === _chunkQCTHJR6Ejs.STORM_DEFAULT_LICENSING) {
182
- if (config.homepage === _chunkQCTHJR6Ejs.STORM_DEFAULT_HOMEPAGE) {
183
- config.licensing = `${_chunkQCTHJR6Ejs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
207
+ if (config.licensing === _chunkXXESPGZPjs.STORM_DEFAULT_LICENSING) {
208
+ if (config.homepage === _chunkXXESPGZPjs.STORM_DEFAULT_HOMEPAGE) {
209
+ config.licensing = `${_chunkXXESPGZPjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
184
210
  } else {
185
211
  config.licensing = `${config.homepage}/docs`;
186
212
  }
@@ -191,23 +217,17 @@ var getConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, () => {
191
217
  config = {
192
218
  ...config,
193
219
  ...parsed,
194
- colors: {
195
- ...config.colors,
196
- ...parsed.colors
197
- },
198
- extensions: {
199
- ...config.extensions,
200
- ...parsed.extensions
201
- }
220
+ colors: { ...config.colors, ...parsed.colors },
221
+ extensions: { ...config.extensions, ...parsed.extensions }
202
222
  };
203
223
  }
204
224
  return config;
205
- }, "getConfigEnv");
206
- var getThemeColorConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (prefix, theme) => {
225
+ };
226
+ var getThemeColorConfigEnv = (prefix, theme) => {
207
227
  const themeName = `COLOR_${theme && theme !== "base" ? `${theme}_` : ""}`.toUpperCase();
208
228
  return process.env[`${prefix}${themeName}LIGHT_BRAND`] || process.env[`${prefix}${themeName}DARK_BRAND`] ? getMultiThemeColorConfigEnv(prefix + themeName) : getSingleThemeColorConfigEnv(prefix + themeName);
209
- }, "getThemeColorConfigEnv");
210
- var getSingleThemeColorConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (prefix) => {
229
+ };
230
+ var getSingleThemeColorConfigEnv = (prefix) => {
211
231
  return {
212
232
  dark: process.env[`${prefix}DARK`],
213
233
  light: process.env[`${prefix}LIGHT`],
@@ -224,14 +244,16 @@ var getSingleThemeColorConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(
224
244
  positive: process.env[`${prefix}POSITIVE`],
225
245
  negative: process.env[`${prefix}NEGATIVE`]
226
246
  };
227
- }, "getSingleThemeColorConfigEnv");
228
- var getMultiThemeColorConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (prefix) => {
247
+ };
248
+ var getMultiThemeColorConfigEnv = (prefix) => {
229
249
  return {
230
- light: getBaseThemeColorConfigEnv(`${prefix}_LIGHT_`),
250
+ light: getBaseThemeColorConfigEnv(
251
+ `${prefix}_LIGHT_`
252
+ ),
231
253
  dark: getBaseThemeColorConfigEnv(`${prefix}_DARK_`)
232
254
  };
233
- }, "getMultiThemeColorConfigEnv");
234
- var getBaseThemeColorConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (prefix) => {
255
+ };
256
+ var getBaseThemeColorConfigEnv = (prefix) => {
235
257
  return {
236
258
  foreground: process.env[`${prefix}FOREGROUND`],
237
259
  background: process.env[`${prefix}BACKGROUND`],
@@ -248,13 +270,16 @@ var getBaseThemeColorConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(vo
248
270
  positive: process.env[`${prefix}POSITIVE`],
249
271
  negative: process.env[`${prefix}NEGATIVE`]
250
272
  };
251
- }, "getBaseThemeColorConfigEnv");
273
+ };
252
274
 
253
275
  // ../config-tools/src/env/set-env.ts
254
- var setExtensionEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (extensionName, extension) => {
276
+ var setExtensionEnv = (extensionName, extension) => {
255
277
  for (const key of Object.keys(_nullishCoalesce(extension, () => ( {})))) {
256
278
  if (extension[key]) {
257
- const result = _nullishCoalesce(_optionalChain([key, 'optionalAccess', _7 => _7.replace, 'call', _8 => _8(/([A-Z])+/g, (input) => input ? _optionalChain([input, 'access', _9 => _9[0], 'optionalAccess', _10 => _10.toUpperCase, 'call', _11 => _11()]) + input.slice(1) : ""), 'access', _12 => _12.split, 'call', _13 => _13(/(?=[A-Z])|[.\-\s_]/), 'access', _14 => _14.map, 'call', _15 => _15((x) => x.toLowerCase())]), () => ( []));
279
+ const result = _nullishCoalesce(_optionalChain([key, 'optionalAccess', _7 => _7.replace, 'call', _8 => _8(
280
+ /([A-Z])+/g,
281
+ (input) => input ? _optionalChain([input, 'access', _9 => _9[0], 'optionalAccess', _10 => _10.toUpperCase, 'call', _11 => _11()]) + input.slice(1) : ""
282
+ ), 'access', _12 => _12.split, 'call', _13 => _13(/(?=[A-Z])|[.\-\s_]/), 'access', _14 => _14.map, 'call', _15 => _15((x) => x.toLowerCase())]), () => ( []));
258
283
  let extensionKey;
259
284
  if (result.length === 0) {
260
285
  return;
@@ -269,8 +294,8 @@ var setExtensionEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (exte
269
294
  process.env[`STORM_EXTENSION_${extensionName.toUpperCase()}_${extensionKey.toUpperCase()}`] = extension[key];
270
295
  }
271
296
  }
272
- }, "setExtensionEnv");
273
- var setConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (config) => {
297
+ };
298
+ var setConfigEnv = (config) => {
274
299
  const prefix = "STORM_";
275
300
  if (config.extends) {
276
301
  process.env[`${prefix}EXTENDS`] = Array.isArray(config.extends) ? JSON.stringify(config.extends) : config.extends;
@@ -350,36 +375,42 @@ var setConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (config)
350
375
  process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
351
376
  }
352
377
  if (config.configFile) {
353
- process.env[`${prefix}CONFIG_FILE`] = _chunkQCTHJR6Ejs.correctPaths.call(void 0, config.configFile);
378
+ process.env[`${prefix}CONFIG_FILE`] = _chunkXXESPGZPjs.correctPaths.call(void 0, config.configFile);
354
379
  }
355
380
  if (config.workspaceRoot) {
356
- process.env[`${prefix}WORKSPACE_ROOT`] = _chunkQCTHJR6Ejs.correctPaths.call(void 0, config.workspaceRoot);
357
- process.env.NX_WORKSPACE_ROOT = _chunkQCTHJR6Ejs.correctPaths.call(void 0, config.workspaceRoot);
358
- process.env.NX_WORKSPACE_ROOT_PATH = _chunkQCTHJR6Ejs.correctPaths.call(void 0, config.workspaceRoot);
381
+ process.env[`${prefix}WORKSPACE_ROOT`] = _chunkXXESPGZPjs.correctPaths.call(void 0, config.workspaceRoot);
382
+ process.env.NX_WORKSPACE_ROOT = _chunkXXESPGZPjs.correctPaths.call(void 0, config.workspaceRoot);
383
+ process.env.NX_WORKSPACE_ROOT_PATH = _chunkXXESPGZPjs.correctPaths.call(void 0, config.workspaceRoot);
359
384
  }
360
385
  if (config.directories) {
361
386
  if (!config.skipCache && config.directories.cache) {
362
- process.env[`${prefix}CACHE_DIR`] = _chunkQCTHJR6Ejs.correctPaths.call(void 0, config.directories.cache);
387
+ process.env[`${prefix}CACHE_DIR`] = _chunkXXESPGZPjs.correctPaths.call(void 0,
388
+ config.directories.cache
389
+ );
363
390
  process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
364
391
  }
365
392
  if (config.directories.data) {
366
- process.env[`${prefix}DATA_DIR`] = _chunkQCTHJR6Ejs.correctPaths.call(void 0, config.directories.data);
393
+ process.env[`${prefix}DATA_DIR`] = _chunkXXESPGZPjs.correctPaths.call(void 0, config.directories.data);
367
394
  process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
368
395
  }
369
396
  if (config.directories.config) {
370
- process.env[`${prefix}CONFIG_DIR`] = _chunkQCTHJR6Ejs.correctPaths.call(void 0, config.directories.config);
397
+ process.env[`${prefix}CONFIG_DIR`] = _chunkXXESPGZPjs.correctPaths.call(void 0,
398
+ config.directories.config
399
+ );
371
400
  process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
372
401
  }
373
402
  if (config.directories.temp) {
374
- process.env[`${prefix}TEMP_DIR`] = _chunkQCTHJR6Ejs.correctPaths.call(void 0, config.directories.temp);
403
+ process.env[`${prefix}TEMP_DIR`] = _chunkXXESPGZPjs.correctPaths.call(void 0, config.directories.temp);
375
404
  process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
376
405
  }
377
406
  if (config.directories.log) {
378
- process.env[`${prefix}LOG_DIR`] = _chunkQCTHJR6Ejs.correctPaths.call(void 0, config.directories.log);
407
+ process.env[`${prefix}LOG_DIR`] = _chunkXXESPGZPjs.correctPaths.call(void 0, config.directories.log);
379
408
  process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
380
409
  }
381
410
  if (config.directories.build) {
382
- process.env[`${prefix}BUILD_DIR`] = _chunkQCTHJR6Ejs.correctPaths.call(void 0, config.directories.build);
411
+ process.env[`${prefix}BUILD_DIR`] = _chunkXXESPGZPjs.correctPaths.call(void 0,
412
+ config.directories.build
413
+ );
383
414
  process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
384
415
  }
385
416
  }
@@ -400,7 +431,10 @@ var setConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (config)
400
431
  setThemeColorConfigEnv(`${prefix}COLOR_${key}_`, config.colors[key]);
401
432
  }
402
433
  } else {
403
- setThemeColorConfigEnv(`${prefix}COLOR_`, config.colors);
434
+ setThemeColorConfigEnv(
435
+ `${prefix}COLOR_`,
436
+ config.colors
437
+ );
404
438
  }
405
439
  if (config.repository) {
406
440
  process.env[`${prefix}REPOSITORY`] = config.repository;
@@ -412,7 +446,9 @@ var setConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (config)
412
446
  process.env[`${prefix}PRE_ID`] = String(config.preid);
413
447
  }
414
448
  if (config.externalPackagePatterns) {
415
- process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] = JSON.stringify(config.externalPackagePatterns);
449
+ process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] = JSON.stringify(
450
+ config.externalPackagePatterns
451
+ );
416
452
  }
417
453
  if (config.registry) {
418
454
  if (config.registry.github) {
@@ -425,20 +461,28 @@ var setConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (config)
425
461
  process.env[`${prefix}REGISTRY_CARGO`] = String(config.registry.cargo);
426
462
  }
427
463
  if (config.registry.cyclone) {
428
- process.env[`${prefix}REGISTRY_CYCLONE`] = String(config.registry.cyclone);
464
+ process.env[`${prefix}REGISTRY_CYCLONE`] = String(
465
+ config.registry.cyclone
466
+ );
429
467
  }
430
468
  if (config.registry.container) {
431
- process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.container);
469
+ process.env[`${prefix}REGISTRY_CONTAINER`] = String(
470
+ config.registry.container
471
+ );
432
472
  }
433
473
  }
434
474
  if (config.logLevel) {
435
475
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
436
476
  process.env.LOG_LEVEL = String(config.logLevel);
437
- process.env.NX_VERBOSE_LOGGING = String(_chunkQCTHJR6Ejs.getLogLevel.call(void 0, config.logLevel) >= _chunkQCTHJR6Ejs.LogLevel.DEBUG ? true : false);
438
- process.env.RUST_BACKTRACE = _chunkQCTHJR6Ejs.getLogLevel.call(void 0, config.logLevel) >= _chunkQCTHJR6Ejs.LogLevel.DEBUG ? "full" : "none";
477
+ process.env.NX_VERBOSE_LOGGING = String(
478
+ _chunkXXESPGZPjs.getLogLevel.call(void 0, config.logLevel) >= _chunkXXESPGZPjs.LogLevel.DEBUG ? true : false
479
+ );
480
+ process.env.RUST_BACKTRACE = _chunkXXESPGZPjs.getLogLevel.call(void 0, config.logLevel) >= _chunkXXESPGZPjs.LogLevel.DEBUG ? "full" : "none";
439
481
  }
440
482
  if (config.skipConfigLogging !== void 0) {
441
- process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(config.skipConfigLogging);
483
+ process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
484
+ config.skipConfigLogging
485
+ );
442
486
  }
443
487
  process.env[`${prefix}CONFIG`] = JSON.stringify(config);
444
488
  for (const key of Object.keys(_nullishCoalesce(config.extensions, () => ( {})))) {
@@ -446,11 +490,11 @@ var setConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (config)
446
490
  setExtensionEnv(key, config.extensions[key]);
447
491
  }
448
492
  }
449
- }, "setConfigEnv");
450
- var setThemeColorConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (prefix, config) => {
493
+ };
494
+ var setThemeColorConfigEnv = (prefix, config) => {
451
495
  return _optionalChain([config, 'optionalAccess', _25 => _25.light, 'optionalAccess', _26 => _26.brand]) || _optionalChain([config, 'optionalAccess', _27 => _27.dark, 'optionalAccess', _28 => _28.brand]) ? setMultiThemeColorConfigEnv(prefix, config) : setSingleThemeColorConfigEnv(prefix, config);
452
- }, "setThemeColorConfigEnv");
453
- var setSingleThemeColorConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (prefix, config) => {
496
+ };
497
+ var setSingleThemeColorConfigEnv = (prefix, config) => {
454
498
  if (config.dark) {
455
499
  process.env[`${prefix}DARK`] = config.dark;
456
500
  }
@@ -493,14 +537,14 @@ var setSingleThemeColorConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(
493
537
  if (config.negative) {
494
538
  process.env[`${prefix}NEGATIVE`] = config.negative;
495
539
  }
496
- }, "setSingleThemeColorConfigEnv");
497
- var setMultiThemeColorConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (prefix, config) => {
540
+ };
541
+ var setMultiThemeColorConfigEnv = (prefix, config) => {
498
542
  return {
499
543
  light: setBaseThemeColorConfigEnv(`${prefix}LIGHT_`, config.light),
500
544
  dark: setBaseThemeColorConfigEnv(`${prefix}DARK_`, config.dark)
501
545
  };
502
- }, "setMultiThemeColorConfigEnv");
503
- var setBaseThemeColorConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (prefix, config) => {
546
+ };
547
+ var setBaseThemeColorConfigEnv = (prefix, config) => {
504
548
  if (config.foreground) {
505
549
  process.env[`${prefix}FOREGROUND`] = config.foreground;
506
550
  }
@@ -543,32 +587,35 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(vo
543
587
  if (config.negative) {
544
588
  process.env[`${prefix}NEGATIVE`] = config.negative;
545
589
  }
546
- }, "setBaseThemeColorConfigEnv");
590
+ };
547
591
 
548
592
  // ../config-tools/src/create-storm-config.ts
549
593
  var _extension_cache = /* @__PURE__ */ new WeakMap();
550
594
  var _static_cache = void 0;
551
- var createStormWorkspaceConfig = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (extensionName, schema, workspaceRoot, skipLogs = false, useDefault = true) => {
595
+ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, skipLogs = false, useDefault = true) => {
552
596
  let result;
553
597
  if (!_optionalChain([_static_cache, 'optionalAccess', _29 => _29.data]) || !_optionalChain([_static_cache, 'optionalAccess', _30 => _30.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
554
598
  let _workspaceRoot = workspaceRoot;
555
599
  if (!_workspaceRoot) {
556
- _workspaceRoot = _chunkQCTHJR6Ejs.findWorkspaceRoot.call(void 0, );
600
+ _workspaceRoot = _chunkXXESPGZPjs.findWorkspaceRoot.call(void 0, );
557
601
  }
558
602
  const configEnv = getConfigEnv();
559
603
  const configFile = await getConfigFile(_workspaceRoot);
560
604
  if (!configFile) {
561
605
  if (!skipLogs) {
562
- _chunkQCTHJR6Ejs.writeWarning.call(void 0, "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n", {
563
- logLevel: "all"
564
- });
606
+ _chunkXXESPGZPjs.writeWarning.call(void 0,
607
+ "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
608
+ { logLevel: "all" }
609
+ );
565
610
  }
566
611
  if (useDefault === false) {
567
612
  return void 0;
568
613
  }
569
614
  }
570
- const defaultConfig = await _chunkQCTHJR6Ejs.getDefaultConfig.call(void 0, _workspaceRoot);
571
- result = await _chunkQCTHJR6Ejs.stormWorkspaceConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
615
+ const defaultConfig = await _chunkXXESPGZPjs.getDefaultConfig.call(void 0, _workspaceRoot);
616
+ result = await _chunkXXESPGZPjs.stormWorkspaceConfigSchema.parseAsync(
617
+ _defu2.default.call(void 0, configEnv, configFile, defaultConfig)
618
+ );
572
619
  result.workspaceRoot ??= _workspaceRoot;
573
620
  } else {
574
621
  result = _static_cache.data;
@@ -584,11 +631,9 @@ var createStormWorkspaceConfig = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(vo
584
631
  data: result
585
632
  };
586
633
  return result;
587
- }, "createStormWorkspaceConfig");
588
- var createConfigExtension = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (extensionName, schema) => {
589
- const extension_cache_key = {
590
- extensionName
591
- };
634
+ };
635
+ var createConfigExtension = (extensionName, schema) => {
636
+ const extension_cache_key = { extensionName };
592
637
  if (_extension_cache.has(extension_cache_key)) {
593
638
  return _extension_cache.get(extension_cache_key);
594
639
  }
@@ -598,38 +643,47 @@ var createConfigExtension = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0,
598
643
  }
599
644
  _extension_cache.set(extension_cache_key, extension);
600
645
  return extension;
601
- }, "createConfigExtension");
602
- var loadStormWorkspaceConfig = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (workspaceRoot, skipLogs = false) => {
603
- const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs, true);
646
+ };
647
+ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
648
+ const config = await createStormWorkspaceConfig(
649
+ void 0,
650
+ void 0,
651
+ workspaceRoot,
652
+ skipLogs,
653
+ true
654
+ );
604
655
  setConfigEnv(config);
605
656
  if (!skipLogs && !config.skipConfigLogging) {
606
- _chunkQCTHJR6Ejs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm Workspace configuration:
607
- ${_chunkQCTHJR6Ejs.formatLogMessage.call(void 0, config)}`, config);
657
+ _chunkXXESPGZPjs.writeTrace.call(void 0,
658
+ `\u2699\uFE0F Using Storm Workspace configuration:
659
+ ${_chunkXXESPGZPjs.formatLogMessage.call(void 0, config)}`,
660
+ config
661
+ );
608
662
  }
609
663
  return config;
610
- }, "loadStormWorkspaceConfig");
664
+ };
611
665
 
612
666
  // ../config-tools/src/get-config.ts
613
- var getConfig = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, (workspaceRoot, skipLogs = false) => {
667
+ var getConfig = (workspaceRoot, skipLogs = false) => {
614
668
  return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
615
- }, "getConfig");
669
+ };
616
670
 
617
671
  // src/utilities/read-nx-config.ts
618
672
  var _fs = require('fs');
619
673
  var _promises = require('fs/promises');
620
- var readNxConfig = /* @__PURE__ */ _chunkSHUYVCIDjs.__name.call(void 0, async (workspaceRoot) => {
674
+ var readNxConfig = async (workspaceRoot) => {
621
675
  let rootDir = workspaceRoot;
622
676
  if (!rootDir) {
623
677
  const config = await getConfig();
624
678
  rootDir = config.workspaceRoot;
625
679
  }
626
- const nxJsonPath = _chunkQCTHJR6Ejs.joinPaths.call(void 0, rootDir, "nx.json");
680
+ const nxJsonPath = _chunkXXESPGZPjs.joinPaths.call(void 0, rootDir, "nx.json");
627
681
  if (!_fs.existsSync.call(void 0, nxJsonPath)) {
628
682
  throw new Error("Cannot find project.json configuration");
629
683
  }
630
684
  const configContent = await _promises.readFile.call(void 0, nxJsonPath, "utf8");
631
685
  return JSON.parse(configContent);
632
- }, "readNxConfig");
686
+ };
633
687
 
634
688
 
635
689
 
@@ -2,12 +2,9 @@ import {
2
2
  DEFAULT_ENVIRONMENT,
3
3
  DEFAULT_ORGANIZATION
4
4
  } from "./chunk-BEMVEXMQ.mjs";
5
- import {
6
- __name
7
- } from "./chunk-O6YSETKJ.mjs";
8
5
 
9
6
  // src/utilities/get-env.ts
10
- var getEnv = /* @__PURE__ */ __name((builder, options) => {
7
+ var getEnv = (builder, options) => {
11
8
  return {
12
9
  STORM_BUILD: builder,
13
10
  STORM_ORG: options.orgName || DEFAULT_ORGANIZATION,
@@ -18,7 +15,7 @@ var getEnv = /* @__PURE__ */ __name((builder, options) => {
18
15
  STORM_TARGET: JSON.stringify(options.target),
19
16
  ...options.env
20
17
  };
21
- }, "getEnv");
18
+ };
22
19
 
23
20
  export {
24
21
  getEnv
@@ -1,8 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkSHUYVCIDjs = require('./chunk-SHUYVCID.js');
4
-
5
- // src/plugins/swc.ts
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/plugins/swc.ts
6
2
  var _core = require('@swc/core');
7
3
  function swc() {
8
4
  return {
@@ -12,16 +8,13 @@ function swc() {
12
8
  filename,
13
9
  jsc: {
14
10
  transform: {
15
- react: {
16
- runtime: "automatic"
17
- }
11
+ react: { runtime: "automatic" }
18
12
  }
19
13
  }
20
14
  });
21
15
  }
22
16
  };
23
17
  }
24
- _chunkSHUYVCIDjs.__name.call(void 0, swc, "swc");
25
18
 
26
19
 
27
20