@storm-software/projen 0.21.171 → 0.21.173
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 +20 -0
- package/README.md +1 -1
- package/dist/{chunk-S2UM7MXT.mjs → chunk-3EPPFB7R.mjs} +19 -30
- package/dist/{chunk-IFTRUSRD.js → chunk-4VHW5V7E.js} +3 -3
- package/dist/{chunk-D5SAU6HF.mjs → chunk-6E5OSIHE.mjs} +1 -1
- package/dist/{chunk-Q7YIVOAF.mjs → chunk-A5PMUIO4.mjs} +1 -1
- package/dist/{chunk-ND4P6SI5.mjs → chunk-AJ3Q6YJB.mjs} +1 -1
- package/dist/{chunk-DTCWZTHY.mjs → chunk-AJ537IU4.mjs} +2 -2
- package/dist/{chunk-YIOJM56V.js → chunk-II72OEVX.js} +2 -2
- package/dist/chunk-MZRHCK76.js +6 -0
- package/dist/{chunk-H4Q35YMB.js → chunk-UZ3FU6UH.js} +216 -227
- package/dist/{chunk-LORECAU5.js → chunk-YLJQC4MZ.js} +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 +4 -4
- 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 +5 -5
- package/dist/chunk-245W3USJ.js +0 -6
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkII72OEVXjs = require('./chunk-II72OEVX.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkYLJQC4MZjs = require('./chunk-YLJQC4MZ.js');
|
|
10
10
|
|
|
11
11
|
// src/generators/init/generator.ts
|
|
12
|
-
|
|
12
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -18,28 +18,28 @@ _chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
|
|
20
20
|
// ../workspace-tools/index.ts
|
|
21
|
-
|
|
21
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
22
22
|
|
|
23
23
|
// ../workspace-tools/executors.ts
|
|
24
|
-
|
|
24
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
25
25
|
|
|
26
26
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
27
|
-
|
|
27
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
28
28
|
|
|
29
29
|
// ../workspace-tools/src/base/base-executor.ts
|
|
30
|
-
|
|
30
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
31
31
|
|
|
32
32
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
33
|
-
|
|
33
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
34
34
|
var _c12 = require('c12');
|
|
35
35
|
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
36
36
|
|
|
37
37
|
// ../config-tools/src/logger/console.ts
|
|
38
|
-
|
|
38
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
39
39
|
var _formatDistanceToNow = require('date-fns/formatDistanceToNow');
|
|
40
40
|
|
|
41
41
|
// ../config-tools/src/types.ts
|
|
42
|
-
|
|
42
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
43
43
|
var LogLevel = {
|
|
44
44
|
SILENT: 0,
|
|
45
45
|
FATAL: 10,
|
|
@@ -66,7 +66,7 @@ var LogLevelLabel = {
|
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
// ../config-tools/src/utilities/colors.ts
|
|
69
|
-
|
|
69
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
70
70
|
var DEFAULT_COLOR_CONFIG = {
|
|
71
71
|
light: {
|
|
72
72
|
background: "#fafafa",
|
|
@@ -136,7 +136,7 @@ function getColor(key, config) {
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
// ../config-tools/src/logger/chalk.ts
|
|
139
|
-
|
|
139
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
140
140
|
var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
|
|
141
141
|
var chalkDefault = {
|
|
142
142
|
hex: (_) => (message) => message,
|
|
@@ -170,10 +170,10 @@ var getChalk = () => {
|
|
|
170
170
|
};
|
|
171
171
|
|
|
172
172
|
// ../config-tools/src/logger/console-icons.ts
|
|
173
|
-
|
|
173
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
174
174
|
|
|
175
175
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
176
|
-
|
|
176
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
177
177
|
function isUnicodeSupported() {
|
|
178
178
|
if (process.platform !== "win32") {
|
|
179
179
|
return process.env.TERM !== "linux";
|
|
@@ -199,13 +199,13 @@ var CONSOLE_ICONS = {
|
|
|
199
199
|
};
|
|
200
200
|
|
|
201
201
|
// ../config-tools/src/logger/format-timestamp.ts
|
|
202
|
-
|
|
203
|
-
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
204
|
-
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
202
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
203
|
+
var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
|
|
204
|
+
return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
|
|
205
205
|
};
|
|
206
206
|
|
|
207
207
|
// ../config-tools/src/logger/get-log-level.ts
|
|
208
|
-
|
|
208
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
209
209
|
var getLogLevel = (label) => {
|
|
210
210
|
switch (label) {
|
|
211
211
|
case "all":
|
|
@@ -262,7 +262,12 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
|
262
262
|
};
|
|
263
263
|
|
|
264
264
|
// ../config-tools/src/logger/console.ts
|
|
265
|
-
var getLogFn = (logLevel = LogLevel.INFO, config = {},
|
|
265
|
+
var getLogFn = (logLevel = LogLevel.INFO, config = {}, options = {}) => {
|
|
266
|
+
const {
|
|
267
|
+
chalk: _chalk = getChalk(),
|
|
268
|
+
fullDateTime = false,
|
|
269
|
+
hideDateTime = false
|
|
270
|
+
} = options;
|
|
266
271
|
const colors = !_optionalChain([config, 'access', _12 => _12.colors, 'optionalAccess', _13 => _13.dark]) && !_optionalChain([config, 'access', _14 => _14.colors, 'optionalAccess', _15 => _15["base"]]) && !_optionalChain([config, 'access', _16 => _16.colors, 'optionalAccess', _17 => _17["base"], 'optionalAccess', _18 => _18.dark]) ? DEFAULT_COLOR_CONFIG : _optionalChain([config, 'access', _19 => _19.colors, 'optionalAccess', _20 => _20.dark]) && typeof config.colors.dark === "string" ? config.colors : _optionalChain([config, 'access', _21 => _21.colors, 'optionalAccess', _22 => _22["base"], 'optionalAccess', _23 => _23.dark]) && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : _optionalChain([config, 'access', _24 => _24.colors, 'optionalAccess', _25 => _25["base"]]) ? _optionalChain([config, 'access', _26 => _26.colors, 'optionalAccess', _27 => _27["base"]]) : DEFAULT_COLOR_CONFIG;
|
|
267
272
|
const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
|
|
268
273
|
if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
|
|
@@ -273,9 +278,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
|
|
|
273
278
|
return (message) => {
|
|
274
279
|
console.error(
|
|
275
280
|
`
|
|
276
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
277
|
-
_nullishCoalesce(colors.fatal, () => ( DEFAULT_COLOR_CONFIG.dark.fatal))
|
|
278
|
-
)(
|
|
281
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.fatal, () => ( DEFAULT_COLOR_CONFIG.dark.fatal)))(
|
|
279
282
|
`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
|
|
280
283
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
281
284
|
`
|
|
@@ -286,9 +289,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
286
289
|
return (message) => {
|
|
287
290
|
console.error(
|
|
288
291
|
`
|
|
289
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
290
|
-
_nullishCoalesce(colors.danger, () => ( DEFAULT_COLOR_CONFIG.dark.danger))
|
|
291
|
-
)(
|
|
292
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.danger, () => ( DEFAULT_COLOR_CONFIG.dark.danger)))(
|
|
292
293
|
`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
|
|
293
294
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
294
295
|
`
|
|
@@ -299,9 +300,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
299
300
|
return (message) => {
|
|
300
301
|
console.warn(
|
|
301
302
|
`
|
|
302
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
303
|
-
_nullishCoalesce(colors.warning, () => ( DEFAULT_COLOR_CONFIG.dark.warning))
|
|
304
|
-
)(
|
|
303
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.warning, () => ( DEFAULT_COLOR_CONFIG.dark.warning)))(
|
|
305
304
|
`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
|
|
306
305
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
307
306
|
`
|
|
@@ -312,9 +311,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
312
311
|
return (message) => {
|
|
313
312
|
console.info(
|
|
314
313
|
`
|
|
315
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
316
|
-
_nullishCoalesce(colors.success, () => ( DEFAULT_COLOR_CONFIG.dark.success))
|
|
317
|
-
)(
|
|
314
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.success, () => ( DEFAULT_COLOR_CONFIG.dark.success)))(
|
|
318
315
|
`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
|
|
319
316
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
320
317
|
`
|
|
@@ -325,9 +322,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
325
322
|
return (message) => {
|
|
326
323
|
console.info(
|
|
327
324
|
`
|
|
328
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
329
|
-
_nullishCoalesce(colors.info, () => ( DEFAULT_COLOR_CONFIG.dark.info))
|
|
330
|
-
)(
|
|
325
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.info, () => ( DEFAULT_COLOR_CONFIG.dark.info)))(
|
|
331
326
|
`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
|
|
332
327
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
333
328
|
`
|
|
@@ -338,9 +333,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
338
333
|
return (message) => {
|
|
339
334
|
console.debug(
|
|
340
335
|
`
|
|
341
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
342
|
-
_nullishCoalesce(colors.performance, () => ( DEFAULT_COLOR_CONFIG.dark.performance))
|
|
343
|
-
)(
|
|
336
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.performance, () => ( DEFAULT_COLOR_CONFIG.dark.performance)))(
|
|
344
337
|
`[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
|
|
345
338
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
346
339
|
`
|
|
@@ -351,9 +344,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
351
344
|
return (message) => {
|
|
352
345
|
console.debug(
|
|
353
346
|
`
|
|
354
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
355
|
-
_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.debug))
|
|
356
|
-
)(
|
|
347
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.debug, () => ( DEFAULT_COLOR_CONFIG.dark.debug)))(
|
|
357
348
|
`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
|
|
358
349
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
359
350
|
`
|
|
@@ -364,7 +355,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
|
364
355
|
return (message) => {
|
|
365
356
|
console.debug(
|
|
366
357
|
`
|
|
367
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
358
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
|
|
368
359
|
`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
|
|
369
360
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
370
361
|
`
|
|
@@ -374,9 +365,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
|
|
|
374
365
|
return (message) => {
|
|
375
366
|
console.log(
|
|
376
367
|
`
|
|
377
|
-
${_chalk.gray(formatTimestamp())} ${_chalk.hex(
|
|
378
|
-
_nullishCoalesce(colors.brand, () => ( DEFAULT_COLOR_CONFIG.dark.brand))
|
|
379
|
-
)(
|
|
368
|
+
${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(_nullishCoalesce(colors.brand, () => ( DEFAULT_COLOR_CONFIG.dark.brand)))(
|
|
380
369
|
`[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
|
|
381
370
|
)}${_chalk.bold.whiteBright(formatLogMessage(message))}
|
|
382
371
|
`
|
|
@@ -428,13 +417,13 @@ var _isFunction = (value) => {
|
|
|
428
417
|
var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
|
|
429
418
|
|
|
430
419
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
431
|
-
|
|
420
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
432
421
|
|
|
433
422
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
434
|
-
|
|
423
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
435
424
|
|
|
436
425
|
// ../config-tools/src/utilities/find-up.ts
|
|
437
|
-
|
|
426
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
438
427
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
439
428
|
var _path = require('path'); var path2 = _interopRequireWildcard(_path);
|
|
440
429
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
@@ -501,11 +490,11 @@ var rootDirectories = [
|
|
|
501
490
|
];
|
|
502
491
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
503
492
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
504
|
-
return
|
|
493
|
+
return _chunkII72OEVXjs.correctPaths.call(void 0,
|
|
505
494
|
_nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH))
|
|
506
495
|
);
|
|
507
496
|
}
|
|
508
|
-
return
|
|
497
|
+
return _chunkII72OEVXjs.correctPaths.call(void 0,
|
|
509
498
|
findFolderUp(
|
|
510
499
|
_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())),
|
|
511
500
|
rootFiles,
|
|
@@ -600,13 +589,13 @@ var applyWorkspaceTokens = async (options, tokenParams, tokenizerFn) => {
|
|
|
600
589
|
};
|
|
601
590
|
|
|
602
591
|
// ../config-tools/src/utilities/get-default-config.ts
|
|
603
|
-
|
|
592
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
604
593
|
|
|
605
594
|
// ../config/src/index.ts
|
|
606
|
-
|
|
595
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
607
596
|
|
|
608
597
|
// ../config/src/constants.ts
|
|
609
|
-
|
|
598
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
610
599
|
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
611
600
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
612
601
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
@@ -625,10 +614,10 @@ var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
|
625
614
|
var STORM_DEFAULT_BANNER_ALT = "The workspace's banner image";
|
|
626
615
|
|
|
627
616
|
// ../config/src/define-config.ts
|
|
628
|
-
|
|
617
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
629
618
|
|
|
630
619
|
// ../config/src/schema.ts
|
|
631
|
-
|
|
620
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
632
621
|
var _mini = require('zod/v4/mini'); var z = _interopRequireWildcard(_mini);
|
|
633
622
|
var schemaRegistry = z.registry();
|
|
634
623
|
var colorSchema = z.string().check(
|
|
@@ -1198,7 +1187,7 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
1198
1187
|
});
|
|
1199
1188
|
|
|
1200
1189
|
// ../config/src/types.ts
|
|
1201
|
-
|
|
1190
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
1202
1191
|
var COLOR_KEYS = [
|
|
1203
1192
|
"dark",
|
|
1204
1193
|
"light",
|
|
@@ -1232,7 +1221,7 @@ async function getPackageJsonConfig(root) {
|
|
|
1232
1221
|
const workspaceRoot2 = findWorkspaceRoot(root);
|
|
1233
1222
|
if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot2, "package.json"))) {
|
|
1234
1223
|
const file = await _promises.readFile.call(void 0,
|
|
1235
|
-
|
|
1224
|
+
_chunkII72OEVXjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
1236
1225
|
"utf8"
|
|
1237
1226
|
);
|
|
1238
1227
|
if (file) {
|
|
@@ -1316,7 +1305,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1316
1305
|
envName: _optionalChain([fileName, 'optionalAccess', _38 => _38.toUpperCase, 'call', _39 => _39()]),
|
|
1317
1306
|
jitiOptions: {
|
|
1318
1307
|
debug: false,
|
|
1319
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1308
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkII72OEVXjs.joinPaths.call(void 0,
|
|
1320
1309
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1321
1310
|
"jiti"
|
|
1322
1311
|
)
|
|
@@ -1330,7 +1319,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1330
1319
|
envName: _optionalChain([fileName, 'optionalAccess', _40 => _40.toUpperCase, 'call', _41 => _41()]),
|
|
1331
1320
|
jitiOptions: {
|
|
1332
1321
|
debug: false,
|
|
1333
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1322
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkII72OEVXjs.joinPaths.call(void 0,
|
|
1334
1323
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1335
1324
|
"jiti"
|
|
1336
1325
|
)
|
|
@@ -1382,12 +1371,12 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
1382
1371
|
};
|
|
1383
1372
|
|
|
1384
1373
|
// ../config-tools/src/create-storm-config.ts
|
|
1385
|
-
|
|
1374
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
1386
1375
|
|
|
1387
1376
|
|
|
1388
1377
|
|
|
1389
1378
|
// ../config-tools/src/env/get-env.ts
|
|
1390
|
-
|
|
1379
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
1391
1380
|
var getExtensionEnv = (extensionName) => {
|
|
1392
1381
|
const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
|
|
1393
1382
|
return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
|
|
@@ -1449,15 +1438,15 @@ var getConfigEnv = () => {
|
|
|
1449
1438
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
1450
1439
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
1451
1440
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
1452
|
-
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ?
|
|
1453
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
1441
|
+
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ? _chunkII72OEVXjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_CONFIG_FILE`]) : void 0,
|
|
1442
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkII72OEVXjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
1454
1443
|
directories: {
|
|
1455
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
1456
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
1457
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
1458
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
1459
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
1460
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
1444
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkII72OEVXjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkII72OEVXjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
1445
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkII72OEVXjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkII72OEVXjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
1446
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkII72OEVXjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkII72OEVXjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
1447
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkII72OEVXjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkII72OEVXjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
1448
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkII72OEVXjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkII72OEVXjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
1449
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkII72OEVXjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkII72OEVXjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
|
|
1461
1450
|
},
|
|
1462
1451
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
1463
1452
|
mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -1604,7 +1593,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1604
1593
|
};
|
|
1605
1594
|
|
|
1606
1595
|
// ../config-tools/src/env/set-env.ts
|
|
1607
|
-
|
|
1596
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
1608
1597
|
var setExtensionEnv = (extensionName, extension) => {
|
|
1609
1598
|
for (const key of Object.keys(_nullishCoalesce(extension, () => ( {})))) {
|
|
1610
1599
|
if (extension[key]) {
|
|
@@ -1752,42 +1741,42 @@ var setConfigEnv = (config) => {
|
|
|
1752
1741
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
1753
1742
|
}
|
|
1754
1743
|
if (config.configFile) {
|
|
1755
|
-
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] =
|
|
1744
|
+
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] = _chunkII72OEVXjs.correctPaths.call(void 0,
|
|
1756
1745
|
config.configFile
|
|
1757
1746
|
);
|
|
1758
1747
|
}
|
|
1759
1748
|
if (config.workspaceRoot) {
|
|
1760
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
1761
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
1762
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
1749
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkII72OEVXjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1750
|
+
process.env.NX_WORKSPACE_ROOT = _chunkII72OEVXjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1751
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkII72OEVXjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1763
1752
|
}
|
|
1764
1753
|
if (config.directories) {
|
|
1765
1754
|
if (!config.skipCache && config.directories.cache) {
|
|
1766
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
1755
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkII72OEVXjs.correctPaths.call(void 0,
|
|
1767
1756
|
config.directories.cache
|
|
1768
1757
|
);
|
|
1769
1758
|
process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
|
|
1770
1759
|
}
|
|
1771
1760
|
if (config.directories.data) {
|
|
1772
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
1761
|
+
process.env[`${prefix}DATA_DIR`] = _chunkII72OEVXjs.correctPaths.call(void 0, config.directories.data);
|
|
1773
1762
|
process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
|
|
1774
1763
|
}
|
|
1775
1764
|
if (config.directories.config) {
|
|
1776
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
1765
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkII72OEVXjs.correctPaths.call(void 0,
|
|
1777
1766
|
config.directories.config
|
|
1778
1767
|
);
|
|
1779
1768
|
process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
|
|
1780
1769
|
}
|
|
1781
1770
|
if (config.directories.temp) {
|
|
1782
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
1771
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkII72OEVXjs.correctPaths.call(void 0, config.directories.temp);
|
|
1783
1772
|
process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
|
|
1784
1773
|
}
|
|
1785
1774
|
if (config.directories.log) {
|
|
1786
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
1775
|
+
process.env[`${prefix}LOG_DIR`] = _chunkII72OEVXjs.correctPaths.call(void 0, config.directories.log);
|
|
1787
1776
|
process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
|
|
1788
1777
|
}
|
|
1789
1778
|
if (config.directories.build) {
|
|
1790
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
1779
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkII72OEVXjs.correctPaths.call(void 0,
|
|
1791
1780
|
config.directories.build
|
|
1792
1781
|
);
|
|
1793
1782
|
process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
|
|
@@ -2015,7 +2004,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot2, s
|
|
|
2015
2004
|
defaultConfig
|
|
2016
2005
|
);
|
|
2017
2006
|
if (!configInput.variant) {
|
|
2018
|
-
configInput.variant = _fs.existsSync.call(void 0,
|
|
2007
|
+
configInput.variant = _fs.existsSync.call(void 0, _chunkII72OEVXjs.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkII72OEVXjs.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkII72OEVXjs.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkII72OEVXjs.joinPaths.call(void 0, _workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
|
|
2019
2008
|
}
|
|
2020
2009
|
try {
|
|
2021
2010
|
const parseResult = await Promise.resolve(
|
|
@@ -2085,7 +2074,7 @@ ${formatLogMessage(config)}`,
|
|
|
2085
2074
|
};
|
|
2086
2075
|
|
|
2087
2076
|
// ../config-tools/src/get-config.ts
|
|
2088
|
-
|
|
2077
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2089
2078
|
function getConfig(workspaceRoot2, skipLogs = false) {
|
|
2090
2079
|
return loadStormWorkspaceConfig(workspaceRoot2, skipLogs);
|
|
2091
2080
|
}
|
|
@@ -2223,7 +2212,7 @@ var _isFunction2 = (value) => {
|
|
|
2223
2212
|
};
|
|
2224
2213
|
|
|
2225
2214
|
// ../workspace-tools/src/utils/cargo.ts
|
|
2226
|
-
|
|
2215
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2227
2216
|
|
|
2228
2217
|
|
|
2229
2218
|
|
|
@@ -2363,7 +2352,7 @@ var executor_default = withRunExecutor(
|
|
|
2363
2352
|
);
|
|
2364
2353
|
|
|
2365
2354
|
// ../workspace-tools/src/executors/cargo-check/executor.ts
|
|
2366
|
-
|
|
2355
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2367
2356
|
async function cargoCheckExecutor(options, context) {
|
|
2368
2357
|
const command = buildCargoCommand("check", options, context);
|
|
2369
2358
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2383,7 +2372,7 @@ var executor_default2 = withRunExecutor(
|
|
|
2383
2372
|
);
|
|
2384
2373
|
|
|
2385
2374
|
// ../workspace-tools/src/executors/cargo-clippy/executor.ts
|
|
2386
|
-
|
|
2375
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2387
2376
|
async function cargoClippyExecutor(options, context) {
|
|
2388
2377
|
const command = buildCargoCommand("clippy", options, context);
|
|
2389
2378
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2404,7 +2393,7 @@ var executor_default3 = withRunExecutor(
|
|
|
2404
2393
|
);
|
|
2405
2394
|
|
|
2406
2395
|
// ../workspace-tools/src/executors/cargo-doc/executor.ts
|
|
2407
|
-
|
|
2396
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2408
2397
|
async function cargoDocExecutor(options, context) {
|
|
2409
2398
|
const opts = { ...options };
|
|
2410
2399
|
opts["no-deps"] = opts.noDeps;
|
|
@@ -2434,7 +2423,7 @@ var executor_default4 = withRunExecutor(
|
|
|
2434
2423
|
);
|
|
2435
2424
|
|
|
2436
2425
|
// ../workspace-tools/src/executors/cargo-format/executor.ts
|
|
2437
|
-
|
|
2426
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2438
2427
|
async function cargoFormatExecutor(options, context) {
|
|
2439
2428
|
const command = buildCargoCommand("fmt", options, context);
|
|
2440
2429
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2455,7 +2444,7 @@ var executor_default5 = withRunExecutor(
|
|
|
2455
2444
|
);
|
|
2456
2445
|
|
|
2457
2446
|
// ../workspace-tools/src/executors/cargo-publish/executor.ts
|
|
2458
|
-
|
|
2447
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2459
2448
|
|
|
2460
2449
|
|
|
2461
2450
|
|
|
@@ -2463,19 +2452,19 @@ var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
|
2463
2452
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
2464
2453
|
|
|
2465
2454
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
2466
|
-
|
|
2455
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2467
2456
|
|
|
2468
2457
|
// ../esbuild/src/build.ts
|
|
2469
|
-
|
|
2458
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2470
2459
|
|
|
2471
2460
|
// ../esbuild/src/assets.ts
|
|
2472
|
-
|
|
2461
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2473
2462
|
|
|
2474
2463
|
// ../build-tools/src/index.ts
|
|
2475
|
-
|
|
2464
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2476
2465
|
|
|
2477
2466
|
// ../build-tools/src/config.ts
|
|
2478
|
-
|
|
2467
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2479
2468
|
var DEFAULT_JS_BANNER = `
|
|
2480
2469
|
// ---------------------------------------
|
|
2481
2470
|
// \u{1F5F2} Built by Storm Software
|
|
@@ -2491,35 +2480,35 @@ var DEFAULT_TARGET = "esnext";
|
|
|
2491
2480
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
2492
2481
|
|
|
2493
2482
|
// ../build-tools/src/plugins/index.ts
|
|
2494
|
-
|
|
2483
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2495
2484
|
|
|
2496
2485
|
// ../build-tools/src/plugins/analyze.ts
|
|
2497
|
-
|
|
2486
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2498
2487
|
|
|
2499
2488
|
// ../build-tools/src/plugins/swc.ts
|
|
2500
|
-
|
|
2489
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2501
2490
|
var _core = require('@swc/core');
|
|
2502
2491
|
|
|
2503
2492
|
// ../build-tools/src/plugins/ts-resolve.ts
|
|
2504
|
-
|
|
2493
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2505
2494
|
|
|
2506
2495
|
var _module = require('module');
|
|
2507
2496
|
|
|
2508
2497
|
var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_resolve2);
|
|
2509
2498
|
|
|
2510
2499
|
// ../build-tools/src/plugins/type-definitions.ts
|
|
2511
|
-
|
|
2500
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2512
2501
|
|
|
2513
2502
|
|
|
2514
2503
|
|
|
2515
2504
|
// ../build-tools/src/types.ts
|
|
2516
|
-
|
|
2505
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2517
2506
|
|
|
2518
2507
|
// ../build-tools/src/utilities/index.ts
|
|
2519
|
-
|
|
2508
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2520
2509
|
|
|
2521
2510
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
2522
|
-
|
|
2511
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2523
2512
|
var _copyassetshandler = require('@nx/js/src/utils/assets/copy-assets-handler');
|
|
2524
2513
|
var _glob = require('glob');
|
|
2525
2514
|
|
|
@@ -2551,7 +2540,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
2551
2540
|
}
|
|
2552
2541
|
writeTrace(
|
|
2553
2542
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
2554
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
2543
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkII72OEVXjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
2555
2544
|
config
|
|
2556
2545
|
);
|
|
2557
2546
|
const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
|
|
@@ -2564,17 +2553,17 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
2564
2553
|
writeTrace("Completed copying assets to the output directory", config);
|
|
2565
2554
|
if (includeSrc === true) {
|
|
2566
2555
|
writeDebug(
|
|
2567
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
2556
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkII72OEVXjs.joinPaths.call(void 0,
|
|
2568
2557
|
outputPath,
|
|
2569
2558
|
"src"
|
|
2570
2559
|
)}`,
|
|
2571
2560
|
config
|
|
2572
2561
|
);
|
|
2573
2562
|
const files = await _glob.glob.call(void 0, [
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2563
|
+
_chunkII72OEVXjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
2564
|
+
_chunkII72OEVXjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
2565
|
+
_chunkII72OEVXjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
2566
|
+
_chunkII72OEVXjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
2578
2567
|
]);
|
|
2579
2568
|
await Promise.allSettled(
|
|
2580
2569
|
files.map(
|
|
@@ -2592,7 +2581,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
2592
2581
|
};
|
|
2593
2582
|
|
|
2594
2583
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
2595
|
-
|
|
2584
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2596
2585
|
var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
|
|
2597
2586
|
|
|
2598
2587
|
|
|
@@ -2630,7 +2619,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2630
2619
|
)) {
|
|
2631
2620
|
const projectNode = project.node;
|
|
2632
2621
|
if (projectNode.data.root) {
|
|
2633
|
-
const projectPackageJsonPath =
|
|
2622
|
+
const projectPackageJsonPath = _chunkII72OEVXjs.joinPaths.call(void 0,
|
|
2634
2623
|
workspaceRoot2,
|
|
2635
2624
|
projectNode.data.root,
|
|
2636
2625
|
"package.json"
|
|
@@ -2652,7 +2641,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2652
2641
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
2653
2642
|
);
|
|
2654
2643
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
2655
|
-
|
|
2644
|
+
_chunkII72OEVXjs.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
2656
2645
|
"utf8"
|
|
2657
2646
|
);
|
|
2658
2647
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -2665,7 +2654,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2665
2654
|
}
|
|
2666
2655
|
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _101 => _101.projects, 'optionalAccess', _102 => _102[projectName2], 'access', _103 => _103.implicitDependencies, 'optionalAccess', _104 => _104.reduce, 'call', _105 => _105((ret, dep) => {
|
|
2667
2656
|
if (_optionalChain([projectConfigurations, 'access', _106 => _106.projects, 'optionalAccess', _107 => _107[dep]])) {
|
|
2668
|
-
const depPackageJsonPath =
|
|
2657
|
+
const depPackageJsonPath = _chunkII72OEVXjs.joinPaths.call(void 0,
|
|
2669
2658
|
workspaceRoot2,
|
|
2670
2659
|
projectConfigurations.projects[dep].root,
|
|
2671
2660
|
"package.json"
|
|
@@ -2703,7 +2692,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2703
2692
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
2704
2693
|
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
|
|
2705
2694
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
2706
|
-
|
|
2695
|
+
_chunkII72OEVXjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
2707
2696
|
"utf8"
|
|
2708
2697
|
);
|
|
2709
2698
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -2714,7 +2703,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
2714
2703
|
if (distSrc.startsWith("/")) {
|
|
2715
2704
|
distSrc = distSrc.substring(1);
|
|
2716
2705
|
}
|
|
2717
|
-
packageJson.source ??= `${
|
|
2706
|
+
packageJson.source ??= `${_chunkII72OEVXjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
2718
2707
|
}
|
|
2719
2708
|
packageJson.files ??= ["dist/**/*"];
|
|
2720
2709
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -2739,7 +2728,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
2739
2728
|
packageJson.contributors = [packageJson.author];
|
|
2740
2729
|
}
|
|
2741
2730
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
2742
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
2731
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkII72OEVXjs.joinPaths.call(void 0, "packages", projectName);
|
|
2743
2732
|
return packageJson;
|
|
2744
2733
|
};
|
|
2745
2734
|
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
@@ -2764,11 +2753,11 @@ var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
|
2764
2753
|
};
|
|
2765
2754
|
|
|
2766
2755
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
2767
|
-
|
|
2756
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2768
2757
|
|
|
2769
2758
|
|
|
2770
2759
|
// ../build-tools/src/utilities/get-env.ts
|
|
2771
|
-
|
|
2760
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2772
2761
|
var getEnv = (builder, options) => {
|
|
2773
2762
|
return {
|
|
2774
2763
|
STORM_BUILD: builder,
|
|
@@ -2783,21 +2772,21 @@ var getEnv = (builder, options) => {
|
|
|
2783
2772
|
};
|
|
2784
2773
|
|
|
2785
2774
|
// ../build-tools/src/utilities/get-file-banner.ts
|
|
2786
|
-
|
|
2775
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2787
2776
|
|
|
2788
2777
|
// ../build-tools/src/utilities/get-out-extension.ts
|
|
2789
|
-
|
|
2778
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2790
2779
|
|
|
2791
2780
|
// ../build-tools/src/utilities/get-project-deps.ts
|
|
2792
|
-
|
|
2781
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2793
2782
|
|
|
2794
2783
|
// ../build-tools/src/utilities/read-nx-config.ts
|
|
2795
|
-
|
|
2784
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2796
2785
|
|
|
2797
2786
|
|
|
2798
2787
|
|
|
2799
2788
|
// ../build-tools/src/utilities/task-graph.ts
|
|
2800
|
-
|
|
2789
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2801
2790
|
|
|
2802
2791
|
|
|
2803
2792
|
|
|
@@ -2826,14 +2815,14 @@ async function copyBuildAssets(context) {
|
|
|
2826
2815
|
}
|
|
2827
2816
|
|
|
2828
2817
|
// ../esbuild/src/clean.ts
|
|
2829
|
-
|
|
2818
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2830
2819
|
|
|
2831
2820
|
async function cleanDirectories(directory) {
|
|
2832
2821
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
2833
2822
|
}
|
|
2834
2823
|
|
|
2835
2824
|
// ../esbuild/src/context.ts
|
|
2836
|
-
|
|
2825
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2837
2826
|
|
|
2838
2827
|
|
|
2839
2828
|
|
|
@@ -2844,7 +2833,7 @@ _chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
|
2844
2833
|
var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
2845
2834
|
|
|
2846
2835
|
// ../esbuild/src/config.ts
|
|
2847
|
-
|
|
2836
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2848
2837
|
var DEFAULT_BUILD_OPTIONS = {
|
|
2849
2838
|
platform: "node",
|
|
2850
2839
|
target: "node22",
|
|
@@ -2902,7 +2891,7 @@ async function resolveContext(userOptions) {
|
|
|
2902
2891
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
2903
2892
|
exitOnError: true
|
|
2904
2893
|
});
|
|
2905
|
-
const projectJsonPath =
|
|
2894
|
+
const projectJsonPath = _chunkII72OEVXjs.joinPaths.call(void 0,
|
|
2906
2895
|
workspaceRoot2.dir,
|
|
2907
2896
|
projectRoot,
|
|
2908
2897
|
"project.json"
|
|
@@ -2921,7 +2910,7 @@ async function resolveContext(userOptions) {
|
|
|
2921
2910
|
}
|
|
2922
2911
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
2923
2912
|
options.name ??= projectName;
|
|
2924
|
-
const packageJsonPath =
|
|
2913
|
+
const packageJsonPath = _chunkII72OEVXjs.joinPaths.call(void 0,
|
|
2925
2914
|
workspaceRoot2.dir,
|
|
2926
2915
|
options.projectRoot,
|
|
2927
2916
|
"package.json"
|
|
@@ -2933,7 +2922,7 @@ async function resolveContext(userOptions) {
|
|
|
2933
2922
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
2934
2923
|
const resolvedOptions = {
|
|
2935
2924
|
...options,
|
|
2936
|
-
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig :
|
|
2925
|
+
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkII72OEVXjs.joinPaths.call(void 0, workspaceRoot2.dir, projectRoot, "tsconfig.json"),
|
|
2937
2926
|
metafile: userOptions.mode === "development",
|
|
2938
2927
|
clean: false,
|
|
2939
2928
|
env,
|
|
@@ -2958,8 +2947,8 @@ async function resolveContext(userOptions) {
|
|
|
2958
2947
|
projectConfigurations,
|
|
2959
2948
|
projectName,
|
|
2960
2949
|
projectGraph,
|
|
2961
|
-
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot ||
|
|
2962
|
-
outputPath: resolvedOptions.outputPath ||
|
|
2950
|
+
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkII72OEVXjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
|
|
2951
|
+
outputPath: resolvedOptions.outputPath || _chunkII72OEVXjs.joinPaths.call(void 0,
|
|
2963
2952
|
workspaceConfig.workspaceRoot,
|
|
2964
2953
|
"dist",
|
|
2965
2954
|
resolvedOptions.projectRoot
|
|
@@ -2979,15 +2968,15 @@ ${formatLogMessage(context.options)}`,
|
|
|
2979
2968
|
}
|
|
2980
2969
|
|
|
2981
2970
|
// ../esbuild/src/package-json.ts
|
|
2982
|
-
|
|
2971
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
2983
2972
|
|
|
2984
2973
|
|
|
2985
2974
|
|
|
2986
2975
|
async function generatePackageJson(context) {
|
|
2987
|
-
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
2976
|
+
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkII72OEVXjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
2988
2977
|
writeDebug(" \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
2989
2978
|
const stopwatch = getStopwatch("Write package.json file");
|
|
2990
|
-
const packageJsonPath =
|
|
2979
|
+
const packageJsonPath = _chunkII72OEVXjs.joinPaths.call(void 0,
|
|
2991
2980
|
context.options.projectRoot,
|
|
2992
2981
|
"project.json"
|
|
2993
2982
|
);
|
|
@@ -2995,7 +2984,7 @@ async function generatePackageJson(context) {
|
|
|
2995
2984
|
throw new Error("Cannot find package.json configuration");
|
|
2996
2985
|
}
|
|
2997
2986
|
const packageJsonFile = await _promises2.default.readFile(
|
|
2998
|
-
|
|
2987
|
+
_chunkII72OEVXjs.joinPaths.call(void 0,
|
|
2999
2988
|
context.workspaceConfig.workspaceRoot,
|
|
3000
2989
|
context.options.projectRoot,
|
|
3001
2990
|
"package.json"
|
|
@@ -3101,7 +3090,7 @@ async function generatePackageJson(context) {
|
|
|
3101
3090
|
}
|
|
3102
3091
|
}
|
|
3103
3092
|
await _devkit.writeJsonFile.call(void 0,
|
|
3104
|
-
|
|
3093
|
+
_chunkII72OEVXjs.joinPaths.call(void 0, context.outputPath, "package.json"),
|
|
3105
3094
|
packageJson
|
|
3106
3095
|
);
|
|
3107
3096
|
stopwatch();
|
|
@@ -3110,10 +3099,10 @@ async function generatePackageJson(context) {
|
|
|
3110
3099
|
}
|
|
3111
3100
|
|
|
3112
3101
|
// ../esbuild/src/tsup.ts
|
|
3113
|
-
|
|
3102
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3114
3103
|
|
|
3115
3104
|
// ../tsup/src/index.ts
|
|
3116
|
-
|
|
3105
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3117
3106
|
var _tsup = require('tsup');
|
|
3118
3107
|
async function build(options) {
|
|
3119
3108
|
if (!options.silent) {
|
|
@@ -3138,7 +3127,7 @@ async function executeTsup(context) {
|
|
|
3138
3127
|
const stopwatch = getStopwatch(`${context.options.name} build`);
|
|
3139
3128
|
await build({
|
|
3140
3129
|
...context.options,
|
|
3141
|
-
outDir: context.options.distDir ?
|
|
3130
|
+
outDir: context.options.distDir ? _chunkII72OEVXjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
3142
3131
|
workspaceConfig: context.workspaceConfig
|
|
3143
3132
|
});
|
|
3144
3133
|
stopwatch();
|
|
@@ -3248,12 +3237,12 @@ var executor_default6 = withRunExecutor(
|
|
|
3248
3237
|
);
|
|
3249
3238
|
|
|
3250
3239
|
// ../workspace-tools/src/executors/napi/executor.ts
|
|
3251
|
-
|
|
3240
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3252
3241
|
var _jiti = require('jiti');
|
|
3253
3242
|
var _fileutils = require('nx/src/utils/fileutils');
|
|
3254
3243
|
async function napiExecutor(options, context, config) {
|
|
3255
3244
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3256
|
-
fsCache: config.skipCache ? false :
|
|
3245
|
+
fsCache: config.skipCache ? false : _chunkII72OEVXjs.joinPaths.call(void 0,
|
|
3257
3246
|
config.workspaceRoot,
|
|
3258
3247
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3259
3248
|
"jiti"
|
|
@@ -3269,52 +3258,52 @@ async function napiExecutor(options, context, config) {
|
|
|
3269
3258
|
);
|
|
3270
3259
|
}
|
|
3271
3260
|
const projectRoot = _optionalChain([context, 'access', _149 => _149.projectGraph, 'optionalAccess', _150 => _150.nodes, 'access', _151 => _151[_nullishCoalesce(context.projectName, () => ( ""))], 'optionalAccess', _152 => _152.data, 'access', _153 => _153.root]);
|
|
3272
|
-
const packageJson =
|
|
3261
|
+
const packageJson = _chunkII72OEVXjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
3273
3262
|
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
3274
3263
|
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
3275
3264
|
}
|
|
3276
3265
|
const napi = new NapiCli();
|
|
3277
3266
|
const normalizedOptions = { ...options };
|
|
3278
3267
|
const metadata = cargoMetadata();
|
|
3279
|
-
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _154 => _154.target_directory]) ||
|
|
3268
|
+
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _154 => _154.target_directory]) || _chunkII72OEVXjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
|
|
3280
3269
|
normalizedOptions.outputDir = options.outputPath;
|
|
3281
3270
|
normalizedOptions.packageJsonPath ??= packageJson;
|
|
3282
3271
|
if (options.cwd) {
|
|
3283
|
-
normalizedOptions.cwd =
|
|
3272
|
+
normalizedOptions.cwd = _chunkII72OEVXjs.correctPaths.call(void 0, options.cwd);
|
|
3284
3273
|
} else {
|
|
3285
|
-
const absoluteProjectRoot =
|
|
3286
|
-
|
|
3274
|
+
const absoluteProjectRoot = _chunkII72OEVXjs.correctPaths.call(void 0,
|
|
3275
|
+
_chunkII72OEVXjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
|
|
3287
3276
|
);
|
|
3288
3277
|
normalizedOptions.cwd = absoluteProjectRoot;
|
|
3289
3278
|
if (normalizedOptions.outputDir) {
|
|
3290
|
-
normalizedOptions.outputDir =
|
|
3279
|
+
normalizedOptions.outputDir = _chunkII72OEVXjs.relative.call(void 0,
|
|
3291
3280
|
normalizedOptions.cwd,
|
|
3292
|
-
|
|
3293
|
-
|
|
3281
|
+
_chunkII72OEVXjs.correctPaths.call(void 0,
|
|
3282
|
+
_chunkII72OEVXjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkII72OEVXjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
|
|
3294
3283
|
)
|
|
3295
3284
|
);
|
|
3296
3285
|
}
|
|
3297
3286
|
if (normalizedOptions.packageJsonPath) {
|
|
3298
|
-
normalizedOptions.packageJsonPath =
|
|
3287
|
+
normalizedOptions.packageJsonPath = _chunkII72OEVXjs.relative.call(void 0,
|
|
3299
3288
|
normalizedOptions.cwd,
|
|
3300
|
-
|
|
3301
|
-
|
|
3289
|
+
_chunkII72OEVXjs.correctPaths.call(void 0,
|
|
3290
|
+
_chunkII72OEVXjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkII72OEVXjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
3302
3291
|
)
|
|
3303
3292
|
);
|
|
3304
3293
|
}
|
|
3305
3294
|
if (normalizedOptions.configPath) {
|
|
3306
|
-
normalizedOptions.configPath =
|
|
3295
|
+
normalizedOptions.configPath = _chunkII72OEVXjs.relative.call(void 0,
|
|
3307
3296
|
normalizedOptions.cwd,
|
|
3308
|
-
|
|
3309
|
-
|
|
3297
|
+
_chunkII72OEVXjs.correctPaths.call(void 0,
|
|
3298
|
+
_chunkII72OEVXjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkII72OEVXjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
|
|
3310
3299
|
)
|
|
3311
3300
|
);
|
|
3312
3301
|
}
|
|
3313
3302
|
if (normalizedOptions.manifestPath) {
|
|
3314
|
-
normalizedOptions.manifestPath =
|
|
3303
|
+
normalizedOptions.manifestPath = _chunkII72OEVXjs.relative.call(void 0,
|
|
3315
3304
|
normalizedOptions.cwd,
|
|
3316
|
-
|
|
3317
|
-
|
|
3305
|
+
_chunkII72OEVXjs.correctPaths.call(void 0,
|
|
3306
|
+
_chunkII72OEVXjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkII72OEVXjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
|
|
3318
3307
|
)
|
|
3319
3308
|
);
|
|
3320
3309
|
}
|
|
@@ -3357,17 +3346,17 @@ var executor_default7 = withRunExecutor(
|
|
|
3357
3346
|
);
|
|
3358
3347
|
|
|
3359
3348
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
3360
|
-
|
|
3349
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3361
3350
|
|
|
3362
3351
|
// ../npm-tools/src/helpers/get-registry.ts
|
|
3363
|
-
|
|
3352
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3364
3353
|
|
|
3365
3354
|
|
|
3366
3355
|
// ../npm-tools/src/constants.ts
|
|
3367
|
-
|
|
3356
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3368
3357
|
|
|
3369
3358
|
// ../pnpm-tools/src/helpers/replace-deps-aliases.ts
|
|
3370
|
-
|
|
3359
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3371
3360
|
|
|
3372
3361
|
|
|
3373
3362
|
|
|
@@ -3377,17 +3366,17 @@ _chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
|
3377
3366
|
var _prettier = require('prettier');
|
|
3378
3367
|
|
|
3379
3368
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
3380
|
-
|
|
3369
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3381
3370
|
|
|
3382
3371
|
// ../npm-tools/src/helpers/get-version.ts
|
|
3383
|
-
|
|
3372
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3384
3373
|
|
|
3385
3374
|
|
|
3386
3375
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
3387
3376
|
var _semver = require('semver');
|
|
3388
3377
|
|
|
3389
3378
|
// ../pnpm-tools/src/helpers/pnpm-workspace.ts
|
|
3390
|
-
|
|
3379
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3391
3380
|
|
|
3392
3381
|
|
|
3393
3382
|
var _yaml = require('yaml');
|
|
@@ -3398,7 +3387,7 @@ var _yaml = require('yaml');
|
|
|
3398
3387
|
|
|
3399
3388
|
|
|
3400
3389
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
3401
|
-
|
|
3390
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3402
3391
|
|
|
3403
3392
|
|
|
3404
3393
|
|
|
@@ -3410,7 +3399,7 @@ _chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
|
3410
3399
|
|
|
3411
3400
|
|
|
3412
3401
|
// ../workspace-tools/src/utils/project-tags.ts
|
|
3413
|
-
|
|
3402
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3414
3403
|
var ProjectTagConstants = {
|
|
3415
3404
|
Language: {
|
|
3416
3405
|
TAG_ID: "language",
|
|
@@ -3487,7 +3476,7 @@ var addProjectTag = (project, variant, value, options = {
|
|
|
3487
3476
|
var LARGE_BUFFER2 = 1024 * 1e6;
|
|
3488
3477
|
|
|
3489
3478
|
// ../workspace-tools/src/executors/size-limit/executor.ts
|
|
3490
|
-
|
|
3479
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3491
3480
|
|
|
3492
3481
|
var _esbuild = require('@size-limit/esbuild'); var _esbuild2 = _interopRequireDefault(_esbuild);
|
|
3493
3482
|
var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
|
|
@@ -3529,10 +3518,10 @@ var executor_default8 = withRunExecutor(
|
|
|
3529
3518
|
);
|
|
3530
3519
|
|
|
3531
3520
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
3532
|
-
|
|
3521
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3533
3522
|
|
|
3534
3523
|
// ../tsdown/src/build.ts
|
|
3535
|
-
|
|
3524
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3536
3525
|
|
|
3537
3526
|
|
|
3538
3527
|
|
|
@@ -3544,14 +3533,14 @@ _chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
|
3544
3533
|
var _tsdown = require('tsdown');
|
|
3545
3534
|
|
|
3546
3535
|
// ../tsdown/src/clean.ts
|
|
3547
|
-
|
|
3536
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3548
3537
|
|
|
3549
3538
|
async function cleanDirectories2(name = "TSDown", directory, config) {
|
|
3550
3539
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
3551
3540
|
}
|
|
3552
3541
|
|
|
3553
3542
|
// ../tsdown/src/config.ts
|
|
3554
|
-
|
|
3543
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3555
3544
|
function getDefaultOptions(config) {
|
|
3556
3545
|
return {
|
|
3557
3546
|
entry: ["./src/*.ts"],
|
|
@@ -3594,7 +3583,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3594
3583
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
3595
3584
|
exitOnError: true
|
|
3596
3585
|
});
|
|
3597
|
-
const projectJsonPath =
|
|
3586
|
+
const projectJsonPath = _chunkII72OEVXjs.joinPaths.call(void 0,
|
|
3598
3587
|
workspaceRoot2,
|
|
3599
3588
|
options.projectRoot,
|
|
3600
3589
|
"project.json"
|
|
@@ -3611,7 +3600,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3611
3600
|
"The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project."
|
|
3612
3601
|
);
|
|
3613
3602
|
}
|
|
3614
|
-
const packageJsonPath =
|
|
3603
|
+
const packageJsonPath = _chunkII72OEVXjs.joinPaths.call(void 0,
|
|
3615
3604
|
workspaceRoot2,
|
|
3616
3605
|
options.projectRoot,
|
|
3617
3606
|
"package.json"
|
|
@@ -3620,13 +3609,13 @@ var resolveOptions = async (userOptions) => {
|
|
|
3620
3609
|
throw new Error("Cannot find package.json configuration");
|
|
3621
3610
|
}
|
|
3622
3611
|
const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
|
|
3623
|
-
const sourceRoot = projectJson.sourceRoot ||
|
|
3612
|
+
const sourceRoot = projectJson.sourceRoot || _chunkII72OEVXjs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
3624
3613
|
const result = {
|
|
3625
3614
|
name: projectName,
|
|
3626
3615
|
mode: "production",
|
|
3627
3616
|
target: DEFAULT_TARGET,
|
|
3628
3617
|
generatePackageJson: true,
|
|
3629
|
-
outDir:
|
|
3618
|
+
outDir: _chunkII72OEVXjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
3630
3619
|
minify: !debug,
|
|
3631
3620
|
plugins: [],
|
|
3632
3621
|
assets: [],
|
|
@@ -3638,12 +3627,12 @@ var resolveOptions = async (userOptions) => {
|
|
|
3638
3627
|
clean: false,
|
|
3639
3628
|
fixedExtension: true,
|
|
3640
3629
|
nodeProtocol: true,
|
|
3641
|
-
tsconfig:
|
|
3630
|
+
tsconfig: _chunkII72OEVXjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
|
|
3642
3631
|
debug,
|
|
3643
3632
|
sourceRoot,
|
|
3644
3633
|
cwd: workspaceConfig.workspaceRoot,
|
|
3645
3634
|
entry: {
|
|
3646
|
-
["index"]:
|
|
3635
|
+
["index"]: _chunkII72OEVXjs.joinPaths.call(void 0, sourceRoot, "index.ts")
|
|
3647
3636
|
},
|
|
3648
3637
|
workspace: true,
|
|
3649
3638
|
...options,
|
|
@@ -3662,15 +3651,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
3662
3651
|
return result;
|
|
3663
3652
|
};
|
|
3664
3653
|
async function generatePackageJson2(options) {
|
|
3665
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
3654
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkII72OEVXjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
3666
3655
|
writeDebug(" \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
3667
3656
|
const stopwatch = getStopwatch("Write package.json file");
|
|
3668
|
-
const packageJsonPath =
|
|
3657
|
+
const packageJsonPath = _chunkII72OEVXjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
3669
3658
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
3670
3659
|
throw new Error("Cannot find package.json configuration");
|
|
3671
3660
|
}
|
|
3672
3661
|
const packageJsonFile = await _promises2.default.readFile(
|
|
3673
|
-
|
|
3662
|
+
_chunkII72OEVXjs.joinPaths.call(void 0,
|
|
3674
3663
|
options.workspaceConfig.workspaceRoot,
|
|
3675
3664
|
options.projectRoot,
|
|
3676
3665
|
"package.json"
|
|
@@ -3732,7 +3721,7 @@ async function generatePackageJson2(options) {
|
|
|
3732
3721
|
},
|
|
3733
3722
|
packageJson.exports
|
|
3734
3723
|
);
|
|
3735
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
3724
|
+
await _devkit.writeJsonFile.call(void 0, _chunkII72OEVXjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
3736
3725
|
stopwatch();
|
|
3737
3726
|
}
|
|
3738
3727
|
return options;
|
|
@@ -3865,7 +3854,7 @@ var executor_default9 = withRunExecutor(
|
|
|
3865
3854
|
);
|
|
3866
3855
|
|
|
3867
3856
|
// ../workspace-tools/src/executors/typia/executor.ts
|
|
3868
|
-
|
|
3857
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3869
3858
|
var _fsextra = require('fs-extra');
|
|
3870
3859
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
3871
3860
|
async function typiaExecutorFn(options, _, config) {
|
|
@@ -3905,7 +3894,7 @@ var executor_default10 = withRunExecutor(
|
|
|
3905
3894
|
);
|
|
3906
3895
|
|
|
3907
3896
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
3908
|
-
|
|
3897
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
3909
3898
|
|
|
3910
3899
|
|
|
3911
3900
|
async function unbuildExecutorFn(options, context, config) {
|
|
@@ -3926,7 +3915,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3926
3915
|
);
|
|
3927
3916
|
}
|
|
3928
3917
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3929
|
-
fsCache: config.skipCache ? false :
|
|
3918
|
+
fsCache: config.skipCache ? false : _chunkII72OEVXjs.joinPaths.call(void 0,
|
|
3930
3919
|
config.workspaceRoot,
|
|
3931
3920
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3932
3921
|
"jiti"
|
|
@@ -3948,7 +3937,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3948
3937
|
{
|
|
3949
3938
|
stubOptions: {
|
|
3950
3939
|
jiti: {
|
|
3951
|
-
fsCache: config.skipCache ? false :
|
|
3940
|
+
fsCache: config.skipCache ? false : _chunkII72OEVXjs.joinPaths.call(void 0,
|
|
3952
3941
|
config.workspaceRoot,
|
|
3953
3942
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3954
3943
|
"jiti"
|
|
@@ -3997,10 +3986,10 @@ var executor_default11 = withRunExecutor(
|
|
|
3997
3986
|
);
|
|
3998
3987
|
|
|
3999
3988
|
// ../workspace-tools/generators.ts
|
|
4000
|
-
|
|
3989
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
4001
3990
|
|
|
4002
3991
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
4003
|
-
|
|
3992
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
4004
3993
|
|
|
4005
3994
|
|
|
4006
3995
|
|
|
@@ -4009,7 +3998,7 @@ _chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
|
4009
3998
|
|
|
4010
3999
|
|
|
4011
4000
|
// ../workspace-tools/src/base/base-generator.ts
|
|
4012
|
-
|
|
4001
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
4013
4002
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
4014
4003
|
skipReadingConfig: false
|
|
4015
4004
|
}) => async (tree, _options) => {
|
|
@@ -4096,7 +4085,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
4096
4085
|
};
|
|
4097
4086
|
|
|
4098
4087
|
// ../workspace-tools/src/base/typescript-library-generator.ts
|
|
4099
|
-
|
|
4088
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
4100
4089
|
|
|
4101
4090
|
|
|
4102
4091
|
|
|
@@ -4118,7 +4107,7 @@ var _init = require('@nx/js/src/generators/init/init'); var _init2 = _interopReq
|
|
|
4118
4107
|
var _generator = require('@nx/js/src/generators/setup-verdaccio/generator'); var _generator2 = _interopRequireDefault(_generator);
|
|
4119
4108
|
|
|
4120
4109
|
// ../workspace-tools/src/utils/versions.ts
|
|
4121
|
-
|
|
4110
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
4122
4111
|
var typesNodeVersion = "20.9.0";
|
|
4123
4112
|
var nxVersion = "^18.0.4";
|
|
4124
4113
|
var nodeVersion = "20.11.0";
|
|
@@ -4151,16 +4140,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4151
4140
|
const projectConfig = {
|
|
4152
4141
|
root: normalized.directory,
|
|
4153
4142
|
projectType: "library",
|
|
4154
|
-
sourceRoot:
|
|
4143
|
+
sourceRoot: _chunkII72OEVXjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
4155
4144
|
targets: {
|
|
4156
4145
|
build: {
|
|
4157
4146
|
executor: options.buildExecutor,
|
|
4158
4147
|
outputs: ["{options.outputPath}"],
|
|
4159
4148
|
options: {
|
|
4160
|
-
entry: [
|
|
4149
|
+
entry: [_chunkII72OEVXjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
|
|
4161
4150
|
outputPath: getOutputPath(normalized),
|
|
4162
|
-
tsconfig:
|
|
4163
|
-
project:
|
|
4151
|
+
tsconfig: _chunkII72OEVXjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
4152
|
+
project: _chunkII72OEVXjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
4164
4153
|
defaultConfiguration: "production",
|
|
4165
4154
|
platform: "neutral",
|
|
4166
4155
|
assets: [
|
|
@@ -4217,7 +4206,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4217
4206
|
if (!normalized.importPath) {
|
|
4218
4207
|
normalized.importPath = normalized.name;
|
|
4219
4208
|
}
|
|
4220
|
-
const packageJsonPath =
|
|
4209
|
+
const packageJsonPath = _chunkII72OEVXjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
4221
4210
|
if (tree.exists(packageJsonPath)) {
|
|
4222
4211
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
4223
4212
|
if (!normalized.importPath) {
|
|
@@ -4274,14 +4263,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4274
4263
|
}));
|
|
4275
4264
|
}
|
|
4276
4265
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
4277
|
-
|
|
4266
|
+
_chunkII72OEVXjs.joinPaths.call(void 0,
|
|
4278
4267
|
normalized.projectRoot,
|
|
4279
4268
|
"./src",
|
|
4280
4269
|
`index.${normalized.js ? "js" : "ts"}`
|
|
4281
4270
|
)
|
|
4282
4271
|
]);
|
|
4283
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
4284
|
-
|
|
4272
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkII72OEVXjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
4273
|
+
_chunkII72OEVXjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
4285
4274
|
]);
|
|
4286
4275
|
if (tree.exists("package.json")) {
|
|
4287
4276
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -4292,7 +4281,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4292
4281
|
description = packageJson.description;
|
|
4293
4282
|
}
|
|
4294
4283
|
}
|
|
4295
|
-
const tsconfigPath =
|
|
4284
|
+
const tsconfigPath = _chunkII72OEVXjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
4296
4285
|
if (tree.exists(tsconfigPath)) {
|
|
4297
4286
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
4298
4287
|
json.composite ??= true;
|
|
@@ -4320,7 +4309,7 @@ function getOutputPath(options) {
|
|
|
4320
4309
|
} else {
|
|
4321
4310
|
parts.push(options.projectRoot);
|
|
4322
4311
|
}
|
|
4323
|
-
return
|
|
4312
|
+
return _chunkII72OEVXjs.joinPaths.call(void 0, ...parts);
|
|
4324
4313
|
}
|
|
4325
4314
|
function createProjectTsConfigJson(tree, options) {
|
|
4326
4315
|
const tsconfig = {
|
|
@@ -4328,7 +4317,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
4328
4317
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _213 => _213.tsconfigOptions]), () => ( {})),
|
|
4329
4318
|
compilerOptions: {
|
|
4330
4319
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
4331
|
-
outDir:
|
|
4320
|
+
outDir: _chunkII72OEVXjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
4332
4321
|
noEmit: true,
|
|
4333
4322
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _214 => _214.tsconfigOptions, 'optionalAccess', _215 => _215.compilerOptions]), () => ( {}))
|
|
4334
4323
|
},
|
|
@@ -4346,7 +4335,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
4346
4335
|
"src/**/*.test.ts"
|
|
4347
4336
|
]
|
|
4348
4337
|
};
|
|
4349
|
-
_devkit.writeJson.call(void 0, tree,
|
|
4338
|
+
_devkit.writeJson.call(void 0, tree, _chunkII72OEVXjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
4350
4339
|
}
|
|
4351
4340
|
async function normalizeOptions(tree, options, config) {
|
|
4352
4341
|
let importPath = options.importPath;
|
|
@@ -4411,7 +4400,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
4411
4400
|
|
|
4412
4401
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
4413
4402
|
async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
4414
|
-
const filesDir =
|
|
4403
|
+
const filesDir = _chunkII72OEVXjs.joinPaths.call(void 0,
|
|
4415
4404
|
__dirname,
|
|
4416
4405
|
"src",
|
|
4417
4406
|
"generators",
|
|
@@ -4491,7 +4480,7 @@ var generator_default = withRunGenerator(
|
|
|
4491
4480
|
);
|
|
4492
4481
|
|
|
4493
4482
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
4494
|
-
|
|
4483
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
4495
4484
|
|
|
4496
4485
|
var _zod2 = require('zod'); var z2 = _interopRequireWildcard(_zod2);
|
|
4497
4486
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
@@ -4548,7 +4537,7 @@ var generator_default2 = withRunGenerator(
|
|
|
4548
4537
|
);
|
|
4549
4538
|
|
|
4550
4539
|
// ../workspace-tools/src/generators/init/init.ts
|
|
4551
|
-
|
|
4540
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
4552
4541
|
|
|
4553
4542
|
|
|
4554
4543
|
|
|
@@ -4576,7 +4565,7 @@ async function initGenerator(tree, schema) {
|
|
|
4576
4565
|
}
|
|
4577
4566
|
|
|
4578
4567
|
// ../workspace-tools/src/generators/neutral-library/generator.ts
|
|
4579
|
-
|
|
4568
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
4580
4569
|
|
|
4581
4570
|
|
|
4582
4571
|
|
|
@@ -4584,7 +4573,7 @@ _chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
|
4584
4573
|
|
|
4585
4574
|
|
|
4586
4575
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
4587
|
-
const filesDir =
|
|
4576
|
+
const filesDir = _chunkII72OEVXjs.joinPaths.call(void 0,
|
|
4588
4577
|
__dirname,
|
|
4589
4578
|
"src",
|
|
4590
4579
|
"generators",
|
|
@@ -4636,7 +4625,7 @@ var generator_default3 = withRunGenerator(
|
|
|
4636
4625
|
);
|
|
4637
4626
|
|
|
4638
4627
|
// ../workspace-tools/src/generators/node-library/generator.ts
|
|
4639
|
-
|
|
4628
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
4640
4629
|
|
|
4641
4630
|
|
|
4642
4631
|
|
|
@@ -4644,7 +4633,7 @@ _chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
|
4644
4633
|
|
|
4645
4634
|
|
|
4646
4635
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
4647
|
-
const filesDir =
|
|
4636
|
+
const filesDir = _chunkII72OEVXjs.joinPaths.call(void 0,
|
|
4648
4637
|
__dirname,
|
|
4649
4638
|
"src",
|
|
4650
4639
|
"generators",
|
|
@@ -4698,7 +4687,7 @@ var generator_default4 = withRunGenerator(
|
|
|
4698
4687
|
);
|
|
4699
4688
|
|
|
4700
4689
|
// ../workspace-tools/src/generators/preset/generator.ts
|
|
4701
|
-
|
|
4690
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
4702
4691
|
|
|
4703
4692
|
|
|
4704
4693
|
|
|
@@ -4937,10 +4926,10 @@ var generator_default5 = withRunGenerator(
|
|
|
4937
4926
|
);
|
|
4938
4927
|
|
|
4939
4928
|
// ../workspace-tools/src/base/index.ts
|
|
4940
|
-
|
|
4929
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
4941
4930
|
|
|
4942
4931
|
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
4943
|
-
|
|
4932
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
4944
4933
|
var _untyped = require('untyped');
|
|
4945
4934
|
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4946
4935
|
$schema: {
|
|
@@ -4959,7 +4948,7 @@ var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4959
4948
|
});
|
|
4960
4949
|
|
|
4961
4950
|
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
4962
|
-
|
|
4951
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
4963
4952
|
|
|
4964
4953
|
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4965
4954
|
$schema: {
|
|
@@ -4977,7 +4966,7 @@ var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4977
4966
|
});
|
|
4978
4967
|
|
|
4979
4968
|
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
4980
|
-
|
|
4969
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
4981
4970
|
|
|
4982
4971
|
var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4983
4972
|
...base_executor_untyped_default,
|
|
@@ -5050,7 +5039,7 @@ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void
|
|
|
5050
5039
|
});
|
|
5051
5040
|
|
|
5052
5041
|
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
5053
|
-
|
|
5042
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
5054
5043
|
|
|
5055
5044
|
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5056
5045
|
...base_executor_untyped_default,
|
|
@@ -5202,7 +5191,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
5202
5191
|
});
|
|
5203
5192
|
|
|
5204
5193
|
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
5205
|
-
|
|
5194
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
5206
5195
|
|
|
5207
5196
|
var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5208
5197
|
...base_generator_untyped_default,
|
|
@@ -5308,42 +5297,42 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
|
|
|
5308
5297
|
});
|
|
5309
5298
|
|
|
5310
5299
|
// ../workspace-tools/src/release/index.ts
|
|
5311
|
-
|
|
5300
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
5312
5301
|
|
|
5313
5302
|
// ../workspace-tools/src/release/js-version-actions.ts
|
|
5314
|
-
|
|
5303
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
5315
5304
|
var _versionactionsjs = require('@nx/js/src/release/version-actions.js'); var _versionactionsjs2 = _interopRequireDefault(_versionactionsjs);
|
|
5316
5305
|
|
|
5317
5306
|
// ../workspace-tools/src/release/rust-version-actions.ts
|
|
5318
|
-
|
|
5307
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
5319
5308
|
|
|
5320
5309
|
|
|
5321
5310
|
|
|
5322
5311
|
var _release = require('nx/release');
|
|
5323
5312
|
|
|
5324
5313
|
// ../workspace-tools/src/utils/registry-helpers.ts
|
|
5325
|
-
|
|
5314
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
5326
5315
|
|
|
5327
5316
|
|
|
5328
5317
|
// ../workspace-tools/src/types.ts
|
|
5329
|
-
|
|
5318
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
5330
5319
|
|
|
5331
5320
|
// ../workspace-tools/src/utils/index.ts
|
|
5332
|
-
|
|
5321
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
5333
5322
|
|
|
5334
5323
|
// ../workspace-tools/src/utils/apply-workspace-tokens.ts
|
|
5335
|
-
|
|
5324
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
5336
5325
|
|
|
5337
5326
|
// ../workspace-tools/src/utils/create-cli-options.ts
|
|
5338
|
-
|
|
5327
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
5339
5328
|
|
|
5340
5329
|
|
|
5341
5330
|
// ../workspace-tools/src/utils/get-project-configurations.ts
|
|
5342
|
-
|
|
5331
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
5343
5332
|
var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
|
|
5344
5333
|
|
|
5345
5334
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
5346
|
-
|
|
5335
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
5347
5336
|
|
|
5348
5337
|
|
|
5349
5338
|
|
|
@@ -5371,10 +5360,10 @@ var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE
|
|
|
5371
5360
|
var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
|
|
5372
5361
|
|
|
5373
5362
|
// ../workspace-tools/src/utils/nx-json.ts
|
|
5374
|
-
|
|
5363
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
5375
5364
|
|
|
5376
5365
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
5377
|
-
|
|
5366
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
5378
5367
|
|
|
5379
5368
|
|
|
5380
5369
|
|
|
@@ -5383,7 +5372,7 @@ _chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
|
5383
5372
|
|
|
5384
5373
|
|
|
5385
5374
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
5386
|
-
|
|
5375
|
+
_chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
5387
5376
|
var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
|
|
5388
5377
|
|
|
5389
5378
|
// src/generators/init/generator.ts
|