@storm-software/projen 0.9.26 → 0.9.28
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-FGKTQBEG.mjs → chunk-2QLFDU35.mjs} +1 -1
- package/dist/{chunk-JBQRQ5YL.mjs → chunk-574Q4AGO.mjs} +1 -1
- package/dist/{chunk-DZFHP242.js → chunk-D7E6PO7R.js} +359 -359
- package/dist/{chunk-JGWQETQZ.js → chunk-EKZ5PM52.js} +3 -3
- package/dist/{chunk-AIOPBLPU.js → chunk-SETAUINA.js} +2 -2
- package/dist/{chunk-ZHRRBILH.mjs → chunk-TGOBVO4I.mjs} +1 -1
- package/dist/{chunk-FLQMNCUY.js → chunk-TKYNU6LX.js} +7 -7
- package/dist/chunk-TTGWXSDC.js +6 -0
- package/dist/{chunk-P7M35LP5.mjs → chunk-Y44MTSI7.mjs} +2 -2
- package/dist/{chunk-IJ72TMUG.mjs → chunk-ZXG4IN2I.mjs} +2 -2
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +4 -4
- package/dist/index.js +10 -10
- package/dist/index.mjs +5 -5
- package/dist/src/components/index.js +3 -3
- package/dist/src/components/index.mjs +2 -2
- package/dist/src/components/nx-workspace.js +17 -17
- package/dist/src/components/nx-workspace.mjs +2 -2
- package/dist/src/generators/init/generator.js +4 -4
- package/dist/src/generators/init/generator.mjs +3 -3
- package/dist/tsup.config.js +2 -2
- package/dist/tsup.config.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-6UAMH4D4.js +0 -6
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkTKYNU6LXjs = require('./chunk-TKYNU6LX.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkSETAUINAjs = require('./chunk-SETAUINA.js');
|
|
10
10
|
|
|
11
11
|
// src/generators/init/generator.ts
|
|
12
|
-
|
|
12
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
13
13
|
var _devkit = require('@nx/devkit');
|
|
14
14
|
|
|
15
15
|
// ../workspace-tools/index.ts
|
|
16
|
-
|
|
16
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
17
17
|
|
|
18
18
|
// ../workspace-tools/executors.ts
|
|
19
|
-
|
|
19
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
20
20
|
|
|
21
21
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
22
|
-
|
|
22
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
23
23
|
|
|
24
24
|
// ../workspace-tools/src/base/base-executor.ts
|
|
25
|
-
|
|
25
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
26
26
|
|
|
27
27
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
28
|
-
|
|
28
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
29
29
|
var _c12 = require('c12');
|
|
30
30
|
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
31
31
|
|
|
32
32
|
// ../config-tools/src/logger/console.ts
|
|
33
|
-
|
|
33
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
34
34
|
|
|
35
35
|
// ../config-tools/src/types.ts
|
|
36
|
-
|
|
36
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
37
37
|
var LogLevel = {
|
|
38
38
|
SILENT: 0,
|
|
39
39
|
FATAL: 10,
|
|
@@ -58,23 +58,23 @@ var LogLevelLabel = {
|
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
// ../config-tools/src/utilities/get-default-config.ts
|
|
61
|
-
|
|
61
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
62
62
|
|
|
63
63
|
// ../config/src/index.ts
|
|
64
|
-
|
|
64
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
65
65
|
|
|
66
66
|
// ../config/src/constants.ts
|
|
67
|
-
|
|
67
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
68
68
|
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
69
69
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
70
70
|
var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
|
|
71
71
|
var STORM_DEFAULT_LICENSE = "Apache-2.0";
|
|
72
72
|
|
|
73
73
|
// ../config/src/define-config.ts
|
|
74
|
-
|
|
74
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
75
75
|
|
|
76
76
|
// ../config/src/schema.ts
|
|
77
|
-
|
|
77
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
78
78
|
var _zod = require('zod'); var _zod2 = _interopRequireDefault(_zod);
|
|
79
79
|
var DarkColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
|
|
80
80
|
var LightColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#f4f4f5").describe("The light background color of the workspace");
|
|
@@ -222,7 +222,7 @@ var StormConfigSchema = _zod2.default.object({
|
|
|
222
222
|
}).describe("Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo.");
|
|
223
223
|
|
|
224
224
|
// ../config/src/types.ts
|
|
225
|
-
|
|
225
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
226
226
|
var COLOR_KEYS = [
|
|
227
227
|
"dark",
|
|
228
228
|
"light",
|
|
@@ -247,10 +247,10 @@ var _promises = require('fs/promises'); var _promises2 = _interopRequireDefault(
|
|
|
247
247
|
var _path = require('path'); var path6 = _interopRequireWildcard(_path);
|
|
248
248
|
|
|
249
249
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
250
|
-
|
|
250
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
251
251
|
|
|
252
252
|
// ../config-tools/src/utilities/find-up.ts
|
|
253
|
-
|
|
253
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
254
254
|
|
|
255
255
|
|
|
256
256
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
@@ -269,7 +269,7 @@ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
|
|
|
269
269
|
}
|
|
270
270
|
return void 0;
|
|
271
271
|
}
|
|
272
|
-
|
|
272
|
+
_chunkSETAUINAjs.__name.call(void 0, findFolderUp, "findFolderUp");
|
|
273
273
|
|
|
274
274
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
275
275
|
var rootFiles = [
|
|
@@ -316,11 +316,11 @@ var rootDirectories = [
|
|
|
316
316
|
];
|
|
317
317
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
318
318
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
319
|
-
return
|
|
319
|
+
return _chunkTKYNU6LXjs.correctPaths.call(void 0, _nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH)));
|
|
320
320
|
}
|
|
321
|
-
return
|
|
321
|
+
return _chunkTKYNU6LXjs.correctPaths.call(void 0, findFolderUp(_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())), rootFiles, rootDirectories));
|
|
322
322
|
}
|
|
323
|
-
|
|
323
|
+
_chunkSETAUINAjs.__name.call(void 0, findWorkspaceRootSafe, "findWorkspaceRootSafe");
|
|
324
324
|
function findWorkspaceRoot(pathInsideMonorepo) {
|
|
325
325
|
const result = findWorkspaceRootSafe(pathInsideMonorepo);
|
|
326
326
|
if (!result) {
|
|
@@ -330,7 +330,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`);
|
|
|
330
330
|
}
|
|
331
331
|
return result;
|
|
332
332
|
}
|
|
333
|
-
|
|
333
|
+
_chunkSETAUINAjs.__name.call(void 0, findWorkspaceRoot, "findWorkspaceRoot");
|
|
334
334
|
|
|
335
335
|
// ../config-tools/src/utilities/get-default-config.ts
|
|
336
336
|
var DEFAULT_COLOR_CONFIG = {
|
|
@@ -361,7 +361,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
361
361
|
negative: "#dc2626"
|
|
362
362
|
}
|
|
363
363
|
};
|
|
364
|
-
var getDefaultConfig = /* @__PURE__ */
|
|
364
|
+
var getDefaultConfig = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (root) => {
|
|
365
365
|
let license = STORM_DEFAULT_LICENSE;
|
|
366
366
|
let homepage = STORM_DEFAULT_HOMEPAGE;
|
|
367
367
|
let name = void 0;
|
|
@@ -369,7 +369,7 @@ var getDefaultConfig = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, asyn
|
|
|
369
369
|
let repository = void 0;
|
|
370
370
|
const workspaceRoot3 = findWorkspaceRoot(root);
|
|
371
371
|
if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot3, "package.json"))) {
|
|
372
|
-
const file = await _promises.readFile.call(void 0,
|
|
372
|
+
const file = await _promises.readFile.call(void 0, _chunkTKYNU6LXjs.joinPaths.call(void 0, workspaceRoot3, "package.json"), "utf8");
|
|
373
373
|
if (file) {
|
|
374
374
|
const packageJson = JSON.parse(file);
|
|
375
375
|
if (packageJson.name) {
|
|
@@ -406,28 +406,28 @@ var getDefaultConfig = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, asyn
|
|
|
406
406
|
}, "getDefaultConfig");
|
|
407
407
|
|
|
408
408
|
// ../config-tools/src/logger/chalk.ts
|
|
409
|
-
|
|
409
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
410
410
|
var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
|
|
411
411
|
var chalkDefault = {
|
|
412
|
-
hex: /* @__PURE__ */
|
|
413
|
-
bgHex: /* @__PURE__ */
|
|
414
|
-
whiteBright: /* @__PURE__ */
|
|
412
|
+
hex: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (_) => (message) => message, "hex"),
|
|
413
|
+
bgHex: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (_) => ({
|
|
414
|
+
whiteBright: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (message) => message, "whiteBright")
|
|
415
415
|
}), "bgHex"),
|
|
416
|
-
whiteBright: /* @__PURE__ */
|
|
417
|
-
gray: /* @__PURE__ */
|
|
416
|
+
whiteBright: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (message) => message, "whiteBright"),
|
|
417
|
+
gray: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (message) => message, "gray"),
|
|
418
418
|
bold: {
|
|
419
|
-
hex: /* @__PURE__ */
|
|
420
|
-
bgHex: /* @__PURE__ */
|
|
421
|
-
whiteBright: /* @__PURE__ */
|
|
419
|
+
hex: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (_) => (message) => message, "hex"),
|
|
420
|
+
bgHex: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (_) => ({
|
|
421
|
+
whiteBright: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (message) => message, "whiteBright")
|
|
422
422
|
}), "bgHex"),
|
|
423
|
-
whiteBright: /* @__PURE__ */
|
|
423
|
+
whiteBright: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (message) => message, "whiteBright")
|
|
424
424
|
},
|
|
425
425
|
dim: {
|
|
426
|
-
hex: /* @__PURE__ */
|
|
427
|
-
gray: /* @__PURE__ */
|
|
426
|
+
hex: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (_) => (message) => message, "hex"),
|
|
427
|
+
gray: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (message) => message, "gray")
|
|
428
428
|
}
|
|
429
429
|
};
|
|
430
|
-
var getChalk = /* @__PURE__ */
|
|
430
|
+
var getChalk = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, () => {
|
|
431
431
|
let _chalk = _chalk3.default;
|
|
432
432
|
if (!_optionalChain([_chalk, 'optionalAccess', _2 => _2.hex]) || !_optionalChain([_chalk, 'optionalAccess', _3 => _3.bold, 'optionalAccess', _4 => _4.hex]) || !_optionalChain([_chalk, 'optionalAccess', _5 => _5.bgHex]) || !_optionalChain([_chalk, 'optionalAccess', _6 => _6.whiteBright])) {
|
|
433
433
|
_chalk = chalkDefault;
|
|
@@ -436,10 +436,10 @@ var getChalk = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, () => {
|
|
|
436
436
|
}, "getChalk");
|
|
437
437
|
|
|
438
438
|
// ../config-tools/src/logger/console-icons.ts
|
|
439
|
-
|
|
439
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
440
440
|
|
|
441
441
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
442
|
-
|
|
442
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
443
443
|
function isUnicodeSupported() {
|
|
444
444
|
if (process.platform !== "win32") {
|
|
445
445
|
return process.env.TERM !== "linux";
|
|
@@ -449,10 +449,10 @@ function isUnicodeSupported() {
|
|
|
449
449
|
process.env.ConEmuTask === "{cmd::Cmder}" || // ConEmu and cmder
|
|
450
450
|
process.env.TERM_PROGRAM === "Terminus-Sublime" || process.env.TERM_PROGRAM === "vscode" || process.env.TERM === "xterm-256color" || process.env.TERM === "alacritty" || process.env.TERM === "rxvt-unicode" || process.env.TERM === "rxvt-unicode-256color" || process.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
|
|
451
451
|
}
|
|
452
|
-
|
|
452
|
+
_chunkSETAUINAjs.__name.call(void 0, isUnicodeSupported, "isUnicodeSupported");
|
|
453
453
|
|
|
454
454
|
// ../config-tools/src/logger/console-icons.ts
|
|
455
|
-
var useIcon = /* @__PURE__ */
|
|
455
|
+
var useIcon = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (c, fallback) => isUnicodeSupported() ? c : fallback, "useIcon");
|
|
456
456
|
var CONSOLE_ICONS = {
|
|
457
457
|
[LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
|
|
458
458
|
[LogLevelLabel.FATAL]: useIcon("\u{1F480}", "\xD7"),
|
|
@@ -465,14 +465,14 @@ var CONSOLE_ICONS = {
|
|
|
465
465
|
};
|
|
466
466
|
|
|
467
467
|
// ../config-tools/src/logger/format-timestamp.ts
|
|
468
|
-
|
|
469
|
-
var formatTimestamp = /* @__PURE__ */
|
|
468
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
469
|
+
var formatTimestamp = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (date = /* @__PURE__ */ new Date()) => {
|
|
470
470
|
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
471
471
|
}, "formatTimestamp");
|
|
472
472
|
|
|
473
473
|
// ../config-tools/src/logger/get-log-level.ts
|
|
474
|
-
|
|
475
|
-
var getLogLevel = /* @__PURE__ */
|
|
474
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
475
|
+
var getLogLevel = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (label) => {
|
|
476
476
|
switch (label) {
|
|
477
477
|
case "all":
|
|
478
478
|
return LogLevel.ALL;
|
|
@@ -494,7 +494,7 @@ var getLogLevel = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, (label) =
|
|
|
494
494
|
return LogLevel.INFO;
|
|
495
495
|
}
|
|
496
496
|
}, "getLogLevel");
|
|
497
|
-
var getLogLevelLabel = /* @__PURE__ */
|
|
497
|
+
var getLogLevelLabel = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (logLevel = LogLevel.INFO) => {
|
|
498
498
|
if (logLevel >= LogLevel.ALL) {
|
|
499
499
|
return LogLevelLabel.ALL;
|
|
500
500
|
}
|
|
@@ -521,13 +521,13 @@ var getLogLevelLabel = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, (log
|
|
|
521
521
|
}
|
|
522
522
|
return LogLevelLabel.INFO;
|
|
523
523
|
}, "getLogLevelLabel");
|
|
524
|
-
var isVerbose = /* @__PURE__ */
|
|
524
|
+
var isVerbose = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (label = LogLevelLabel.SILENT) => {
|
|
525
525
|
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
526
526
|
return logLevel >= LogLevel.DEBUG;
|
|
527
527
|
}, "isVerbose");
|
|
528
528
|
|
|
529
529
|
// ../config-tools/src/logger/console.ts
|
|
530
|
-
var getLogFn = /* @__PURE__ */
|
|
530
|
+
var getLogFn = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
531
531
|
const colors = !_optionalChain([config, 'access', _7 => _7.colors, 'optionalAccess', _8 => _8.dark]) && !_optionalChain([config, 'access', _9 => _9.colors, 'optionalAccess', _10 => _10["base"]]) && !_optionalChain([config, 'access', _11 => _11.colors, 'optionalAccess', _12 => _12["base"], 'optionalAccess', _13 => _13.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _14 => _14.colors, 'optionalAccess', _15 => _15.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _16 => _16.colors, 'optionalAccess', _17 => _17["base"], 'optionalAccess', _18 => _18.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _19 => _19.colors, 'optionalAccess', _20 => _20["base"]]) ? _optionalChain([config, 'access', _21 => _21.colors, 'optionalAccess', _22 => _22["base"]]) : DEFAULT_COLOR_CONFIG;
|
|
532
532
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
533
533
|
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
@@ -589,14 +589,14 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(_nullishCoalesce(colors.brand, ()
|
|
|
589
589
|
`);
|
|
590
590
|
};
|
|
591
591
|
}, "getLogFn");
|
|
592
|
-
var writeFatal = /* @__PURE__ */
|
|
593
|
-
var writeError = /* @__PURE__ */
|
|
594
|
-
var writeWarning = /* @__PURE__ */
|
|
595
|
-
var writeInfo = /* @__PURE__ */
|
|
596
|
-
var writeSuccess = /* @__PURE__ */
|
|
597
|
-
var writeDebug = /* @__PURE__ */
|
|
598
|
-
var writeTrace = /* @__PURE__ */
|
|
599
|
-
var getStopwatch = /* @__PURE__ */
|
|
592
|
+
var writeFatal = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.FATAL, config)(message), "writeFatal");
|
|
593
|
+
var writeError = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.ERROR, config)(message), "writeError");
|
|
594
|
+
var writeWarning = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.WARN, config)(message), "writeWarning");
|
|
595
|
+
var writeInfo = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.INFO, config)(message), "writeInfo");
|
|
596
|
+
var writeSuccess = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.SUCCESS, config)(message), "writeSuccess");
|
|
597
|
+
var writeDebug = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.DEBUG, config)(message), "writeDebug");
|
|
598
|
+
var writeTrace = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (message, config) => getLogFn(LogLevel.TRACE, config)(message), "writeTrace");
|
|
599
|
+
var getStopwatch = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (name) => {
|
|
600
600
|
const start = process.hrtime();
|
|
601
601
|
return () => {
|
|
602
602
|
const end = process.hrtime(start);
|
|
@@ -606,7 +606,7 @@ var getStopwatch = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, (name) =
|
|
|
606
606
|
};
|
|
607
607
|
}, "getStopwatch");
|
|
608
608
|
var MAX_DEPTH = 4;
|
|
609
|
-
var formatLogMessage = /* @__PURE__ */
|
|
609
|
+
var formatLogMessage = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (message, options = {}, depth2 = 0) => {
|
|
610
610
|
if (depth2 > MAX_DEPTH) {
|
|
611
611
|
return "<max depth>";
|
|
612
612
|
}
|
|
@@ -622,7 +622,7 @@ ${Object.keys(message).filter((key) => !skip2.includes(key)).map((key) => ` ${pr
|
|
|
622
622
|
skip: skip2
|
|
623
623
|
}, depth2 + 1) : message[key]}`).join("\n")}` : message;
|
|
624
624
|
}, "formatLogMessage");
|
|
625
|
-
var _isFunction = /* @__PURE__ */
|
|
625
|
+
var _isFunction = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (value) => {
|
|
626
626
|
try {
|
|
627
627
|
return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _23 => _23.constructor]) && _optionalChain([value, 'optionalAccess', _24 => _24.call]) && _optionalChain([value, 'optionalAccess', _25 => _25.apply]));
|
|
628
628
|
} catch (e) {
|
|
@@ -631,8 +631,8 @@ var _isFunction = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, (value) =
|
|
|
631
631
|
}, "_isFunction");
|
|
632
632
|
|
|
633
633
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
634
|
-
|
|
635
|
-
var applyWorkspaceBaseTokens = /* @__PURE__ */
|
|
634
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
635
|
+
var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (option, tokenParams) => {
|
|
636
636
|
let result = option;
|
|
637
637
|
if (!result) {
|
|
638
638
|
return result;
|
|
@@ -662,10 +662,10 @@ var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void
|
|
|
662
662
|
}
|
|
663
663
|
return result;
|
|
664
664
|
}, "applyWorkspaceBaseTokens");
|
|
665
|
-
var applyWorkspaceProjectTokens = /* @__PURE__ */
|
|
665
|
+
var applyWorkspaceProjectTokens = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (option, tokenParams) => {
|
|
666
666
|
return applyWorkspaceBaseTokens(option, tokenParams);
|
|
667
667
|
}, "applyWorkspaceProjectTokens");
|
|
668
|
-
var applyWorkspaceTokens = /* @__PURE__ */
|
|
668
|
+
var applyWorkspaceTokens = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (options, tokenParams, tokenizerFn) => {
|
|
669
669
|
if (!options) {
|
|
670
670
|
return {};
|
|
671
671
|
}
|
|
@@ -685,10 +685,10 @@ var applyWorkspaceTokens = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0,
|
|
|
685
685
|
}, "applyWorkspaceTokens");
|
|
686
686
|
|
|
687
687
|
// ../config-tools/src/utilities/run.ts
|
|
688
|
-
|
|
688
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
689
689
|
var _child_process = require('child_process');
|
|
690
690
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
691
|
-
var run = /* @__PURE__ */
|
|
691
|
+
var run = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (config, command, cwd = _nullishCoalesce(config.workspaceRoot, () => ( process.cwd())), stdio = "inherit", env = process.env) => {
|
|
692
692
|
return _child_process.execSync.call(void 0, command, {
|
|
693
693
|
cwd,
|
|
694
694
|
env: {
|
|
@@ -705,7 +705,7 @@ var run = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, (config, command,
|
|
|
705
705
|
}, "run");
|
|
706
706
|
|
|
707
707
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
708
|
-
var getConfigFileByName = /* @__PURE__ */
|
|
708
|
+
var getConfigFileByName = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (fileName, filePath, options = {}) => {
|
|
709
709
|
const workspacePath = filePath || findWorkspaceRoot(filePath);
|
|
710
710
|
const configs = await Promise.all([
|
|
711
711
|
_c12.loadConfig.call(void 0, {
|
|
@@ -715,7 +715,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, a
|
|
|
715
715
|
envName: _optionalChain([fileName, 'optionalAccess', _29 => _29.toUpperCase, 'call', _30 => _30()]),
|
|
716
716
|
jitiOptions: {
|
|
717
717
|
debug: false,
|
|
718
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
718
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkTKYNU6LXjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
|
|
719
719
|
},
|
|
720
720
|
...options
|
|
721
721
|
}),
|
|
@@ -726,7 +726,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, a
|
|
|
726
726
|
envName: _optionalChain([fileName, 'optionalAccess', _31 => _31.toUpperCase, 'call', _32 => _32()]),
|
|
727
727
|
jitiOptions: {
|
|
728
728
|
debug: false,
|
|
729
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
729
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkTKYNU6LXjs.joinPaths.call(void 0, process.env.STORM_CACHE_DIR || "node_modules/.cache/storm", "jiti")
|
|
730
730
|
},
|
|
731
731
|
configFile: fileName,
|
|
732
732
|
...options
|
|
@@ -734,7 +734,7 @@ var getConfigFileByName = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, a
|
|
|
734
734
|
]);
|
|
735
735
|
return _defu2.default.call(void 0, _nullishCoalesce(configs[0], () => ( {})), _nullishCoalesce(configs[1], () => ( {})));
|
|
736
736
|
}, "getConfigFileByName");
|
|
737
|
-
var getConfigFile = /* @__PURE__ */
|
|
737
|
+
var getConfigFile = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (filePath, additionalFileNames = []) => {
|
|
738
738
|
const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
|
|
739
739
|
const result = await getConfigFileByName("storm-workspace", workspacePath);
|
|
740
740
|
let config = result.config;
|
|
@@ -765,12 +765,12 @@ var getConfigFile = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, async (
|
|
|
765
765
|
}, "getConfigFile");
|
|
766
766
|
|
|
767
767
|
// ../config-tools/src/create-storm-config.ts
|
|
768
|
-
|
|
768
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
769
769
|
|
|
770
770
|
|
|
771
771
|
// ../config-tools/src/env/get-env.ts
|
|
772
|
-
|
|
773
|
-
var getExtensionEnv = /* @__PURE__ */
|
|
772
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
773
|
+
var getExtensionEnv = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (extensionName) => {
|
|
774
774
|
const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
|
|
775
775
|
return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
|
|
776
776
|
const name = key.replace(prefix, "").split("_").map((i) => i.length > 0 ? i.trim().charAt(0).toUpperCase() + i.trim().slice(1) : "").join("");
|
|
@@ -780,7 +780,7 @@ var getExtensionEnv = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, (exte
|
|
|
780
780
|
return ret;
|
|
781
781
|
}, {});
|
|
782
782
|
}, "getExtensionEnv");
|
|
783
|
-
var getConfigEnv = /* @__PURE__ */
|
|
783
|
+
var getConfigEnv = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, () => {
|
|
784
784
|
const prefix = "STORM_";
|
|
785
785
|
let config = {
|
|
786
786
|
extends: process.env[`${prefix}EXTENDS`] || void 0,
|
|
@@ -799,15 +799,15 @@ var getConfigEnv = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, () => {
|
|
|
799
799
|
licensing: process.env[`${prefix}LICENSING`] || void 0,
|
|
800
800
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
801
801
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
802
|
-
configFile: process.env[`${prefix}CONFIG_FILE`] ?
|
|
803
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
802
|
+
configFile: process.env[`${prefix}CONFIG_FILE`] ? _chunkTKYNU6LXjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_FILE`]) : void 0,
|
|
803
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkTKYNU6LXjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
804
804
|
directories: {
|
|
805
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
806
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
807
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
808
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
809
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
810
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
805
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkTKYNU6LXjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : void 0,
|
|
806
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkTKYNU6LXjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : void 0,
|
|
807
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkTKYNU6LXjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : void 0,
|
|
808
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkTKYNU6LXjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : void 0,
|
|
809
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkTKYNU6LXjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : void 0,
|
|
810
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkTKYNU6LXjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : void 0
|
|
811
811
|
},
|
|
812
812
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
813
813
|
mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -870,11 +870,11 @@ var getConfigEnv = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, () => {
|
|
|
870
870
|
}
|
|
871
871
|
return config;
|
|
872
872
|
}, "getConfigEnv");
|
|
873
|
-
var getThemeColorConfigEnv = /* @__PURE__ */
|
|
873
|
+
var getThemeColorConfigEnv = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (prefix, theme) => {
|
|
874
874
|
const themeName = `COLOR_${theme && theme !== "base" ? `${theme}_` : ""}`.toUpperCase();
|
|
875
875
|
return process.env[`${prefix}${themeName}LIGHT_BRAND`] || process.env[`${prefix}${themeName}DARK_BRAND`] ? getMultiThemeColorConfigEnv(prefix + themeName) : getSingleThemeColorConfigEnv(prefix + themeName);
|
|
876
876
|
}, "getThemeColorConfigEnv");
|
|
877
|
-
var getSingleThemeColorConfigEnv = /* @__PURE__ */
|
|
877
|
+
var getSingleThemeColorConfigEnv = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (prefix) => {
|
|
878
878
|
return {
|
|
879
879
|
dark: process.env[`${prefix}DARK`],
|
|
880
880
|
light: process.env[`${prefix}LIGHT`],
|
|
@@ -892,13 +892,13 @@ var getSingleThemeColorConfigEnv = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(
|
|
|
892
892
|
negative: process.env[`${prefix}NEGATIVE`]
|
|
893
893
|
};
|
|
894
894
|
}, "getSingleThemeColorConfigEnv");
|
|
895
|
-
var getMultiThemeColorConfigEnv = /* @__PURE__ */
|
|
895
|
+
var getMultiThemeColorConfigEnv = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (prefix) => {
|
|
896
896
|
return {
|
|
897
897
|
light: getBaseThemeColorConfigEnv(`${prefix}_LIGHT_`),
|
|
898
898
|
dark: getBaseThemeColorConfigEnv(`${prefix}_DARK_`)
|
|
899
899
|
};
|
|
900
900
|
}, "getMultiThemeColorConfigEnv");
|
|
901
|
-
var getBaseThemeColorConfigEnv = /* @__PURE__ */
|
|
901
|
+
var getBaseThemeColorConfigEnv = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (prefix) => {
|
|
902
902
|
return {
|
|
903
903
|
foreground: process.env[`${prefix}FOREGROUND`],
|
|
904
904
|
background: process.env[`${prefix}BACKGROUND`],
|
|
@@ -918,8 +918,8 @@ var getBaseThemeColorConfigEnv = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(vo
|
|
|
918
918
|
}, "getBaseThemeColorConfigEnv");
|
|
919
919
|
|
|
920
920
|
// ../config-tools/src/env/set-env.ts
|
|
921
|
-
|
|
922
|
-
var setExtensionEnv = /* @__PURE__ */
|
|
921
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
922
|
+
var setExtensionEnv = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (extensionName, extension) => {
|
|
923
923
|
for (const key of Object.keys(_nullishCoalesce(extension, () => ( {})))) {
|
|
924
924
|
if (extension[key]) {
|
|
925
925
|
const result = _nullishCoalesce(_optionalChain([key, 'optionalAccess', _35 => _35.replace, 'call', _36 => _36(/([A-Z])+/g, (input) => input ? _optionalChain([input, 'access', _37 => _37[0], 'optionalAccess', _38 => _38.toUpperCase, 'call', _39 => _39()]) + input.slice(1) : ""), 'access', _40 => _40.split, 'call', _41 => _41(/(?=[A-Z])|[.\-\s_]/), 'access', _42 => _42.map, 'call', _43 => _43((x) => x.toLowerCase())]), () => ( []));
|
|
@@ -938,7 +938,7 @@ var setExtensionEnv = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, (exte
|
|
|
938
938
|
}
|
|
939
939
|
}
|
|
940
940
|
}, "setExtensionEnv");
|
|
941
|
-
var setConfigEnv = /* @__PURE__ */
|
|
941
|
+
var setConfigEnv = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (config) => {
|
|
942
942
|
const prefix = "STORM_";
|
|
943
943
|
if (config.extends) {
|
|
944
944
|
process.env[`${prefix}EXTENDS`] = Array.isArray(config.extends) ? JSON.stringify(config.extends) : config.extends;
|
|
@@ -986,31 +986,31 @@ var setConfigEnv = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, (config)
|
|
|
986
986
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
987
987
|
}
|
|
988
988
|
if (config.configFile) {
|
|
989
|
-
process.env[`${prefix}CONFIG_FILE`] =
|
|
989
|
+
process.env[`${prefix}CONFIG_FILE`] = _chunkTKYNU6LXjs.correctPaths.call(void 0, config.configFile);
|
|
990
990
|
}
|
|
991
991
|
if (config.workspaceRoot) {
|
|
992
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
993
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
994
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
992
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkTKYNU6LXjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
993
|
+
process.env.NX_WORKSPACE_ROOT = _chunkTKYNU6LXjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
994
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkTKYNU6LXjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
995
995
|
}
|
|
996
996
|
if (config.directories) {
|
|
997
997
|
if (!config.skipCache && config.directories.cache) {
|
|
998
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
998
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkTKYNU6LXjs.correctPaths.call(void 0, config.directories.cache);
|
|
999
999
|
}
|
|
1000
1000
|
if (config.directories.data) {
|
|
1001
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
1001
|
+
process.env[`${prefix}DATA_DIR`] = _chunkTKYNU6LXjs.correctPaths.call(void 0, config.directories.data);
|
|
1002
1002
|
}
|
|
1003
1003
|
if (config.directories.config) {
|
|
1004
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
1004
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkTKYNU6LXjs.correctPaths.call(void 0, config.directories.config);
|
|
1005
1005
|
}
|
|
1006
1006
|
if (config.directories.temp) {
|
|
1007
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
1007
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkTKYNU6LXjs.correctPaths.call(void 0, config.directories.temp);
|
|
1008
1008
|
}
|
|
1009
1009
|
if (config.directories.log) {
|
|
1010
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
1010
|
+
process.env[`${prefix}LOG_DIR`] = _chunkTKYNU6LXjs.correctPaths.call(void 0, config.directories.log);
|
|
1011
1011
|
}
|
|
1012
1012
|
if (config.directories.build) {
|
|
1013
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
1013
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkTKYNU6LXjs.correctPaths.call(void 0, config.directories.build);
|
|
1014
1014
|
}
|
|
1015
1015
|
}
|
|
1016
1016
|
if (config.skipCache !== void 0) {
|
|
@@ -1075,10 +1075,10 @@ var setConfigEnv = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, (config)
|
|
|
1075
1075
|
config.extensions[key] && Object.keys(config.extensions[key]) && setExtensionEnv(key, config.extensions[key]);
|
|
1076
1076
|
}
|
|
1077
1077
|
}, "setConfigEnv");
|
|
1078
|
-
var setThemeColorConfigEnv = /* @__PURE__ */
|
|
1078
|
+
var setThemeColorConfigEnv = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (prefix, config) => {
|
|
1079
1079
|
return _optionalChain([config, 'optionalAccess', _53 => _53.light, 'optionalAccess', _54 => _54.brand]) || _optionalChain([config, 'optionalAccess', _55 => _55.dark, 'optionalAccess', _56 => _56.brand]) ? setMultiThemeColorConfigEnv(prefix, config) : setSingleThemeColorConfigEnv(prefix, config);
|
|
1080
1080
|
}, "setThemeColorConfigEnv");
|
|
1081
|
-
var setSingleThemeColorConfigEnv = /* @__PURE__ */
|
|
1081
|
+
var setSingleThemeColorConfigEnv = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (prefix, config) => {
|
|
1082
1082
|
if (config.dark) {
|
|
1083
1083
|
process.env[`${prefix}DARK`] = config.dark;
|
|
1084
1084
|
}
|
|
@@ -1122,13 +1122,13 @@ var setSingleThemeColorConfigEnv = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(
|
|
|
1122
1122
|
process.env[`${prefix}NEGATIVE`] = config.negative;
|
|
1123
1123
|
}
|
|
1124
1124
|
}, "setSingleThemeColorConfigEnv");
|
|
1125
|
-
var setMultiThemeColorConfigEnv = /* @__PURE__ */
|
|
1125
|
+
var setMultiThemeColorConfigEnv = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (prefix, config) => {
|
|
1126
1126
|
return {
|
|
1127
1127
|
light: setBaseThemeColorConfigEnv(`${prefix}LIGHT_`, config.light),
|
|
1128
1128
|
dark: setBaseThemeColorConfigEnv(`${prefix}DARK_`, config.dark)
|
|
1129
1129
|
};
|
|
1130
1130
|
}, "setMultiThemeColorConfigEnv");
|
|
1131
|
-
var setBaseThemeColorConfigEnv = /* @__PURE__ */
|
|
1131
|
+
var setBaseThemeColorConfigEnv = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (prefix, config) => {
|
|
1132
1132
|
if (config.foreground) {
|
|
1133
1133
|
process.env[`${prefix}FOREGROUND`] = config.foreground;
|
|
1134
1134
|
}
|
|
@@ -1176,7 +1176,7 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(vo
|
|
|
1176
1176
|
// ../config-tools/src/create-storm-config.ts
|
|
1177
1177
|
var _extension_cache = /* @__PURE__ */ new WeakMap();
|
|
1178
1178
|
var _static_cache = void 0;
|
|
1179
|
-
var createStormConfig = /* @__PURE__ */
|
|
1179
|
+
var createStormConfig = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (extensionName, schema, workspaceRoot3, skipLogs = false) => {
|
|
1180
1180
|
let result;
|
|
1181
1181
|
if (!_optionalChain([_static_cache, 'optionalAccess', _57 => _57.data]) || !_optionalChain([_static_cache, 'optionalAccess', _58 => _58.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
|
|
1182
1182
|
let _workspaceRoot = workspaceRoot3;
|
|
@@ -1208,7 +1208,7 @@ var createStormConfig = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, asy
|
|
|
1208
1208
|
};
|
|
1209
1209
|
return result;
|
|
1210
1210
|
}, "createStormConfig");
|
|
1211
|
-
var createConfigExtension = /* @__PURE__ */
|
|
1211
|
+
var createConfigExtension = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (extensionName, schema) => {
|
|
1212
1212
|
const extension_cache_key = {
|
|
1213
1213
|
extensionName
|
|
1214
1214
|
};
|
|
@@ -1222,7 +1222,7 @@ var createConfigExtension = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0,
|
|
|
1222
1222
|
_extension_cache.set(extension_cache_key, extension);
|
|
1223
1223
|
return extension;
|
|
1224
1224
|
}, "createConfigExtension");
|
|
1225
|
-
var loadStormConfig = /* @__PURE__ */
|
|
1225
|
+
var loadStormConfig = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (workspaceRoot3, skipLogs = false) => {
|
|
1226
1226
|
const config = await createStormConfig(void 0, void 0, workspaceRoot3, skipLogs);
|
|
1227
1227
|
setConfigEnv(config);
|
|
1228
1228
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
@@ -1233,14 +1233,14 @@ ${formatLogMessage(config)}`, config);
|
|
|
1233
1233
|
}, "loadStormConfig");
|
|
1234
1234
|
|
|
1235
1235
|
// ../config-tools/src/get-config.ts
|
|
1236
|
-
|
|
1237
|
-
var getConfig = /* @__PURE__ */
|
|
1236
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1237
|
+
var getConfig = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (workspaceRoot3, skipLogs = false) => {
|
|
1238
1238
|
return loadStormConfig(workspaceRoot3, skipLogs);
|
|
1239
1239
|
}, "getConfig");
|
|
1240
1240
|
|
|
1241
1241
|
// ../workspace-tools/src/base/base-executor.ts
|
|
1242
1242
|
|
|
1243
|
-
var withRunExecutor = /* @__PURE__ */
|
|
1243
|
+
var withRunExecutor = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context2) => {
|
|
1244
1244
|
const stopwatch = getStopwatch(name);
|
|
1245
1245
|
let options = _options;
|
|
1246
1246
|
let config = {};
|
|
@@ -1323,7 +1323,7 @@ ${formatLogMessage(result)}`, config);
|
|
|
1323
1323
|
stopwatch();
|
|
1324
1324
|
}
|
|
1325
1325
|
}, "withRunExecutor");
|
|
1326
|
-
var _isFunction2 = /* @__PURE__ */
|
|
1326
|
+
var _isFunction2 = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (value) => {
|
|
1327
1327
|
try {
|
|
1328
1328
|
return value instanceof Function || typeof value === "function" || !!(_optionalChain([value, 'optionalAccess', _77 => _77.constructor]) && _optionalChain([value, 'optionalAccess', _78 => _78.call]) && _optionalChain([value, 'optionalAccess', _79 => _79.apply]));
|
|
1329
1329
|
} catch (e) {
|
|
@@ -1332,7 +1332,7 @@ var _isFunction2 = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, (value)
|
|
|
1332
1332
|
}, "_isFunction");
|
|
1333
1333
|
|
|
1334
1334
|
// ../workspace-tools/src/utils/cargo.ts
|
|
1335
|
-
|
|
1335
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1336
1336
|
|
|
1337
1337
|
|
|
1338
1338
|
|
|
@@ -1344,7 +1344,7 @@ var INVALID_CARGO_ARGS = [
|
|
|
1344
1344
|
"package",
|
|
1345
1345
|
"tsConfig"
|
|
1346
1346
|
];
|
|
1347
|
-
var buildCargoCommand = /* @__PURE__ */
|
|
1347
|
+
var buildCargoCommand = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (baseCommand, options, context2) => {
|
|
1348
1348
|
const args = [];
|
|
1349
1349
|
if (options.toolchain && options.toolchain !== "stable") {
|
|
1350
1350
|
args.push(`+${options.toolchain}`);
|
|
@@ -1388,7 +1388,7 @@ async function cargoCommand(...args) {
|
|
|
1388
1388
|
args.push("--color", "always");
|
|
1389
1389
|
return await Promise.resolve(runProcess("cargo", ...args));
|
|
1390
1390
|
}
|
|
1391
|
-
|
|
1391
|
+
_chunkSETAUINAjs.__name.call(void 0, cargoCommand, "cargoCommand");
|
|
1392
1392
|
function cargoCommandSync(args = "", options) {
|
|
1393
1393
|
const normalizedOptions = {
|
|
1394
1394
|
stdio: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _80 => _80.stdio]), () => ( "inherit")),
|
|
@@ -1415,7 +1415,7 @@ function cargoCommandSync(args = "", options) {
|
|
|
1415
1415
|
};
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
|
-
|
|
1418
|
+
_chunkSETAUINAjs.__name.call(void 0, cargoCommandSync, "cargoCommandSync");
|
|
1419
1419
|
function cargoMetadata() {
|
|
1420
1420
|
const output3 = cargoCommandSync("metadata --format-version=1", {
|
|
1421
1421
|
stdio: "pipe"
|
|
@@ -1426,7 +1426,7 @@ function cargoMetadata() {
|
|
|
1426
1426
|
}
|
|
1427
1427
|
return JSON.parse(output3.output);
|
|
1428
1428
|
}
|
|
1429
|
-
|
|
1429
|
+
_chunkSETAUINAjs.__name.call(void 0, cargoMetadata, "cargoMetadata");
|
|
1430
1430
|
function runProcess(processCmd, ...args) {
|
|
1431
1431
|
const metadata = cargoMetadata();
|
|
1432
1432
|
const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess', _82 => _82.target_directory]), () => ( _devkit.joinPathFragments.call(void 0, _devkit.workspaceRoot, "dist", "cargo")));
|
|
@@ -1456,18 +1456,18 @@ function runProcess(processCmd, ...args) {
|
|
|
1456
1456
|
});
|
|
1457
1457
|
});
|
|
1458
1458
|
}
|
|
1459
|
-
|
|
1459
|
+
_chunkSETAUINAjs.__name.call(void 0, runProcess, "runProcess");
|
|
1460
1460
|
|
|
1461
1461
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
1462
1462
|
async function cargoBuildExecutor(options, context2) {
|
|
1463
1463
|
const command = buildCargoCommand("build", options, context2);
|
|
1464
1464
|
return await cargoCommand(...command);
|
|
1465
1465
|
}
|
|
1466
|
-
|
|
1466
|
+
_chunkSETAUINAjs.__name.call(void 0, cargoBuildExecutor, "cargoBuildExecutor");
|
|
1467
1467
|
var executor_default = withRunExecutor("Cargo Build", cargoBuildExecutor, {
|
|
1468
1468
|
skipReadingConfig: false,
|
|
1469
1469
|
hooks: {
|
|
1470
|
-
applyDefaultOptions: /* @__PURE__ */
|
|
1470
|
+
applyDefaultOptions: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options) => {
|
|
1471
1471
|
options.outputPath ??= "dist/target/{projectRoot}";
|
|
1472
1472
|
options.toolchain ??= "stable";
|
|
1473
1473
|
return options;
|
|
@@ -1476,16 +1476,16 @@ var executor_default = withRunExecutor("Cargo Build", cargoBuildExecutor, {
|
|
|
1476
1476
|
});
|
|
1477
1477
|
|
|
1478
1478
|
// ../workspace-tools/src/executors/cargo-check/executor.ts
|
|
1479
|
-
|
|
1479
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1480
1480
|
async function cargoCheckExecutor(options, context2) {
|
|
1481
1481
|
const command = buildCargoCommand("check", options, context2);
|
|
1482
1482
|
return await cargoCommand(...command);
|
|
1483
1483
|
}
|
|
1484
|
-
|
|
1484
|
+
_chunkSETAUINAjs.__name.call(void 0, cargoCheckExecutor, "cargoCheckExecutor");
|
|
1485
1485
|
var executor_default2 = withRunExecutor("Cargo Check", cargoCheckExecutor, {
|
|
1486
1486
|
skipReadingConfig: false,
|
|
1487
1487
|
hooks: {
|
|
1488
|
-
applyDefaultOptions: /* @__PURE__ */
|
|
1488
|
+
applyDefaultOptions: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options) => {
|
|
1489
1489
|
options.toolchain ??= "stable";
|
|
1490
1490
|
return options;
|
|
1491
1491
|
}, "applyDefaultOptions")
|
|
@@ -1493,16 +1493,16 @@ var executor_default2 = withRunExecutor("Cargo Check", cargoCheckExecutor, {
|
|
|
1493
1493
|
});
|
|
1494
1494
|
|
|
1495
1495
|
// ../workspace-tools/src/executors/cargo-clippy/executor.ts
|
|
1496
|
-
|
|
1496
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1497
1497
|
async function cargoClippyExecutor(options, context2) {
|
|
1498
1498
|
const command = buildCargoCommand("clippy", options, context2);
|
|
1499
1499
|
return await cargoCommand(...command);
|
|
1500
1500
|
}
|
|
1501
|
-
|
|
1501
|
+
_chunkSETAUINAjs.__name.call(void 0, cargoClippyExecutor, "cargoClippyExecutor");
|
|
1502
1502
|
var executor_default3 = withRunExecutor("Cargo Clippy", cargoClippyExecutor, {
|
|
1503
1503
|
skipReadingConfig: false,
|
|
1504
1504
|
hooks: {
|
|
1505
|
-
applyDefaultOptions: /* @__PURE__ */
|
|
1505
|
+
applyDefaultOptions: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options) => {
|
|
1506
1506
|
options.toolchain ??= "stable";
|
|
1507
1507
|
options.fix ??= false;
|
|
1508
1508
|
return options;
|
|
@@ -1511,7 +1511,7 @@ var executor_default3 = withRunExecutor("Cargo Clippy", cargoClippyExecutor, {
|
|
|
1511
1511
|
});
|
|
1512
1512
|
|
|
1513
1513
|
// ../workspace-tools/src/executors/cargo-doc/executor.ts
|
|
1514
|
-
|
|
1514
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1515
1515
|
async function cargoDocExecutor(options, context2) {
|
|
1516
1516
|
const opts = {
|
|
1517
1517
|
...options
|
|
@@ -1521,11 +1521,11 @@ async function cargoDocExecutor(options, context2) {
|
|
|
1521
1521
|
const command = buildCargoCommand("doc", options, context2);
|
|
1522
1522
|
return await cargoCommand(...command);
|
|
1523
1523
|
}
|
|
1524
|
-
|
|
1524
|
+
_chunkSETAUINAjs.__name.call(void 0, cargoDocExecutor, "cargoDocExecutor");
|
|
1525
1525
|
var executor_default4 = withRunExecutor("Cargo Doc", cargoDocExecutor, {
|
|
1526
1526
|
skipReadingConfig: false,
|
|
1527
1527
|
hooks: {
|
|
1528
|
-
applyDefaultOptions: /* @__PURE__ */
|
|
1528
|
+
applyDefaultOptions: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options) => {
|
|
1529
1529
|
options.outputPath ??= "dist/docs/{projectRoot}";
|
|
1530
1530
|
options.toolchain ??= "stable";
|
|
1531
1531
|
options.release ??= options.profile ? false : true;
|
|
@@ -1540,16 +1540,16 @@ var executor_default4 = withRunExecutor("Cargo Doc", cargoDocExecutor, {
|
|
|
1540
1540
|
});
|
|
1541
1541
|
|
|
1542
1542
|
// ../workspace-tools/src/executors/cargo-format/executor.ts
|
|
1543
|
-
|
|
1543
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1544
1544
|
async function cargoFormatExecutor(options, context2) {
|
|
1545
1545
|
const command = buildCargoCommand("fmt", options, context2);
|
|
1546
1546
|
return await cargoCommand(...command);
|
|
1547
1547
|
}
|
|
1548
|
-
|
|
1548
|
+
_chunkSETAUINAjs.__name.call(void 0, cargoFormatExecutor, "cargoFormatExecutor");
|
|
1549
1549
|
var executor_default5 = withRunExecutor("Cargo Format", cargoFormatExecutor, {
|
|
1550
1550
|
skipReadingConfig: false,
|
|
1551
1551
|
hooks: {
|
|
1552
|
-
applyDefaultOptions: /* @__PURE__ */
|
|
1552
|
+
applyDefaultOptions: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options) => {
|
|
1553
1553
|
options.outputPath ??= "dist/target/{projectRoot}";
|
|
1554
1554
|
options.toolchain ??= "stable";
|
|
1555
1555
|
return options;
|
|
@@ -1558,14 +1558,14 @@ var executor_default5 = withRunExecutor("Cargo Format", cargoFormatExecutor, {
|
|
|
1558
1558
|
});
|
|
1559
1559
|
|
|
1560
1560
|
// ../workspace-tools/src/executors/cargo-publish/executor.ts
|
|
1561
|
-
|
|
1561
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1562
1562
|
|
|
1563
1563
|
|
|
1564
1564
|
|
|
1565
1565
|
var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
1566
1566
|
|
|
1567
1567
|
// ../workspace-tools/src/utils/toml.ts
|
|
1568
|
-
|
|
1568
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1569
1569
|
var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
|
|
1570
1570
|
|
|
1571
1571
|
|
|
@@ -1573,17 +1573,17 @@ var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml
|
|
|
1573
1573
|
var LARGE_BUFFER2 = 1024 * 1e6;
|
|
1574
1574
|
|
|
1575
1575
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
1576
|
-
|
|
1576
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1577
1577
|
|
|
1578
1578
|
// ../esbuild/src/build.ts
|
|
1579
|
-
|
|
1579
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1580
1580
|
|
|
1581
1581
|
|
|
1582
1582
|
// ../build-tools/src/index.ts
|
|
1583
|
-
|
|
1583
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1584
1584
|
|
|
1585
1585
|
// ../build-tools/src/config.ts
|
|
1586
|
-
|
|
1586
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1587
1587
|
var DEFAULT_COMPILED_BANNER = `
|
|
1588
1588
|
/**
|
|
1589
1589
|
* \u26A1 Built by Storm Software
|
|
@@ -1595,39 +1595,39 @@ var DEFAULT_TARGET = "esnext";
|
|
|
1595
1595
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
1596
1596
|
|
|
1597
1597
|
// ../build-tools/src/plugins/index.ts
|
|
1598
|
-
|
|
1598
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1599
1599
|
|
|
1600
1600
|
// ../build-tools/src/plugins/analyze.ts
|
|
1601
|
-
|
|
1601
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1602
1602
|
|
|
1603
1603
|
// ../build-tools/src/plugins/swc.ts
|
|
1604
|
-
|
|
1604
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1605
1605
|
var _core = require('@swc/core');
|
|
1606
1606
|
|
|
1607
1607
|
// ../build-tools/src/plugins/ts-resolve.ts
|
|
1608
|
-
|
|
1608
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1609
1609
|
|
|
1610
1610
|
var _module = require('module');
|
|
1611
1611
|
|
|
1612
1612
|
var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_resolve2);
|
|
1613
1613
|
|
|
1614
1614
|
// ../build-tools/src/plugins/type-definitions.ts
|
|
1615
|
-
|
|
1615
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1616
1616
|
|
|
1617
1617
|
|
|
1618
1618
|
|
|
1619
1619
|
// ../build-tools/src/types.ts
|
|
1620
|
-
|
|
1620
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1621
1621
|
|
|
1622
1622
|
// ../build-tools/src/utilities/index.ts
|
|
1623
|
-
|
|
1623
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1624
1624
|
|
|
1625
1625
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
1626
|
-
|
|
1626
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1627
1627
|
var _copyassetshandler = require('@nx/js/src/utils/assets/copy-assets-handler');
|
|
1628
1628
|
var _glob = require('glob');
|
|
1629
1629
|
|
|
1630
|
-
var copyAssets = /* @__PURE__ */
|
|
1630
|
+
var copyAssets = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (config, assets, outputPath, projectRoot, sourceRoot, generatePackageJson3 = true, includeSrc = false, banner, footer) => {
|
|
1631
1631
|
const pendingAssets = Array.from(_nullishCoalesce(assets, () => ( [])));
|
|
1632
1632
|
pendingAssets.push({
|
|
1633
1633
|
input: projectRoot,
|
|
@@ -1654,7 +1654,7 @@ var copyAssets = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, async (con
|
|
|
1654
1654
|
});
|
|
1655
1655
|
}
|
|
1656
1656
|
writeTrace(`\u{1F4DD} Copying the following assets to the output directory:
|
|
1657
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
1657
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkTKYNU6LXjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
|
|
1658
1658
|
const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
|
|
1659
1659
|
projectDir: projectRoot,
|
|
1660
1660
|
rootDir: config.workspaceRoot,
|
|
@@ -1663,12 +1663,12 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
1663
1663
|
});
|
|
1664
1664
|
await assetHandler.processAllAssetsOnce();
|
|
1665
1665
|
if (includeSrc === true) {
|
|
1666
|
-
writeDebug(`\u{1F4DD} Adding banner and writing source files: ${
|
|
1666
|
+
writeDebug(`\u{1F4DD} Adding banner and writing source files: ${_chunkTKYNU6LXjs.joinPaths.call(void 0, outputPath, "src")}`, config);
|
|
1667
1667
|
const files = await _glob.glob.call(void 0, [
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1668
|
+
_chunkTKYNU6LXjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
1669
|
+
_chunkTKYNU6LXjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
1670
|
+
_chunkTKYNU6LXjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
1671
|
+
_chunkTKYNU6LXjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
1672
1672
|
]);
|
|
1673
1673
|
await Promise.allSettled(files.map(async (file) => _promises.writeFile.call(void 0, file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
|
|
1674
1674
|
|
|
@@ -1679,20 +1679,20 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
1679
1679
|
}, "copyAssets");
|
|
1680
1680
|
|
|
1681
1681
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
1682
|
-
|
|
1682
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1683
1683
|
var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
|
|
1684
1684
|
|
|
1685
1685
|
|
|
1686
1686
|
|
|
1687
1687
|
var _projectgraph = require('nx/src/project-graph/project-graph');
|
|
1688
|
-
var addPackageDependencies = /* @__PURE__ */
|
|
1688
|
+
var addPackageDependencies = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (workspaceRoot3, projectRoot, projectName, packageJson) => {
|
|
1689
1689
|
const projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
|
|
1690
1690
|
const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, projectGraph, workspaceRoot3, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
|
|
1691
1691
|
const localPackages = [];
|
|
1692
1692
|
for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot3)) {
|
|
1693
1693
|
const projectNode = project.node;
|
|
1694
1694
|
if (projectNode.data.root) {
|
|
1695
|
-
const projectPackageJsonPath =
|
|
1695
|
+
const projectPackageJsonPath = _chunkTKYNU6LXjs.joinPaths.call(void 0, workspaceRoot3, projectNode.data.root, "package.json");
|
|
1696
1696
|
if (_fs.existsSync.call(void 0, projectPackageJsonPath)) {
|
|
1697
1697
|
const projectPackageJsonContent = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
|
|
1698
1698
|
const projectPackageJson = JSON.parse(projectPackageJsonContent);
|
|
@@ -1704,7 +1704,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0
|
|
|
1704
1704
|
}
|
|
1705
1705
|
if (localPackages.length > 0) {
|
|
1706
1706
|
writeTrace(`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
|
|
1707
|
-
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
1707
|
+
const projectJsonFile = await _promises.readFile.call(void 0, _chunkTKYNU6LXjs.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
|
|
1708
1708
|
const projectJson = JSON.parse(projectJsonFile);
|
|
1709
1709
|
const projectName2 = projectJson.name;
|
|
1710
1710
|
const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
@@ -1713,7 +1713,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0
|
|
|
1713
1713
|
}
|
|
1714
1714
|
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _85 => _85.projects, 'optionalAccess', _86 => _86[projectName2], 'access', _87 => _87.implicitDependencies, 'optionalAccess', _88 => _88.reduce, 'call', _89 => _89((ret, dep) => {
|
|
1715
1715
|
if (_optionalChain([projectConfigurations, 'access', _90 => _90.projects, 'optionalAccess', _91 => _91[dep]])) {
|
|
1716
|
-
const depPackageJsonPath =
|
|
1716
|
+
const depPackageJsonPath = _chunkTKYNU6LXjs.joinPaths.call(void 0, workspaceRoot3, projectConfigurations.projects[dep].root, "package.json");
|
|
1717
1717
|
if (_fs.existsSync.call(void 0, depPackageJsonPath)) {
|
|
1718
1718
|
const depPackageJsonContent = _fs.readFileSync.call(void 0, depPackageJsonPath, "utf8");
|
|
1719
1719
|
const depPackageJson = JSON.parse(depPackageJsonContent);
|
|
@@ -1741,9 +1741,9 @@ var addPackageDependencies = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0
|
|
|
1741
1741
|
}
|
|
1742
1742
|
return packageJson;
|
|
1743
1743
|
}, "addPackageDependencies");
|
|
1744
|
-
var addWorkspacePackageJsonFields = /* @__PURE__ */
|
|
1744
|
+
var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
1745
1745
|
const workspaceRoot3 = config.workspaceRoot ? config.workspaceRoot : findWorkspaceRoot();
|
|
1746
|
-
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
1746
|
+
const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkTKYNU6LXjs.joinPaths.call(void 0, workspaceRoot3, "package.json"), "utf8");
|
|
1747
1747
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
1748
1748
|
packageJson.type ??= "module";
|
|
1749
1749
|
packageJson.sideEffects ??= false;
|
|
@@ -1752,7 +1752,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call
|
|
|
1752
1752
|
if (distSrc.startsWith("/")) {
|
|
1753
1753
|
distSrc = distSrc.substring(1);
|
|
1754
1754
|
}
|
|
1755
|
-
packageJson.source ??= `${
|
|
1755
|
+
packageJson.source ??= `${_chunkTKYNU6LXjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
1756
1756
|
}
|
|
1757
1757
|
packageJson.files ??= [
|
|
1758
1758
|
"dist/**/*"
|
|
@@ -1783,10 +1783,10 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call
|
|
|
1783
1783
|
];
|
|
1784
1784
|
}
|
|
1785
1785
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
1786
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
1786
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkTKYNU6LXjs.joinPaths.call(void 0, "packages", projectName);
|
|
1787
1787
|
return packageJson;
|
|
1788
1788
|
}, "addWorkspacePackageJsonFields");
|
|
1789
|
-
var addPackageJsonExport = /* @__PURE__ */
|
|
1789
|
+
var addPackageJsonExport = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (file, type = "module", sourceRoot) => {
|
|
1790
1790
|
let entry = file.replaceAll("\\", "/");
|
|
1791
1791
|
if (sourceRoot) {
|
|
1792
1792
|
entry = entry.replace(sourceRoot, "");
|
|
@@ -1808,9 +1808,9 @@ var addPackageJsonExport = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0,
|
|
|
1808
1808
|
}, "addPackageJsonExport");
|
|
1809
1809
|
|
|
1810
1810
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
1811
|
-
|
|
1811
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1812
1812
|
|
|
1813
|
-
var getEntryPoints = /* @__PURE__ */
|
|
1813
|
+
var getEntryPoints = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
1814
1814
|
const workspaceRoot3 = config.workspaceRoot ? config.workspaceRoot : findWorkspaceRoot();
|
|
1815
1815
|
const entryPoints = [];
|
|
1816
1816
|
if (entry) {
|
|
@@ -1823,7 +1823,7 @@ var getEntryPoints = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, async
|
|
|
1823
1823
|
}
|
|
1824
1824
|
}
|
|
1825
1825
|
if (emitOnAll) {
|
|
1826
|
-
entryPoints.push(
|
|
1826
|
+
entryPoints.push(_chunkTKYNU6LXjs.joinPaths.call(void 0, workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
|
|
1827
1827
|
}
|
|
1828
1828
|
const results = [];
|
|
1829
1829
|
for (const entryPoint in entryPoints) {
|
|
@@ -1832,9 +1832,9 @@ var getEntryPoints = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, async
|
|
|
1832
1832
|
withFileTypes: true
|
|
1833
1833
|
});
|
|
1834
1834
|
results.push(...files.reduce((ret, filePath) => {
|
|
1835
|
-
const result =
|
|
1835
|
+
const result = _chunkTKYNU6LXjs.correctPaths.call(void 0, _chunkTKYNU6LXjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkTKYNU6LXjs.correctPaths.call(void 0, workspaceRoot3), "").replaceAll(_chunkTKYNU6LXjs.correctPaths.call(void 0, projectRoot), ""));
|
|
1836
1836
|
if (result) {
|
|
1837
|
-
writeDebug(`Trying to add entry point ${result} at "${
|
|
1837
|
+
writeDebug(`Trying to add entry point ${result} at "${_chunkTKYNU6LXjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
|
|
1838
1838
|
if (!results.includes(result)) {
|
|
1839
1839
|
results.push(result);
|
|
1840
1840
|
}
|
|
@@ -1849,8 +1849,8 @@ var getEntryPoints = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, async
|
|
|
1849
1849
|
}, "getEntryPoints");
|
|
1850
1850
|
|
|
1851
1851
|
// ../build-tools/src/utilities/get-env.ts
|
|
1852
|
-
|
|
1853
|
-
var getEnv = /* @__PURE__ */
|
|
1852
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1853
|
+
var getEnv = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (builder, options) => {
|
|
1854
1854
|
return {
|
|
1855
1855
|
STORM_BUILD: builder,
|
|
1856
1856
|
STORM_ORG: options.orgName || DEFAULT_ORGANIZATION,
|
|
@@ -1864,10 +1864,10 @@ var getEnv = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, (builder, opti
|
|
|
1864
1864
|
}, "getEnv");
|
|
1865
1865
|
|
|
1866
1866
|
// ../build-tools/src/utilities/get-file-banner.ts
|
|
1867
|
-
|
|
1867
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1868
1868
|
|
|
1869
1869
|
// ../build-tools/src/utilities/get-out-extension.ts
|
|
1870
|
-
|
|
1870
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1871
1871
|
function getOutExtension(format2, pkgType) {
|
|
1872
1872
|
let jsExtension = ".js";
|
|
1873
1873
|
let dtsExtension = ".d.ts";
|
|
@@ -1887,18 +1887,18 @@ function getOutExtension(format2, pkgType) {
|
|
|
1887
1887
|
dts: dtsExtension
|
|
1888
1888
|
};
|
|
1889
1889
|
}
|
|
1890
|
-
|
|
1890
|
+
_chunkSETAUINAjs.__name.call(void 0, getOutExtension, "getOutExtension");
|
|
1891
1891
|
|
|
1892
1892
|
// ../build-tools/src/utilities/get-project-deps.ts
|
|
1893
|
-
|
|
1893
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1894
1894
|
|
|
1895
1895
|
// ../build-tools/src/utilities/read-nx-config.ts
|
|
1896
|
-
|
|
1896
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1897
1897
|
|
|
1898
1898
|
|
|
1899
1899
|
|
|
1900
1900
|
// ../build-tools/src/utilities/task-graph.ts
|
|
1901
|
-
|
|
1901
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1902
1902
|
var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
1903
1903
|
|
|
1904
1904
|
// ../esbuild/src/build.ts
|
|
@@ -1913,15 +1913,15 @@ var _globby = require('globby');
|
|
|
1913
1913
|
var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
1914
1914
|
|
|
1915
1915
|
// ../esbuild/src/base/renderer-engine.ts
|
|
1916
|
-
|
|
1916
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1917
1917
|
|
|
1918
1918
|
var _sourcemap = require('source-map');
|
|
1919
1919
|
|
|
1920
1920
|
// ../esbuild/src/utilities/output-file.ts
|
|
1921
|
-
|
|
1921
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
1922
1922
|
|
|
1923
1923
|
|
|
1924
|
-
var outputFile = /* @__PURE__ */
|
|
1924
|
+
var outputFile = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (filepath, data, options) => {
|
|
1925
1925
|
await _fs2.default.promises.mkdir(path6.default.dirname(filepath), {
|
|
1926
1926
|
recursive: true
|
|
1927
1927
|
});
|
|
@@ -1929,12 +1929,12 @@ var outputFile = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, async (fil
|
|
|
1929
1929
|
}, "outputFile");
|
|
1930
1930
|
|
|
1931
1931
|
// ../esbuild/src/base/renderer-engine.ts
|
|
1932
|
-
var parseSourceMap = /* @__PURE__ */
|
|
1932
|
+
var parseSourceMap = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (map2) => {
|
|
1933
1933
|
return typeof map2 === "string" ? JSON.parse(map2) : map2;
|
|
1934
1934
|
}, "parseSourceMap");
|
|
1935
|
-
var isJS = /* @__PURE__ */
|
|
1936
|
-
var isCSS = /* @__PURE__ */
|
|
1937
|
-
var getSourcemapComment = /* @__PURE__ */
|
|
1935
|
+
var isJS = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (path7) => /\.(js|mjs|cjs)$/.test(path7), "isJS");
|
|
1936
|
+
var isCSS = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (path7) => /\.css$/.test(path7), "isCSS");
|
|
1937
|
+
var getSourcemapComment = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (inline, map2, filepath, isCssFile) => {
|
|
1938
1938
|
if (!map2) return "";
|
|
1939
1939
|
const prefix = isCssFile ? "/*" : "//";
|
|
1940
1940
|
const suffix = isCssFile ? " */" : "";
|
|
@@ -1943,7 +1943,7 @@ var getSourcemapComment = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, (
|
|
|
1943
1943
|
}, "getSourcemapComment");
|
|
1944
1944
|
var RendererEngine = class {
|
|
1945
1945
|
static {
|
|
1946
|
-
|
|
1946
|
+
_chunkSETAUINAjs.__name.call(void 0, this, "RendererEngine");
|
|
1947
1947
|
}
|
|
1948
1948
|
#renderers;
|
|
1949
1949
|
#options;
|
|
@@ -2056,7 +2056,7 @@ var RendererEngine = class {
|
|
|
2056
2056
|
};
|
|
2057
2057
|
|
|
2058
2058
|
// ../esbuild/src/clean.ts
|
|
2059
|
-
|
|
2059
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2060
2060
|
|
|
2061
2061
|
async function cleanDirectories(name = "ESBuild", directory, config) {
|
|
2062
2062
|
await _promises.rm.call(void 0, directory, {
|
|
@@ -2064,15 +2064,15 @@ async function cleanDirectories(name = "ESBuild", directory, config) {
|
|
|
2064
2064
|
force: true
|
|
2065
2065
|
});
|
|
2066
2066
|
}
|
|
2067
|
-
|
|
2067
|
+
_chunkSETAUINAjs.__name.call(void 0, cleanDirectories, "cleanDirectories");
|
|
2068
2068
|
|
|
2069
2069
|
// ../esbuild/src/config.ts
|
|
2070
|
-
|
|
2070
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2071
2071
|
|
|
2072
2072
|
// ../esbuild/src/plugins/esm-split-code-to-cjs.ts
|
|
2073
|
-
|
|
2073
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2074
2074
|
|
|
2075
|
-
var esmSplitCodeToCjsPlugin = /* @__PURE__ */
|
|
2075
|
+
var esmSplitCodeToCjsPlugin = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options, resolvedOptions) => ({
|
|
2076
2076
|
name: "storm:esm-split-code-to-cjs",
|
|
2077
2077
|
setup(build5) {
|
|
2078
2078
|
build5.onEnd(async (result) => {
|
|
@@ -2091,31 +2091,31 @@ var esmSplitCodeToCjsPlugin = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void
|
|
|
2091
2091
|
}), "esmSplitCodeToCjsPlugin");
|
|
2092
2092
|
|
|
2093
2093
|
// ../esbuild/src/plugins/fix-imports.ts
|
|
2094
|
-
|
|
2095
|
-
var fixImportsPlugin = /* @__PURE__ */
|
|
2094
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2095
|
+
var fixImportsPlugin = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options, resolvedOptions) => ({
|
|
2096
2096
|
name: "storm:fix-imports",
|
|
2097
2097
|
setup(build5) {
|
|
2098
2098
|
build5.onResolve({
|
|
2099
2099
|
filter: /^spdx-exceptions/
|
|
2100
2100
|
}, () => {
|
|
2101
2101
|
return {
|
|
2102
|
-
path:
|
|
2102
|
+
path: _chunkSETAUINAjs.__require.resolve("spdx-exceptions")
|
|
2103
2103
|
};
|
|
2104
2104
|
});
|
|
2105
2105
|
build5.onResolve({
|
|
2106
2106
|
filter: /^spdx-license-ids/
|
|
2107
2107
|
}, () => {
|
|
2108
2108
|
return {
|
|
2109
|
-
path:
|
|
2109
|
+
path: _chunkSETAUINAjs.__require.resolve("spdx-license-ids")
|
|
2110
2110
|
};
|
|
2111
2111
|
});
|
|
2112
2112
|
}
|
|
2113
2113
|
}), "fixImportsPlugin");
|
|
2114
2114
|
|
|
2115
2115
|
// ../esbuild/src/plugins/native-node-module.ts
|
|
2116
|
-
|
|
2116
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2117
2117
|
|
|
2118
|
-
var nativeNodeModulesPlugin = /* @__PURE__ */
|
|
2118
|
+
var nativeNodeModulesPlugin = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options, resolvedOptions) => {
|
|
2119
2119
|
return {
|
|
2120
2120
|
name: "native-node-modules",
|
|
2121
2121
|
setup(build5) {
|
|
@@ -2123,7 +2123,7 @@ var nativeNodeModulesPlugin = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void
|
|
|
2123
2123
|
filter: /\.node$/,
|
|
2124
2124
|
namespace: "file"
|
|
2125
2125
|
}, (args) => {
|
|
2126
|
-
const resolvedId =
|
|
2126
|
+
const resolvedId = _chunkSETAUINAjs.__require.resolve(args.path, {
|
|
2127
2127
|
paths: [
|
|
2128
2128
|
args.resolveDir
|
|
2129
2129
|
]
|
|
@@ -2166,8 +2166,8 @@ var nativeNodeModulesPlugin = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void
|
|
|
2166
2166
|
}, "nativeNodeModulesPlugin");
|
|
2167
2167
|
|
|
2168
2168
|
// ../esbuild/src/plugins/node-protocol.ts
|
|
2169
|
-
|
|
2170
|
-
var nodeProtocolPlugin = /* @__PURE__ */
|
|
2169
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2170
|
+
var nodeProtocolPlugin = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options, resolvedOptions) => {
|
|
2171
2171
|
const nodeProtocol = "node:";
|
|
2172
2172
|
return {
|
|
2173
2173
|
name: "node-protocol-plugin",
|
|
@@ -2183,8 +2183,8 @@ var nodeProtocolPlugin = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, (o
|
|
|
2183
2183
|
}, "nodeProtocolPlugin");
|
|
2184
2184
|
|
|
2185
2185
|
// ../esbuild/src/plugins/on-error.ts
|
|
2186
|
-
|
|
2187
|
-
var onErrorPlugin = /* @__PURE__ */
|
|
2186
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2187
|
+
var onErrorPlugin = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options, resolvedOptions) => ({
|
|
2188
2188
|
name: "storm:on-error",
|
|
2189
2189
|
setup(build5) {
|
|
2190
2190
|
build5.onEnd((result) => {
|
|
@@ -2200,7 +2200,7 @@ ${result.errors.map((error) => error.text).join("\n")}
|
|
|
2200
2200
|
}), "onErrorPlugin");
|
|
2201
2201
|
|
|
2202
2202
|
// ../esbuild/src/plugins/resolve-paths.ts
|
|
2203
|
-
|
|
2203
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2204
2204
|
|
|
2205
2205
|
function resolvePathsConfig(options, cwd) {
|
|
2206
2206
|
if (_optionalChain([options, 'optionalAccess', _106 => _106.compilerOptions, 'optionalAccess', _107 => _107.paths])) {
|
|
@@ -2216,16 +2216,16 @@ function resolvePathsConfig(options, cwd) {
|
|
|
2216
2216
|
if (options.extends) {
|
|
2217
2217
|
const extendsPath = path6.default.resolve(cwd, options.extends);
|
|
2218
2218
|
const extendsDir = path6.default.dirname(extendsPath);
|
|
2219
|
-
const extendsConfig =
|
|
2219
|
+
const extendsConfig = _chunkSETAUINAjs.__require.call(void 0, extendsPath);
|
|
2220
2220
|
return resolvePathsConfig(extendsConfig, extendsDir);
|
|
2221
2221
|
}
|
|
2222
2222
|
return [];
|
|
2223
2223
|
}
|
|
2224
|
-
|
|
2225
|
-
var resolvePathsPlugin = /* @__PURE__ */
|
|
2224
|
+
_chunkSETAUINAjs.__name.call(void 0, resolvePathsConfig, "resolvePathsConfig");
|
|
2225
|
+
var resolvePathsPlugin = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options, resolvedOptions) => ({
|
|
2226
2226
|
name: "storm:resolve-paths",
|
|
2227
2227
|
setup(build5) {
|
|
2228
|
-
const parentTsConfig = build5.initialOptions.tsconfig ?
|
|
2228
|
+
const parentTsConfig = build5.initialOptions.tsconfig ? _chunkSETAUINAjs.__require.call(void 0, _chunkTKYNU6LXjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, build5.initialOptions.tsconfig)) : _chunkSETAUINAjs.__require.call(void 0, _chunkTKYNU6LXjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, "tsconfig.json"));
|
|
2229
2229
|
const resolvedTsPaths = resolvePathsConfig(parentTsConfig, options.projectRoot);
|
|
2230
2230
|
const packagesRegex = new RegExp(`^(${Object.keys(resolvedTsPaths).join("|")})$`);
|
|
2231
2231
|
build5.onResolve({
|
|
@@ -2245,12 +2245,12 @@ var resolvePathsPlugin = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, (o
|
|
|
2245
2245
|
}), "resolvePathsPlugin");
|
|
2246
2246
|
|
|
2247
2247
|
// ../esbuild/src/plugins/tsc.ts
|
|
2248
|
-
|
|
2248
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2249
2249
|
var _apiextractor = require('@microsoft/api-extractor');
|
|
2250
2250
|
|
|
2251
2251
|
|
|
2252
2252
|
function bundleTypeDefinitions(filename, outfile, externals, options) {
|
|
2253
|
-
const { dependencies, peerDependencies, devDependencies } =
|
|
2253
|
+
const { dependencies, peerDependencies, devDependencies } = _chunkSETAUINAjs.__require.call(void 0, _chunkTKYNU6LXjs.joinPaths.call(void 0, options.projectRoot, "package.json"));
|
|
2254
2254
|
const dependenciesKeys = Object.keys(_nullishCoalesce(dependencies, () => ( {}))).flatMap((p) => [
|
|
2255
2255
|
p,
|
|
2256
2256
|
getTypeDependencyPackageName(p)
|
|
@@ -2285,13 +2285,13 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
|
|
|
2285
2285
|
},
|
|
2286
2286
|
dtsRollup: {
|
|
2287
2287
|
enabled: true,
|
|
2288
|
-
untrimmedFilePath:
|
|
2288
|
+
untrimmedFilePath: _chunkTKYNU6LXjs.joinPaths.call(void 0, options.outdir, `${outfile}.d.ts`)
|
|
2289
2289
|
},
|
|
2290
2290
|
tsdocMetadata: {
|
|
2291
2291
|
enabled: false
|
|
2292
2292
|
}
|
|
2293
2293
|
},
|
|
2294
|
-
packageJsonFullPath:
|
|
2294
|
+
packageJsonFullPath: _chunkTKYNU6LXjs.joinPaths.call(void 0, options.projectRoot, "package.json"),
|
|
2295
2295
|
configObjectFullPath: void 0
|
|
2296
2296
|
});
|
|
2297
2297
|
const extractorResult = _apiextractor.Extractor.invoke(extractorConfig, {
|
|
@@ -2303,8 +2303,8 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
|
|
|
2303
2303
|
throw new Error("API Extractor completed with errors");
|
|
2304
2304
|
}
|
|
2305
2305
|
}
|
|
2306
|
-
|
|
2307
|
-
var tscPlugin = /* @__PURE__ */
|
|
2306
|
+
_chunkSETAUINAjs.__name.call(void 0, bundleTypeDefinitions, "bundleTypeDefinitions");
|
|
2307
|
+
var tscPlugin = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options, resolvedOptions) => ({
|
|
2308
2308
|
name: "storm:tsc",
|
|
2309
2309
|
setup(build5) {
|
|
2310
2310
|
if (options.emitTypes === false) {
|
|
@@ -2318,12 +2318,12 @@ var tscPlugin = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, (options, r
|
|
|
2318
2318
|
const sourceRoot = resolvedOptions.sourceRoot.replaceAll(resolvedOptions.projectRoot, "");
|
|
2319
2319
|
const typeOutDir = resolvedOptions.outdir;
|
|
2320
2320
|
const entryPoint = resolvedOptions.entryPoints[0].replace(sourceRoot, "").replace(/\.ts$/, "");
|
|
2321
|
-
const bundlePath =
|
|
2321
|
+
const bundlePath = _chunkTKYNU6LXjs.joinPaths.call(void 0, resolvedOptions.outdir, entryPoint);
|
|
2322
2322
|
let dtsPath;
|
|
2323
|
-
if (_fs.existsSync.call(void 0,
|
|
2324
|
-
dtsPath =
|
|
2325
|
-
} else if (_fs.existsSync.call(void 0,
|
|
2326
|
-
dtsPath =
|
|
2323
|
+
if (_fs.existsSync.call(void 0, _chunkTKYNU6LXjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
|
|
2324
|
+
dtsPath = _chunkTKYNU6LXjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`);
|
|
2325
|
+
} else if (_fs.existsSync.call(void 0, _chunkTKYNU6LXjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`))) {
|
|
2326
|
+
dtsPath = _chunkTKYNU6LXjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`);
|
|
2327
2327
|
}
|
|
2328
2328
|
const ext = resolvedOptions.outExtension.dts || resolvedOptions.format === "esm" ? "d.mts" : "d.ts";
|
|
2329
2329
|
if (process.env.WATCH !== "true" && process.env.DEV !== "true") {
|
|
@@ -2344,13 +2344,13 @@ function getTypeDependencyPackageName(npmPackage) {
|
|
|
2344
2344
|
}
|
|
2345
2345
|
return `@types/${npmPackage}`;
|
|
2346
2346
|
}
|
|
2347
|
-
|
|
2347
|
+
_chunkSETAUINAjs.__name.call(void 0, getTypeDependencyPackageName, "getTypeDependencyPackageName");
|
|
2348
2348
|
|
|
2349
2349
|
// ../esbuild/src/config.ts
|
|
2350
|
-
var getOutputExtensionMap = /* @__PURE__ */
|
|
2350
|
+
var getOutputExtensionMap = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options, pkgType) => {
|
|
2351
2351
|
return options.outExtension ? options.outExtension(options.format, pkgType) : getOutExtension(options.format, pkgType);
|
|
2352
2352
|
}, "getOutputExtensionMap");
|
|
2353
|
-
var getDefaultBuildPlugins = /* @__PURE__ */
|
|
2353
|
+
var getDefaultBuildPlugins = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options, resolvedOptions) => [
|
|
2354
2354
|
nodeProtocolPlugin(options, resolvedOptions),
|
|
2355
2355
|
resolvePathsPlugin(options, resolvedOptions),
|
|
2356
2356
|
fixImportsPlugin(options, resolvedOptions),
|
|
@@ -2400,7 +2400,7 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
2400
2400
|
};
|
|
2401
2401
|
|
|
2402
2402
|
// ../esbuild/src/plugins/deps-check.ts
|
|
2403
|
-
|
|
2403
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2404
2404
|
|
|
2405
2405
|
|
|
2406
2406
|
var unusedIgnore = [
|
|
@@ -2432,11 +2432,11 @@ var missingIgnore = [
|
|
|
2432
2432
|
"@prisma/client",
|
|
2433
2433
|
"ts-toolbelt"
|
|
2434
2434
|
];
|
|
2435
|
-
var depsCheckPlugin = /* @__PURE__ */
|
|
2435
|
+
var depsCheckPlugin = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (bundle) => ({
|
|
2436
2436
|
name: "storm:deps-check",
|
|
2437
2437
|
setup(build5) {
|
|
2438
2438
|
const pkgJsonPath = path6.default.join(process.cwd(), "package.json");
|
|
2439
|
-
const pkgContents =
|
|
2439
|
+
const pkgContents = _chunkSETAUINAjs.__require.call(void 0, pkgJsonPath);
|
|
2440
2440
|
const regDependencies = Object.keys(_nullishCoalesce(pkgContents["dependencies"], () => ( {})));
|
|
2441
2441
|
const devDependencies = Object.keys(_nullishCoalesce(pkgContents["devDependencies"], () => ( {})));
|
|
2442
2442
|
const peerDependencies = Object.keys(_nullishCoalesce(pkgContents["peerDependencies"], () => ( {})));
|
|
@@ -2491,7 +2491,7 @@ ${JSON.stringify(filteredMissingDeps)}
|
|
|
2491
2491
|
}), "depsCheckPlugin");
|
|
2492
2492
|
|
|
2493
2493
|
// ../esbuild/src/renderers/shebang.ts
|
|
2494
|
-
|
|
2494
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2495
2495
|
var shebangRenderer = {
|
|
2496
2496
|
name: "shebang",
|
|
2497
2497
|
renderChunk(_, __, info) {
|
|
@@ -2502,7 +2502,7 @@ var shebangRenderer = {
|
|
|
2502
2502
|
};
|
|
2503
2503
|
|
|
2504
2504
|
// ../esbuild/src/utilities/helpers.ts
|
|
2505
|
-
|
|
2505
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2506
2506
|
function handleSync(fn) {
|
|
2507
2507
|
try {
|
|
2508
2508
|
return fn();
|
|
@@ -2510,7 +2510,7 @@ function handleSync(fn) {
|
|
|
2510
2510
|
return error_;
|
|
2511
2511
|
}
|
|
2512
2512
|
}
|
|
2513
|
-
|
|
2513
|
+
_chunkSETAUINAjs.__name.call(void 0, handleSync, "handleSync");
|
|
2514
2514
|
async function handleAsync(fn) {
|
|
2515
2515
|
try {
|
|
2516
2516
|
return await fn();
|
|
@@ -2518,7 +2518,7 @@ async function handleAsync(fn) {
|
|
|
2518
2518
|
return error_;
|
|
2519
2519
|
}
|
|
2520
2520
|
}
|
|
2521
|
-
|
|
2521
|
+
_chunkSETAUINAjs.__name.call(void 0, handleAsync, "handleAsync");
|
|
2522
2522
|
var handle = handleSync;
|
|
2523
2523
|
handle.async = handleAsync;
|
|
2524
2524
|
var skip = Symbol("skip");
|
|
@@ -2532,7 +2532,7 @@ function transduceSync(list, transformer) {
|
|
|
2532
2532
|
}
|
|
2533
2533
|
return transduced;
|
|
2534
2534
|
}
|
|
2535
|
-
|
|
2535
|
+
_chunkSETAUINAjs.__name.call(void 0, transduceSync, "transduceSync");
|
|
2536
2536
|
async function transduceAsync(list, transformer) {
|
|
2537
2537
|
const transduced = [];
|
|
2538
2538
|
await Promise.all(list.entries().map(async ([i, element_]) => {
|
|
@@ -2543,7 +2543,7 @@ async function transduceAsync(list, transformer) {
|
|
|
2543
2543
|
}));
|
|
2544
2544
|
return transduced;
|
|
2545
2545
|
}
|
|
2546
|
-
|
|
2546
|
+
_chunkSETAUINAjs.__name.call(void 0, transduceAsync, "transduceAsync");
|
|
2547
2547
|
var transduce = transduceSync;
|
|
2548
2548
|
transduce.async = transduceAsync;
|
|
2549
2549
|
function pipeSync(fn, ...fns) {
|
|
@@ -2555,7 +2555,7 @@ function pipeSync(fn, ...fns) {
|
|
|
2555
2555
|
return result;
|
|
2556
2556
|
};
|
|
2557
2557
|
}
|
|
2558
|
-
|
|
2558
|
+
_chunkSETAUINAjs.__name.call(void 0, pipeSync, "pipeSync");
|
|
2559
2559
|
function pipeAsync(fn, ...fns) {
|
|
2560
2560
|
return async (...args) => {
|
|
2561
2561
|
let result = await fn(...args);
|
|
@@ -2565,12 +2565,12 @@ function pipeAsync(fn, ...fns) {
|
|
|
2565
2565
|
return result;
|
|
2566
2566
|
};
|
|
2567
2567
|
}
|
|
2568
|
-
|
|
2568
|
+
_chunkSETAUINAjs.__name.call(void 0, pipeAsync, "pipeAsync");
|
|
2569
2569
|
var pipe = pipeSync;
|
|
2570
2570
|
pipe.async = pipeAsync;
|
|
2571
2571
|
|
|
2572
2572
|
// ../esbuild/src/build.ts
|
|
2573
|
-
var resolveOptions = /* @__PURE__ */
|
|
2573
|
+
var resolveOptions = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (userOptions) => {
|
|
2574
2574
|
const projectRoot = userOptions.projectRoot;
|
|
2575
2575
|
const workspaceRoot3 = _findworkspaceroot.findWorkspaceRoot.call(void 0, projectRoot);
|
|
2576
2576
|
if (!workspaceRoot3) {
|
|
@@ -2582,7 +2582,7 @@ var resolveOptions = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, async
|
|
|
2582
2582
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
2583
2583
|
exitOnError: true
|
|
2584
2584
|
});
|
|
2585
|
-
const projectJsonPath =
|
|
2585
|
+
const projectJsonPath = _chunkTKYNU6LXjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "project.json");
|
|
2586
2586
|
if (!_fs.existsSync.call(void 0, projectJsonPath)) {
|
|
2587
2587
|
throw new Error("Cannot find project.json configuration");
|
|
2588
2588
|
}
|
|
@@ -2596,7 +2596,7 @@ var resolveOptions = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, async
|
|
|
2596
2596
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
2597
2597
|
options.name ??= `${projectName}-${options.format}`;
|
|
2598
2598
|
options.target ??= DEFAULT_TARGET;
|
|
2599
|
-
const packageJsonPath =
|
|
2599
|
+
const packageJsonPath = _chunkTKYNU6LXjs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
|
|
2600
2600
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
2601
2601
|
throw new Error("Cannot find package.json configuration");
|
|
2602
2602
|
}
|
|
@@ -2621,18 +2621,18 @@ var resolveOptions = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, async
|
|
|
2621
2621
|
".node"
|
|
2622
2622
|
],
|
|
2623
2623
|
...userOptions,
|
|
2624
|
-
tsconfig:
|
|
2624
|
+
tsconfig: _chunkTKYNU6LXjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
2625
2625
|
format: options.format || "cjs",
|
|
2626
2626
|
entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
|
|
2627
2627
|
"./src/index.ts"
|
|
2628
2628
|
], userOptions.emitOnAll),
|
|
2629
|
-
outdir: userOptions.outputPath ||
|
|
2629
|
+
outdir: userOptions.outputPath || _chunkTKYNU6LXjs.joinPaths.call(void 0, "dist", projectRoot),
|
|
2630
2630
|
plugins: [],
|
|
2631
2631
|
name: userOptions.name || projectName,
|
|
2632
2632
|
projectConfigurations,
|
|
2633
2633
|
projectName,
|
|
2634
2634
|
projectGraph,
|
|
2635
|
-
sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot ||
|
|
2635
|
+
sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkTKYNU6LXjs.joinPaths.call(void 0, projectRoot, "src"),
|
|
2636
2636
|
minify: userOptions.minify || !userOptions.debug,
|
|
2637
2637
|
verbose: userOptions.verbose || isVerbose() || userOptions.debug === true,
|
|
2638
2638
|
includeSrc: userOptions.includeSrc === true,
|
|
@@ -2670,8 +2670,8 @@ var resolveOptions = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, async
|
|
|
2670
2670
|
}, {})
|
|
2671
2671
|
},
|
|
2672
2672
|
inject: [
|
|
2673
|
-
options.format === "cjs" && options.injectShims ?
|
|
2674
|
-
options.format === "esm" && options.injectShims && options.platform === "node" ?
|
|
2673
|
+
options.format === "cjs" && options.injectShims ? _chunkTKYNU6LXjs.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : "",
|
|
2674
|
+
options.format === "esm" && options.injectShims && options.platform === "node" ? _chunkTKYNU6LXjs.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : "",
|
|
2675
2675
|
..._nullishCoalesce(options.inject, () => ( []))
|
|
2676
2676
|
].filter(Boolean)
|
|
2677
2677
|
};
|
|
@@ -2680,14 +2680,14 @@ var resolveOptions = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, async
|
|
|
2680
2680
|
return result;
|
|
2681
2681
|
}, "resolveOptions");
|
|
2682
2682
|
async function generatePackageJson(context2) {
|
|
2683
|
-
if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
2683
|
+
if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkTKYNU6LXjs.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
|
|
2684
2684
|
writeDebug(" \u270D\uFE0F Writing package.json file", context2.options.config);
|
|
2685
2685
|
const stopwatch = getStopwatch("Write package.json file");
|
|
2686
|
-
const packageJsonPath =
|
|
2686
|
+
const packageJsonPath = _chunkTKYNU6LXjs.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
|
|
2687
2687
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
2688
2688
|
throw new Error("Cannot find package.json configuration");
|
|
2689
2689
|
}
|
|
2690
|
-
const packageJsonFile = await _promises2.default.readFile(
|
|
2690
|
+
const packageJsonFile = await _promises2.default.readFile(_chunkTKYNU6LXjs.joinPaths.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, "package.json"), "utf8");
|
|
2691
2691
|
let packageJson = JSON.parse(packageJsonFile);
|
|
2692
2692
|
if (!packageJson) {
|
|
2693
2693
|
throw new Error("Cannot find package.json configuration file");
|
|
@@ -2726,19 +2726,19 @@ async function generatePackageJson(context2) {
|
|
|
2726
2726
|
}
|
|
2727
2727
|
return ret;
|
|
2728
2728
|
}, packageJson.exports);
|
|
2729
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
2729
|
+
await _devkit.writeJsonFile.call(void 0, _chunkTKYNU6LXjs.joinPaths.call(void 0, context2.options.outdir, "package.json"), packageJson);
|
|
2730
2730
|
stopwatch();
|
|
2731
2731
|
}
|
|
2732
2732
|
return context2;
|
|
2733
2733
|
}
|
|
2734
|
-
|
|
2734
|
+
_chunkSETAUINAjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
|
|
2735
2735
|
async function createOptions(options) {
|
|
2736
2736
|
return _estoolkit.flatten.call(void 0, await Promise.all(_compat.map.call(void 0, options, (opt) => [
|
|
2737
2737
|
// we defer it so that we don't trigger glob immediately
|
|
2738
2738
|
() => resolveOptions(opt)
|
|
2739
2739
|
])));
|
|
2740
2740
|
}
|
|
2741
|
-
|
|
2741
|
+
_chunkSETAUINAjs.__name.call(void 0, createOptions, "createOptions");
|
|
2742
2742
|
async function generateContext(getOptions) {
|
|
2743
2743
|
const options = await getOptions();
|
|
2744
2744
|
const rendererEngine = new RendererEngine([
|
|
@@ -2750,7 +2750,7 @@ async function generateContext(getOptions) {
|
|
|
2750
2750
|
rendererEngine
|
|
2751
2751
|
};
|
|
2752
2752
|
}
|
|
2753
|
-
|
|
2753
|
+
_chunkSETAUINAjs.__name.call(void 0, generateContext, "generateContext");
|
|
2754
2754
|
async function executeEsBuild(context2) {
|
|
2755
2755
|
writeDebug(` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
|
|
2756
2756
|
const stopwatch = getStopwatch(`${context2.options.name} build`);
|
|
@@ -2766,7 +2766,7 @@ async function executeEsBuild(context2) {
|
|
|
2766
2766
|
stopwatch();
|
|
2767
2767
|
return context2;
|
|
2768
2768
|
}
|
|
2769
|
-
|
|
2769
|
+
_chunkSETAUINAjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
|
|
2770
2770
|
async function copyBuildAssets(context2) {
|
|
2771
2771
|
if (_optionalChain([context2, 'access', _120 => _120.result, 'optionalAccess', _121 => _121.errors, 'access', _122 => _122.length]) === 0) {
|
|
2772
2772
|
writeDebug(` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
|
|
@@ -2776,7 +2776,7 @@ async function copyBuildAssets(context2) {
|
|
|
2776
2776
|
}
|
|
2777
2777
|
return context2;
|
|
2778
2778
|
}
|
|
2779
|
-
|
|
2779
|
+
_chunkSETAUINAjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
2780
2780
|
async function reportResults(context2) {
|
|
2781
2781
|
if (_optionalChain([context2, 'access', _123 => _123.result, 'optionalAccess', _124 => _124.errors, 'access', _125 => _125.length]) === 0) {
|
|
2782
2782
|
if (context2.result.warnings.length > 0) {
|
|
@@ -2785,7 +2785,7 @@ async function reportResults(context2) {
|
|
|
2785
2785
|
writeSuccess(` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
|
|
2786
2786
|
}
|
|
2787
2787
|
}
|
|
2788
|
-
|
|
2788
|
+
_chunkSETAUINAjs.__name.call(void 0, reportResults, "reportResults");
|
|
2789
2789
|
async function dependencyCheck(options) {
|
|
2790
2790
|
if (process.env.DEV === "true") {
|
|
2791
2791
|
return void 0;
|
|
@@ -2815,7 +2815,7 @@ async function dependencyCheck(options) {
|
|
|
2815
2815
|
});
|
|
2816
2816
|
return void 0;
|
|
2817
2817
|
}
|
|
2818
|
-
|
|
2818
|
+
_chunkSETAUINAjs.__name.call(void 0, dependencyCheck, "dependencyCheck");
|
|
2819
2819
|
async function cleanOutputPath(context2) {
|
|
2820
2820
|
if (context2.options.clean !== false && context2.options.outdir) {
|
|
2821
2821
|
writeDebug(` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
|
|
@@ -2825,7 +2825,7 @@ async function cleanOutputPath(context2) {
|
|
|
2825
2825
|
}
|
|
2826
2826
|
return context2;
|
|
2827
2827
|
}
|
|
2828
|
-
|
|
2828
|
+
_chunkSETAUINAjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
|
|
2829
2829
|
async function build3(options) {
|
|
2830
2830
|
writeDebug(` \u26A1 Executing Storm ESBuild pipeline`);
|
|
2831
2831
|
const stopwatch = getStopwatch("ESBuild pipeline");
|
|
@@ -2846,8 +2846,8 @@ async function build3(options) {
|
|
|
2846
2846
|
stopwatch();
|
|
2847
2847
|
}
|
|
2848
2848
|
}
|
|
2849
|
-
|
|
2850
|
-
var watch = /* @__PURE__ */
|
|
2849
|
+
_chunkSETAUINAjs.__name.call(void 0, build3, "build");
|
|
2850
|
+
var watch = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (context2, options) => {
|
|
2851
2851
|
if (!options.watch) {
|
|
2852
2852
|
return context2;
|
|
2853
2853
|
}
|
|
@@ -2894,11 +2894,11 @@ async function esbuildExecutorFn(options, context2, config) {
|
|
|
2894
2894
|
success: true
|
|
2895
2895
|
};
|
|
2896
2896
|
}
|
|
2897
|
-
|
|
2897
|
+
_chunkSETAUINAjs.__name.call(void 0, esbuildExecutorFn, "esbuildExecutorFn");
|
|
2898
2898
|
var executor_default6 = withRunExecutor("Storm ESBuild build", esbuildExecutorFn, {
|
|
2899
2899
|
skipReadingConfig: false,
|
|
2900
2900
|
hooks: {
|
|
2901
|
-
applyDefaultOptions: /* @__PURE__ */
|
|
2901
|
+
applyDefaultOptions: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (options, config) => {
|
|
2902
2902
|
options.entry ??= [
|
|
2903
2903
|
"src/index.ts"
|
|
2904
2904
|
];
|
|
@@ -2910,12 +2910,12 @@ var executor_default6 = withRunExecutor("Storm ESBuild build", esbuildExecutorFn
|
|
|
2910
2910
|
});
|
|
2911
2911
|
|
|
2912
2912
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
2913
|
-
|
|
2913
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2914
2914
|
|
|
2915
2915
|
|
|
2916
2916
|
|
|
2917
2917
|
// ../workspace-tools/src/utils/pnpm-deps-update.ts
|
|
2918
|
-
|
|
2918
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2919
2919
|
|
|
2920
2920
|
|
|
2921
2921
|
var _prettier = require('prettier');
|
|
@@ -2925,7 +2925,7 @@ var _readyamlfile = require('read-yaml-file'); var _readyamlfile2 = _interopRequ
|
|
|
2925
2925
|
var LARGE_BUFFER3 = 1024 * 1e6;
|
|
2926
2926
|
|
|
2927
2927
|
// ../workspace-tools/src/executors/size-limit/executor.ts
|
|
2928
|
-
|
|
2928
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2929
2929
|
|
|
2930
2930
|
var _esbuild2 = require('@size-limit/esbuild'); var _esbuild3 = _interopRequireDefault(_esbuild2);
|
|
2931
2931
|
var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
|
|
@@ -2949,21 +2949,21 @@ async function sizeLimitExecutorFn(options, context2, config) {
|
|
|
2949
2949
|
success: true
|
|
2950
2950
|
};
|
|
2951
2951
|
}
|
|
2952
|
-
|
|
2952
|
+
_chunkSETAUINAjs.__name.call(void 0, sizeLimitExecutorFn, "sizeLimitExecutorFn");
|
|
2953
2953
|
var executor_default7 = withRunExecutor("Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
|
|
2954
2954
|
skipReadingConfig: false,
|
|
2955
2955
|
hooks: {
|
|
2956
|
-
applyDefaultOptions: /* @__PURE__ */
|
|
2956
|
+
applyDefaultOptions: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options) => {
|
|
2957
2957
|
return options;
|
|
2958
2958
|
}, "applyDefaultOptions")
|
|
2959
2959
|
}
|
|
2960
2960
|
});
|
|
2961
2961
|
|
|
2962
2962
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
2963
|
-
|
|
2963
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2964
2964
|
|
|
2965
2965
|
// ../tsdown/src/build.ts
|
|
2966
|
-
|
|
2966
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2967
2967
|
|
|
2968
2968
|
|
|
2969
2969
|
|
|
@@ -2972,7 +2972,7 @@ _chunkAIOPBLPUjs.init_cjs_shims.call(void 0, );
|
|
|
2972
2972
|
var _tsdown = require('tsdown');
|
|
2973
2973
|
|
|
2974
2974
|
// ../tsdown/src/clean.ts
|
|
2975
|
-
|
|
2975
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2976
2976
|
|
|
2977
2977
|
async function cleanDirectories2(name = "TSDown", directory, config) {
|
|
2978
2978
|
await _promises.rm.call(void 0, directory, {
|
|
@@ -2980,10 +2980,10 @@ async function cleanDirectories2(name = "TSDown", directory, config) {
|
|
|
2980
2980
|
force: true
|
|
2981
2981
|
});
|
|
2982
2982
|
}
|
|
2983
|
-
|
|
2983
|
+
_chunkSETAUINAjs.__name.call(void 0, cleanDirectories2, "cleanDirectories");
|
|
2984
2984
|
|
|
2985
2985
|
// ../tsdown/src/config.ts
|
|
2986
|
-
|
|
2986
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
2987
2987
|
var DEFAULT_BUILD_OPTIONS2 = {
|
|
2988
2988
|
platform: "node",
|
|
2989
2989
|
target: "node22",
|
|
@@ -3006,7 +3006,7 @@ var DEFAULT_BUILD_OPTIONS2 = {
|
|
|
3006
3006
|
};
|
|
3007
3007
|
|
|
3008
3008
|
// ../tsdown/src/build.ts
|
|
3009
|
-
var resolveOptions2 = /* @__PURE__ */
|
|
3009
|
+
var resolveOptions2 = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (userOptions) => {
|
|
3010
3010
|
const projectRoot = userOptions.projectRoot;
|
|
3011
3011
|
const workspaceRoot3 = _findworkspaceroot.findWorkspaceRoot.call(void 0, projectRoot);
|
|
3012
3012
|
if (!workspaceRoot3) {
|
|
@@ -3018,7 +3018,7 @@ var resolveOptions2 = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, async
|
|
|
3018
3018
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
3019
3019
|
exitOnError: true
|
|
3020
3020
|
});
|
|
3021
|
-
const projectJsonPath =
|
|
3021
|
+
const projectJsonPath = _chunkTKYNU6LXjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "project.json");
|
|
3022
3022
|
if (!_fs.existsSync.call(void 0, projectJsonPath)) {
|
|
3023
3023
|
throw new Error("Cannot find project.json configuration");
|
|
3024
3024
|
}
|
|
@@ -3032,7 +3032,7 @@ var resolveOptions2 = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, async
|
|
|
3032
3032
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS2);
|
|
3033
3033
|
options.name ??= `${projectName}-${options.format}`;
|
|
3034
3034
|
options.target ??= DEFAULT_TARGET;
|
|
3035
|
-
const packageJsonPath =
|
|
3035
|
+
const packageJsonPath = _chunkTKYNU6LXjs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
|
|
3036
3036
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
3037
3037
|
throw new Error("Cannot find package.json configuration");
|
|
3038
3038
|
}
|
|
@@ -3041,18 +3041,18 @@ var resolveOptions2 = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, async
|
|
|
3041
3041
|
...options,
|
|
3042
3042
|
config,
|
|
3043
3043
|
...userOptions,
|
|
3044
|
-
tsconfig:
|
|
3044
|
+
tsconfig: _chunkTKYNU6LXjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
3045
3045
|
format: options.format || "cjs",
|
|
3046
3046
|
entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
|
|
3047
3047
|
"./src/index.ts"
|
|
3048
3048
|
], userOptions.emitOnAll),
|
|
3049
|
-
outdir: userOptions.outputPath ||
|
|
3049
|
+
outdir: userOptions.outputPath || _chunkTKYNU6LXjs.joinPaths.call(void 0, "dist", projectRoot),
|
|
3050
3050
|
plugins: [],
|
|
3051
3051
|
name: userOptions.name || projectName,
|
|
3052
3052
|
projectConfigurations,
|
|
3053
3053
|
projectName,
|
|
3054
3054
|
projectGraph,
|
|
3055
|
-
sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot ||
|
|
3055
|
+
sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkTKYNU6LXjs.joinPaths.call(void 0, projectRoot, "src"),
|
|
3056
3056
|
minify: userOptions.minify || !userOptions.debug,
|
|
3057
3057
|
verbose: userOptions.verbose || isVerbose() || userOptions.debug === true,
|
|
3058
3058
|
includeSrc: userOptions.includeSrc === true,
|
|
@@ -3088,14 +3088,14 @@ var resolveOptions2 = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, async
|
|
|
3088
3088
|
return result;
|
|
3089
3089
|
}, "resolveOptions");
|
|
3090
3090
|
async function generatePackageJson2(options) {
|
|
3091
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
3091
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkTKYNU6LXjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
3092
3092
|
writeDebug(" \u270D\uFE0F Writing package.json file", options.config);
|
|
3093
3093
|
const stopwatch = getStopwatch("Write package.json file");
|
|
3094
|
-
const packageJsonPath =
|
|
3094
|
+
const packageJsonPath = _chunkTKYNU6LXjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
3095
3095
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
3096
3096
|
throw new Error("Cannot find package.json configuration");
|
|
3097
3097
|
}
|
|
3098
|
-
const packageJsonFile = await _promises2.default.readFile(
|
|
3098
|
+
const packageJsonFile = await _promises2.default.readFile(_chunkTKYNU6LXjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
|
|
3099
3099
|
if (!packageJsonFile) {
|
|
3100
3100
|
throw new Error("Cannot find package.json configuration file");
|
|
3101
3101
|
}
|
|
@@ -3134,12 +3134,12 @@ async function generatePackageJson2(options) {
|
|
|
3134
3134
|
}
|
|
3135
3135
|
return ret;
|
|
3136
3136
|
}, packageJson.exports);
|
|
3137
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
3137
|
+
await _devkit.writeJsonFile.call(void 0, _chunkTKYNU6LXjs.joinPaths.call(void 0, options.outdir, "package.json"), packageJson);
|
|
3138
3138
|
stopwatch();
|
|
3139
3139
|
}
|
|
3140
3140
|
return options;
|
|
3141
3141
|
}
|
|
3142
|
-
|
|
3142
|
+
_chunkSETAUINAjs.__name.call(void 0, generatePackageJson2, "generatePackageJson");
|
|
3143
3143
|
async function executeTSDown(options) {
|
|
3144
3144
|
writeDebug(` \u{1F680} Running ${options.name} build`, options.config);
|
|
3145
3145
|
const stopwatch = getStopwatch(`${options.name} build`);
|
|
@@ -3152,7 +3152,7 @@ async function executeTSDown(options) {
|
|
|
3152
3152
|
stopwatch();
|
|
3153
3153
|
return options;
|
|
3154
3154
|
}
|
|
3155
|
-
|
|
3155
|
+
_chunkSETAUINAjs.__name.call(void 0, executeTSDown, "executeTSDown");
|
|
3156
3156
|
async function copyBuildAssets2(options) {
|
|
3157
3157
|
writeDebug(` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
|
|
3158
3158
|
const stopwatch = getStopwatch(`${options.name} asset copy`);
|
|
@@ -3160,11 +3160,11 @@ async function copyBuildAssets2(options) {
|
|
|
3160
3160
|
stopwatch();
|
|
3161
3161
|
return options;
|
|
3162
3162
|
}
|
|
3163
|
-
|
|
3163
|
+
_chunkSETAUINAjs.__name.call(void 0, copyBuildAssets2, "copyBuildAssets");
|
|
3164
3164
|
async function reportResults2(options) {
|
|
3165
3165
|
writeSuccess(` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
|
|
3166
3166
|
}
|
|
3167
|
-
|
|
3167
|
+
_chunkSETAUINAjs.__name.call(void 0, reportResults2, "reportResults");
|
|
3168
3168
|
async function cleanOutputPath2(options) {
|
|
3169
3169
|
if (options.clean !== false && options.outdir) {
|
|
3170
3170
|
writeDebug(` \u{1F9F9} Cleaning ${options.name} output path: ${options.outdir}`, options.config);
|
|
@@ -3174,7 +3174,7 @@ async function cleanOutputPath2(options) {
|
|
|
3174
3174
|
}
|
|
3175
3175
|
return options;
|
|
3176
3176
|
}
|
|
3177
|
-
|
|
3177
|
+
_chunkSETAUINAjs.__name.call(void 0, cleanOutputPath2, "cleanOutputPath");
|
|
3178
3178
|
async function build4(options) {
|
|
3179
3179
|
writeDebug(` \u26A1 Executing Storm TSDown pipeline`);
|
|
3180
3180
|
const stopwatch = getStopwatch("TSDown pipeline");
|
|
@@ -3205,7 +3205,7 @@ async function build4(options) {
|
|
|
3205
3205
|
stopwatch();
|
|
3206
3206
|
}
|
|
3207
3207
|
}
|
|
3208
|
-
|
|
3208
|
+
_chunkSETAUINAjs.__name.call(void 0, build4, "build");
|
|
3209
3209
|
|
|
3210
3210
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
3211
3211
|
async function tsdownExecutorFn(options, context2, config) {
|
|
@@ -3225,11 +3225,11 @@ async function tsdownExecutorFn(options, context2, config) {
|
|
|
3225
3225
|
success: true
|
|
3226
3226
|
};
|
|
3227
3227
|
}
|
|
3228
|
-
|
|
3228
|
+
_chunkSETAUINAjs.__name.call(void 0, tsdownExecutorFn, "tsdownExecutorFn");
|
|
3229
3229
|
var executor_default8 = withRunExecutor("Storm TSDown build executor", tsdownExecutorFn, {
|
|
3230
3230
|
skipReadingConfig: false,
|
|
3231
3231
|
hooks: {
|
|
3232
|
-
applyDefaultOptions: /* @__PURE__ */
|
|
3232
|
+
applyDefaultOptions: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (options, config) => {
|
|
3233
3233
|
options.entry ??= [
|
|
3234
3234
|
"src/index.ts"
|
|
3235
3235
|
];
|
|
@@ -3241,7 +3241,7 @@ var executor_default8 = withRunExecutor("Storm TSDown build executor", tsdownExe
|
|
|
3241
3241
|
});
|
|
3242
3242
|
|
|
3243
3243
|
// ../workspace-tools/src/executors/typia/executor.ts
|
|
3244
|
-
|
|
3244
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
3245
3245
|
var _fsextra = require('fs-extra');
|
|
3246
3246
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
3247
3247
|
async function typiaExecutorFn(options, _, config) {
|
|
@@ -3261,11 +3261,11 @@ async function typiaExecutorFn(options, _, config) {
|
|
|
3261
3261
|
success: true
|
|
3262
3262
|
};
|
|
3263
3263
|
}
|
|
3264
|
-
|
|
3264
|
+
_chunkSETAUINAjs.__name.call(void 0, typiaExecutorFn, "typiaExecutorFn");
|
|
3265
3265
|
var executor_default9 = withRunExecutor("Typia runtime validation generator", typiaExecutorFn, {
|
|
3266
3266
|
skipReadingConfig: false,
|
|
3267
3267
|
hooks: {
|
|
3268
|
-
applyDefaultOptions: /* @__PURE__ */
|
|
3268
|
+
applyDefaultOptions: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options) => {
|
|
3269
3269
|
options.entry ??= [
|
|
3270
3270
|
"{sourceRoot}/index.ts"
|
|
3271
3271
|
];
|
|
@@ -3278,7 +3278,7 @@ var executor_default9 = withRunExecutor("Typia runtime validation generator", ty
|
|
|
3278
3278
|
});
|
|
3279
3279
|
|
|
3280
3280
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
3281
|
-
|
|
3281
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
3282
3282
|
|
|
3283
3283
|
var _jiti = require('jiti');
|
|
3284
3284
|
async function unbuildExecutorFn(options, context2, config) {
|
|
@@ -3293,7 +3293,7 @@ async function unbuildExecutorFn(options, context2, config) {
|
|
|
3293
3293
|
throw new Error("The Build process failed because the project's source root is not valid. Please run this command from a workspace root directory.");
|
|
3294
3294
|
}
|
|
3295
3295
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3296
|
-
fsCache: config.skipCache ? false :
|
|
3296
|
+
fsCache: config.skipCache ? false : _chunkTKYNU6LXjs.joinPaths.call(void 0, config.workspaceRoot, config.directories.cache || "node_modules/.cache/storm", "jiti"),
|
|
3297
3297
|
interopDefault: true
|
|
3298
3298
|
});
|
|
3299
3299
|
const stormUnbuild = await jiti.import(jiti.esmResolve("@storm-software/unbuild/build"));
|
|
@@ -3306,7 +3306,7 @@ async function unbuildExecutorFn(options, context2, config) {
|
|
|
3306
3306
|
}, {
|
|
3307
3307
|
stubOptions: {
|
|
3308
3308
|
jiti: {
|
|
3309
|
-
fsCache: config.skipCache ? false :
|
|
3309
|
+
fsCache: config.skipCache ? false : _chunkTKYNU6LXjs.joinPaths.call(void 0, config.workspaceRoot, config.directories.cache || "node_modules/.cache/storm", "jiti")
|
|
3310
3310
|
}
|
|
3311
3311
|
},
|
|
3312
3312
|
rollup: {
|
|
@@ -3329,11 +3329,11 @@ async function unbuildExecutorFn(options, context2, config) {
|
|
|
3329
3329
|
success: true
|
|
3330
3330
|
};
|
|
3331
3331
|
}
|
|
3332
|
-
|
|
3332
|
+
_chunkSETAUINAjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
|
|
3333
3333
|
var executor_default10 = withRunExecutor("TypeScript Unbuild build", unbuildExecutorFn, {
|
|
3334
3334
|
skipReadingConfig: false,
|
|
3335
3335
|
hooks: {
|
|
3336
|
-
applyDefaultOptions: /* @__PURE__ */
|
|
3336
|
+
applyDefaultOptions: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, async (options, config) => {
|
|
3337
3337
|
options.debug ??= false;
|
|
3338
3338
|
options.treeShaking ??= true;
|
|
3339
3339
|
options.platform ??= "neutral";
|
|
@@ -3347,15 +3347,15 @@ var executor_default10 = withRunExecutor("TypeScript Unbuild build", unbuildExec
|
|
|
3347
3347
|
});
|
|
3348
3348
|
|
|
3349
3349
|
// ../workspace-tools/generators.ts
|
|
3350
|
-
|
|
3350
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
3351
3351
|
|
|
3352
3352
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
3353
|
-
|
|
3353
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
3354
3354
|
|
|
3355
3355
|
|
|
3356
3356
|
// ../workspace-tools/src/base/base-generator.ts
|
|
3357
|
-
|
|
3358
|
-
var withRunGenerator = /* @__PURE__ */
|
|
3357
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
3358
|
+
var withRunGenerator = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (name, generatorFn, generatorOptions = {
|
|
3359
3359
|
skipReadingConfig: false
|
|
3360
3360
|
}) => async (tree, _options) => {
|
|
3361
3361
|
const stopwatch = getStopwatch(name);
|
|
@@ -3419,7 +3419,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
3419
3419
|
}, "withRunGenerator");
|
|
3420
3420
|
|
|
3421
3421
|
// ../workspace-tools/src/base/typescript-library-generator.ts
|
|
3422
|
-
|
|
3422
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
3423
3423
|
|
|
3424
3424
|
var _projectnameandrootutils = require('@nx/devkit/src/generators/project-name-and-root-utils');
|
|
3425
3425
|
var _js = require('@nx/js');
|
|
@@ -3427,7 +3427,7 @@ var _init = require('@nx/js/src/generators/init/init'); var _init2 = _interopReq
|
|
|
3427
3427
|
var _generator = require('@nx/js/src/generators/setup-verdaccio/generator'); var _generator2 = _interopRequireDefault(_generator);
|
|
3428
3428
|
|
|
3429
3429
|
// ../workspace-tools/src/utils/project-tags.ts
|
|
3430
|
-
|
|
3430
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
3431
3431
|
var ProjectTagConstants = {
|
|
3432
3432
|
Language: {
|
|
3433
3433
|
TAG_ID: "language",
|
|
@@ -3465,15 +3465,15 @@ var ProjectTagConstants = {
|
|
|
3465
3465
|
TAG_ID: "plugin"
|
|
3466
3466
|
}
|
|
3467
3467
|
};
|
|
3468
|
-
var formatProjectTag = /* @__PURE__ */
|
|
3468
|
+
var formatProjectTag = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (variant, value) => {
|
|
3469
3469
|
return `${variant}:${value}`;
|
|
3470
3470
|
}, "formatProjectTag");
|
|
3471
|
-
var hasProjectTag = /* @__PURE__ */
|
|
3471
|
+
var hasProjectTag = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (project, variant) => {
|
|
3472
3472
|
project.tags = _nullishCoalesce(project.tags, () => ( []));
|
|
3473
3473
|
const prefix = formatProjectTag(variant, "");
|
|
3474
3474
|
return project.tags.some((tag) => tag.startsWith(prefix) && tag.length > prefix.length);
|
|
3475
3475
|
}, "hasProjectTag");
|
|
3476
|
-
var addProjectTag = /* @__PURE__ */
|
|
3476
|
+
var addProjectTag = /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (project, variant, value, options = {
|
|
3477
3477
|
overwrite: false
|
|
3478
3478
|
}) => {
|
|
3479
3479
|
project.tags = _nullishCoalesce(project.tags, () => ( []));
|
|
@@ -3484,7 +3484,7 @@ var addProjectTag = /* @__PURE__ */ _chunkAIOPBLPUjs.__name.call(void 0, (projec
|
|
|
3484
3484
|
}, "addProjectTag");
|
|
3485
3485
|
|
|
3486
3486
|
// ../workspace-tools/src/utils/versions.ts
|
|
3487
|
-
|
|
3487
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
3488
3488
|
var typesNodeVersion = "20.9.0";
|
|
3489
3489
|
var nxVersion = "^18.0.4";
|
|
3490
3490
|
var nodeVersion = "20.11.0";
|
|
@@ -3514,7 +3514,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3514
3514
|
const projectConfig = {
|
|
3515
3515
|
root: normalized.directory,
|
|
3516
3516
|
projectType: "library",
|
|
3517
|
-
sourceRoot:
|
|
3517
|
+
sourceRoot: _chunkTKYNU6LXjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
3518
3518
|
targets: {
|
|
3519
3519
|
build: {
|
|
3520
3520
|
executor: options.buildExecutor,
|
|
@@ -3523,11 +3523,11 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3523
3523
|
],
|
|
3524
3524
|
options: {
|
|
3525
3525
|
entry: [
|
|
3526
|
-
|
|
3526
|
+
_chunkTKYNU6LXjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")
|
|
3527
3527
|
],
|
|
3528
3528
|
outputPath: getOutputPath(normalized),
|
|
3529
|
-
tsconfig:
|
|
3530
|
-
project:
|
|
3529
|
+
tsconfig: _chunkTKYNU6LXjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
3530
|
+
project: _chunkTKYNU6LXjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
3531
3531
|
defaultConfiguration: "production",
|
|
3532
3532
|
platform: "neutral",
|
|
3533
3533
|
assets: [
|
|
@@ -3581,7 +3581,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3581
3581
|
if (!normalized.importPath) {
|
|
3582
3582
|
normalized.importPath = normalized.name;
|
|
3583
3583
|
}
|
|
3584
|
-
const packageJsonPath =
|
|
3584
|
+
const packageJsonPath = _chunkTKYNU6LXjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
3585
3585
|
if (tree.exists(packageJsonPath)) {
|
|
3586
3586
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
3587
3587
|
if (!normalized.importPath) {
|
|
@@ -3638,10 +3638,10 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3638
3638
|
}));
|
|
3639
3639
|
}
|
|
3640
3640
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
3641
|
-
|
|
3641
|
+
_chunkTKYNU6LXjs.joinPaths.call(void 0, normalized.projectRoot, "./src", `index.${normalized.js ? "js" : "ts"}`)
|
|
3642
3642
|
]);
|
|
3643
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
3644
|
-
|
|
3643
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkTKYNU6LXjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
3644
|
+
_chunkTKYNU6LXjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
3645
3645
|
]);
|
|
3646
3646
|
if (tree.exists("package.json")) {
|
|
3647
3647
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -3652,7 +3652,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3652
3652
|
description = packageJson.description;
|
|
3653
3653
|
}
|
|
3654
3654
|
}
|
|
3655
|
-
const tsconfigPath =
|
|
3655
|
+
const tsconfigPath = _chunkTKYNU6LXjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
3656
3656
|
if (tree.exists(tsconfigPath)) {
|
|
3657
3657
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
3658
3658
|
json.composite ??= true;
|
|
@@ -3680,7 +3680,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3680
3680
|
await _devkit.formatFiles.call(void 0, tree);
|
|
3681
3681
|
return null;
|
|
3682
3682
|
}
|
|
3683
|
-
|
|
3683
|
+
_chunkSETAUINAjs.__name.call(void 0, typeScriptLibraryGeneratorFn, "typeScriptLibraryGeneratorFn");
|
|
3684
3684
|
function getOutputPath(options) {
|
|
3685
3685
|
const parts = [
|
|
3686
3686
|
"dist"
|
|
@@ -3690,16 +3690,16 @@ function getOutputPath(options) {
|
|
|
3690
3690
|
} else {
|
|
3691
3691
|
parts.push(options.projectRoot);
|
|
3692
3692
|
}
|
|
3693
|
-
return
|
|
3693
|
+
return _chunkTKYNU6LXjs.joinPaths.call(void 0, ...parts);
|
|
3694
3694
|
}
|
|
3695
|
-
|
|
3695
|
+
_chunkSETAUINAjs.__name.call(void 0, getOutputPath, "getOutputPath");
|
|
3696
3696
|
function createProjectTsConfigJson(tree, options) {
|
|
3697
3697
|
const tsconfig = {
|
|
3698
3698
|
extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
|
|
3699
3699
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _195 => _195.tsconfigOptions]), () => ( {})),
|
|
3700
3700
|
compilerOptions: {
|
|
3701
3701
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
3702
|
-
outDir:
|
|
3702
|
+
outDir: _chunkTKYNU6LXjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
3703
3703
|
noEmit: true,
|
|
3704
3704
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _196 => _196.tsconfigOptions, 'optionalAccess', _197 => _197.compilerOptions]), () => ( {}))
|
|
3705
3705
|
},
|
|
@@ -3719,9 +3719,9 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
3719
3719
|
"src/**/*.test.ts"
|
|
3720
3720
|
]
|
|
3721
3721
|
};
|
|
3722
|
-
_devkit.writeJson.call(void 0, tree,
|
|
3722
|
+
_devkit.writeJson.call(void 0, tree, _chunkTKYNU6LXjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
3723
3723
|
}
|
|
3724
|
-
|
|
3724
|
+
_chunkSETAUINAjs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
|
|
3725
3725
|
async function normalizeOptions(tree, options, config) {
|
|
3726
3726
|
let importPath = options.importPath;
|
|
3727
3727
|
if (!importPath && _optionalChain([config, 'optionalAccess', _204 => _204.namespace])) {
|
|
@@ -3775,11 +3775,11 @@ async function normalizeOptions(tree, options, config) {
|
|
|
3775
3775
|
shouldUseSwcJest: false
|
|
3776
3776
|
};
|
|
3777
3777
|
}
|
|
3778
|
-
|
|
3778
|
+
_chunkSETAUINAjs.__name.call(void 0, normalizeOptions, "normalizeOptions");
|
|
3779
3779
|
|
|
3780
3780
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
3781
3781
|
async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
3782
|
-
const filesDir =
|
|
3782
|
+
const filesDir = _chunkTKYNU6LXjs.joinPaths.call(void 0, __dirname, "src", "generators", "browser-library", "files");
|
|
3783
3783
|
const tsLibraryGeneratorOptions = {
|
|
3784
3784
|
buildExecutor: "@storm-software/workspace-tools:unbuild",
|
|
3785
3785
|
platform: "browser",
|
|
@@ -3836,10 +3836,10 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
|
3836
3836
|
await _devkit.formatFiles.call(void 0, tree);
|
|
3837
3837
|
return null;
|
|
3838
3838
|
}
|
|
3839
|
-
|
|
3839
|
+
_chunkSETAUINAjs.__name.call(void 0, browserLibraryGeneratorFn, "browserLibraryGeneratorFn");
|
|
3840
3840
|
var generator_default = withRunGenerator("TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
|
|
3841
3841
|
hooks: {
|
|
3842
|
-
applyDefaultOptions: /* @__PURE__ */
|
|
3842
|
+
applyDefaultOptions: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options) => {
|
|
3843
3843
|
options.description ??= "A library used by Storm Software to support browser applications";
|
|
3844
3844
|
options.platform ??= "browser";
|
|
3845
3845
|
return options;
|
|
@@ -3848,7 +3848,7 @@ var generator_default = withRunGenerator("TypeScript Library Creator (Browser Pl
|
|
|
3848
3848
|
});
|
|
3849
3849
|
|
|
3850
3850
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
3851
|
-
|
|
3851
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
3852
3852
|
|
|
3853
3853
|
var _zodtojsonschema = require('zod-to-json-schema');
|
|
3854
3854
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
@@ -3869,10 +3869,10 @@ async function configSchemaGeneratorFn(tree, options, config) {
|
|
|
3869
3869
|
success: true
|
|
3870
3870
|
};
|
|
3871
3871
|
}
|
|
3872
|
-
|
|
3872
|
+
_chunkSETAUINAjs.__name.call(void 0, configSchemaGeneratorFn, "configSchemaGeneratorFn");
|
|
3873
3873
|
var generator_default2 = withRunGenerator("Configuration Schema Creator", configSchemaGeneratorFn, {
|
|
3874
3874
|
hooks: {
|
|
3875
|
-
applyDefaultOptions: /* @__PURE__ */
|
|
3875
|
+
applyDefaultOptions: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options) => {
|
|
3876
3876
|
options.outputFile ??= "{workspaceRoot}/storm-workspace.schema.json";
|
|
3877
3877
|
return options;
|
|
3878
3878
|
}, "applyDefaultOptions")
|
|
@@ -3880,7 +3880,7 @@ var generator_default2 = withRunGenerator("Configuration Schema Creator", config
|
|
|
3880
3880
|
});
|
|
3881
3881
|
|
|
3882
3882
|
// ../workspace-tools/src/generators/init/init.ts
|
|
3883
|
-
|
|
3883
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
3884
3884
|
|
|
3885
3885
|
async function initGenerator(tree, schema) {
|
|
3886
3886
|
const task = _devkit.addDependenciesToPackageJson.call(void 0, tree, {
|
|
@@ -3899,13 +3899,13 @@ async function initGenerator(tree, schema) {
|
|
|
3899
3899
|
}
|
|
3900
3900
|
return task;
|
|
3901
3901
|
}
|
|
3902
|
-
|
|
3902
|
+
_chunkSETAUINAjs.__name.call(void 0, initGenerator, "initGenerator");
|
|
3903
3903
|
|
|
3904
3904
|
// ../workspace-tools/src/generators/neutral-library/generator.ts
|
|
3905
|
-
|
|
3905
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
3906
3906
|
|
|
3907
3907
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
3908
|
-
const filesDir =
|
|
3908
|
+
const filesDir = _chunkTKYNU6LXjs.joinPaths.call(void 0, __dirname, "src", "generators", "neutral-library", "files");
|
|
3909
3909
|
const tsLibraryGeneratorOptions = {
|
|
3910
3910
|
...schema,
|
|
3911
3911
|
platform: "neutral",
|
|
@@ -3934,10 +3934,10 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
|
3934
3934
|
await _devkit.formatFiles.call(void 0, tree);
|
|
3935
3935
|
return null;
|
|
3936
3936
|
}
|
|
3937
|
-
|
|
3937
|
+
_chunkSETAUINAjs.__name.call(void 0, neutralLibraryGeneratorFn, "neutralLibraryGeneratorFn");
|
|
3938
3938
|
var generator_default3 = withRunGenerator("TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
|
|
3939
3939
|
hooks: {
|
|
3940
|
-
applyDefaultOptions: /* @__PURE__ */
|
|
3940
|
+
applyDefaultOptions: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options) => {
|
|
3941
3941
|
options.description ??= "A library used by Storm Software to support either browser or NodeJs applications";
|
|
3942
3942
|
options.platform = "neutral";
|
|
3943
3943
|
return options;
|
|
@@ -3946,10 +3946,10 @@ var generator_default3 = withRunGenerator("TypeScript Library Creator (Neutral P
|
|
|
3946
3946
|
});
|
|
3947
3947
|
|
|
3948
3948
|
// ../workspace-tools/src/generators/node-library/generator.ts
|
|
3949
|
-
|
|
3949
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
3950
3950
|
|
|
3951
3951
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
3952
|
-
const filesDir =
|
|
3952
|
+
const filesDir = _chunkTKYNU6LXjs.joinPaths.call(void 0, __dirname, "src", "generators", "node-library", "files");
|
|
3953
3953
|
const tsLibraryGeneratorOptions = {
|
|
3954
3954
|
platform: "node",
|
|
3955
3955
|
devDependencies: {
|
|
@@ -3982,10 +3982,10 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
|
3982
3982
|
await _devkit.formatFiles.call(void 0, tree);
|
|
3983
3983
|
return null;
|
|
3984
3984
|
}
|
|
3985
|
-
|
|
3985
|
+
_chunkSETAUINAjs.__name.call(void 0, nodeLibraryGeneratorFn, "nodeLibraryGeneratorFn");
|
|
3986
3986
|
var generator_default4 = withRunGenerator("TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
|
|
3987
3987
|
hooks: {
|
|
3988
|
-
applyDefaultOptions: /* @__PURE__ */
|
|
3988
|
+
applyDefaultOptions: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (options) => {
|
|
3989
3989
|
options.description ??= "A library used by Storm Software to support NodeJs applications";
|
|
3990
3990
|
options.platform ??= "node";
|
|
3991
3991
|
return options;
|
|
@@ -3994,7 +3994,7 @@ var generator_default4 = withRunGenerator("TypeScript Library Creator (NodeJs Pl
|
|
|
3994
3994
|
});
|
|
3995
3995
|
|
|
3996
3996
|
// ../workspace-tools/src/generators/preset/generator.ts
|
|
3997
|
-
|
|
3997
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
3998
3998
|
|
|
3999
3999
|
|
|
4000
4000
|
async function presetGeneratorFn(tree, options) {
|
|
@@ -4213,23 +4213,23 @@ async function presetGeneratorFn(tree, options) {
|
|
|
4213
4213
|
await Promise.resolve(_devkit.addDependenciesToPackageJson.call(void 0, tree, dependencies, {}, _devkit.joinPathFragments.call(void 0, projectRoot, "package.json")));
|
|
4214
4214
|
return null;
|
|
4215
4215
|
}
|
|
4216
|
-
|
|
4216
|
+
_chunkSETAUINAjs.__name.call(void 0, presetGeneratorFn, "presetGeneratorFn");
|
|
4217
4217
|
var generator_default5 = withRunGenerator("Storm Workspace Preset Generator", presetGeneratorFn);
|
|
4218
4218
|
|
|
4219
4219
|
// ../workspace-tools/src/generators/release-version/generator.ts
|
|
4220
|
-
|
|
4220
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4221
4221
|
|
|
4222
4222
|
var _resolvelocalpackagedependencies = require('@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies');
|
|
4223
4223
|
var _updatelockfile = require('@nx/js/src/generators/release-version/utils/update-lock-file');
|
|
4224
4224
|
|
|
4225
4225
|
// ../git-tools/src/index.ts
|
|
4226
|
-
|
|
4226
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4227
4227
|
|
|
4228
4228
|
// ../git-tools/src/commit/config.ts
|
|
4229
|
-
|
|
4229
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4230
4230
|
|
|
4231
4231
|
// ../git-tools/src/types.ts
|
|
4232
|
-
|
|
4232
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4233
4233
|
var RuleConfigSeverity;
|
|
4234
4234
|
(function(RuleConfigSeverity2) {
|
|
4235
4235
|
RuleConfigSeverity2[RuleConfigSeverity2["Disabled"] = 0] = "Disabled";
|
|
@@ -4238,11 +4238,11 @@ var RuleConfigSeverity;
|
|
|
4238
4238
|
})(RuleConfigSeverity || (RuleConfigSeverity = {}));
|
|
4239
4239
|
|
|
4240
4240
|
// ../git-tools/src/release/changelog-renderer.ts
|
|
4241
|
-
|
|
4241
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4242
4242
|
var _index = require('nx/release/changelog-renderer/index'); var _index2 = _interopRequireDefault(_index);
|
|
4243
4243
|
|
|
4244
4244
|
// ../git-tools/src/release/config.ts
|
|
4245
|
-
|
|
4245
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4246
4246
|
|
|
4247
4247
|
// ../workspace-tools/src/generators/release-version/generator.ts
|
|
4248
4248
|
|
|
@@ -4256,10 +4256,10 @@ var _utils = require('nx/src/tasks-runner/utils');
|
|
|
4256
4256
|
var _semver3 = require('semver');
|
|
4257
4257
|
|
|
4258
4258
|
// ../workspace-tools/src/base/index.ts
|
|
4259
|
-
|
|
4259
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4260
4260
|
|
|
4261
4261
|
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
4262
|
-
|
|
4262
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4263
4263
|
var _untyped = require('untyped');
|
|
4264
4264
|
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4265
4265
|
$schema: {
|
|
@@ -4279,7 +4279,7 @@ var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4279
4279
|
});
|
|
4280
4280
|
|
|
4281
4281
|
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
4282
|
-
|
|
4282
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4283
4283
|
|
|
4284
4284
|
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4285
4285
|
$schema: {
|
|
@@ -4297,7 +4297,7 @@ var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4297
4297
|
});
|
|
4298
4298
|
|
|
4299
4299
|
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
4300
|
-
|
|
4300
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4301
4301
|
|
|
4302
4302
|
var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4303
4303
|
...base_executor_untyped_default,
|
|
@@ -4384,7 +4384,7 @@ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void
|
|
|
4384
4384
|
});
|
|
4385
4385
|
|
|
4386
4386
|
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
4387
|
-
|
|
4387
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4388
4388
|
|
|
4389
4389
|
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4390
4390
|
...base_executor_untyped_default,
|
|
@@ -4489,7 +4489,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
4489
4489
|
]
|
|
4490
4490
|
},
|
|
4491
4491
|
$default: "esnext",
|
|
4492
|
-
$resolve: /* @__PURE__ */
|
|
4492
|
+
$resolve: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (val = "esnext") => val.toLowerCase(), "$resolve")
|
|
4493
4493
|
},
|
|
4494
4494
|
format: {
|
|
4495
4495
|
$schema: {
|
|
@@ -4505,7 +4505,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
4505
4505
|
]
|
|
4506
4506
|
}
|
|
4507
4507
|
},
|
|
4508
|
-
$resolve: /* @__PURE__ */
|
|
4508
|
+
$resolve: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (val = [
|
|
4509
4509
|
"cjs",
|
|
4510
4510
|
"esm"
|
|
4511
4511
|
]) => [].concat(val), "$resolve")
|
|
@@ -4529,7 +4529,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
4529
4529
|
type: "array",
|
|
4530
4530
|
description: "The external dependencies"
|
|
4531
4531
|
},
|
|
4532
|
-
$resolve: /* @__PURE__ */
|
|
4532
|
+
$resolve: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (val = []) => [].concat(val), "$resolve")
|
|
4533
4533
|
},
|
|
4534
4534
|
define: {
|
|
4535
4535
|
$schema: {
|
|
@@ -4538,7 +4538,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
4538
4538
|
tsType: "Record<string, string>",
|
|
4539
4539
|
description: "The define values"
|
|
4540
4540
|
},
|
|
4541
|
-
$resolve: /* @__PURE__ */
|
|
4541
|
+
$resolve: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (val = {}) => val, "$resolve"),
|
|
4542
4542
|
$default: {}
|
|
4543
4543
|
},
|
|
4544
4544
|
env: {
|
|
@@ -4548,13 +4548,13 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
4548
4548
|
tsType: "Record<string, string>",
|
|
4549
4549
|
description: "The environment variable values"
|
|
4550
4550
|
},
|
|
4551
|
-
$resolve: /* @__PURE__ */
|
|
4551
|
+
$resolve: /* @__PURE__ */ _chunkSETAUINAjs.__name.call(void 0, (val = {}) => val, "$resolve"),
|
|
4552
4552
|
$default: {}
|
|
4553
4553
|
}
|
|
4554
4554
|
});
|
|
4555
4555
|
|
|
4556
4556
|
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
4557
|
-
|
|
4557
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4558
4558
|
|
|
4559
4559
|
var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4560
4560
|
...base_generator_untyped_default,
|
|
@@ -4675,24 +4675,24 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
|
|
|
4675
4675
|
});
|
|
4676
4676
|
|
|
4677
4677
|
// ../workspace-tools/src/types.ts
|
|
4678
|
-
|
|
4678
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4679
4679
|
|
|
4680
4680
|
// ../workspace-tools/src/utils/index.ts
|
|
4681
|
-
|
|
4681
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4682
4682
|
|
|
4683
4683
|
// ../workspace-tools/src/utils/apply-workspace-tokens.ts
|
|
4684
|
-
|
|
4684
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4685
4685
|
|
|
4686
4686
|
// ../workspace-tools/src/utils/create-cli-options.ts
|
|
4687
|
-
|
|
4687
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4688
4688
|
|
|
4689
4689
|
|
|
4690
4690
|
// ../workspace-tools/src/utils/get-project-configurations.ts
|
|
4691
|
-
|
|
4691
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4692
4692
|
var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
|
|
4693
4693
|
|
|
4694
4694
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
4695
|
-
|
|
4695
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4696
4696
|
|
|
4697
4697
|
|
|
4698
4698
|
|
|
@@ -4707,19 +4707,19 @@ var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE
|
|
|
4707
4707
|
var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
|
|
4708
4708
|
|
|
4709
4709
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
4710
|
-
|
|
4710
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4711
4711
|
|
|
4712
4712
|
|
|
4713
4713
|
|
|
4714
4714
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
4715
|
-
|
|
4715
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4716
4716
|
|
|
4717
4717
|
|
|
4718
4718
|
|
|
4719
4719
|
|
|
4720
4720
|
|
|
4721
4721
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
4722
|
-
|
|
4722
|
+
_chunkSETAUINAjs.init_cjs_shims.call(void 0, );
|
|
4723
4723
|
var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
|
|
4724
4724
|
|
|
4725
4725
|
// src/generators/init/generator.ts
|
|
@@ -4731,7 +4731,7 @@ async function initGeneratorFn(tree, options, config) {
|
|
|
4731
4731
|
}
|
|
4732
4732
|
return task;
|
|
4733
4733
|
}
|
|
4734
|
-
|
|
4734
|
+
_chunkSETAUINAjs.__name.call(void 0, initGeneratorFn, "initGeneratorFn");
|
|
4735
4735
|
var generator_default6 = withRunGenerator("Initialize Storm Projen workspace", initGeneratorFn);
|
|
4736
4736
|
function addProjenDeps(tree, options) {
|
|
4737
4737
|
return () => {
|
|
@@ -4742,7 +4742,7 @@ function addProjenDeps(tree, options) {
|
|
|
4742
4742
|
}
|
|
4743
4743
|
};
|
|
4744
4744
|
}
|
|
4745
|
-
|
|
4745
|
+
_chunkSETAUINAjs.__name.call(void 0, addProjenDeps, "addProjenDeps");
|
|
4746
4746
|
|
|
4747
4747
|
|
|
4748
4748
|
|