@storm-software/cloudflare-tools 0.63.33 → 0.63.35
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 +14 -0
- package/README.md +1 -1
- package/dist/{chunk-3ABSELN3.js → chunk-6UIEOKYN.js} +63 -69
- package/dist/{chunk-POEVQ725.mjs → chunk-A2DHPPIE.mjs} +3 -3
- package/dist/{chunk-4XXUCUVI.js → chunk-C7KE3V74.js} +3 -3
- package/dist/{chunk-WYGILGLB.mjs → chunk-K3TXQOVH.mjs} +1 -1
- package/dist/{chunk-B4PXKLXT.js → chunk-LHSBOOCB.js} +2 -2
- package/dist/{chunk-X7RDEX3N.js → chunk-LRIQCDEB.js} +12 -12
- package/dist/{chunk-6H6MKZQ7.mjs → chunk-M2TJV5QX.mjs} +4 -4
- package/dist/{chunk-NELBCV2E.mjs → chunk-M5XUHFCS.mjs} +3 -3
- package/dist/{chunk-XMF3FE4S.js → chunk-MIU47PPG.js} +17 -20
- package/dist/{chunk-GL2G4SRT.mjs → chunk-OELEFRTT.mjs} +3 -3
- package/dist/{chunk-FL6L3SDK.mjs → chunk-OPEKNIHF.mjs} +1 -1
- package/dist/{chunk-FAIKXYDC.js → chunk-RNMAH525.js} +16 -16
- package/dist/{chunk-QFA6RHCR.mjs → chunk-VZKF4MGJ.mjs} +17 -20
- package/dist/{chunk-7MM6WLI6.js → chunk-WRZZX6ZT.js} +117 -117
- package/dist/{chunk-YRYNQ5UK.mjs → chunk-Y6O475G7.mjs} +1 -1
- package/dist/{chunk-7CXH5XWJ.mjs → chunk-Z4IZ3XJO.mjs} +21 -27
- package/dist/executors.js +5 -5
- package/dist/executors.mjs +7 -7
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +5 -5
- package/dist/index.js +8 -8
- package/dist/index.mjs +9 -9
- package/dist/src/executors/cloudflare-publish/executor.js +3 -3
- package/dist/src/executors/cloudflare-publish/executor.mjs +5 -5
- package/dist/src/executors/r2-upload-publish/executor.js +5 -5
- package/dist/src/executors/r2-upload-publish/executor.mjs +5 -5
- package/dist/src/executors/serve/executor.js +4 -4
- package/dist/src/executors/serve/executor.mjs +4 -4
- package/dist/src/generators/init/generator.js +2 -2
- package/dist/src/generators/init/generator.mjs +2 -2
- package/dist/src/generators/worker/generator.js +5 -5
- package/dist/src/generators/worker/generator.mjs +5 -5
- package/dist/src/utils/index.js +3 -3
- package/dist/src/utils/index.mjs +3 -3
- package/dist/src/utils/r2-bucket-helpers.js +3 -3
- package/dist/src/utils/r2-bucket-helpers.mjs +3 -3
- package/dist/tsup.config.mjs +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Cloudflare Tools
|
|
4
4
|
|
|
5
|
+
## [0.63.34](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.34) (2025-07-02)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([a606340bb](https://github.com/storm-software/storm-ops/commit/a606340bb))
|
|
11
|
+
|
|
12
|
+
## [0.63.33](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.33) (2025-06-29)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **monorepo:** Regenerate README markdown files
|
|
17
|
+
([0d0461a4d](https://github.com/storm-software/storm-ops/commit/0d0461a4d))
|
|
18
|
+
|
|
5
19
|
## [0.63.32](https://github.com/storm-software/storm-ops/releases/tag/cloudflare-tools%400.63.32) (2025-06-27)
|
|
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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkMIU47PPGjs = require('./chunk-MIU47PPG.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 ||
|
|
27
|
+
const workspacePath = filePath || _chunkMIU47PPGjs.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 :
|
|
36
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkMIU47PPGjs.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 :
|
|
50
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkMIU47PPGjs.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 :
|
|
62
|
+
const workspacePath = filePath ? filePath : _chunkMIU47PPGjs.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
|
-
|
|
67
|
+
_chunkMIU47PPGjs.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
|
-
|
|
83
|
+
_chunkMIU47PPGjs.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"
|
|
@@ -131,13 +131,13 @@ var getConfigEnv = () => {
|
|
|
131
131
|
codesFile: process.env[`${prefix}ERROR_CODES_FILE`] || void 0,
|
|
132
132
|
url: process.env[`${prefix}ERROR_URL`] || void 0
|
|
133
133
|
},
|
|
134
|
-
|
|
135
|
-
twitter: process.env[`${prefix}
|
|
136
|
-
discord: process.env[`${prefix}
|
|
137
|
-
telegram: process.env[`${prefix}
|
|
138
|
-
slack: process.env[`${prefix}
|
|
139
|
-
medium: process.env[`${prefix}
|
|
140
|
-
github: process.env[`${prefix}
|
|
134
|
+
socials: {
|
|
135
|
+
twitter: process.env[`${prefix}SOCIAL_TWITTER`] || void 0,
|
|
136
|
+
discord: process.env[`${prefix}SOCIAL_DISCORD`] || void 0,
|
|
137
|
+
telegram: process.env[`${prefix}SOCIAL_TELEGRAM`] || void 0,
|
|
138
|
+
slack: process.env[`${prefix}SOCIAL_SLACK`] || void 0,
|
|
139
|
+
medium: process.env[`${prefix}SOCIAL_MEDIUM`] || void 0,
|
|
140
|
+
github: process.env[`${prefix}SOCIAL_GITHUB`] || void 0
|
|
141
141
|
},
|
|
142
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
143
|
name: process.env[`${prefix}ORG`] || process.env[`${prefix}ORGANIZATION`] || process.env[`${prefix}ORG_NAME`] || process.env[`${prefix}ORGANIZATION_NAME`],
|
|
@@ -156,15 +156,15 @@ var getConfigEnv = () => {
|
|
|
156
156
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
157
157
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
158
158
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
159
|
-
configFile: process.env[`${prefix}CONFIG_FILE`] ?
|
|
160
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
159
|
+
configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkMIU47PPGjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
|
|
160
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkMIU47PPGjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
161
161
|
directories: {
|
|
162
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
163
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
164
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
165
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
166
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
167
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
162
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkMIU47PPGjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkMIU47PPGjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
163
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkMIU47PPGjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkMIU47PPGjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
164
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkMIU47PPGjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkMIU47PPGjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
165
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkMIU47PPGjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkMIU47PPGjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
166
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkMIU47PPGjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkMIU47PPGjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
167
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkMIU47PPGjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkMIU47PPGjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
|
|
168
168
|
},
|
|
169
169
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
170
170
|
mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -179,7 +179,6 @@ var getConfigEnv = () => {
|
|
|
179
179
|
repository: process.env[`${prefix}REPOSITORY`] || void 0,
|
|
180
180
|
branch: process.env[`${prefix}BRANCH`] || void 0,
|
|
181
181
|
preid: process.env[`${prefix}PRE_ID`] || void 0,
|
|
182
|
-
externalPackagePatterns: process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] ? JSON.parse(process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`]) : [],
|
|
183
182
|
registry: {
|
|
184
183
|
github: process.env[`${prefix}REGISTRY_GITHUB`] || void 0,
|
|
185
184
|
npm: process.env[`${prefix}REGISTRY_NPM`] || void 0,
|
|
@@ -189,13 +188,13 @@ var getConfigEnv = () => {
|
|
|
189
188
|
},
|
|
190
189
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
191
190
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
192
|
-
) ?
|
|
191
|
+
) ? _chunkMIU47PPGjs.getLogLevelLabel.call(void 0,
|
|
193
192
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
194
193
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
195
194
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
196
195
|
};
|
|
197
196
|
const themeNames = Object.keys(process.env).filter(
|
|
198
|
-
(envKey) => envKey.startsWith(`${prefix}COLOR_`) &&
|
|
197
|
+
(envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkMIU47PPGjs.COLOR_KEYS.every(
|
|
199
198
|
(colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
|
|
200
199
|
)
|
|
201
200
|
);
|
|
@@ -206,16 +205,16 @@ var getConfigEnv = () => {
|
|
|
206
205
|
},
|
|
207
206
|
{}
|
|
208
207
|
) : getThemeColorConfigEnv(prefix);
|
|
209
|
-
if (config.docs ===
|
|
210
|
-
if (config.homepage ===
|
|
211
|
-
config.docs = `${
|
|
208
|
+
if (config.docs === _chunkMIU47PPGjs.STORM_DEFAULT_DOCS) {
|
|
209
|
+
if (config.homepage === _chunkMIU47PPGjs.STORM_DEFAULT_HOMEPAGE) {
|
|
210
|
+
config.docs = `${_chunkMIU47PPGjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
|
|
212
211
|
} else {
|
|
213
212
|
config.docs = `${config.homepage}/docs`;
|
|
214
213
|
}
|
|
215
214
|
}
|
|
216
|
-
if (config.licensing ===
|
|
217
|
-
if (config.homepage ===
|
|
218
|
-
config.licensing = `${
|
|
215
|
+
if (config.licensing === _chunkMIU47PPGjs.STORM_DEFAULT_LICENSING) {
|
|
216
|
+
if (config.homepage === _chunkMIU47PPGjs.STORM_DEFAULT_HOMEPAGE) {
|
|
217
|
+
config.licensing = `${_chunkMIU47PPGjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
|
|
219
218
|
} else {
|
|
220
219
|
config.licensing = `${config.homepage}/docs`;
|
|
221
220
|
}
|
|
@@ -331,24 +330,24 @@ var setConfigEnv = (config) => {
|
|
|
331
330
|
process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
|
|
332
331
|
process.env[`${prefix}RELEASE_FOOTER`] = config.release.footer;
|
|
333
332
|
}
|
|
334
|
-
if (config.
|
|
335
|
-
if (config.
|
|
336
|
-
process.env[`${prefix}
|
|
333
|
+
if (config.socials) {
|
|
334
|
+
if (config.socials.twitter) {
|
|
335
|
+
process.env[`${prefix}SOCIAL_TWITTER`] = config.socials.twitter;
|
|
337
336
|
}
|
|
338
|
-
if (config.
|
|
339
|
-
process.env[`${prefix}
|
|
337
|
+
if (config.socials.discord) {
|
|
338
|
+
process.env[`${prefix}SOCIAL_DISCORD`] = config.socials.discord;
|
|
340
339
|
}
|
|
341
|
-
if (config.
|
|
342
|
-
process.env[`${prefix}
|
|
340
|
+
if (config.socials.telegram) {
|
|
341
|
+
process.env[`${prefix}SOCIAL_TELEGRAM`] = config.socials.telegram;
|
|
343
342
|
}
|
|
344
|
-
if (config.
|
|
345
|
-
process.env[`${prefix}
|
|
343
|
+
if (config.socials.slack) {
|
|
344
|
+
process.env[`${prefix}SOCIAL_SLACK`] = config.socials.slack;
|
|
346
345
|
}
|
|
347
|
-
if (config.
|
|
348
|
-
process.env[`${prefix}
|
|
346
|
+
if (config.socials.medium) {
|
|
347
|
+
process.env[`${prefix}SOCIAL_MEDIUM`] = config.socials.medium;
|
|
349
348
|
}
|
|
350
|
-
if (config.
|
|
351
|
-
process.env[`${prefix}
|
|
349
|
+
if (config.socials.github) {
|
|
350
|
+
process.env[`${prefix}SOCIAL_GITHUB`] = config.socials.github;
|
|
352
351
|
}
|
|
353
352
|
}
|
|
354
353
|
if (config.organization) {
|
|
@@ -416,40 +415,40 @@ var setConfigEnv = (config) => {
|
|
|
416
415
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
417
416
|
}
|
|
418
417
|
if (config.configFile) {
|
|
419
|
-
process.env[`${prefix}CONFIG_FILE`] =
|
|
418
|
+
process.env[`${prefix}CONFIG_FILE`] = _chunkMIU47PPGjs.correctPaths.call(void 0, config.configFile);
|
|
420
419
|
}
|
|
421
420
|
if (config.workspaceRoot) {
|
|
422
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
423
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
424
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
421
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkMIU47PPGjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
422
|
+
process.env.NX_WORKSPACE_ROOT = _chunkMIU47PPGjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
423
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkMIU47PPGjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
425
424
|
}
|
|
426
425
|
if (config.directories) {
|
|
427
426
|
if (!config.skipCache && config.directories.cache) {
|
|
428
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
427
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkMIU47PPGjs.correctPaths.call(void 0,
|
|
429
428
|
config.directories.cache
|
|
430
429
|
);
|
|
431
430
|
process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
|
|
432
431
|
}
|
|
433
432
|
if (config.directories.data) {
|
|
434
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
433
|
+
process.env[`${prefix}DATA_DIR`] = _chunkMIU47PPGjs.correctPaths.call(void 0, config.directories.data);
|
|
435
434
|
process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
|
|
436
435
|
}
|
|
437
436
|
if (config.directories.config) {
|
|
438
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
437
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkMIU47PPGjs.correctPaths.call(void 0,
|
|
439
438
|
config.directories.config
|
|
440
439
|
);
|
|
441
440
|
process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
|
|
442
441
|
}
|
|
443
442
|
if (config.directories.temp) {
|
|
444
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
443
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkMIU47PPGjs.correctPaths.call(void 0, config.directories.temp);
|
|
445
444
|
process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
|
|
446
445
|
}
|
|
447
446
|
if (config.directories.log) {
|
|
448
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
447
|
+
process.env[`${prefix}LOG_DIR`] = _chunkMIU47PPGjs.correctPaths.call(void 0, config.directories.log);
|
|
449
448
|
process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
|
|
450
449
|
}
|
|
451
450
|
if (config.directories.build) {
|
|
452
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
451
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkMIU47PPGjs.correctPaths.call(void 0,
|
|
453
452
|
config.directories.build
|
|
454
453
|
);
|
|
455
454
|
process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
|
|
@@ -486,11 +485,6 @@ var setConfigEnv = (config) => {
|
|
|
486
485
|
if (config.preid) {
|
|
487
486
|
process.env[`${prefix}PRE_ID`] = String(config.preid);
|
|
488
487
|
}
|
|
489
|
-
if (config.externalPackagePatterns) {
|
|
490
|
-
process.env[`${prefix}EXTERNAL_PACKAGE_PATTERNS`] = JSON.stringify(
|
|
491
|
-
config.externalPackagePatterns
|
|
492
|
-
);
|
|
493
|
-
}
|
|
494
488
|
if (config.registry) {
|
|
495
489
|
if (config.registry.github) {
|
|
496
490
|
process.env[`${prefix}REGISTRY_GITHUB`] = String(config.registry.github);
|
|
@@ -516,9 +510,9 @@ var setConfigEnv = (config) => {
|
|
|
516
510
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
517
511
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
518
512
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
519
|
-
|
|
513
|
+
_chunkMIU47PPGjs.getLogLevel.call(void 0, config.logLevel) >= _chunkMIU47PPGjs.LogLevel.DEBUG ? true : false
|
|
520
514
|
);
|
|
521
|
-
process.env.RUST_BACKTRACE =
|
|
515
|
+
process.env.RUST_BACKTRACE = _chunkMIU47PPGjs.getLogLevel.call(void 0, config.logLevel) >= _chunkMIU47PPGjs.LogLevel.DEBUG ? "full" : "none";
|
|
522
516
|
}
|
|
523
517
|
if (config.skipConfigLogging !== void 0) {
|
|
524
518
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -638,13 +632,13 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
638
632
|
if (!_optionalChain([_static_cache, 'optionalAccess', _29 => _29.data]) || !_optionalChain([_static_cache, 'optionalAccess', _30 => _30.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
|
|
639
633
|
let _workspaceRoot = workspaceRoot;
|
|
640
634
|
if (!_workspaceRoot) {
|
|
641
|
-
_workspaceRoot =
|
|
635
|
+
_workspaceRoot = _chunkMIU47PPGjs.findWorkspaceRoot.call(void 0, );
|
|
642
636
|
}
|
|
643
637
|
const configEnv = getConfigEnv();
|
|
644
638
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
645
639
|
if (!configFile) {
|
|
646
640
|
if (!skipLogs) {
|
|
647
|
-
|
|
641
|
+
_chunkMIU47PPGjs.writeWarning.call(void 0,
|
|
648
642
|
"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",
|
|
649
643
|
{ logLevel: "all" }
|
|
650
644
|
);
|
|
@@ -653,9 +647,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
653
647
|
return void 0;
|
|
654
648
|
}
|
|
655
649
|
}
|
|
656
|
-
const defaultConfig = await
|
|
657
|
-
result =
|
|
658
|
-
await
|
|
650
|
+
const defaultConfig = await _chunkMIU47PPGjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
|
|
651
|
+
result = _chunkMIU47PPGjs.applyDefaultConfig.call(void 0,
|
|
652
|
+
await _chunkMIU47PPGjs.stormWorkspaceConfigSchema.parseAsync(
|
|
659
653
|
_defu2.default.call(void 0, configEnv, configFile, defaultConfig)
|
|
660
654
|
)
|
|
661
655
|
);
|
|
@@ -697,9 +691,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
697
691
|
);
|
|
698
692
|
setConfigEnv(config);
|
|
699
693
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
700
|
-
|
|
694
|
+
_chunkMIU47PPGjs.writeTrace.call(void 0,
|
|
701
695
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
702
|
-
${
|
|
696
|
+
${_chunkMIU47PPGjs.formatLogMessage.call(void 0, config)}`,
|
|
703
697
|
config
|
|
704
698
|
);
|
|
705
699
|
}
|
|
@@ -713,7 +707,7 @@ var getConfig = (workspaceRoot, skipLogs = false) => {
|
|
|
713
707
|
var getWorkspaceConfig = (skipLogs = true, options = {}) => {
|
|
714
708
|
let workspaceRoot = options.workspaceRoot;
|
|
715
709
|
if (!workspaceRoot) {
|
|
716
|
-
workspaceRoot =
|
|
710
|
+
workspaceRoot = _chunkMIU47PPGjs.findWorkspaceRoot.call(void 0, options.cwd);
|
|
717
711
|
}
|
|
718
712
|
return getConfig(workspaceRoot, skipLogs);
|
|
719
713
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getInternalDependencies,
|
|
3
3
|
r2UploadFile
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-K3TXQOVH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createCliOptions,
|
|
7
7
|
getPackageInfo
|
|
8
8
|
} from "./chunk-PH3DHY4Q.mjs";
|
|
9
9
|
import {
|
|
10
10
|
getConfig
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Z4IZ3XJO.mjs";
|
|
12
12
|
import {
|
|
13
13
|
findWorkspaceRoot,
|
|
14
14
|
writeDebug,
|
|
15
15
|
writeInfo,
|
|
16
16
|
writeSuccess,
|
|
17
17
|
writeWarning
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VZKF4MGJ.mjs";
|
|
19
19
|
|
|
20
20
|
// src/executors/r2-upload-publish/executor.ts
|
|
21
21
|
import { S3 } from "@aws-sdk/client-s3";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkMIU47PPGjs = require('./chunk-MIU47PPG.js');
|
|
5
5
|
|
|
6
6
|
// src/utils/r2-bucket-helpers.ts
|
|
7
7
|
var _crypto = require('crypto');
|
|
8
8
|
var r2UploadFile = async (client, bucketName, projectPath, fileName, version, fileContent, contentType = "text/plain", isDryRun = false) => {
|
|
9
9
|
const checksum = _crypto.createHash.call(void 0, "sha256").update(fileContent).digest("base64");
|
|
10
10
|
const fileKey = `${projectPath}/${fileName.startsWith("/") ? fileName.substring(1) : fileName}`;
|
|
11
|
-
|
|
11
|
+
_chunkMIU47PPGjs.writeDebug.call(void 0, `Uploading file: ${fileKey}`);
|
|
12
12
|
if (!isDryRun) {
|
|
13
13
|
await client.putObject({
|
|
14
14
|
Bucket: bucketName,
|
|
@@ -21,7 +21,7 @@ var r2UploadFile = async (client, bucketName, projectPath, fileName, version, fi
|
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
23
|
} else {
|
|
24
|
-
|
|
24
|
+
_chunkMIU47PPGjs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
var getInternalDependencies = (projectName, graph) => {
|
|
@@ -7,7 +7,7 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
|
|
|
7
7
|
"package.json"(exports, module) {
|
|
8
8
|
module.exports = {
|
|
9
9
|
name: "@storm-software/cloudflare-tools",
|
|
10
|
-
version: "0.63.
|
|
10
|
+
version: "0.63.34",
|
|
11
11
|
description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
12
12
|
repository: {
|
|
13
13
|
type: "github",
|
|
@@ -175,7 +175,7 @@ var require_package = _chunkMCKGQKYUjs.__commonJS.call(void 0, {
|
|
|
175
175
|
nx: "catalog:",
|
|
176
176
|
tsup: "catalog:",
|
|
177
177
|
untyped: "catalog:",
|
|
178
|
-
wrangler: "^4.
|
|
178
|
+
wrangler: "^4.23.0"
|
|
179
179
|
},
|
|
180
180
|
publishConfig: {
|
|
181
181
|
access: "public"
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
-
var
|
|
3
|
+
var _chunkLHSBOOCBjs = require('./chunk-LHSBOOCB.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk6UIEOKYNjs = require('./chunk-6UIEOKYN.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@ var _chunk3ABSELN3js = require('./chunk-3ABSELN3.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkMIU47PPGjs = require('./chunk-MIU47PPG.js');
|
|
16
16
|
|
|
17
17
|
// src/generators/worker/generator.ts
|
|
18
18
|
|
|
@@ -45,20 +45,20 @@ var vitestScript = `"test": "vitest run"`;
|
|
|
45
45
|
|
|
46
46
|
// src/generators/worker/generator.ts
|
|
47
47
|
async function applicationGenerator(tree, schema) {
|
|
48
|
-
const stopwatch =
|
|
48
|
+
const stopwatch = _chunkMIU47PPGjs.getStopwatch.call(void 0, "Storm Worker generator");
|
|
49
49
|
let config;
|
|
50
50
|
try {
|
|
51
|
-
|
|
51
|
+
_chunkMIU47PPGjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
|
|
52
52
|
|
|
53
53
|
`, config);
|
|
54
|
-
const workspaceRoot =
|
|
55
|
-
|
|
54
|
+
const workspaceRoot = _chunkMIU47PPGjs.findWorkspaceRoot.call(void 0, );
|
|
55
|
+
_chunkMIU47PPGjs.writeDebug.call(void 0,
|
|
56
56
|
`Loading the Storm Config from environment variables and storm.json file...
|
|
57
57
|
- workspaceRoot: ${workspaceRoot}`,
|
|
58
58
|
config
|
|
59
59
|
);
|
|
60
|
-
config = await
|
|
61
|
-
|
|
60
|
+
config = await _chunk6UIEOKYNjs.getConfig.call(void 0, workspaceRoot);
|
|
61
|
+
_chunkMIU47PPGjs.writeTrace.call(void 0,
|
|
62
62
|
`Loaded Storm config into env:
|
|
63
63
|
${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[key])}`).join("\n")}`,
|
|
64
64
|
config
|
|
@@ -66,7 +66,7 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[
|
|
|
66
66
|
const options = await normalizeOptions(tree, schema, config);
|
|
67
67
|
const tasks = [];
|
|
68
68
|
tasks.push(
|
|
69
|
-
await
|
|
69
|
+
await _chunkLHSBOOCBjs.generator_default.call(void 0, tree, {
|
|
70
70
|
...options,
|
|
71
71
|
skipFormat: true
|
|
72
72
|
})
|
|
@@ -134,11 +134,11 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[
|
|
|
134
134
|
return _devkit.runTasksInSerial.call(void 0, ...tasks);
|
|
135
135
|
} catch (error) {
|
|
136
136
|
return () => {
|
|
137
|
-
|
|
137
|
+
_chunkMIU47PPGjs.writeFatal.call(void 0,
|
|
138
138
|
"A fatal error occurred while running the generator - the process was forced to terminate",
|
|
139
139
|
config
|
|
140
140
|
);
|
|
141
|
-
|
|
141
|
+
_chunkMIU47PPGjs.writeError.call(void 0,
|
|
142
142
|
`An exception was thrown in the generator's process
|
|
143
143
|
- Details: ${error.message}
|
|
144
144
|
- Stacktrace: ${error.stack}`,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generator_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-M5XUHFCS.mjs";
|
|
4
4
|
import {
|
|
5
5
|
getConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z4IZ3XJO.mjs";
|
|
7
7
|
import {
|
|
8
8
|
findWorkspaceRoot,
|
|
9
9
|
getStopwatch,
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
writeFatal,
|
|
13
13
|
writeInfo,
|
|
14
14
|
writeTrace
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VZKF4MGJ.mjs";
|
|
16
16
|
import {
|
|
17
17
|
__dirname
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OPEKNIHF.mjs";
|
|
19
19
|
|
|
20
20
|
// src/generators/worker/generator.ts
|
|
21
21
|
import {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__commonJS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OPEKNIHF.mjs";
|
|
4
4
|
|
|
5
5
|
// package.json
|
|
6
6
|
var require_package = __commonJS({
|
|
7
7
|
"package.json"(exports, module) {
|
|
8
8
|
module.exports = {
|
|
9
9
|
name: "@storm-software/cloudflare-tools",
|
|
10
|
-
version: "0.63.
|
|
10
|
+
version: "0.63.34",
|
|
11
11
|
description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
12
12
|
repository: {
|
|
13
13
|
type: "github",
|
|
@@ -175,7 +175,7 @@ var require_package = __commonJS({
|
|
|
175
175
|
nx: "catalog:",
|
|
176
176
|
tsup: "catalog:",
|
|
177
177
|
untyped: "catalog:",
|
|
178
|
-
wrangler: "^4.
|
|
178
|
+
wrangler: "^4.23.0"
|
|
179
179
|
},
|
|
180
180
|
publishConfig: {
|
|
181
181
|
access: "public"
|
|
@@ -243,24 +243,24 @@ var LogLevelLabel = {
|
|
|
243
243
|
};
|
|
244
244
|
|
|
245
245
|
// ../config/src/constants.ts
|
|
246
|
-
var STORM_DEFAULT_DOCS = "https://stormsoftware.com
|
|
246
|
+
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
247
247
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
248
248
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
249
249
|
var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
|
|
250
250
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
251
251
|
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
252
|
-
var
|
|
253
|
-
var
|
|
254
|
-
var
|
|
255
|
-
var
|
|
256
|
-
var
|
|
257
|
-
var
|
|
252
|
+
var STORM_DEFAULT_SOCIAL_TWITTER = "StormSoftwareHQ";
|
|
253
|
+
var STORM_DEFAULT_SOCIAL_DISCORD = "https://discord.gg/MQ6YVzakM5";
|
|
254
|
+
var STORM_DEFAULT_SOCIAL_TELEGRAM = "https://t.me/storm_software";
|
|
255
|
+
var STORM_DEFAULT_SOCIAL_SLACK = "https://join.slack.com/t/storm-software/shared_invite/zt-2gsmk04hs-i6yhK_r6urq0dkZYAwq2pA";
|
|
256
|
+
var STORM_DEFAULT_SOCIAL_MEDIUM = "https://medium.com/storm-software";
|
|
257
|
+
var STORM_DEFAULT_SOCIAL_GITHUB = "https://github.com/storm-software";
|
|
258
258
|
var STORM_DEFAULT_RELEASE_FOOTER = `
|
|
259
259
|
Storm Software is an open source software development organization with the mission is to make software development more accessible. Our ideal future is one where anyone can create software without years of prior development experience serving as a barrier to entry. We hope to achieve this via LLMs, Generative AI, and intuitive, high-level data modeling/programming languages.
|
|
260
260
|
|
|
261
|
-
Join us on [Discord](${
|
|
261
|
+
Join us on [Discord](${STORM_DEFAULT_SOCIAL_DISCORD}) to chat with the team, receive release notifications, ask questions, and get involved.
|
|
262
262
|
|
|
263
|
-
If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${STORM_DEFAULT_CONTACT}) or join our [Slack](${
|
|
263
|
+
If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${STORM_DEFAULT_CONTACT}) or join our [Slack](${STORM_DEFAULT_SOCIAL_SLACK}) channel!
|
|
264
264
|
`;
|
|
265
265
|
var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
266
266
|
|
|
@@ -374,13 +374,13 @@ var WorkspaceReleaseConfigSchema = z.object({
|
|
|
374
374
|
"A footer message appended to the end of the workspace's release notes"
|
|
375
375
|
)
|
|
376
376
|
}).describe("The workspace's release config used during the release process");
|
|
377
|
-
var
|
|
378
|
-
twitter: z.string().trim().default(
|
|
379
|
-
discord: z.string().trim().default(
|
|
380
|
-
telegram: z.string().trim().default(
|
|
381
|
-
slack: z.string().trim().default(
|
|
382
|
-
medium: z.string().trim().default(
|
|
383
|
-
github: z.string().trim().default(
|
|
377
|
+
var WorkspaceSocialsConfigSchema = z.object({
|
|
378
|
+
twitter: z.string().trim().default(STORM_DEFAULT_SOCIAL_TWITTER).describe("A Twitter/X account associated with the organization/project"),
|
|
379
|
+
discord: z.string().trim().default(STORM_DEFAULT_SOCIAL_DISCORD).describe("A Discord account associated with the organization/project"),
|
|
380
|
+
telegram: z.string().trim().default(STORM_DEFAULT_SOCIAL_TELEGRAM).describe("A Telegram account associated with the organization/project"),
|
|
381
|
+
slack: z.string().trim().default(STORM_DEFAULT_SOCIAL_SLACK).describe("A Slack account associated with the organization/project"),
|
|
382
|
+
medium: z.string().trim().default(STORM_DEFAULT_SOCIAL_MEDIUM).describe("A Medium account associated with the organization/project"),
|
|
383
|
+
github: z.string().trim().default(STORM_DEFAULT_SOCIAL_GITHUB).describe("A GitHub account associated with the organization/project")
|
|
384
384
|
}).describe(
|
|
385
385
|
"The workspace's account config used to store various social media links"
|
|
386
386
|
);
|
|
@@ -444,13 +444,10 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
444
444
|
owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
|
|
445
445
|
bot: WorkspaceBotConfigSchema,
|
|
446
446
|
release: WorkspaceReleaseConfigSchema,
|
|
447
|
-
|
|
447
|
+
socials: WorkspaceSocialsConfigSchema,
|
|
448
448
|
error: errorConfigSchema,
|
|
449
449
|
mode: z.enum(["development", "staging", "production"]).default("production").describe("The current runtime environment mode for the package"),
|
|
450
450
|
workspaceRoot: z.string().trim().describe("The root directory of the workspace"),
|
|
451
|
-
externalPackagePatterns: z.array(z.string()).default([]).describe(
|
|
452
|
-
"The build will use these package patterns to determine if they should be external to the bundle"
|
|
453
|
-
),
|
|
454
451
|
skipCache: z.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
|
|
455
452
|
directories: WorkspaceDirectoryConfigSchema,
|
|
456
453
|
packageManager: z.enum(["npm", "yarn", "pnpm", "bun"]).default("npm").describe(
|