@storm-software/cloudflare-tools 0.63.24 → 0.63.26

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 (37) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-SJE3AZ5R.mjs → chunk-3OAEUWSP.mjs} +1 -1
  4. package/dist/{chunk-IPQFZI7C.mjs → chunk-5WE4TNLQ.mjs} +35 -3
  5. package/dist/{chunk-5KBWQYEF.mjs → chunk-6LXAWJUW.mjs} +3 -3
  6. package/dist/{chunk-VKJE4IV6.mjs → chunk-77YKYAKQ.mjs} +3 -3
  7. package/dist/{chunk-46LEVY35.js → chunk-EDVXAHJB.js} +77 -45
  8. package/dist/{chunk-E2ZPWAPC.mjs → chunk-GGWEYZ6F.mjs} +12 -1
  9. package/dist/{chunk-VI7OHBFH.js → chunk-GLPDUIZ5.js} +16 -16
  10. package/dist/{chunk-HKXGZZ4U.js → chunk-JFRM3B2T.js} +132 -132
  11. package/dist/{chunk-5ENKRUAU.js → chunk-LR64JTPC.js} +12 -1
  12. package/dist/{chunk-5L5XPSOK.mjs → chunk-LVA3TEJC.mjs} +2 -2
  13. package/dist/{chunk-XW7O4WDG.js → chunk-TSJWYL6Q.js} +2 -2
  14. package/dist/{chunk-EPBMBQ4K.mjs → chunk-UUPXZQE4.mjs} +3 -3
  15. package/dist/{chunk-DTL2T3BP.js → chunk-WT7TBR2C.js} +3 -3
  16. package/dist/{chunk-VG43UI3J.js → chunk-X3P4PVUJ.js} +12 -12
  17. package/dist/executors.js +5 -5
  18. package/dist/executors.mjs +5 -5
  19. package/dist/generators.js +5 -5
  20. package/dist/generators.mjs +4 -4
  21. package/dist/index.js +8 -8
  22. package/dist/index.mjs +7 -7
  23. package/dist/src/executors/cloudflare-publish/executor.js +3 -3
  24. package/dist/src/executors/cloudflare-publish/executor.mjs +3 -3
  25. package/dist/src/executors/r2-upload-publish/executor.js +5 -5
  26. package/dist/src/executors/r2-upload-publish/executor.mjs +4 -4
  27. package/dist/src/executors/serve/executor.js +4 -4
  28. package/dist/src/executors/serve/executor.mjs +3 -3
  29. package/dist/src/generators/init/generator.js +2 -2
  30. package/dist/src/generators/init/generator.mjs +1 -1
  31. package/dist/src/generators/worker/generator.js +5 -5
  32. package/dist/src/generators/worker/generator.mjs +4 -4
  33. package/dist/src/utils/index.js +3 -3
  34. package/dist/src/utils/index.mjs +2 -2
  35. package/dist/src/utils/r2-bucket-helpers.js +3 -3
  36. package/dist/src/utils/r2-bucket-helpers.mjs +2 -2
  37. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  # Changelog for Storm Ops - Cloudflare Tools
4
4
 
5
+ ## [0.63.25](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.25) (2025-06-18)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate README markdown files
10
+ ([0975b603d](https://github.com/storm-software/storm-ops/commit/0975b603d))
11
+
12
+ ## [0.63.24](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.24) (2025-06-18)
13
+
14
+ ### Miscellaneous
15
+
16
+ - **monorepo:** Regenerate README markdown files
17
+ ([aa59eabdd](https://github.com/storm-software/storm-ops/commit/aa59eabdd))
18
+
5
19
  ## [0.63.23](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.23) (2025-06-18)
6
20
 
7
21
  ### Miscellaneous
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-0.63.23-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-0.63.25-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 -->
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  writeDebug,
3
3
  writeWarning
4
- } from "./chunk-E2ZPWAPC.mjs";
4
+ } from "./chunk-GGWEYZ6F.mjs";
5
5
 
6
6
  // src/utils/r2-bucket-helpers.ts
7
7
  import { createHash } from "node:crypto";
@@ -15,7 +15,7 @@ import {
15
15
  stormWorkspaceConfigSchema,
16
16
  writeTrace,
17
17
  writeWarning
18
- } from "./chunk-E2ZPWAPC.mjs";
18
+ } from "./chunk-GGWEYZ6F.mjs";
19
19
 
20
20
  // ../config-tools/src/create-storm-config.ts
21
21
  import defu2 from "defu";
@@ -139,7 +139,13 @@ var getConfigEnv = () => {
139
139
  medium: process.env[`${prefix}ACCOUNT_MEDIUM`] || void 0,
140
140
  github: process.env[`${prefix}ACCOUNT_GITHUB`] || void 0
141
141
  },
142
- organization: process.env[`${prefix}ORGANIZATION`] || void 0,
142
+ organization: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`] ? process.env[`${prefix}ORG_DESCRIPTION`] || process.env[`${prefix}ORGANIZATION_DESCRIPTION`] || process.env[`${prefix}ORG_URL`] || process.env[`${prefix}ORGANIZATION_URL`] || process.env[`${prefix}ORG_LOGO`] || process.env[`${prefix}ORGANIZATION_LOGO`] ? {
143
+ name: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`],
144
+ description: process.env[`${prefix}ORG_DESCRIPTION`] || process.env[`${prefix}ORGANIZATION_DESCRIPTION`] || void 0,
145
+ url: process.env[`${prefix}ORG_URL`] || process.env[`${prefix}ORGANIZATION_URL`] || void 0,
146
+ logo: process.env[`${prefix}ORG_LOGO`] || process.env[`${prefix}ORGANIZATION_LOGO`] || void 0,
147
+ icon: process.env[`${prefix}ORG_ICON`] || process.env[`${prefix}ORGANIZATION_ICON`] || void 0
148
+ } : process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`] : void 0,
143
149
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`] || void 0,
144
150
  license: process.env[`${prefix}LICENSE`] || void 0,
145
151
  homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
@@ -346,7 +352,33 @@ var setConfigEnv = (config) => {
346
352
  }
347
353
  }
348
354
  if (config.organization) {
349
- process.env[`${prefix}ORGANIZATION`] = config.organization;
355
+ if (typeof config.organization === "string") {
356
+ process.env[`${prefix}ORG`] = config.organization;
357
+ process.env[`${prefix}ORG_NAME`] = config.organization;
358
+ process.env[`${prefix}ORGANIZATION`] = config.organization;
359
+ process.env[`${prefix}ORGANIZATION_NAME`] = config.organization;
360
+ } else {
361
+ process.env[`${prefix}ORG`] = config.organization.name;
362
+ process.env[`${prefix}ORG_NAME`] = config.organization.name;
363
+ process.env[`${prefix}ORGANIZATION`] = config.organization.name;
364
+ process.env[`${prefix}ORGANIZATION_NAME`] = config.organization.name;
365
+ if (config.organization.url) {
366
+ process.env[`${prefix}ORG_URL`] = config.organization.url;
367
+ process.env[`${prefix}ORGANIZATION_URL`] = config.organization.url;
368
+ }
369
+ if (config.organization.description) {
370
+ process.env[`${prefix}ORG_DESCRIPTION`] = config.organization.description;
371
+ process.env[`${prefix}ORGANIZATION_DESCRIPTION`] = config.organization.description;
372
+ }
373
+ if (config.organization.logo) {
374
+ process.env[`${prefix}ORG_LOGO`] = config.organization.logo;
375
+ process.env[`${prefix}ORGANIZATION_LOGO`] = config.organization.logo;
376
+ }
377
+ if (config.organization.icon) {
378
+ process.env[`${prefix}ORG_ICON`] = config.organization.icon;
379
+ process.env[`${prefix}ORGANIZATION_ICON`] = config.organization.icon;
380
+ }
381
+ }
350
382
  }
351
383
  if (config.packageManager) {
352
384
  process.env[`${prefix}PACKAGE_MANAGER`] = config.packageManager;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generator_default
3
- } from "./chunk-5L5XPSOK.mjs";
3
+ } from "./chunk-LVA3TEJC.mjs";
4
4
  import {
5
5
  getConfig
6
- } from "./chunk-IPQFZI7C.mjs";
6
+ } from "./chunk-5WE4TNLQ.mjs";
7
7
  import {
8
8
  findWorkspaceRoot,
9
9
  getStopwatch,
@@ -12,7 +12,7 @@ import {
12
12
  writeFatal,
13
13
  writeInfo,
14
14
  writeTrace
15
- } from "./chunk-E2ZPWAPC.mjs";
15
+ } from "./chunk-GGWEYZ6F.mjs";
16
16
  import {
17
17
  __dirname
18
18
  } from "./chunk-B7N6WOYD.mjs";
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  getConfig,
7
7
  getWorkspaceConfig
8
- } from "./chunk-IPQFZI7C.mjs";
8
+ } from "./chunk-5WE4TNLQ.mjs";
9
9
  import {
10
10
  findWorkspaceRoot,
11
11
  formatLogMessage,
@@ -19,7 +19,7 @@ import {
19
19
  writeSuccess,
20
20
  writeTrace,
21
21
  writeWarning
22
- } from "./chunk-E2ZPWAPC.mjs";
22
+ } from "./chunk-GGWEYZ6F.mjs";
23
23
  import {
24
24
  __dirname,
25
25
  __require
@@ -1638,7 +1638,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1638
1638
  addProjectConfiguration(tree, normalized.name, projectConfig);
1639
1639
  let repository = {
1640
1640
  type: "github",
1641
- url: config?.repository || `https://github.com/${config?.organization || "storm-software"}/${config?.namespace || config?.name || "repository"}.git`
1641
+ url: config?.repository || `https://github.com/${(typeof config?.organization === "string" ? config?.organization : config?.organization?.name) || "storm-software"}/${config?.namespace || config?.name || "repository"}.git`
1642
1642
  };
1643
1643
  let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
1644
1644
  if (tree.exists("package.json")) {
@@ -15,7 +15,7 @@
15
15
 
16
16
 
17
17
 
18
- var _chunk5ENKRUAUjs = require('./chunk-5ENKRUAU.js');
18
+ var _chunkLR64JTPCjs = require('./chunk-LR64JTPC.js');
19
19
 
20
20
  // ../config-tools/src/create-storm-config.ts
21
21
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
@@ -24,7 +24,7 @@ var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
24
24
  var _c12 = require('c12');
25
25
 
26
26
  var getConfigFileByName = async (fileName, filePath, options = {}) => {
27
- const workspacePath = filePath || _chunk5ENKRUAUjs.findWorkspaceRoot.call(void 0, filePath);
27
+ const workspacePath = filePath || _chunkLR64JTPCjs.findWorkspaceRoot.call(void 0, filePath);
28
28
  const configs = await Promise.all([
29
29
  _c12.loadConfig.call(void 0, {
30
30
  cwd: workspacePath,
@@ -33,7 +33,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
33
33
  envName: _optionalChain([fileName, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]),
34
34
  jitiOptions: {
35
35
  debug: false,
36
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunk5ENKRUAUjs.joinPaths.call(void 0,
36
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkLR64JTPCjs.joinPaths.call(void 0,
37
37
  process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
38
38
  "jiti"
39
39
  )
@@ -47,7 +47,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
47
47
  envName: _optionalChain([fileName, 'optionalAccess', _3 => _3.toUpperCase, 'call', _4 => _4()]),
48
48
  jitiOptions: {
49
49
  debug: false,
50
- fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunk5ENKRUAUjs.joinPaths.call(void 0,
50
+ fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkLR64JTPCjs.joinPaths.call(void 0,
51
51
  process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
52
52
  "jiti"
53
53
  )
@@ -59,12 +59,12 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
59
59
  return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
60
60
  };
61
61
  var getConfigFile = async (filePath, additionalFileNames = []) => {
62
- const workspacePath = filePath ? filePath : _chunk5ENKRUAUjs.findWorkspaceRoot.call(void 0, filePath);
62
+ const workspacePath = filePath ? filePath : _chunkLR64JTPCjs.findWorkspaceRoot.call(void 0, filePath);
63
63
  const result = await getConfigFileByName("storm-workspace", workspacePath);
64
64
  let config = result.config;
65
65
  const configFile = result.configFile;
66
66
  if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
67
- _chunk5ENKRUAUjs.writeTrace.call(void 0,
67
+ _chunkLR64JTPCjs.writeTrace.call(void 0,
68
68
  `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
69
69
  {
70
70
  logLevel: "all"
@@ -80,7 +80,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
80
80
  for (const result2 of results) {
81
81
  if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
82
82
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
83
- _chunk5ENKRUAUjs.writeTrace.call(void 0,
83
+ _chunkLR64JTPCjs.writeTrace.call(void 0,
84
84
  `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
85
85
  {
86
86
  logLevel: "all"
@@ -139,7 +139,13 @@ var getConfigEnv = () => {
139
139
  medium: process.env[`${prefix}ACCOUNT_MEDIUM`] || void 0,
140
140
  github: process.env[`${prefix}ACCOUNT_GITHUB`] || void 0
141
141
  },
142
- organization: process.env[`${prefix}ORGANIZATION`] || void 0,
142
+ organization: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`] ? process.env[`${prefix}ORG_DESCRIPTION`] || process.env[`${prefix}ORGANIZATION_DESCRIPTION`] || process.env[`${prefix}ORG_URL`] || process.env[`${prefix}ORGANIZATION_URL`] || process.env[`${prefix}ORG_LOGO`] || process.env[`${prefix}ORGANIZATION_LOGO`] ? {
143
+ name: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`],
144
+ description: process.env[`${prefix}ORG_DESCRIPTION`] || process.env[`${prefix}ORGANIZATION_DESCRIPTION`] || void 0,
145
+ url: process.env[`${prefix}ORG_URL`] || process.env[`${prefix}ORGANIZATION_URL`] || void 0,
146
+ logo: process.env[`${prefix}ORG_LOGO`] || process.env[`${prefix}ORGANIZATION_LOGO`] || void 0,
147
+ icon: process.env[`${prefix}ORG_ICON`] || process.env[`${prefix}ORGANIZATION_ICON`] || void 0
148
+ } : process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`] : void 0,
143
149
  packageManager: process.env[`${prefix}PACKAGE_MANAGER`] || void 0,
144
150
  license: process.env[`${prefix}LICENSE`] || void 0,
145
151
  homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
@@ -150,15 +156,15 @@ var getConfigEnv = () => {
150
156
  support: process.env[`${prefix}SUPPORT`] || void 0,
151
157
  timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
152
158
  locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
153
- configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunk5ENKRUAUjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
154
- workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunk5ENKRUAUjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
159
+ configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkLR64JTPCjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
160
+ workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkLR64JTPCjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
155
161
  directories: {
156
- cache: process.env[`${prefix}CACHE_DIR`] ? _chunk5ENKRUAUjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunk5ENKRUAUjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
157
- data: process.env[`${prefix}DATA_DIR`] ? _chunk5ENKRUAUjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunk5ENKRUAUjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
158
- config: process.env[`${prefix}CONFIG_DIR`] ? _chunk5ENKRUAUjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunk5ENKRUAUjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
159
- temp: process.env[`${prefix}TEMP_DIR`] ? _chunk5ENKRUAUjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunk5ENKRUAUjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
160
- log: process.env[`${prefix}LOG_DIR`] ? _chunk5ENKRUAUjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunk5ENKRUAUjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
161
- build: process.env[`${prefix}BUILD_DIR`] ? _chunk5ENKRUAUjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunk5ENKRUAUjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
162
+ cache: process.env[`${prefix}CACHE_DIR`] ? _chunkLR64JTPCjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkLR64JTPCjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
163
+ data: process.env[`${prefix}DATA_DIR`] ? _chunkLR64JTPCjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkLR64JTPCjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
164
+ config: process.env[`${prefix}CONFIG_DIR`] ? _chunkLR64JTPCjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkLR64JTPCjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
165
+ temp: process.env[`${prefix}TEMP_DIR`] ? _chunkLR64JTPCjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkLR64JTPCjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
166
+ log: process.env[`${prefix}LOG_DIR`] ? _chunkLR64JTPCjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkLR64JTPCjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
167
+ build: process.env[`${prefix}BUILD_DIR`] ? _chunkLR64JTPCjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkLR64JTPCjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
162
168
  },
163
169
  skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
164
170
  mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
@@ -183,13 +189,13 @@ var getConfigEnv = () => {
183
189
  },
184
190
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
185
191
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
186
- ) ? _chunk5ENKRUAUjs.getLogLevelLabel.call(void 0,
192
+ ) ? _chunkLR64JTPCjs.getLogLevelLabel.call(void 0,
187
193
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
188
194
  ) : process.env[`${prefix}LOG_LEVEL`] : void 0,
189
195
  skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
190
196
  };
191
197
  const themeNames = Object.keys(process.env).filter(
192
- (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunk5ENKRUAUjs.COLOR_KEYS.every(
198
+ (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkLR64JTPCjs.COLOR_KEYS.every(
193
199
  (colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
194
200
  )
195
201
  );
@@ -200,16 +206,16 @@ var getConfigEnv = () => {
200
206
  },
201
207
  {}
202
208
  ) : getThemeColorConfigEnv(prefix);
203
- if (config.docs === _chunk5ENKRUAUjs.STORM_DEFAULT_DOCS) {
204
- if (config.homepage === _chunk5ENKRUAUjs.STORM_DEFAULT_HOMEPAGE) {
205
- config.docs = `${_chunk5ENKRUAUjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
209
+ if (config.docs === _chunkLR64JTPCjs.STORM_DEFAULT_DOCS) {
210
+ if (config.homepage === _chunkLR64JTPCjs.STORM_DEFAULT_HOMEPAGE) {
211
+ config.docs = `${_chunkLR64JTPCjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
206
212
  } else {
207
213
  config.docs = `${config.homepage}/docs`;
208
214
  }
209
215
  }
210
- if (config.licensing === _chunk5ENKRUAUjs.STORM_DEFAULT_LICENSING) {
211
- if (config.homepage === _chunk5ENKRUAUjs.STORM_DEFAULT_HOMEPAGE) {
212
- config.licensing = `${_chunk5ENKRUAUjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
216
+ if (config.licensing === _chunkLR64JTPCjs.STORM_DEFAULT_LICENSING) {
217
+ if (config.homepage === _chunkLR64JTPCjs.STORM_DEFAULT_HOMEPAGE) {
218
+ config.licensing = `${_chunkLR64JTPCjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
213
219
  } else {
214
220
  config.licensing = `${config.homepage}/docs`;
215
221
  }
@@ -346,7 +352,33 @@ var setConfigEnv = (config) => {
346
352
  }
347
353
  }
348
354
  if (config.organization) {
349
- process.env[`${prefix}ORGANIZATION`] = config.organization;
355
+ if (typeof config.organization === "string") {
356
+ process.env[`${prefix}ORG`] = config.organization;
357
+ process.env[`${prefix}ORG_NAME`] = config.organization;
358
+ process.env[`${prefix}ORGANIZATION`] = config.organization;
359
+ process.env[`${prefix}ORGANIZATION_NAME`] = config.organization;
360
+ } else {
361
+ process.env[`${prefix}ORG`] = config.organization.name;
362
+ process.env[`${prefix}ORG_NAME`] = config.organization.name;
363
+ process.env[`${prefix}ORGANIZATION`] = config.organization.name;
364
+ process.env[`${prefix}ORGANIZATION_NAME`] = config.organization.name;
365
+ if (config.organization.url) {
366
+ process.env[`${prefix}ORG_URL`] = config.organization.url;
367
+ process.env[`${prefix}ORGANIZATION_URL`] = config.organization.url;
368
+ }
369
+ if (config.organization.description) {
370
+ process.env[`${prefix}ORG_DESCRIPTION`] = config.organization.description;
371
+ process.env[`${prefix}ORGANIZATION_DESCRIPTION`] = config.organization.description;
372
+ }
373
+ if (config.organization.logo) {
374
+ process.env[`${prefix}ORG_LOGO`] = config.organization.logo;
375
+ process.env[`${prefix}ORGANIZATION_LOGO`] = config.organization.logo;
376
+ }
377
+ if (config.organization.icon) {
378
+ process.env[`${prefix}ORG_ICON`] = config.organization.icon;
379
+ process.env[`${prefix}ORGANIZATION_ICON`] = config.organization.icon;
380
+ }
381
+ }
350
382
  }
351
383
  if (config.packageManager) {
352
384
  process.env[`${prefix}PACKAGE_MANAGER`] = config.packageManager;
@@ -384,40 +416,40 @@ var setConfigEnv = (config) => {
384
416
  process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
385
417
  }
386
418
  if (config.configFile) {
387
- process.env[`${prefix}CONFIG_FILE`] = _chunk5ENKRUAUjs.correctPaths.call(void 0, config.configFile);
419
+ process.env[`${prefix}CONFIG_FILE`] = _chunkLR64JTPCjs.correctPaths.call(void 0, config.configFile);
388
420
  }
389
421
  if (config.workspaceRoot) {
390
- process.env[`${prefix}WORKSPACE_ROOT`] = _chunk5ENKRUAUjs.correctPaths.call(void 0, config.workspaceRoot);
391
- process.env.NX_WORKSPACE_ROOT = _chunk5ENKRUAUjs.correctPaths.call(void 0, config.workspaceRoot);
392
- process.env.NX_WORKSPACE_ROOT_PATH = _chunk5ENKRUAUjs.correctPaths.call(void 0, config.workspaceRoot);
422
+ process.env[`${prefix}WORKSPACE_ROOT`] = _chunkLR64JTPCjs.correctPaths.call(void 0, config.workspaceRoot);
423
+ process.env.NX_WORKSPACE_ROOT = _chunkLR64JTPCjs.correctPaths.call(void 0, config.workspaceRoot);
424
+ process.env.NX_WORKSPACE_ROOT_PATH = _chunkLR64JTPCjs.correctPaths.call(void 0, config.workspaceRoot);
393
425
  }
394
426
  if (config.directories) {
395
427
  if (!config.skipCache && config.directories.cache) {
396
- process.env[`${prefix}CACHE_DIR`] = _chunk5ENKRUAUjs.correctPaths.call(void 0,
428
+ process.env[`${prefix}CACHE_DIR`] = _chunkLR64JTPCjs.correctPaths.call(void 0,
397
429
  config.directories.cache
398
430
  );
399
431
  process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
400
432
  }
401
433
  if (config.directories.data) {
402
- process.env[`${prefix}DATA_DIR`] = _chunk5ENKRUAUjs.correctPaths.call(void 0, config.directories.data);
434
+ process.env[`${prefix}DATA_DIR`] = _chunkLR64JTPCjs.correctPaths.call(void 0, config.directories.data);
403
435
  process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
404
436
  }
405
437
  if (config.directories.config) {
406
- process.env[`${prefix}CONFIG_DIR`] = _chunk5ENKRUAUjs.correctPaths.call(void 0,
438
+ process.env[`${prefix}CONFIG_DIR`] = _chunkLR64JTPCjs.correctPaths.call(void 0,
407
439
  config.directories.config
408
440
  );
409
441
  process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
410
442
  }
411
443
  if (config.directories.temp) {
412
- process.env[`${prefix}TEMP_DIR`] = _chunk5ENKRUAUjs.correctPaths.call(void 0, config.directories.temp);
444
+ process.env[`${prefix}TEMP_DIR`] = _chunkLR64JTPCjs.correctPaths.call(void 0, config.directories.temp);
413
445
  process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
414
446
  }
415
447
  if (config.directories.log) {
416
- process.env[`${prefix}LOG_DIR`] = _chunk5ENKRUAUjs.correctPaths.call(void 0, config.directories.log);
448
+ process.env[`${prefix}LOG_DIR`] = _chunkLR64JTPCjs.correctPaths.call(void 0, config.directories.log);
417
449
  process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
418
450
  }
419
451
  if (config.directories.build) {
420
- process.env[`${prefix}BUILD_DIR`] = _chunk5ENKRUAUjs.correctPaths.call(void 0,
452
+ process.env[`${prefix}BUILD_DIR`] = _chunkLR64JTPCjs.correctPaths.call(void 0,
421
453
  config.directories.build
422
454
  );
423
455
  process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
@@ -484,9 +516,9 @@ var setConfigEnv = (config) => {
484
516
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
485
517
  process.env.LOG_LEVEL = String(config.logLevel);
486
518
  process.env.NX_VERBOSE_LOGGING = String(
487
- _chunk5ENKRUAUjs.getLogLevel.call(void 0, config.logLevel) >= _chunk5ENKRUAUjs.LogLevel.DEBUG ? true : false
519
+ _chunkLR64JTPCjs.getLogLevel.call(void 0, config.logLevel) >= _chunkLR64JTPCjs.LogLevel.DEBUG ? true : false
488
520
  );
489
- process.env.RUST_BACKTRACE = _chunk5ENKRUAUjs.getLogLevel.call(void 0, config.logLevel) >= _chunk5ENKRUAUjs.LogLevel.DEBUG ? "full" : "none";
521
+ process.env.RUST_BACKTRACE = _chunkLR64JTPCjs.getLogLevel.call(void 0, config.logLevel) >= _chunkLR64JTPCjs.LogLevel.DEBUG ? "full" : "none";
490
522
  }
491
523
  if (config.skipConfigLogging !== void 0) {
492
524
  process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
@@ -606,13 +638,13 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
606
638
  if (!_optionalChain([_static_cache, 'optionalAccess', _29 => _29.data]) || !_optionalChain([_static_cache, 'optionalAccess', _30 => _30.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
607
639
  let _workspaceRoot = workspaceRoot;
608
640
  if (!_workspaceRoot) {
609
- _workspaceRoot = _chunk5ENKRUAUjs.findWorkspaceRoot.call(void 0, );
641
+ _workspaceRoot = _chunkLR64JTPCjs.findWorkspaceRoot.call(void 0, );
610
642
  }
611
643
  const configEnv = getConfigEnv();
612
644
  const configFile = await getConfigFile(_workspaceRoot);
613
645
  if (!configFile) {
614
646
  if (!skipLogs) {
615
- _chunk5ENKRUAUjs.writeWarning.call(void 0,
647
+ _chunkLR64JTPCjs.writeWarning.call(void 0,
616
648
  "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",
617
649
  { logLevel: "all" }
618
650
  );
@@ -621,9 +653,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
621
653
  return void 0;
622
654
  }
623
655
  }
624
- const defaultConfig = await _chunk5ENKRUAUjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
625
- result = _chunk5ENKRUAUjs.applyDefaultConfig.call(void 0,
626
- await _chunk5ENKRUAUjs.stormWorkspaceConfigSchema.parseAsync(
656
+ const defaultConfig = await _chunkLR64JTPCjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
657
+ result = _chunkLR64JTPCjs.applyDefaultConfig.call(void 0,
658
+ await _chunkLR64JTPCjs.stormWorkspaceConfigSchema.parseAsync(
627
659
  _defu2.default.call(void 0, configEnv, configFile, defaultConfig)
628
660
  )
629
661
  );
@@ -665,9 +697,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
665
697
  );
666
698
  setConfigEnv(config);
667
699
  if (!skipLogs && !config.skipConfigLogging) {
668
- _chunk5ENKRUAUjs.writeTrace.call(void 0,
700
+ _chunkLR64JTPCjs.writeTrace.call(void 0,
669
701
  `\u2699\uFE0F Using Storm Workspace configuration:
670
- ${_chunk5ENKRUAUjs.formatLogMessage.call(void 0, config)}`,
702
+ ${_chunkLR64JTPCjs.formatLogMessage.call(void 0, config)}`,
671
703
  config
672
704
  );
673
705
  }
@@ -681,7 +713,7 @@ var getConfig = (workspaceRoot, skipLogs = false) => {
681
713
  var getWorkspaceConfig = (skipLogs = true, options = {}) => {
682
714
  let workspaceRoot = options.workspaceRoot;
683
715
  if (!workspaceRoot) {
684
- workspaceRoot = _chunk5ENKRUAUjs.findWorkspaceRoot.call(void 0, options.cwd);
716
+ workspaceRoot = _chunkLR64JTPCjs.findWorkspaceRoot.call(void 0, options.cwd);
685
717
  }
686
718
  return getConfig(workspaceRoot, skipLogs);
687
719
  };
@@ -406,6 +406,15 @@ var errorConfigSchema = z.object({
406
406
  "A URL to a page that looks up the workspace's error messages given a specific error code"
407
407
  )
408
408
  }).describe("The workspace's error config used during the error process");
409
+ var organizationConfigSchema = z.object({
410
+ name: z.string().trim().describe("The name of the organization"),
411
+ description: z.string().trim().optional().describe("A description of the organization"),
412
+ logo: z.string().trim().url().optional().describe("A URL to the organization's logo image"),
413
+ icon: z.string().trim().url().optional().describe("A URL to the organization's icon image"),
414
+ url: z.string().trim().url().optional().describe(
415
+ "A URL to a page that provides more information about the organization"
416
+ )
417
+ }).describe("The workspace's organization details");
409
418
  var stormWorkspaceConfigSchema = z.object({
410
419
  $schema: z.string().trim().default(
411
420
  "https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json"
@@ -417,7 +426,9 @@ var stormWorkspaceConfigSchema = z.object({
417
426
  "The name of the service/package/scope using this configuration"
418
427
  ),
419
428
  namespace: z.string().trim().toLowerCase().optional().describe("The namespace of the package"),
420
- organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
429
+ organization: organizationConfigSchema.or(z.string().trim().describe("The organization of the workspace")).optional().describe(
430
+ "The organization of the workspace. This can be a string or an object containing the organization's details"
431
+ ),
421
432
  repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
422
433
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
423
434
  homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
@@ -1,21 +1,21 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkDTL2T3BPjs = require('./chunk-DTL2T3BP.js');
4
+ var _chunkWT7TBR2Cjs = require('./chunk-WT7TBR2C.js');
5
5
 
6
6
 
7
7
 
8
8
  var _chunkKTFMIXUNjs = require('./chunk-KTFMIXUN.js');
9
9
 
10
10
 
11
- var _chunk46LEVY35js = require('./chunk-46LEVY35.js');
11
+ var _chunkEDVXAHJBjs = require('./chunk-EDVXAHJB.js');
12
12
 
13
13
 
14
14
 
15
15
 
16
16
 
17
17
 
18
- var _chunk5ENKRUAUjs = require('./chunk-5ENKRUAU.js');
18
+ var _chunkLR64JTPCjs = require('./chunk-LR64JTPC.js');
19
19
 
20
20
  // src/executors/r2-upload-publish/executor.ts
21
21
  var _clients3 = require('@aws-sdk/client-s3');
@@ -39,8 +39,8 @@ async function runExecutor(options, context) {
39
39
  throw new Error("The executor requires projectsConfigurations.");
40
40
  }
41
41
  try {
42
- const workspaceRoot = _chunk5ENKRUAUjs.findWorkspaceRoot.call(void 0, );
43
- const config = await _chunk46LEVY35js.getConfig.call(void 0, workspaceRoot);
42
+ const workspaceRoot = _chunkLR64JTPCjs.findWorkspaceRoot.call(void 0, );
43
+ const config = await _chunkEDVXAHJBjs.getConfig.call(void 0, workspaceRoot);
44
44
  const sourceRoot = _nullishCoalesce(_optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.sourceRoot]), () => ( workspaceRoot));
45
45
  const projectName = _nullishCoalesce(_optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.name]), () => ( context.projectName));
46
46
  const projectDetails = _chunkKTFMIXUNjs.getPackageInfo.call(void 0,
@@ -79,7 +79,7 @@ async function runExecutor(options, context) {
79
79
  "The executor failed because the project graph is not available. Please run the build command again."
80
80
  );
81
81
  }
82
- _chunk5ENKRUAUjs.writeInfo.call(void 0,
82
+ _chunkLR64JTPCjs.writeInfo.call(void 0,
83
83
  `Publishing ${context.projectName} to the Storm Registry at ${endpoint}`
84
84
  );
85
85
  const s3Client = new (0, _clients3.S3)({
@@ -91,12 +91,12 @@ async function runExecutor(options, context) {
91
91
  }
92
92
  });
93
93
  const version = _optionalChain([projectDetails, 'access', _18 => _18.content, 'optionalAccess', _19 => _19.version]);
94
- _chunk5ENKRUAUjs.writeInfo.call(void 0, `Generated component version: ${version}`);
94
+ _chunkLR64JTPCjs.writeInfo.call(void 0, `Generated component version: ${version}`);
95
95
  const files = await _glob.glob.call(void 0, _devkit.joinPathFragments.call(void 0, sourceRoot, "**/*"), {
96
96
  ignore: "**/{*.stories.tsx,*.stories.ts,*.spec.tsx,*.spec.ts}"
97
97
  });
98
98
  const projectPath = `registry/${context.projectName}`;
99
- const internalDependencies = await _chunkDTL2T3BPjs.getInternalDependencies.call(void 0,
99
+ const internalDependencies = await _chunkWT7TBR2Cjs.getInternalDependencies.call(void 0,
100
100
  context.projectName,
101
101
  projectGraph
102
102
  );
@@ -109,14 +109,14 @@ async function runExecutor(options, context) {
109
109
  return ret;
110
110
  }, _nullishCoalesce(projectDetails.content.dependencies, () => ( {})));
111
111
  const release = _nullishCoalesce(options.tag, () => ( _child_process.execSync.call(void 0, "npm config get tag").toString().trim()));
112
- _chunk5ENKRUAUjs.writeInfo.call(void 0, `Clearing out existing items in ${projectPath}`);
112
+ _chunkLR64JTPCjs.writeInfo.call(void 0, `Clearing out existing items in ${projectPath}`);
113
113
  if (!isDryRun) {
114
114
  const response = await s3Client.listObjects({
115
115
  Bucket: options.bucketId,
116
116
  Prefix: projectPath
117
117
  });
118
118
  if (_optionalChain([response, 'optionalAccess', _20 => _20.Contents]) && response.Contents.length > 0) {
119
- _chunk5ENKRUAUjs.writeDebug.call(void 0,
119
+ _chunkLR64JTPCjs.writeDebug.call(void 0,
120
120
  `Deleting the following existing items from the component registry: ${response.Contents.map((item) => item.Key).join(", ")}`
121
121
  );
122
122
  await Promise.all(
@@ -135,12 +135,12 @@ async function runExecutor(options, context) {
135
135
  )
136
136
  );
137
137
  } else {
138
- _chunk5ENKRUAUjs.writeDebug.call(void 0,
138
+ _chunkLR64JTPCjs.writeDebug.call(void 0,
139
139
  `No existing items to delete in the component registry path ${projectPath}`
140
140
  );
141
141
  }
142
142
  } else {
143
- _chunk5ENKRUAUjs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
143
+ _chunkLR64JTPCjs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
144
144
  }
145
145
  const meta = {
146
146
  name: context.projectName,
@@ -158,9 +158,9 @@ async function runExecutor(options, context) {
158
158
  meta.devDependencies = projectDetails.content.devDependencies;
159
159
  }
160
160
  const metaJson = JSON.stringify(meta);
161
- _chunk5ENKRUAUjs.writeInfo.call(void 0, `Generating meta.json file:
161
+ _chunkLR64JTPCjs.writeInfo.call(void 0, `Generating meta.json file:
162
162
  ${metaJson}`);
163
- await _chunkDTL2T3BPjs.r2UploadFile.call(void 0,
163
+ await _chunkWT7TBR2Cjs.r2UploadFile.call(void 0,
164
164
  s3Client,
165
165
  options.bucketId,
166
166
  projectPath,
@@ -174,7 +174,7 @@ ${metaJson}`);
174
174
  files.map((file) => {
175
175
  const fileName = file.replaceAll("\\", "/").replace(sourceRoot.replaceAll("\\", "/"), "");
176
176
  return _promises.readFile.call(void 0, file, { encoding: "utf8" }).then(
177
- (fileContent) => _chunkDTL2T3BPjs.r2UploadFile.call(void 0,
177
+ (fileContent) => _chunkWT7TBR2Cjs.r2UploadFile.call(void 0,
178
178
  s3Client,
179
179
  options.bucketId,
180
180
  projectPath,
@@ -187,7 +187,7 @@ ${metaJson}`);
187
187
  );
188
188
  })
189
189
  );
190
- _chunk5ENKRUAUjs.writeSuccess.call(void 0,
190
+ _chunkLR64JTPCjs.writeSuccess.call(void 0,
191
191
  `Successfully uploaded the ${projectName} component to the Cyclone Registry`,
192
192
  config
193
193
  );