@storm-software/cloudflare-tools 0.53.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/dist/{chunk-ISVNV2UX.mjs → chunk-3D3WO4IH.mjs} +15 -8
- package/dist/{chunk-TOEMUWVP.mjs → chunk-6H63LE3D.mjs} +1 -1
- package/dist/{chunk-42I5F5WI.mjs → chunk-BGWUN6JU.mjs} +3 -3
- package/dist/{chunk-AYOTXPQJ.mjs → chunk-EPJ3NXAN.mjs} +45 -92
- package/dist/{chunk-AZ4TIZKT.js → chunk-H63GI4CR.js} +3 -3
- package/dist/{chunk-M5TEDDIW.mjs → chunk-HSYTAPR3.mjs} +1 -1
- package/dist/{chunk-IU4KGUV4.mjs → chunk-KVL4WOIH.mjs} +1 -1
- package/dist/{chunk-7PSAJH4G.mjs → chunk-LYX4CNII.mjs} +3 -3
- package/dist/{chunk-YG677AGI.js → chunk-PCVUZFIE.js} +245 -292
- package/dist/{chunk-OQPC7VB6.js → chunk-THKJZT32.js} +41 -41
- package/dist/{chunk-YVLGBYMR.js → chunk-U6QKP7CG.js} +16 -16
- package/dist/{chunk-76BYR6TF.js → chunk-VV4FAXNW.js} +12 -12
- package/dist/{chunk-343PZDII.js → chunk-W6YNIJQD.js} +15 -8
- package/dist/{chunk-TYN4EHRJ.js → chunk-WTUD4B6O.js} +1 -1
- package/dist/executors.js +5 -5
- package/dist/executors.mjs +5 -5
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +4 -4
- package/dist/index.js +8 -8
- package/dist/index.mjs +7 -7
- package/dist/src/executors/cloudflare-publish/executor.js +3 -3
- package/dist/src/executors/cloudflare-publish/executor.mjs +3 -3
- package/dist/src/executors/r2-upload-publish/executor.js +5 -5
- package/dist/src/executors/r2-upload-publish/executor.mjs +4 -4
- package/dist/src/executors/serve/executor.js +4 -4
- package/dist/src/executors/serve/executor.mjs +3 -3
- package/dist/src/generators/init/generator.js +2 -2
- package/dist/src/generators/init/generator.mjs +1 -1
- package/dist/src/generators/worker/generator.js +5 -5
- package/dist/src/generators/worker/generator.mjs +4 -4
- package/dist/src/utils/index.js +3 -3
- package/dist/src/utils/index.mjs +2 -2
- package/dist/src/utils/r2-bucket-helpers.js +3 -3
- package/dist/src/utils/r2-bucket-helpers.mjs +2 -2
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkW6YNIJQDjs = require('./chunk-W6YNIJQD.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
var _chunkJ5SB6L2Ljs = require('./chunk-J5SB6L2L.js');
|
|
@@ -26,7 +26,7 @@ var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
|
26
26
|
var _c12 = require('c12');
|
|
27
27
|
|
|
28
28
|
var getConfigFileByName = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (fileName, filePath, options = {}) => {
|
|
29
|
-
const workspacePath = filePath ||
|
|
29
|
+
const workspacePath = filePath || _chunkW6YNIJQDjs.findWorkspaceRoot.call(void 0, filePath);
|
|
30
30
|
let config = await _c12.loadConfig.call(void 0, {
|
|
31
31
|
cwd: workspacePath,
|
|
32
32
|
packageJson: true,
|
|
@@ -34,7 +34,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, a
|
|
|
34
34
|
envName: _optionalChain([fileName, 'optionalAccess', _ => _.toUpperCase, 'call', _2 => _2()]),
|
|
35
35
|
jitiOptions: {
|
|
36
36
|
debug: false,
|
|
37
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
37
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkW6YNIJQDjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
|
|
38
38
|
},
|
|
39
39
|
...options
|
|
40
40
|
});
|
|
@@ -46,7 +46,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, a
|
|
|
46
46
|
envName: _optionalChain([fileName, 'optionalAccess', _3 => _3.toUpperCase, 'call', _4 => _4()]),
|
|
47
47
|
jitiOptions: {
|
|
48
48
|
debug: false,
|
|
49
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
49
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkW6YNIJQDjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
|
|
50
50
|
},
|
|
51
51
|
configFile: fileName,
|
|
52
52
|
...options
|
|
@@ -55,12 +55,12 @@ var getConfigFileByName = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, a
|
|
|
55
55
|
return config;
|
|
56
56
|
}, "getConfigFileByName");
|
|
57
57
|
var getConfigFile = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
|
|
58
|
-
const workspacePath = filePath ? filePath :
|
|
58
|
+
const workspacePath = filePath ? filePath : _chunkW6YNIJQDjs.findWorkspaceRoot.call(void 0, filePath);
|
|
59
59
|
const result = await getConfigFileByName("storm", workspacePath);
|
|
60
60
|
let config = result.config;
|
|
61
61
|
const configFile = result.configFile;
|
|
62
62
|
if (config && configFile && Object.keys(config).length > 0) {
|
|
63
|
-
|
|
63
|
+
_chunkW6YNIJQDjs.writeSystem.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
|
|
64
64
|
logLevel: "all"
|
|
65
65
|
});
|
|
66
66
|
}
|
|
@@ -68,7 +68,7 @@ var getConfigFile = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (
|
|
|
68
68
|
const results = await Promise.all(additionalFileNames.map((fileName) => getConfigFileByName(fileName, workspacePath)));
|
|
69
69
|
for (const result2 of results) {
|
|
70
70
|
if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
|
|
71
|
-
|
|
71
|
+
_chunkW6YNIJQDjs.writeSystem.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
|
|
72
72
|
logLevel: "all"
|
|
73
73
|
});
|
|
74
74
|
config = _defu2.default.call(void 0, _nullishCoalesce(result2.config, () => ( {})), _nullishCoalesce(config, () => ( {})));
|
|
@@ -102,15 +102,15 @@ var getConfigEnv = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, () => {
|
|
|
102
102
|
licensing: process.env[`${prefix}LICENSING`] || void 0,
|
|
103
103
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
104
104
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
105
|
-
configFile: process.env[`${prefix}CONFIG_FILE`] ?
|
|
106
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
105
|
+
configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkW6YNIJQDjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
|
|
106
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkW6YNIJQDjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
107
107
|
directories: {
|
|
108
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
109
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
110
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
111
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
112
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
113
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
108
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkW6YNIJQDjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
|
|
109
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkW6YNIJQDjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
|
|
110
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkW6YNIJQDjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
|
|
111
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkW6YNIJQDjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
|
|
112
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkW6YNIJQDjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
|
|
113
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkW6YNIJQDjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
|
|
114
114
|
},
|
|
115
115
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
116
116
|
env: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}ENV`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -133,23 +133,23 @@ var getConfigEnv = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, () => {
|
|
|
133
133
|
cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
|
|
134
134
|
container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
|
|
135
135
|
},
|
|
136
|
-
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`])) ?
|
|
136
|
+
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`])) ? _chunkW6YNIJQDjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0
|
|
137
137
|
};
|
|
138
|
-
const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) &&
|
|
138
|
+
const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkW6YNIJQDjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
|
|
139
139
|
config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
|
|
140
140
|
ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
|
|
141
141
|
return ret;
|
|
142
142
|
}, {}) : getThemeColorConfigEnv(prefix);
|
|
143
|
-
if (config.docs ===
|
|
144
|
-
if (config.homepage ===
|
|
145
|
-
config.docs = `${
|
|
143
|
+
if (config.docs === _chunkW6YNIJQDjs.STORM_DEFAULT_DOCS) {
|
|
144
|
+
if (config.homepage === _chunkW6YNIJQDjs.STORM_DEFAULT_HOMEPAGE) {
|
|
145
|
+
config.docs = `${_chunkW6YNIJQDjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
|
|
146
146
|
} else {
|
|
147
147
|
config.docs = `${config.homepage}/docs`;
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
if (config.licensing ===
|
|
151
|
-
if (config.homepage ===
|
|
152
|
-
config.licensing = `${
|
|
150
|
+
if (config.licensing === _chunkW6YNIJQDjs.STORM_DEFAULT_LICENSING) {
|
|
151
|
+
if (config.homepage === _chunkW6YNIJQDjs.STORM_DEFAULT_HOMEPAGE) {
|
|
152
|
+
config.licensing = `${_chunkW6YNIJQDjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
|
|
153
153
|
} else {
|
|
154
154
|
config.licensing = `${config.homepage}/docs`;
|
|
155
155
|
}
|
|
@@ -287,31 +287,31 @@ var setConfigEnv = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (config)
|
|
|
287
287
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
288
288
|
}
|
|
289
289
|
if (config.configFile) {
|
|
290
|
-
process.env[`${prefix}CONFIG_FILE`] =
|
|
290
|
+
process.env[`${prefix}CONFIG_FILE`] = _chunkW6YNIJQDjs.correctPaths.call(void 0, config.configFile);
|
|
291
291
|
}
|
|
292
292
|
if (config.workspaceRoot) {
|
|
293
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
294
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
295
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
293
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkW6YNIJQDjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
294
|
+
process.env.NX_WORKSPACE_ROOT = _chunkW6YNIJQDjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
295
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkW6YNIJQDjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
296
296
|
}
|
|
297
297
|
if (config.directories) {
|
|
298
298
|
if (!config.skipCache && config.directories.cache) {
|
|
299
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
299
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkW6YNIJQDjs.correctPaths.call(void 0, config.directories.cache);
|
|
300
300
|
}
|
|
301
301
|
if (config.directories.data) {
|
|
302
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
302
|
+
process.env[`${prefix}DATA_DIR`] = _chunkW6YNIJQDjs.correctPaths.call(void 0, config.directories.data);
|
|
303
303
|
}
|
|
304
304
|
if (config.directories.config) {
|
|
305
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
305
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkW6YNIJQDjs.correctPaths.call(void 0, config.directories.config);
|
|
306
306
|
}
|
|
307
307
|
if (config.directories.temp) {
|
|
308
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
308
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkW6YNIJQDjs.correctPaths.call(void 0, config.directories.temp);
|
|
309
309
|
}
|
|
310
310
|
if (config.directories.log) {
|
|
311
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
311
|
+
process.env[`${prefix}LOG_DIR`] = _chunkW6YNIJQDjs.correctPaths.call(void 0, config.directories.log);
|
|
312
312
|
}
|
|
313
313
|
if (config.directories.build) {
|
|
314
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
314
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkW6YNIJQDjs.correctPaths.call(void 0, config.directories.build);
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
if (config.skipCache !== void 0) {
|
|
@@ -365,8 +365,8 @@ var setConfigEnv = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (config)
|
|
|
365
365
|
if (config.logLevel) {
|
|
366
366
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
367
367
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
368
|
-
process.env.NX_VERBOSE_LOGGING = String(
|
|
369
|
-
process.env.RUST_BACKTRACE =
|
|
368
|
+
process.env.NX_VERBOSE_LOGGING = String(_chunkW6YNIJQDjs.getLogLevel.call(void 0, config.logLevel) >= _chunkW6YNIJQDjs.LogLevel.DEBUG ? true : false);
|
|
369
|
+
process.env.RUST_BACKTRACE = _chunkW6YNIJQDjs.getLogLevel.call(void 0, config.logLevel) >= _chunkW6YNIJQDjs.LogLevel.DEBUG ? "full" : "none";
|
|
370
370
|
}
|
|
371
371
|
process.env[`${prefix}CONFIG`] = JSON.stringify(config);
|
|
372
372
|
for (const key of Object.keys(_nullishCoalesce(config.extensions, () => ( {})))) {
|
|
@@ -476,23 +476,23 @@ var _static_cache = void 0;
|
|
|
476
476
|
var loadStormConfig = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (workspaceRoot) => {
|
|
477
477
|
let config = {};
|
|
478
478
|
if (_optionalChain([_static_cache, 'optionalAccess', _29 => _29.data]) && _optionalChain([_static_cache, 'optionalAccess', _30 => _30.timestamp]) && _static_cache.timestamp >= Date.now() + 3e4) {
|
|
479
|
-
|
|
479
|
+
_chunkW6YNIJQDjs.writeTrace.call(void 0, `Configuration cache hit - ${_static_cache.timestamp}`, _static_cache.data);
|
|
480
480
|
return _static_cache.data;
|
|
481
481
|
}
|
|
482
482
|
let _workspaceRoot = workspaceRoot;
|
|
483
483
|
if (!_workspaceRoot) {
|
|
484
|
-
_workspaceRoot =
|
|
484
|
+
_workspaceRoot = _chunkW6YNIJQDjs.findWorkspaceRoot.call(void 0, );
|
|
485
485
|
}
|
|
486
486
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
487
487
|
if (!configFile) {
|
|
488
|
-
|
|
488
|
+
_chunkW6YNIJQDjs.writeWarning.call(void 0, "No Storm config file found in the current workspace. Please ensure this is the expected behavior - you can add a `storm.json` file to the root of your workspace if it is not.\n", {
|
|
489
489
|
logLevel: "all"
|
|
490
490
|
});
|
|
491
491
|
}
|
|
492
|
-
config = _defu2.default.call(void 0, getConfigEnv(), configFile,
|
|
492
|
+
config = _defu2.default.call(void 0, getConfigEnv(), configFile, _chunkW6YNIJQDjs.getDefaultConfig.call(void 0, _workspaceRoot));
|
|
493
493
|
setConfigEnv(config);
|
|
494
|
-
|
|
495
|
-
${
|
|
494
|
+
_chunkW6YNIJQDjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm configuration:
|
|
495
|
+
${_chunkW6YNIJQDjs.formatLogMessage.call(void 0, config)}`, config);
|
|
496
496
|
return config;
|
|
497
497
|
}, "loadStormConfig");
|
|
498
498
|
|
|
@@ -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
|
|
4
|
+
var _chunkH63GI4CRjs = require('./chunk-H63GI4CR.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
var _chunkVTHBMY4Bjs = require('./chunk-VTHBMY4B.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkTHKJZT32js = require('./chunk-THKJZT32.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkW6YNIJQDjs = require('./chunk-W6YNIJQD.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
var _chunkJ5SB6L2Ljs = require('./chunk-J5SB6L2L.js');
|
|
@@ -36,8 +36,8 @@ async function runExecutor(options, context) {
|
|
|
36
36
|
throw new Error("The executor requires projectsConfigurations.");
|
|
37
37
|
}
|
|
38
38
|
try {
|
|
39
|
-
const workspaceRoot =
|
|
40
|
-
const config = await
|
|
39
|
+
const workspaceRoot = _chunkW6YNIJQDjs.findWorkspaceRoot.call(void 0, );
|
|
40
|
+
const config = await _chunkTHKJZT32js.loadStormConfig.call(void 0, workspaceRoot);
|
|
41
41
|
const sourceRoot = _nullishCoalesce(_optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'access', _9 => _9[context.projectName], 'optionalAccess', _10 => _10.sourceRoot]), () => ( workspaceRoot));
|
|
42
42
|
const projectName = _nullishCoalesce(_optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.name]), () => ( context.projectName));
|
|
43
43
|
const projectDetails = _chunkVTHBMY4Bjs.getPackageInfo.call(void 0, context.projectsConfigurations.projects[context.projectName]);
|
|
@@ -62,7 +62,7 @@ async function runExecutor(options, context) {
|
|
|
62
62
|
if (!projectGraph) {
|
|
63
63
|
throw new Error("No project graph found in cache");
|
|
64
64
|
}
|
|
65
|
-
|
|
65
|
+
_chunkW6YNIJQDjs.writeInfo.call(void 0, `Publishing ${context.projectName} to the Storm Registry at ${endpoint}`);
|
|
66
66
|
const s3Client = new (0, _clients3.S3)({
|
|
67
67
|
region: "auto",
|
|
68
68
|
endpoint,
|
|
@@ -72,12 +72,12 @@ async function runExecutor(options, context) {
|
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
74
|
const version = _optionalChain([projectDetails, 'access', _18 => _18.content, 'optionalAccess', _19 => _19.version]);
|
|
75
|
-
|
|
75
|
+
_chunkW6YNIJQDjs.writeInfo.call(void 0, `Generated component version: ${version}`);
|
|
76
76
|
const files = await _glob.glob.call(void 0, _devkit.joinPathFragments.call(void 0, sourceRoot, "**/*"), {
|
|
77
77
|
ignore: "**/{*.stories.tsx,*.stories.ts,*.spec.tsx,*.spec.ts}"
|
|
78
78
|
});
|
|
79
79
|
const projectPath = `registry/${context.projectName}`;
|
|
80
|
-
const internalDependencies = await
|
|
80
|
+
const internalDependencies = await _chunkH63GI4CRjs.getInternalDependencies.call(void 0, context.projectName, projectGraph);
|
|
81
81
|
const dependencies = internalDependencies.filter((projectNode) => !projectNode.data.tags || projectNode.data.tags.every((tag) => tag.toLowerCase() !== "component")).reduce((ret, dep) => {
|
|
82
82
|
if (!ret[dep.name]) {
|
|
83
83
|
ret[dep.name] = "latest";
|
|
@@ -85,14 +85,14 @@ async function runExecutor(options, context) {
|
|
|
85
85
|
return ret;
|
|
86
86
|
}, _nullishCoalesce(projectDetails.content.dependencies, () => ( {})));
|
|
87
87
|
const release = _nullishCoalesce(options.tag, () => ( _child_process.execSync.call(void 0, "npm config get tag").toString().trim()));
|
|
88
|
-
|
|
88
|
+
_chunkW6YNIJQDjs.writeInfo.call(void 0, `Clearing out existing items in ${projectPath}`);
|
|
89
89
|
if (!isDryRun) {
|
|
90
90
|
const response = await s3Client.listObjects({
|
|
91
91
|
Bucket: options.bucketId,
|
|
92
92
|
Prefix: projectPath
|
|
93
93
|
});
|
|
94
94
|
if (_optionalChain([response, 'optionalAccess', _20 => _20.Contents]) && response.Contents.length > 0) {
|
|
95
|
-
|
|
95
|
+
_chunkW6YNIJQDjs.writeDebug.call(void 0, `Deleting the following existing items from the component registry: ${response.Contents.map((item) => item.Key).join(", ")}`);
|
|
96
96
|
await Promise.all(response.Contents.map((item) => s3Client.deleteObjects({
|
|
97
97
|
Bucket: options.bucketId,
|
|
98
98
|
Delete: {
|
|
@@ -105,10 +105,10 @@ async function runExecutor(options, context) {
|
|
|
105
105
|
}
|
|
106
106
|
})));
|
|
107
107
|
} else {
|
|
108
|
-
|
|
108
|
+
_chunkW6YNIJQDjs.writeDebug.call(void 0, `No existing items to delete in the component registry path ${projectPath}`);
|
|
109
109
|
}
|
|
110
110
|
} else {
|
|
111
|
-
|
|
111
|
+
_chunkW6YNIJQDjs.writeWarning.call(void 0, "[Dry run]: skipping upload to the Cyclone Registry.");
|
|
112
112
|
}
|
|
113
113
|
const meta = {
|
|
114
114
|
name: context.projectName,
|
|
@@ -124,16 +124,16 @@ async function runExecutor(options, context) {
|
|
|
124
124
|
meta.devDependencies = projectDetails.content.devDependencies;
|
|
125
125
|
}
|
|
126
126
|
const metaJson = JSON.stringify(meta);
|
|
127
|
-
|
|
127
|
+
_chunkW6YNIJQDjs.writeInfo.call(void 0, `Generating meta.json file:
|
|
128
128
|
${metaJson}`);
|
|
129
|
-
await
|
|
129
|
+
await _chunkH63GI4CRjs.r2UploadFile.call(void 0, s3Client, options.bucketId, projectPath, "meta.json", version, metaJson, "application/json", isDryRun);
|
|
130
130
|
await Promise.all(files.map((file) => {
|
|
131
131
|
const fileName = file.replaceAll("\\", "/").replace(sourceRoot.replaceAll("\\", "/"), "");
|
|
132
132
|
return _promises.readFile.call(void 0, file, {
|
|
133
133
|
encoding: "utf8"
|
|
134
|
-
}).then((fileContent) =>
|
|
134
|
+
}).then((fileContent) => _chunkH63GI4CRjs.r2UploadFile.call(void 0, s3Client, options.bucketId, projectPath, fileName, version, fileContent, "text/plain", isDryRun));
|
|
135
135
|
}));
|
|
136
|
-
|
|
136
|
+
_chunkW6YNIJQDjs.writeSuccess.call(void 0, `Successfully uploaded the ${projectName} component to the Cyclone Registry`, config);
|
|
137
137
|
return {
|
|
138
138
|
success: true
|
|
139
139
|
};
|
|
@@ -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 _chunkWTUD4B6Ojs = require('./chunk-WTUD4B6O.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkTHKJZT32js = require('./chunk-THKJZT32.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@ var _chunkOQPC7VB6js = require('./chunk-OQPC7VB6.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkW6YNIJQDjs = require('./chunk-W6YNIJQD.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkJ5SB6L2Ljs = require('./chunk-J5SB6L2L.js');
|
|
@@ -38,21 +38,21 @@ var vitestScript = `"test": "vitest run"`;
|
|
|
38
38
|
|
|
39
39
|
// src/generators/worker/generator.ts
|
|
40
40
|
async function applicationGenerator(tree, schema) {
|
|
41
|
-
const stopwatch =
|
|
41
|
+
const stopwatch = _chunkW6YNIJQDjs.getStopwatch.call(void 0, "Storm Worker generator");
|
|
42
42
|
let config;
|
|
43
43
|
try {
|
|
44
|
-
|
|
44
|
+
_chunkW6YNIJQDjs.writeInfo.call(void 0, `\u26A1 Running the Storm Worker generator...
|
|
45
45
|
|
|
46
46
|
`, config);
|
|
47
|
-
const workspaceRoot =
|
|
48
|
-
|
|
47
|
+
const workspaceRoot = _chunkW6YNIJQDjs.findWorkspaceRoot.call(void 0, );
|
|
48
|
+
_chunkW6YNIJQDjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.json file...
|
|
49
49
|
- workspaceRoot: ${workspaceRoot}`, config);
|
|
50
|
-
config = await
|
|
51
|
-
|
|
50
|
+
config = await _chunkTHKJZT32js.loadStormConfig.call(void 0, workspaceRoot);
|
|
51
|
+
_chunkW6YNIJQDjs.writeTrace.call(void 0, `Loaded Storm config into env:
|
|
52
52
|
${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[key])}`).join("\n")}`, config);
|
|
53
53
|
const options = await normalizeOptions(tree, schema, config);
|
|
54
54
|
const tasks = [];
|
|
55
|
-
tasks.push(await
|
|
55
|
+
tasks.push(await _chunkWTUD4B6Ojs.generator_default.call(void 0, tree, {
|
|
56
56
|
...options,
|
|
57
57
|
skipFormat: true
|
|
58
58
|
}));
|
|
@@ -107,8 +107,8 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${JSON.stringify(process.env[
|
|
|
107
107
|
return _devkit.runTasksInSerial.call(void 0, ...tasks);
|
|
108
108
|
} catch (error) {
|
|
109
109
|
return () => {
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
_chunkW6YNIJQDjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
|
|
111
|
+
_chunkW6YNIJQDjs.writeError.call(void 0, `An exception was thrown in the generator's process
|
|
112
112
|
- Details: ${error.message}
|
|
113
113
|
- Stacktrace: ${error.stack}`, config);
|
|
114
114
|
};
|
|
@@ -479,49 +479,56 @@ var isVerbose = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (label = Lo
|
|
|
479
479
|
var getLogFn = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
480
480
|
const colors = !_optionalChain([config, 'access', _11 => _11.colors, 'optionalAccess', _12 => _12.dark]) && !_optionalChain([config, 'access', _13 => _13.colors, 'optionalAccess', _14 => _14["base"]]) && !_optionalChain([config, 'access', _15 => _15.colors, 'optionalAccess', _16 => _16["base"], 'optionalAccess', _17 => _17.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _18 => _18.colors, 'optionalAccess', _19 => _19.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _20 => _20.colors, 'optionalAccess', _21 => _21["base"], 'optionalAccess', _22 => _22.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _23 => _23.colors, 'optionalAccess', _24 => _24["base"]]) ? _optionalChain([config, 'access', _25 => _25.colors, 'optionalAccess', _26 => _26["base"]]) : DEFAULT_COLOR_CONFIG;
|
|
481
481
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
482
|
-
if (
|
|
482
|
+
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
483
483
|
return (_) => {
|
|
484
484
|
};
|
|
485
485
|
}
|
|
486
|
-
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel
|
|
486
|
+
if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
|
|
487
487
|
return (message) => {
|
|
488
488
|
console.error(`
|
|
489
489
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( "#7d1a1a")))(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
490
490
|
`);
|
|
491
491
|
};
|
|
492
492
|
}
|
|
493
|
-
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel
|
|
493
|
+
if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
|
|
494
494
|
return (message) => {
|
|
495
495
|
console.error(`
|
|
496
496
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.danger, () => ( "#f85149")))(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
497
497
|
`);
|
|
498
498
|
};
|
|
499
499
|
}
|
|
500
|
-
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel
|
|
500
|
+
if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
|
|
501
501
|
return (message) => {
|
|
502
502
|
console.warn(`
|
|
503
503
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.warning, () => ( "#e3b341")))(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
504
504
|
`);
|
|
505
505
|
};
|
|
506
506
|
}
|
|
507
|
-
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel
|
|
507
|
+
if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
|
|
508
508
|
return (message) => {
|
|
509
509
|
console.info(`
|
|
510
510
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.success, () => ( "#56d364")))(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
511
511
|
`);
|
|
512
512
|
};
|
|
513
513
|
}
|
|
514
|
-
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel
|
|
514
|
+
if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
|
|
515
515
|
return (message) => {
|
|
516
516
|
console.info(`
|
|
517
517
|
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.info, () => ( "#58a6ff")))(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
518
518
|
`);
|
|
519
519
|
};
|
|
520
520
|
}
|
|
521
|
-
if (typeof logLevel === "number" && LogLevel.
|
|
521
|
+
if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
|
|
522
522
|
return (message) => {
|
|
523
523
|
console.debug(`
|
|
524
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]}
|
|
524
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
525
|
+
`);
|
|
526
|
+
};
|
|
527
|
+
}
|
|
528
|
+
if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
|
|
529
|
+
return (message) => {
|
|
530
|
+
console.debug(`
|
|
531
|
+
${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, () => ( "#1fb2a6")))(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
525
532
|
`);
|
|
526
533
|
};
|
|
527
534
|
}
|
|
@@ -8,7 +8,7 @@ var require_package = _chunkJ5SB6L2Ljs.__commonJS.call(void 0, {
|
|
|
8
8
|
"package.json"(exports, module) {
|
|
9
9
|
module.exports = {
|
|
10
10
|
name: "@storm-software/cloudflare-tools",
|
|
11
|
-
version: "0.
|
|
11
|
+
version: "0.54.0",
|
|
12
12
|
description: "A Nx plugin package that contains various executors, generators, and utilities that assist in managing Cloudflare services.",
|
|
13
13
|
repository: {
|
|
14
14
|
type: "github",
|
package/dist/executors.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";require('./chunk-XO66D74Z.js');
|
|
2
2
|
require('./chunk-R7AIVBS7.js');
|
|
3
|
-
require('./chunk-
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
require('./chunk-PCVUZFIE.js');
|
|
4
|
+
require('./chunk-U6QKP7CG.js');
|
|
5
|
+
require('./chunk-H63GI4CR.js');
|
|
6
6
|
require('./chunk-VTHBMY4B.js');
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-THKJZT32.js');
|
|
8
|
+
require('./chunk-W6YNIJQD.js');
|
|
9
9
|
require('./chunk-J5SB6L2L.js');
|
package/dist/executors.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./chunk-YSCEY447.mjs";
|
|
2
2
|
import "./chunk-QEWY5YJA.mjs";
|
|
3
|
-
import "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-EPJ3NXAN.mjs";
|
|
4
|
+
import "./chunk-BGWUN6JU.mjs";
|
|
5
|
+
import "./chunk-KVL4WOIH.mjs";
|
|
6
6
|
import "./chunk-XU6MTFCV.mjs";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-6H63LE3D.mjs";
|
|
8
|
+
import "./chunk-3D3WO4IH.mjs";
|
|
9
9
|
import "./chunk-A7FFSBE6.mjs";
|
package/dist/generators.js
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkVV4FAXNWjs = require('./chunk-VV4FAXNW.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
9
|
+
var _chunkWTUD4B6Ojs = require('./chunk-WTUD4B6O.js');
|
|
10
|
+
require('./chunk-THKJZT32.js');
|
|
11
|
+
require('./chunk-W6YNIJQD.js');
|
|
12
12
|
require('./chunk-J5SB6L2L.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.applicationGenerator =
|
|
18
|
+
exports.applicationGenerator = _chunkVV4FAXNWjs.applicationGenerator; exports.applicationSchematic = _chunkVV4FAXNWjs.applicationSchematic; exports.initGenerator = _chunkWTUD4B6Ojs.initGenerator; exports.initSchematic = _chunkWTUD4B6Ojs.initSchematic;
|
package/dist/generators.mjs
CHANGED
|
@@ -2,13 +2,13 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
applicationGenerator,
|
|
4
4
|
applicationSchematic
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LYX4CNII.mjs";
|
|
6
6
|
import {
|
|
7
7
|
initGenerator,
|
|
8
8
|
initSchematic
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-HSYTAPR3.mjs";
|
|
10
|
+
import "./chunk-6H63LE3D.mjs";
|
|
11
|
+
import "./chunk-3D3WO4IH.mjs";
|
|
12
12
|
import "./chunk-A7FFSBE6.mjs";
|
|
13
13
|
export {
|
|
14
14
|
applicationGenerator,
|
package/dist/index.js
CHANGED
|
@@ -3,25 +3,25 @@ require('./chunk-DHBG5ASJ.js');
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkVV4FAXNWjs = require('./chunk-VV4FAXNW.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkWTUD4B6Ojs = require('./chunk-WTUD4B6O.js');
|
|
11
11
|
require('./chunk-CVGPWUNP.js');
|
|
12
12
|
require('./chunk-R7AIVBS7.js');
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-PCVUZFIE.js');
|
|
14
|
+
require('./chunk-U6QKP7CG.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkH63GI4CRjs = require('./chunk-H63GI4CR.js');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
var _chunkVTHBMY4Bjs = require('./chunk-VTHBMY4B.js');
|
|
23
|
-
require('./chunk-
|
|
24
|
-
require('./chunk-
|
|
23
|
+
require('./chunk-THKJZT32.js');
|
|
24
|
+
require('./chunk-W6YNIJQD.js');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
var _chunkJ5SB6L2Ljs = require('./chunk-J5SB6L2L.js');
|
|
@@ -148,4 +148,4 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, createPackageJson, "createPackageJson");
|
|
|
148
148
|
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
exports.applicationGenerator =
|
|
151
|
+
exports.applicationGenerator = _chunkVV4FAXNWjs.applicationGenerator; exports.applicationSchematic = _chunkVV4FAXNWjs.applicationSchematic; exports.createNodes = createNodes; exports.getInternalDependencies = _chunkH63GI4CRjs.getInternalDependencies; exports.initGenerator = _chunkWTUD4B6Ojs.initGenerator; exports.initSchematic = _chunkWTUD4B6Ojs.initSchematic; exports.name = name; exports.r2UploadFile = _chunkH63GI4CRjs.r2UploadFile;
|
package/dist/index.mjs
CHANGED
|
@@ -3,25 +3,25 @@ import "./chunk-3J7KBHMJ.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
applicationGenerator,
|
|
5
5
|
applicationSchematic
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LYX4CNII.mjs";
|
|
7
7
|
import {
|
|
8
8
|
initGenerator,
|
|
9
9
|
initSchematic
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HSYTAPR3.mjs";
|
|
11
11
|
import "./chunk-7Z5PILRU.mjs";
|
|
12
12
|
import "./chunk-QEWY5YJA.mjs";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-EPJ3NXAN.mjs";
|
|
14
|
+
import "./chunk-BGWUN6JU.mjs";
|
|
15
15
|
import {
|
|
16
16
|
getInternalDependencies,
|
|
17
17
|
r2UploadFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KVL4WOIH.mjs";
|
|
19
19
|
import {
|
|
20
20
|
ProjectTagConstants,
|
|
21
21
|
addProjectTag
|
|
22
22
|
} from "./chunk-XU6MTFCV.mjs";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-6H63LE3D.mjs";
|
|
24
|
+
import "./chunk-3D3WO4IH.mjs";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-A7FFSBE6.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
var _chunkR7AIVBS7js = require('../../../chunk-R7AIVBS7.js');
|
|
4
|
-
require('../../../chunk-
|
|
4
|
+
require('../../../chunk-PCVUZFIE.js');
|
|
5
5
|
require('../../../chunk-VTHBMY4B.js');
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-
|
|
6
|
+
require('../../../chunk-THKJZT32.js');
|
|
7
|
+
require('../../../chunk-W6YNIJQD.js');
|
|
8
8
|
require('../../../chunk-J5SB6L2L.js');
|
|
9
9
|
|
|
10
10
|
|