@storm-software/esbuild 0.31.30 → 0.31.31
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/dist/build.cjs +8 -8
- package/dist/build.js +7 -7
- package/dist/{chunk-OS6IORPL.js → chunk-CMVUI2JL.js} +9 -1
- package/dist/{chunk-6D27C2MD.cjs → chunk-JLPAYWVX.cjs} +2 -2
- package/dist/{chunk-F55MDH52.js → chunk-MJLJTLYN.js} +12 -4
- package/dist/{chunk-LTXLRCFK.js → chunk-NECSRTH6.js} +1 -1
- package/dist/{chunk-S2QQQQC4.cjs → chunk-OYFVAL4X.cjs} +3 -3
- package/dist/{chunk-4I65QR6D.cjs → chunk-P3WA6JHH.cjs} +38 -38
- package/dist/{chunk-UFNNCUFM.cjs → chunk-QVWQRHQZ.cjs} +9 -1
- package/dist/{chunk-XF4W7Y5G.cjs → chunk-TPPC2KGE.cjs} +3 -3
- package/dist/{chunk-4F2UUEOG.js → chunk-U6XRGLIE.js} +1 -1
- package/dist/{chunk-QICNNYHX.cjs → chunk-UM3465YR.cjs} +2 -2
- package/dist/{chunk-DJBLQVO3.js → chunk-VA5LCHQG.js} +1 -1
- package/dist/{chunk-YSMZ4KXD.js → chunk-VLJIDKWJ.js} +1 -1
- package/dist/{chunk-MECU4TGM.cjs → chunk-X3ZTLBTA.cjs} +42 -34
- package/dist/{chunk-O2DGD74J.js → chunk-Y2IWVWKY.js} +4 -4
- package/dist/clean.cjs +3 -3
- package/dist/clean.d.cts +30 -12
- package/dist/clean.d.ts +30 -12
- package/dist/clean.js +2 -2
- package/dist/config.cjs +5 -5
- package/dist/config.js +4 -4
- package/dist/index.cjs +8 -8
- package/dist/index.js +7 -7
- package/dist/plugins/deps-check.cjs +3 -3
- package/dist/plugins/deps-check.js +2 -2
- package/dist/plugins/on-error.cjs +3 -3
- package/dist/plugins/on-error.js +2 -2
- package/dist/plugins/tsc.cjs +3 -3
- package/dist/plugins/tsc.js +2 -2
- package/package.json +1 -1
|
@@ -6,13 +6,13 @@ var _chunkS6M44SSZcjs = require('./chunk-S6M44SSZ.cjs');
|
|
|
6
6
|
var _chunkWRBUO7H6cjs = require('./chunk-WRBUO7H6.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkUM3465YRcjs = require('./chunk-UM3465YR.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkSSEYS7LIcjs = require('./chunk-SSEYS7LI.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkJLPAYWVXcjs = require('./chunk-JLPAYWVX.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -28,7 +28,7 @@ var _chunk6D27C2MDcjs = require('./chunk-6D27C2MD.cjs');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkQVWQRHQZcjs = require('./chunk-QVWQRHQZ.cjs');
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
@@ -97,7 +97,7 @@ var copyAssets = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (co
|
|
|
97
97
|
output: "src/"
|
|
98
98
|
});
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
_chunkQVWQRHQZcjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
|
|
101
101
|
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkXITTOHOGcjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
|
|
102
102
|
const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
|
|
103
103
|
projectDir: projectRoot,
|
|
@@ -107,7 +107,7 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
107
107
|
});
|
|
108
108
|
await assetHandler.processAllAssetsOnce();
|
|
109
109
|
if (includeSrc === true) {
|
|
110
|
-
|
|
110
|
+
_chunkQVWQRHQZcjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkXITTOHOGcjs.joinPaths.call(void 0, outputPath, "src")}`, config);
|
|
111
111
|
const files = await _glob.glob.call(void 0, [
|
|
112
112
|
_chunkXITTOHOGcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
113
113
|
_chunkXITTOHOGcjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
@@ -146,7 +146,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
if (localPackages.length > 0) {
|
|
149
|
-
|
|
149
|
+
_chunkQVWQRHQZcjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
|
|
150
150
|
const projectJsonFile = await _promises.readFile.call(void 0, _chunkXITTOHOGcjs.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
|
|
151
151
|
const projectJson = JSON.parse(projectJsonFile);
|
|
152
152
|
const projectName2 = projectJson.name;
|
|
@@ -180,12 +180,12 @@ var addPackageDependencies = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
|
|
|
180
180
|
return ret;
|
|
181
181
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
182
182
|
} else {
|
|
183
|
-
|
|
183
|
+
_chunkQVWQRHQZcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
184
184
|
}
|
|
185
185
|
return packageJson;
|
|
186
186
|
}, "addPackageDependencies");
|
|
187
187
|
var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
188
|
-
const workspaceRoot = config.workspaceRoot ? config.workspaceRoot :
|
|
188
|
+
const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunkQVWQRHQZcjs.findWorkspaceRoot.call(void 0, );
|
|
189
189
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkXITTOHOGcjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
|
|
190
190
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
191
191
|
packageJson.type ??= "module";
|
|
@@ -234,7 +234,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.cal
|
|
|
234
234
|
var _c12 = require('c12');
|
|
235
235
|
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
236
236
|
var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
|
|
237
|
-
const workspacePath = filePath ||
|
|
237
|
+
const workspacePath = filePath || _chunkQVWQRHQZcjs.findWorkspaceRoot.call(void 0, filePath);
|
|
238
238
|
const configs = await Promise.all([
|
|
239
239
|
_c12.loadConfig.call(void 0, {
|
|
240
240
|
cwd: workspacePath,
|
|
@@ -263,12 +263,12 @@ var getConfigFileByName = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0,
|
|
|
263
263
|
return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
|
|
264
264
|
}, "getConfigFileByName");
|
|
265
265
|
var getConfigFile = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
|
|
266
|
-
const workspacePath = filePath ? filePath :
|
|
266
|
+
const workspacePath = filePath ? filePath : _chunkQVWQRHQZcjs.findWorkspaceRoot.call(void 0, filePath);
|
|
267
267
|
const result = await getConfigFileByName("storm-workspace", workspacePath);
|
|
268
268
|
let config = result.config;
|
|
269
269
|
const configFile = result.configFile;
|
|
270
270
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
271
|
-
|
|
271
|
+
_chunkQVWQRHQZcjs.writeTrace.call(void 0, `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`, {
|
|
272
272
|
logLevel: "all"
|
|
273
273
|
});
|
|
274
274
|
}
|
|
@@ -277,7 +277,7 @@ var getConfigFile = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
|
|
|
277
277
|
for (const result2 of results) {
|
|
278
278
|
if (_optionalChain([result2, 'optionalAccess', _28 => _28.config]) && _optionalChain([result2, 'optionalAccess', _29 => _29.configFile]) && Object.keys(result2.config).length > 0) {
|
|
279
279
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
280
|
-
|
|
280
|
+
_chunkQVWQRHQZcjs.writeTrace.call(void 0, `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`, {
|
|
281
281
|
logLevel: "all"
|
|
282
282
|
});
|
|
283
283
|
}
|
|
@@ -322,6 +322,10 @@ var getConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, () => {
|
|
|
322
322
|
header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
|
|
323
323
|
footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
|
|
324
324
|
},
|
|
325
|
+
error: {
|
|
326
|
+
codesFile: process.env[`${prefix}ERROR_CODES_FILE`] || void 0,
|
|
327
|
+
url: process.env[`${prefix}ERROR_URL`] || void 0
|
|
328
|
+
},
|
|
325
329
|
account: {
|
|
326
330
|
twitter: process.env[`${prefix}ACCOUNT_TWITTER`] || void 0,
|
|
327
331
|
discord: process.env[`${prefix}ACCOUNT_DISCORD`] || void 0,
|
|
@@ -370,24 +374,24 @@ var getConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, () => {
|
|
|
370
374
|
cyclone: process.env[`${prefix}REGISTRY_CYCLONE`] || void 0,
|
|
371
375
|
container: process.env[`${prefix}REGISTRY_CONTAINER`] || void 0
|
|
372
376
|
},
|
|
373
|
-
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`])) ?
|
|
377
|
+
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`])) ? _chunkQVWQRHQZcjs.getLogLevelLabel.call(void 0, Number.parseInt(process.env[`${prefix}LOG_LEVEL`])) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
374
378
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
375
379
|
};
|
|
376
|
-
const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) &&
|
|
380
|
+
const themeNames = Object.keys(process.env).filter((envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkQVWQRHQZcjs.COLOR_KEYS.every((colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)));
|
|
377
381
|
config.colors = themeNames.length > 0 ? themeNames.reduce((ret, themeName) => {
|
|
378
382
|
ret[themeName] = getThemeColorConfigEnv(prefix, themeName);
|
|
379
383
|
return ret;
|
|
380
384
|
}, {}) : getThemeColorConfigEnv(prefix);
|
|
381
|
-
if (config.docs ===
|
|
382
|
-
if (config.homepage ===
|
|
383
|
-
config.docs = `${
|
|
385
|
+
if (config.docs === _chunkQVWQRHQZcjs.STORM_DEFAULT_DOCS) {
|
|
386
|
+
if (config.homepage === _chunkQVWQRHQZcjs.STORM_DEFAULT_HOMEPAGE) {
|
|
387
|
+
config.docs = `${_chunkQVWQRHQZcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
|
|
384
388
|
} else {
|
|
385
389
|
config.docs = `${config.homepage}/docs`;
|
|
386
390
|
}
|
|
387
391
|
}
|
|
388
|
-
if (config.licensing ===
|
|
389
|
-
if (config.homepage ===
|
|
390
|
-
config.licensing = `${
|
|
392
|
+
if (config.licensing === _chunkQVWQRHQZcjs.STORM_DEFAULT_LICENSING) {
|
|
393
|
+
if (config.homepage === _chunkQVWQRHQZcjs.STORM_DEFAULT_HOMEPAGE) {
|
|
394
|
+
config.licensing = `${_chunkQVWQRHQZcjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
|
|
391
395
|
} else {
|
|
392
396
|
config.licensing = `${config.homepage}/docs`;
|
|
393
397
|
}
|
|
@@ -495,6 +499,10 @@ var setConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (config
|
|
|
495
499
|
process.env[`${prefix}BOT_NAME`] = config.bot.name;
|
|
496
500
|
process.env[`${prefix}BOT_EMAIL`] = config.bot.email;
|
|
497
501
|
}
|
|
502
|
+
if (config.error) {
|
|
503
|
+
process.env[`${prefix}ERROR_CODES_FILE`] = config.error.codesFile;
|
|
504
|
+
process.env[`${prefix}ERROR_URL`] = config.error.url;
|
|
505
|
+
}
|
|
498
506
|
if (config.release) {
|
|
499
507
|
process.env[`${prefix}RELEASE_BANNER`] = config.release.banner;
|
|
500
508
|
process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
|
|
@@ -625,14 +633,14 @@ var setConfigEnv = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (config
|
|
|
625
633
|
process.env[`${prefix}REGISTRY_CYCLONE`] = String(config.registry.cyclone);
|
|
626
634
|
}
|
|
627
635
|
if (config.registry.container) {
|
|
628
|
-
process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.
|
|
636
|
+
process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.container);
|
|
629
637
|
}
|
|
630
638
|
}
|
|
631
639
|
if (config.logLevel) {
|
|
632
640
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
633
641
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
634
|
-
process.env.NX_VERBOSE_LOGGING = String(
|
|
635
|
-
process.env.RUST_BACKTRACE =
|
|
642
|
+
process.env.NX_VERBOSE_LOGGING = String(_chunkQVWQRHQZcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkQVWQRHQZcjs.LogLevel.DEBUG ? true : false);
|
|
643
|
+
process.env.RUST_BACKTRACE = _chunkQVWQRHQZcjs.getLogLevel.call(void 0, config.logLevel) >= _chunkQVWQRHQZcjs.LogLevel.DEBUG ? "full" : "none";
|
|
636
644
|
}
|
|
637
645
|
if (config.skipConfigLogging !== void 0) {
|
|
638
646
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(config.skipConfigLogging);
|
|
@@ -750,17 +758,17 @@ var createStormWorkspaceConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(v
|
|
|
750
758
|
if (!_optionalChain([_static_cache, 'optionalAccess', _52 => _52.data]) || !_optionalChain([_static_cache, 'optionalAccess', _53 => _53.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
|
|
751
759
|
let _workspaceRoot = workspaceRoot;
|
|
752
760
|
if (!_workspaceRoot) {
|
|
753
|
-
_workspaceRoot =
|
|
761
|
+
_workspaceRoot = _chunkQVWQRHQZcjs.findWorkspaceRoot.call(void 0, );
|
|
754
762
|
}
|
|
755
763
|
const configEnv = getConfigEnv();
|
|
756
|
-
const defaultConfig = await
|
|
764
|
+
const defaultConfig = await _chunkQVWQRHQZcjs.getDefaultConfig.call(void 0, _workspaceRoot);
|
|
757
765
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
758
766
|
if (!configFile && !skipLogs) {
|
|
759
|
-
|
|
767
|
+
_chunkQVWQRHQZcjs.writeWarning.call(void 0, "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n", {
|
|
760
768
|
logLevel: "all"
|
|
761
769
|
});
|
|
762
770
|
}
|
|
763
|
-
result = await
|
|
771
|
+
result = await _chunkQVWQRHQZcjs.stormWorkspaceConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
|
|
764
772
|
result.workspaceRoot ??= _workspaceRoot;
|
|
765
773
|
} else {
|
|
766
774
|
result = _static_cache.data;
|
|
@@ -795,8 +803,8 @@ var loadStormWorkspaceConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(voi
|
|
|
795
803
|
const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs);
|
|
796
804
|
setConfigEnv(config);
|
|
797
805
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
798
|
-
|
|
799
|
-
${
|
|
806
|
+
_chunkQVWQRHQZcjs.writeTrace.call(void 0, `\u2699\uFE0F Using Storm Workspace configuration:
|
|
807
|
+
${_chunkQVWQRHQZcjs.formatLogMessage.call(void 0, config)}`, config);
|
|
800
808
|
}
|
|
801
809
|
return config;
|
|
802
810
|
}, "loadStormWorkspaceConfig");
|
|
@@ -809,7 +817,7 @@ var getConfig = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, (workspace
|
|
|
809
817
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
810
818
|
|
|
811
819
|
var getEntryPoints = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
812
|
-
const workspaceRoot = config.workspaceRoot ||
|
|
820
|
+
const workspaceRoot = config.workspaceRoot || _chunkQVWQRHQZcjs.findWorkspaceRoot.call(void 0, );
|
|
813
821
|
const entryPoints = [];
|
|
814
822
|
if (entry) {
|
|
815
823
|
if (typeof entry === "string") {
|
|
@@ -835,7 +843,7 @@ var getEntryPoints = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
|
|
|
835
843
|
paths.push(...files.reduce((ret, filePath) => {
|
|
836
844
|
const result = _chunkXITTOHOGcjs.correctPaths.call(void 0, _chunkXITTOHOGcjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkXITTOHOGcjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkXITTOHOGcjs.correctPaths.call(void 0, projectRoot), ""));
|
|
837
845
|
if (result) {
|
|
838
|
-
|
|
846
|
+
_chunkQVWQRHQZcjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXITTOHOGcjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
|
|
839
847
|
if (!paths.includes(result)) {
|
|
840
848
|
paths.push(result);
|
|
841
849
|
}
|
|
@@ -843,7 +851,7 @@ var getEntryPoints = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void 0, async
|
|
|
843
851
|
return ret;
|
|
844
852
|
}, []));
|
|
845
853
|
} else {
|
|
846
|
-
|
|
854
|
+
_chunkQVWQRHQZcjs.writeDebug.call(void 0, `Trying to add entry point ${entryPoint}"`, config);
|
|
847
855
|
if (!paths.includes(entryPoint)) {
|
|
848
856
|
paths.push(entryPoint);
|
|
849
857
|
}
|
|
@@ -888,8 +896,8 @@ var getDefaultBuildPlugins = /* @__PURE__ */ _chunkBGYQAVKQcjs.__name.call(void
|
|
|
888
896
|
_chunkEZGTDCYMcjs.fixImportsPlugin.call(void 0, options, resolvedOptions),
|
|
889
897
|
_chunkS6M44SSZcjs.nativeNodeModulesPlugin.call(void 0, options, resolvedOptions),
|
|
890
898
|
_chunkCGFDQ5AJcjs.esmSplitCodeToCjsPlugin.call(void 0, options, resolvedOptions),
|
|
891
|
-
|
|
892
|
-
|
|
899
|
+
_chunkJLPAYWVXcjs.tscPlugin.call(void 0, options, resolvedOptions),
|
|
900
|
+
_chunkUM3465YRcjs.onErrorPlugin.call(void 0, options, resolvedOptions)
|
|
893
901
|
], "getDefaultBuildPlugins");
|
|
894
902
|
var DEFAULT_BUILD_OPTIONS = {
|
|
895
903
|
platform: "node",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanDirectories
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VA5LCHQG.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_BUILD_OPTIONS,
|
|
6
6
|
DEFAULT_COMPILED_BANNER,
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
getDefaultBuildPlugins,
|
|
13
13
|
getEntryPoints,
|
|
14
14
|
getEnv
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MJLJTLYN.js";
|
|
16
16
|
import {
|
|
17
17
|
depsCheckPlugin
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VLJIDKWJ.js";
|
|
19
19
|
import {
|
|
20
20
|
formatLogMessage,
|
|
21
21
|
getStopwatch,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
writeSuccess,
|
|
27
27
|
writeTrace,
|
|
28
28
|
writeWarning
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CMVUI2JL.js";
|
|
30
30
|
import {
|
|
31
31
|
correctPaths,
|
|
32
32
|
joinPaths
|
package/dist/clean.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkTPPC2KGEcjs = require('./chunk-TPPC2KGE.cjs');
|
|
5
|
+
require('./chunk-QVWQRHQZ.cjs');
|
|
6
6
|
require('./chunk-XITTOHOG.cjs');
|
|
7
7
|
require('./chunk-BGYQAVKQ.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.clean =
|
|
11
|
+
exports.clean = _chunkTPPC2KGEcjs.clean; exports.cleanDirectories = _chunkTPPC2KGEcjs.cleanDirectories;
|
package/dist/clean.d.cts
CHANGED
|
@@ -38,8 +38,8 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
38
38
|
header?: string | undefined;
|
|
39
39
|
}, {
|
|
40
40
|
banner?: string | undefined;
|
|
41
|
-
footer?: string | undefined;
|
|
42
41
|
header?: string | undefined;
|
|
42
|
+
footer?: string | undefined;
|
|
43
43
|
}>;
|
|
44
44
|
account: z.ZodObject<{
|
|
45
45
|
twitter: z.ZodDefault<z.ZodString>;
|
|
@@ -63,6 +63,16 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
63
63
|
medium?: string | undefined;
|
|
64
64
|
github?: string | undefined;
|
|
65
65
|
}>;
|
|
66
|
+
error: z.ZodObject<{
|
|
67
|
+
codesFile: z.ZodDefault<z.ZodString>;
|
|
68
|
+
url: z.ZodOptional<z.ZodString>;
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
codesFile: string;
|
|
71
|
+
url?: string | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
codesFile?: string | undefined;
|
|
74
|
+
url?: string | undefined;
|
|
75
|
+
}>;
|
|
66
76
|
mode: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
|
|
67
77
|
workspaceRoot: z.ZodDefault<z.ZodString>;
|
|
68
78
|
externalPackagePatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -76,15 +86,15 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
76
86
|
build: z.ZodDefault<z.ZodString>;
|
|
77
87
|
}, "strip", z.ZodTypeAny, {
|
|
78
88
|
build: string;
|
|
79
|
-
config?: string | undefined;
|
|
80
89
|
cache?: string | undefined;
|
|
81
90
|
data?: string | undefined;
|
|
91
|
+
config?: string | undefined;
|
|
82
92
|
temp?: string | undefined;
|
|
83
93
|
log?: string | undefined;
|
|
84
94
|
}, {
|
|
85
|
-
config?: string | undefined;
|
|
86
95
|
cache?: string | undefined;
|
|
87
96
|
data?: string | undefined;
|
|
97
|
+
config?: string | undefined;
|
|
88
98
|
temp?: string | undefined;
|
|
89
99
|
log?: string | undefined;
|
|
90
100
|
build?: string | undefined;
|
|
@@ -831,8 +841,6 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
831
841
|
}>]>>]>]>;
|
|
832
842
|
extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
833
843
|
}, "strip", z.ZodTypeAny, {
|
|
834
|
-
logLevel: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all";
|
|
835
|
-
mode: "development" | "staging" | "production";
|
|
836
844
|
organization: string;
|
|
837
845
|
license: string;
|
|
838
846
|
homepage: string;
|
|
@@ -858,20 +866,26 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
858
866
|
medium: string;
|
|
859
867
|
github: string;
|
|
860
868
|
};
|
|
869
|
+
error: {
|
|
870
|
+
codesFile: string;
|
|
871
|
+
url?: string | undefined;
|
|
872
|
+
};
|
|
873
|
+
mode: "development" | "staging" | "production";
|
|
861
874
|
workspaceRoot: string;
|
|
862
875
|
externalPackagePatterns: string[];
|
|
863
876
|
skipCache: boolean;
|
|
864
877
|
directories: {
|
|
865
878
|
build: string;
|
|
866
|
-
config?: string | undefined;
|
|
867
879
|
cache?: string | undefined;
|
|
868
880
|
data?: string | undefined;
|
|
881
|
+
config?: string | undefined;
|
|
869
882
|
temp?: string | undefined;
|
|
870
883
|
log?: string | undefined;
|
|
871
884
|
};
|
|
872
885
|
packageManager: "npm" | "yarn" | "pnpm" | "bun";
|
|
873
886
|
timezone: string;
|
|
874
887
|
locale: string;
|
|
888
|
+
logLevel: "error" | "silent" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all";
|
|
875
889
|
registry: {
|
|
876
890
|
github?: string | undefined;
|
|
877
891
|
npm?: string | undefined;
|
|
@@ -1028,9 +1042,9 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1028
1042
|
};
|
|
1029
1043
|
}>;
|
|
1030
1044
|
extensions: Record<string, any>;
|
|
1031
|
-
name?: string | undefined;
|
|
1032
1045
|
$schema?: string | null | undefined;
|
|
1033
1046
|
extends?: string | string[] | undefined;
|
|
1047
|
+
name?: string | undefined;
|
|
1034
1048
|
namespace?: string | undefined;
|
|
1035
1049
|
repository?: string | undefined;
|
|
1036
1050
|
preid?: string | undefined;
|
|
@@ -1042,8 +1056,8 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1042
1056
|
};
|
|
1043
1057
|
release: {
|
|
1044
1058
|
banner?: string | undefined;
|
|
1045
|
-
footer?: string | undefined;
|
|
1046
1059
|
header?: string | undefined;
|
|
1060
|
+
footer?: string | undefined;
|
|
1047
1061
|
};
|
|
1048
1062
|
account: {
|
|
1049
1063
|
twitter?: string | undefined;
|
|
@@ -1053,10 +1067,14 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1053
1067
|
medium?: string | undefined;
|
|
1054
1068
|
github?: string | undefined;
|
|
1055
1069
|
};
|
|
1070
|
+
error: {
|
|
1071
|
+
codesFile?: string | undefined;
|
|
1072
|
+
url?: string | undefined;
|
|
1073
|
+
};
|
|
1056
1074
|
directories: {
|
|
1057
|
-
config?: string | undefined;
|
|
1058
1075
|
cache?: string | undefined;
|
|
1059
1076
|
data?: string | undefined;
|
|
1077
|
+
config?: string | undefined;
|
|
1060
1078
|
temp?: string | undefined;
|
|
1061
1079
|
log?: string | undefined;
|
|
1062
1080
|
build?: string | undefined;
|
|
@@ -1208,11 +1226,9 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1208
1226
|
background?: string | undefined;
|
|
1209
1227
|
};
|
|
1210
1228
|
}>;
|
|
1211
|
-
logLevel?: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all" | undefined;
|
|
1212
|
-
name?: string | undefined;
|
|
1213
|
-
mode?: "development" | "staging" | "production" | undefined;
|
|
1214
1229
|
$schema?: string | null | undefined;
|
|
1215
1230
|
extends?: string | string[] | undefined;
|
|
1231
|
+
name?: string | undefined;
|
|
1216
1232
|
namespace?: string | undefined;
|
|
1217
1233
|
organization?: string | undefined;
|
|
1218
1234
|
repository?: string | undefined;
|
|
@@ -1224,12 +1240,14 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1224
1240
|
branch?: string | undefined;
|
|
1225
1241
|
preid?: string | undefined;
|
|
1226
1242
|
owner?: string | undefined;
|
|
1243
|
+
mode?: "development" | "staging" | "production" | undefined;
|
|
1227
1244
|
workspaceRoot?: string | undefined;
|
|
1228
1245
|
externalPackagePatterns?: string[] | undefined;
|
|
1229
1246
|
skipCache?: boolean | undefined;
|
|
1230
1247
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
1231
1248
|
timezone?: string | undefined;
|
|
1232
1249
|
locale?: string | undefined;
|
|
1250
|
+
logLevel?: "error" | "silent" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
|
|
1233
1251
|
skipConfigLogging?: boolean | undefined;
|
|
1234
1252
|
registry?: {
|
|
1235
1253
|
github?: string | undefined;
|
package/dist/clean.d.ts
CHANGED
|
@@ -38,8 +38,8 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
38
38
|
header?: string | undefined;
|
|
39
39
|
}, {
|
|
40
40
|
banner?: string | undefined;
|
|
41
|
-
footer?: string | undefined;
|
|
42
41
|
header?: string | undefined;
|
|
42
|
+
footer?: string | undefined;
|
|
43
43
|
}>;
|
|
44
44
|
account: z.ZodObject<{
|
|
45
45
|
twitter: z.ZodDefault<z.ZodString>;
|
|
@@ -63,6 +63,16 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
63
63
|
medium?: string | undefined;
|
|
64
64
|
github?: string | undefined;
|
|
65
65
|
}>;
|
|
66
|
+
error: z.ZodObject<{
|
|
67
|
+
codesFile: z.ZodDefault<z.ZodString>;
|
|
68
|
+
url: z.ZodOptional<z.ZodString>;
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
codesFile: string;
|
|
71
|
+
url?: string | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
codesFile?: string | undefined;
|
|
74
|
+
url?: string | undefined;
|
|
75
|
+
}>;
|
|
66
76
|
mode: z.ZodDefault<z.ZodEnum<["development", "staging", "production"]>>;
|
|
67
77
|
workspaceRoot: z.ZodDefault<z.ZodString>;
|
|
68
78
|
externalPackagePatterns: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -76,15 +86,15 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
76
86
|
build: z.ZodDefault<z.ZodString>;
|
|
77
87
|
}, "strip", z.ZodTypeAny, {
|
|
78
88
|
build: string;
|
|
79
|
-
config?: string | undefined;
|
|
80
89
|
cache?: string | undefined;
|
|
81
90
|
data?: string | undefined;
|
|
91
|
+
config?: string | undefined;
|
|
82
92
|
temp?: string | undefined;
|
|
83
93
|
log?: string | undefined;
|
|
84
94
|
}, {
|
|
85
|
-
config?: string | undefined;
|
|
86
95
|
cache?: string | undefined;
|
|
87
96
|
data?: string | undefined;
|
|
97
|
+
config?: string | undefined;
|
|
88
98
|
temp?: string | undefined;
|
|
89
99
|
log?: string | undefined;
|
|
90
100
|
build?: string | undefined;
|
|
@@ -831,8 +841,6 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
831
841
|
}>]>>]>]>;
|
|
832
842
|
extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
833
843
|
}, "strip", z.ZodTypeAny, {
|
|
834
|
-
logLevel: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all";
|
|
835
|
-
mode: "development" | "staging" | "production";
|
|
836
844
|
organization: string;
|
|
837
845
|
license: string;
|
|
838
846
|
homepage: string;
|
|
@@ -858,20 +866,26 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
858
866
|
medium: string;
|
|
859
867
|
github: string;
|
|
860
868
|
};
|
|
869
|
+
error: {
|
|
870
|
+
codesFile: string;
|
|
871
|
+
url?: string | undefined;
|
|
872
|
+
};
|
|
873
|
+
mode: "development" | "staging" | "production";
|
|
861
874
|
workspaceRoot: string;
|
|
862
875
|
externalPackagePatterns: string[];
|
|
863
876
|
skipCache: boolean;
|
|
864
877
|
directories: {
|
|
865
878
|
build: string;
|
|
866
|
-
config?: string | undefined;
|
|
867
879
|
cache?: string | undefined;
|
|
868
880
|
data?: string | undefined;
|
|
881
|
+
config?: string | undefined;
|
|
869
882
|
temp?: string | undefined;
|
|
870
883
|
log?: string | undefined;
|
|
871
884
|
};
|
|
872
885
|
packageManager: "npm" | "yarn" | "pnpm" | "bun";
|
|
873
886
|
timezone: string;
|
|
874
887
|
locale: string;
|
|
888
|
+
logLevel: "error" | "silent" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all";
|
|
875
889
|
registry: {
|
|
876
890
|
github?: string | undefined;
|
|
877
891
|
npm?: string | undefined;
|
|
@@ -1028,9 +1042,9 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1028
1042
|
};
|
|
1029
1043
|
}>;
|
|
1030
1044
|
extensions: Record<string, any>;
|
|
1031
|
-
name?: string | undefined;
|
|
1032
1045
|
$schema?: string | null | undefined;
|
|
1033
1046
|
extends?: string | string[] | undefined;
|
|
1047
|
+
name?: string | undefined;
|
|
1034
1048
|
namespace?: string | undefined;
|
|
1035
1049
|
repository?: string | undefined;
|
|
1036
1050
|
preid?: string | undefined;
|
|
@@ -1042,8 +1056,8 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1042
1056
|
};
|
|
1043
1057
|
release: {
|
|
1044
1058
|
banner?: string | undefined;
|
|
1045
|
-
footer?: string | undefined;
|
|
1046
1059
|
header?: string | undefined;
|
|
1060
|
+
footer?: string | undefined;
|
|
1047
1061
|
};
|
|
1048
1062
|
account: {
|
|
1049
1063
|
twitter?: string | undefined;
|
|
@@ -1053,10 +1067,14 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1053
1067
|
medium?: string | undefined;
|
|
1054
1068
|
github?: string | undefined;
|
|
1055
1069
|
};
|
|
1070
|
+
error: {
|
|
1071
|
+
codesFile?: string | undefined;
|
|
1072
|
+
url?: string | undefined;
|
|
1073
|
+
};
|
|
1056
1074
|
directories: {
|
|
1057
|
-
config?: string | undefined;
|
|
1058
1075
|
cache?: string | undefined;
|
|
1059
1076
|
data?: string | undefined;
|
|
1077
|
+
config?: string | undefined;
|
|
1060
1078
|
temp?: string | undefined;
|
|
1061
1079
|
log?: string | undefined;
|
|
1062
1080
|
build?: string | undefined;
|
|
@@ -1208,11 +1226,9 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1208
1226
|
background?: string | undefined;
|
|
1209
1227
|
};
|
|
1210
1228
|
}>;
|
|
1211
|
-
logLevel?: "debug" | "silent" | "fatal" | "error" | "warn" | "success" | "info" | "trace" | "all" | undefined;
|
|
1212
|
-
name?: string | undefined;
|
|
1213
|
-
mode?: "development" | "staging" | "production" | undefined;
|
|
1214
1229
|
$schema?: string | null | undefined;
|
|
1215
1230
|
extends?: string | string[] | undefined;
|
|
1231
|
+
name?: string | undefined;
|
|
1216
1232
|
namespace?: string | undefined;
|
|
1217
1233
|
organization?: string | undefined;
|
|
1218
1234
|
repository?: string | undefined;
|
|
@@ -1224,12 +1240,14 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
|
|
|
1224
1240
|
branch?: string | undefined;
|
|
1225
1241
|
preid?: string | undefined;
|
|
1226
1242
|
owner?: string | undefined;
|
|
1243
|
+
mode?: "development" | "staging" | "production" | undefined;
|
|
1227
1244
|
workspaceRoot?: string | undefined;
|
|
1228
1245
|
externalPackagePatterns?: string[] | undefined;
|
|
1229
1246
|
skipCache?: boolean | undefined;
|
|
1230
1247
|
packageManager?: "npm" | "yarn" | "pnpm" | "bun" | undefined;
|
|
1231
1248
|
timezone?: string | undefined;
|
|
1232
1249
|
locale?: string | undefined;
|
|
1250
|
+
logLevel?: "error" | "silent" | "fatal" | "warn" | "success" | "info" | "debug" | "trace" | "all" | undefined;
|
|
1233
1251
|
skipConfigLogging?: boolean | undefined;
|
|
1234
1252
|
registry?: {
|
|
1235
1253
|
github?: string | undefined;
|
package/dist/clean.js
CHANGED
package/dist/config.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkX3ZTLBTAcjs = require('./chunk-X3ZTLBTA.cjs');
|
|
5
5
|
require('./chunk-S6M44SSZ.cjs');
|
|
6
6
|
require('./chunk-WRBUO7H6.cjs');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-UM3465YR.cjs');
|
|
8
8
|
require('./chunk-SSEYS7LI.cjs');
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-JLPAYWVX.cjs');
|
|
10
|
+
require('./chunk-QVWQRHQZ.cjs');
|
|
11
11
|
require('./chunk-XITTOHOG.cjs');
|
|
12
12
|
require('./chunk-CGFDQ5AJ.cjs');
|
|
13
13
|
require('./chunk-EZGTDCYM.cjs');
|
|
@@ -15,4 +15,4 @@ require('./chunk-BGYQAVKQ.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.DEFAULT_BUILD_OPTIONS =
|
|
18
|
+
exports.DEFAULT_BUILD_OPTIONS = _chunkX3ZTLBTAcjs.DEFAULT_BUILD_OPTIONS; exports.getDefaultBuildPlugins = _chunkX3ZTLBTAcjs.getDefaultBuildPlugins;
|
package/dist/config.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_BUILD_OPTIONS,
|
|
3
3
|
getDefaultBuildPlugins
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MJLJTLYN.js";
|
|
5
5
|
import "./chunk-T5272PC2.js";
|
|
6
6
|
import "./chunk-LYDEMC26.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-NECSRTH6.js";
|
|
8
8
|
import "./chunk-Q3LOGZKI.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-U6XRGLIE.js";
|
|
10
|
+
import "./chunk-CMVUI2JL.js";
|
|
11
11
|
import "./chunk-YMTDVMD6.js";
|
|
12
12
|
import "./chunk-YNQ45EAM.js";
|
|
13
13
|
import "./chunk-GWG4HOQ6.js";
|