@storm-software/projen 0.21.170 → 0.21.171
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 +10 -0
- package/dist/chunk-245W3USJ.js +6 -0
- package/dist/{chunk-A24P3L2K.mjs → chunk-D5SAU6HF.mjs} +1 -1
- package/dist/{chunk-RC5DQK5S.mjs → chunk-DTCWZTHY.mjs} +2 -2
- package/dist/{chunk-YK6U2XBG.js → chunk-H4Q35YMB.js} +200 -201
- package/dist/{chunk-J7CQLAW3.js → chunk-IFTRUSRD.js} +3 -3
- package/dist/{chunk-7NCOB2OS.js → chunk-LORECAU5.js} +2 -2
- package/dist/{chunk-2UGJBMPN.mjs → chunk-ND4P6SI5.mjs} +1 -1
- package/dist/{chunk-DIMP63EN.mjs → chunk-Q7YIVOAF.mjs} +1 -1
- package/dist/{chunk-HACRWREY.mjs → chunk-S2UM7MXT.mjs} +3 -4
- package/dist/{chunk-NG224TJJ.js → chunk-YIOJM56V.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 +3 -3
- package/dist/chunk-W45SBDPH.js +0 -6
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkYIOJM56Vjs = require('./chunk-YIOJM56V.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkLORECAU5js = require('./chunk-LORECAU5.js');
|
|
10
10
|
|
|
11
11
|
// src/generators/init/generator.ts
|
|
12
|
-
|
|
12
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -18,28 +18,28 @@ _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
|
|
20
20
|
// ../workspace-tools/index.ts
|
|
21
|
-
|
|
21
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
22
22
|
|
|
23
23
|
// ../workspace-tools/executors.ts
|
|
24
|
-
|
|
24
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
25
25
|
|
|
26
26
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
27
|
-
|
|
27
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
28
28
|
|
|
29
29
|
// ../workspace-tools/src/base/base-executor.ts
|
|
30
|
-
|
|
30
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
31
31
|
|
|
32
32
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
33
|
-
|
|
33
|
+
_chunkLORECAU5js.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
|
+
_chunkLORECAU5js.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
|
+
_chunkLORECAU5js.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
|
+
_chunkLORECAU5js.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
|
+
_chunkLORECAU5js.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
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
174
174
|
|
|
175
175
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
176
|
-
|
|
176
|
+
_chunkLORECAU5js.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
|
-
|
|
202
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
203
203
|
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
204
204
|
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
205
205
|
};
|
|
206
206
|
|
|
207
207
|
// ../config-tools/src/logger/get-log-level.ts
|
|
208
|
-
|
|
208
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
209
209
|
var getLogLevel = (label) => {
|
|
210
210
|
switch (label) {
|
|
211
211
|
case "all":
|
|
@@ -428,13 +428,13 @@ var _isFunction = (value) => {
|
|
|
428
428
|
var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
|
|
429
429
|
|
|
430
430
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
431
|
-
|
|
431
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
432
432
|
|
|
433
433
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
434
|
-
|
|
434
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
435
435
|
|
|
436
436
|
// ../config-tools/src/utilities/find-up.ts
|
|
437
|
-
|
|
437
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
438
438
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
439
439
|
var _path = require('path'); var path2 = _interopRequireWildcard(_path);
|
|
440
440
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
@@ -501,11 +501,11 @@ var rootDirectories = [
|
|
|
501
501
|
];
|
|
502
502
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
503
503
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
504
|
-
return
|
|
504
|
+
return _chunkYIOJM56Vjs.correctPaths.call(void 0,
|
|
505
505
|
_nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH))
|
|
506
506
|
);
|
|
507
507
|
}
|
|
508
|
-
return
|
|
508
|
+
return _chunkYIOJM56Vjs.correctPaths.call(void 0,
|
|
509
509
|
findFolderUp(
|
|
510
510
|
_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())),
|
|
511
511
|
rootFiles,
|
|
@@ -600,13 +600,13 @@ var applyWorkspaceTokens = async (options, tokenParams, tokenizerFn) => {
|
|
|
600
600
|
};
|
|
601
601
|
|
|
602
602
|
// ../config-tools/src/utilities/get-default-config.ts
|
|
603
|
-
|
|
603
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
604
604
|
|
|
605
605
|
// ../config/src/index.ts
|
|
606
|
-
|
|
606
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
607
607
|
|
|
608
608
|
// ../config/src/constants.ts
|
|
609
|
-
|
|
609
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
610
610
|
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
611
611
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
612
612
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
@@ -625,10 +625,10 @@ var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
|
625
625
|
var STORM_DEFAULT_BANNER_ALT = "The workspace's banner image";
|
|
626
626
|
|
|
627
627
|
// ../config/src/define-config.ts
|
|
628
|
-
|
|
628
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
629
629
|
|
|
630
630
|
// ../config/src/schema.ts
|
|
631
|
-
|
|
631
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
632
632
|
var _mini = require('zod/v4/mini'); var z = _interopRequireWildcard(_mini);
|
|
633
633
|
var schemaRegistry = z.registry();
|
|
634
634
|
var colorSchema = z.string().check(
|
|
@@ -1198,7 +1198,7 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
1198
1198
|
});
|
|
1199
1199
|
|
|
1200
1200
|
// ../config/src/types.ts
|
|
1201
|
-
|
|
1201
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
1202
1202
|
var COLOR_KEYS = [
|
|
1203
1203
|
"dark",
|
|
1204
1204
|
"light",
|
|
@@ -1232,7 +1232,7 @@ async function getPackageJsonConfig(root) {
|
|
|
1232
1232
|
const workspaceRoot2 = findWorkspaceRoot(root);
|
|
1233
1233
|
if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot2, "package.json"))) {
|
|
1234
1234
|
const file = await _promises.readFile.call(void 0,
|
|
1235
|
-
|
|
1235
|
+
_chunkYIOJM56Vjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
1236
1236
|
"utf8"
|
|
1237
1237
|
);
|
|
1238
1238
|
if (file) {
|
|
@@ -1316,7 +1316,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1316
1316
|
envName: _optionalChain([fileName, 'optionalAccess', _38 => _38.toUpperCase, 'call', _39 => _39()]),
|
|
1317
1317
|
jitiOptions: {
|
|
1318
1318
|
debug: false,
|
|
1319
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1319
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
1320
1320
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1321
1321
|
"jiti"
|
|
1322
1322
|
)
|
|
@@ -1330,7 +1330,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1330
1330
|
envName: _optionalChain([fileName, 'optionalAccess', _40 => _40.toUpperCase, 'call', _41 => _41()]),
|
|
1331
1331
|
jitiOptions: {
|
|
1332
1332
|
debug: false,
|
|
1333
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1333
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
1334
1334
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1335
1335
|
"jiti"
|
|
1336
1336
|
)
|
|
@@ -1382,12 +1382,12 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
1382
1382
|
};
|
|
1383
1383
|
|
|
1384
1384
|
// ../config-tools/src/create-storm-config.ts
|
|
1385
|
-
|
|
1385
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
1386
1386
|
|
|
1387
1387
|
|
|
1388
1388
|
|
|
1389
1389
|
// ../config-tools/src/env/get-env.ts
|
|
1390
|
-
|
|
1390
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
1391
1391
|
var getExtensionEnv = (extensionName) => {
|
|
1392
1392
|
const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
|
|
1393
1393
|
return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
|
|
@@ -1449,15 +1449,15 @@ var getConfigEnv = () => {
|
|
|
1449
1449
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
1450
1450
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
1451
1451
|
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`] ?
|
|
1452
|
+
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ? _chunkYIOJM56Vjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_CONFIG_FILE`]) : void 0,
|
|
1453
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkYIOJM56Vjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
1454
1454
|
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`] ?
|
|
1455
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkYIOJM56Vjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkYIOJM56Vjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
1456
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkYIOJM56Vjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkYIOJM56Vjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
1457
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkYIOJM56Vjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkYIOJM56Vjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
1458
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkYIOJM56Vjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkYIOJM56Vjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
1459
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkYIOJM56Vjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkYIOJM56Vjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
1460
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkYIOJM56Vjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkYIOJM56Vjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
|
|
1461
1461
|
},
|
|
1462
1462
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
1463
1463
|
mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -1604,7 +1604,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1604
1604
|
};
|
|
1605
1605
|
|
|
1606
1606
|
// ../config-tools/src/env/set-env.ts
|
|
1607
|
-
|
|
1607
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
1608
1608
|
var setExtensionEnv = (extensionName, extension) => {
|
|
1609
1609
|
for (const key of Object.keys(_nullishCoalesce(extension, () => ( {})))) {
|
|
1610
1610
|
if (extension[key]) {
|
|
@@ -1752,42 +1752,42 @@ var setConfigEnv = (config) => {
|
|
|
1752
1752
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
1753
1753
|
}
|
|
1754
1754
|
if (config.configFile) {
|
|
1755
|
-
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] =
|
|
1755
|
+
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] = _chunkYIOJM56Vjs.correctPaths.call(void 0,
|
|
1756
1756
|
config.configFile
|
|
1757
1757
|
);
|
|
1758
1758
|
}
|
|
1759
1759
|
if (config.workspaceRoot) {
|
|
1760
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
1761
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
1762
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
1760
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkYIOJM56Vjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1761
|
+
process.env.NX_WORKSPACE_ROOT = _chunkYIOJM56Vjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1762
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkYIOJM56Vjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1763
1763
|
}
|
|
1764
1764
|
if (config.directories) {
|
|
1765
1765
|
if (!config.skipCache && config.directories.cache) {
|
|
1766
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
1766
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkYIOJM56Vjs.correctPaths.call(void 0,
|
|
1767
1767
|
config.directories.cache
|
|
1768
1768
|
);
|
|
1769
1769
|
process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
|
|
1770
1770
|
}
|
|
1771
1771
|
if (config.directories.data) {
|
|
1772
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
1772
|
+
process.env[`${prefix}DATA_DIR`] = _chunkYIOJM56Vjs.correctPaths.call(void 0, config.directories.data);
|
|
1773
1773
|
process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
|
|
1774
1774
|
}
|
|
1775
1775
|
if (config.directories.config) {
|
|
1776
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
1776
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkYIOJM56Vjs.correctPaths.call(void 0,
|
|
1777
1777
|
config.directories.config
|
|
1778
1778
|
);
|
|
1779
1779
|
process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
|
|
1780
1780
|
}
|
|
1781
1781
|
if (config.directories.temp) {
|
|
1782
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
1782
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkYIOJM56Vjs.correctPaths.call(void 0, config.directories.temp);
|
|
1783
1783
|
process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
|
|
1784
1784
|
}
|
|
1785
1785
|
if (config.directories.log) {
|
|
1786
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
1786
|
+
process.env[`${prefix}LOG_DIR`] = _chunkYIOJM56Vjs.correctPaths.call(void 0, config.directories.log);
|
|
1787
1787
|
process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
|
|
1788
1788
|
}
|
|
1789
1789
|
if (config.directories.build) {
|
|
1790
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
1790
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkYIOJM56Vjs.correctPaths.call(void 0,
|
|
1791
1791
|
config.directories.build
|
|
1792
1792
|
);
|
|
1793
1793
|
process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
|
|
@@ -2015,7 +2015,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot2, s
|
|
|
2015
2015
|
defaultConfig
|
|
2016
2016
|
);
|
|
2017
2017
|
if (!configInput.variant) {
|
|
2018
|
-
configInput.variant = _fs.existsSync.call(void 0,
|
|
2018
|
+
configInput.variant = _fs.existsSync.call(void 0, _chunkYIOJM56Vjs.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkYIOJM56Vjs.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkYIOJM56Vjs.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkYIOJM56Vjs.joinPaths.call(void 0, _workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
|
|
2019
2019
|
}
|
|
2020
2020
|
try {
|
|
2021
2021
|
const parseResult = await Promise.resolve(
|
|
@@ -2085,7 +2085,7 @@ ${formatLogMessage(config)}`,
|
|
|
2085
2085
|
};
|
|
2086
2086
|
|
|
2087
2087
|
// ../config-tools/src/get-config.ts
|
|
2088
|
-
|
|
2088
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2089
2089
|
function getConfig(workspaceRoot2, skipLogs = false) {
|
|
2090
2090
|
return loadStormWorkspaceConfig(workspaceRoot2, skipLogs);
|
|
2091
2091
|
}
|
|
@@ -2223,7 +2223,7 @@ var _isFunction2 = (value) => {
|
|
|
2223
2223
|
};
|
|
2224
2224
|
|
|
2225
2225
|
// ../workspace-tools/src/utils/cargo.ts
|
|
2226
|
-
|
|
2226
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2227
2227
|
|
|
2228
2228
|
|
|
2229
2229
|
|
|
@@ -2363,7 +2363,7 @@ var executor_default = withRunExecutor(
|
|
|
2363
2363
|
);
|
|
2364
2364
|
|
|
2365
2365
|
// ../workspace-tools/src/executors/cargo-check/executor.ts
|
|
2366
|
-
|
|
2366
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2367
2367
|
async function cargoCheckExecutor(options, context) {
|
|
2368
2368
|
const command = buildCargoCommand("check", options, context);
|
|
2369
2369
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2383,7 +2383,7 @@ var executor_default2 = withRunExecutor(
|
|
|
2383
2383
|
);
|
|
2384
2384
|
|
|
2385
2385
|
// ../workspace-tools/src/executors/cargo-clippy/executor.ts
|
|
2386
|
-
|
|
2386
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2387
2387
|
async function cargoClippyExecutor(options, context) {
|
|
2388
2388
|
const command = buildCargoCommand("clippy", options, context);
|
|
2389
2389
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2404,7 +2404,7 @@ var executor_default3 = withRunExecutor(
|
|
|
2404
2404
|
);
|
|
2405
2405
|
|
|
2406
2406
|
// ../workspace-tools/src/executors/cargo-doc/executor.ts
|
|
2407
|
-
|
|
2407
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2408
2408
|
async function cargoDocExecutor(options, context) {
|
|
2409
2409
|
const opts = { ...options };
|
|
2410
2410
|
opts["no-deps"] = opts.noDeps;
|
|
@@ -2434,7 +2434,7 @@ var executor_default4 = withRunExecutor(
|
|
|
2434
2434
|
);
|
|
2435
2435
|
|
|
2436
2436
|
// ../workspace-tools/src/executors/cargo-format/executor.ts
|
|
2437
|
-
|
|
2437
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2438
2438
|
async function cargoFormatExecutor(options, context) {
|
|
2439
2439
|
const command = buildCargoCommand("fmt", options, context);
|
|
2440
2440
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2455,7 +2455,7 @@ var executor_default5 = withRunExecutor(
|
|
|
2455
2455
|
);
|
|
2456
2456
|
|
|
2457
2457
|
// ../workspace-tools/src/executors/cargo-publish/executor.ts
|
|
2458
|
-
|
|
2458
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2459
2459
|
|
|
2460
2460
|
|
|
2461
2461
|
|
|
@@ -2463,19 +2463,19 @@ var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
|
2463
2463
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
2464
2464
|
|
|
2465
2465
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
2466
|
-
|
|
2466
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2467
2467
|
|
|
2468
2468
|
// ../esbuild/src/build.ts
|
|
2469
|
-
|
|
2469
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2470
2470
|
|
|
2471
2471
|
// ../esbuild/src/assets.ts
|
|
2472
|
-
|
|
2472
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2473
2473
|
|
|
2474
2474
|
// ../build-tools/src/index.ts
|
|
2475
|
-
|
|
2475
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2476
2476
|
|
|
2477
2477
|
// ../build-tools/src/config.ts
|
|
2478
|
-
|
|
2478
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2479
2479
|
var DEFAULT_JS_BANNER = `
|
|
2480
2480
|
// ---------------------------------------
|
|
2481
2481
|
// \u{1F5F2} Built by Storm Software
|
|
@@ -2491,35 +2491,35 @@ var DEFAULT_TARGET = "esnext";
|
|
|
2491
2491
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
2492
2492
|
|
|
2493
2493
|
// ../build-tools/src/plugins/index.ts
|
|
2494
|
-
|
|
2494
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2495
2495
|
|
|
2496
2496
|
// ../build-tools/src/plugins/analyze.ts
|
|
2497
|
-
|
|
2497
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2498
2498
|
|
|
2499
2499
|
// ../build-tools/src/plugins/swc.ts
|
|
2500
|
-
|
|
2500
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2501
2501
|
var _core = require('@swc/core');
|
|
2502
2502
|
|
|
2503
2503
|
// ../build-tools/src/plugins/ts-resolve.ts
|
|
2504
|
-
|
|
2504
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2505
2505
|
|
|
2506
2506
|
var _module = require('module');
|
|
2507
2507
|
|
|
2508
2508
|
var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_resolve2);
|
|
2509
2509
|
|
|
2510
2510
|
// ../build-tools/src/plugins/type-definitions.ts
|
|
2511
|
-
|
|
2511
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2512
2512
|
|
|
2513
2513
|
|
|
2514
2514
|
|
|
2515
2515
|
// ../build-tools/src/types.ts
|
|
2516
|
-
|
|
2516
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2517
2517
|
|
|
2518
2518
|
// ../build-tools/src/utilities/index.ts
|
|
2519
|
-
|
|
2519
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2520
2520
|
|
|
2521
2521
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
2522
|
-
|
|
2522
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2523
2523
|
var _copyassetshandler = require('@nx/js/src/utils/assets/copy-assets-handler');
|
|
2524
2524
|
var _glob = require('glob');
|
|
2525
2525
|
|
|
@@ -2551,7 +2551,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
2551
2551
|
}
|
|
2552
2552
|
writeTrace(
|
|
2553
2553
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
2554
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
2554
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkYIOJM56Vjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
2555
2555
|
config
|
|
2556
2556
|
);
|
|
2557
2557
|
const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
|
|
@@ -2564,17 +2564,17 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
2564
2564
|
writeTrace("Completed copying assets to the output directory", config);
|
|
2565
2565
|
if (includeSrc === true) {
|
|
2566
2566
|
writeDebug(
|
|
2567
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
2567
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
2568
2568
|
outputPath,
|
|
2569
2569
|
"src"
|
|
2570
2570
|
)}`,
|
|
2571
2571
|
config
|
|
2572
2572
|
);
|
|
2573
2573
|
const files = await _glob.glob.call(void 0, [
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2574
|
+
_chunkYIOJM56Vjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
2575
|
+
_chunkYIOJM56Vjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
2576
|
+
_chunkYIOJM56Vjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
2577
|
+
_chunkYIOJM56Vjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
2578
2578
|
]);
|
|
2579
2579
|
await Promise.allSettled(
|
|
2580
2580
|
files.map(
|
|
@@ -2592,7 +2592,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
2592
2592
|
};
|
|
2593
2593
|
|
|
2594
2594
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
2595
|
-
|
|
2595
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2596
2596
|
var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
|
|
2597
2597
|
|
|
2598
2598
|
|
|
@@ -2630,7 +2630,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2630
2630
|
)) {
|
|
2631
2631
|
const projectNode = project.node;
|
|
2632
2632
|
if (projectNode.data.root) {
|
|
2633
|
-
const projectPackageJsonPath =
|
|
2633
|
+
const projectPackageJsonPath = _chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
2634
2634
|
workspaceRoot2,
|
|
2635
2635
|
projectNode.data.root,
|
|
2636
2636
|
"package.json"
|
|
@@ -2652,7 +2652,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2652
2652
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
2653
2653
|
);
|
|
2654
2654
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
2655
|
-
|
|
2655
|
+
_chunkYIOJM56Vjs.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
2656
2656
|
"utf8"
|
|
2657
2657
|
);
|
|
2658
2658
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -2665,7 +2665,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2665
2665
|
}
|
|
2666
2666
|
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
2667
|
if (_optionalChain([projectConfigurations, 'access', _106 => _106.projects, 'optionalAccess', _107 => _107[dep]])) {
|
|
2668
|
-
const depPackageJsonPath =
|
|
2668
|
+
const depPackageJsonPath = _chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
2669
2669
|
workspaceRoot2,
|
|
2670
2670
|
projectConfigurations.projects[dep].root,
|
|
2671
2671
|
"package.json"
|
|
@@ -2703,7 +2703,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2703
2703
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
2704
2704
|
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
|
|
2705
2705
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
2706
|
-
|
|
2706
|
+
_chunkYIOJM56Vjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
2707
2707
|
"utf8"
|
|
2708
2708
|
);
|
|
2709
2709
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -2714,7 +2714,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
2714
2714
|
if (distSrc.startsWith("/")) {
|
|
2715
2715
|
distSrc = distSrc.substring(1);
|
|
2716
2716
|
}
|
|
2717
|
-
packageJson.source ??= `${
|
|
2717
|
+
packageJson.source ??= `${_chunkYIOJM56Vjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
2718
2718
|
}
|
|
2719
2719
|
packageJson.files ??= ["dist/**/*"];
|
|
2720
2720
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -2739,7 +2739,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
2739
2739
|
packageJson.contributors = [packageJson.author];
|
|
2740
2740
|
}
|
|
2741
2741
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
2742
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
2742
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkYIOJM56Vjs.joinPaths.call(void 0, "packages", projectName);
|
|
2743
2743
|
return packageJson;
|
|
2744
2744
|
};
|
|
2745
2745
|
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
@@ -2764,11 +2764,11 @@ var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
|
2764
2764
|
};
|
|
2765
2765
|
|
|
2766
2766
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
2767
|
-
|
|
2767
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2768
2768
|
|
|
2769
2769
|
|
|
2770
2770
|
// ../build-tools/src/utilities/get-env.ts
|
|
2771
|
-
|
|
2771
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2772
2772
|
var getEnv = (builder, options) => {
|
|
2773
2773
|
return {
|
|
2774
2774
|
STORM_BUILD: builder,
|
|
@@ -2783,21 +2783,21 @@ var getEnv = (builder, options) => {
|
|
|
2783
2783
|
};
|
|
2784
2784
|
|
|
2785
2785
|
// ../build-tools/src/utilities/get-file-banner.ts
|
|
2786
|
-
|
|
2786
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2787
2787
|
|
|
2788
2788
|
// ../build-tools/src/utilities/get-out-extension.ts
|
|
2789
|
-
|
|
2789
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2790
2790
|
|
|
2791
2791
|
// ../build-tools/src/utilities/get-project-deps.ts
|
|
2792
|
-
|
|
2792
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2793
2793
|
|
|
2794
2794
|
// ../build-tools/src/utilities/read-nx-config.ts
|
|
2795
|
-
|
|
2795
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2796
2796
|
|
|
2797
2797
|
|
|
2798
2798
|
|
|
2799
2799
|
// ../build-tools/src/utilities/task-graph.ts
|
|
2800
|
-
|
|
2800
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2801
2801
|
|
|
2802
2802
|
|
|
2803
2803
|
|
|
@@ -2826,14 +2826,14 @@ async function copyBuildAssets(context) {
|
|
|
2826
2826
|
}
|
|
2827
2827
|
|
|
2828
2828
|
// ../esbuild/src/clean.ts
|
|
2829
|
-
|
|
2829
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2830
2830
|
|
|
2831
2831
|
async function cleanDirectories(directory) {
|
|
2832
2832
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
2833
2833
|
}
|
|
2834
2834
|
|
|
2835
2835
|
// ../esbuild/src/context.ts
|
|
2836
|
-
|
|
2836
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2837
2837
|
|
|
2838
2838
|
|
|
2839
2839
|
|
|
@@ -2844,7 +2844,7 @@ _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
|
|
|
2844
2844
|
var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
2845
2845
|
|
|
2846
2846
|
// ../esbuild/src/config.ts
|
|
2847
|
-
|
|
2847
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2848
2848
|
var DEFAULT_BUILD_OPTIONS = {
|
|
2849
2849
|
platform: "node",
|
|
2850
2850
|
target: "node22",
|
|
@@ -2902,7 +2902,7 @@ async function resolveContext(userOptions) {
|
|
|
2902
2902
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
2903
2903
|
exitOnError: true
|
|
2904
2904
|
});
|
|
2905
|
-
const projectJsonPath =
|
|
2905
|
+
const projectJsonPath = _chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
2906
2906
|
workspaceRoot2.dir,
|
|
2907
2907
|
projectRoot,
|
|
2908
2908
|
"project.json"
|
|
@@ -2921,7 +2921,7 @@ async function resolveContext(userOptions) {
|
|
|
2921
2921
|
}
|
|
2922
2922
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
2923
2923
|
options.name ??= projectName;
|
|
2924
|
-
const packageJsonPath =
|
|
2924
|
+
const packageJsonPath = _chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
2925
2925
|
workspaceRoot2.dir,
|
|
2926
2926
|
options.projectRoot,
|
|
2927
2927
|
"package.json"
|
|
@@ -2933,7 +2933,7 @@ async function resolveContext(userOptions) {
|
|
|
2933
2933
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
2934
2934
|
const resolvedOptions = {
|
|
2935
2935
|
...options,
|
|
2936
|
-
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig :
|
|
2936
|
+
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkYIOJM56Vjs.joinPaths.call(void 0, workspaceRoot2.dir, projectRoot, "tsconfig.json"),
|
|
2937
2937
|
metafile: userOptions.mode === "development",
|
|
2938
2938
|
clean: false,
|
|
2939
2939
|
env,
|
|
@@ -2958,8 +2958,8 @@ async function resolveContext(userOptions) {
|
|
|
2958
2958
|
projectConfigurations,
|
|
2959
2959
|
projectName,
|
|
2960
2960
|
projectGraph,
|
|
2961
|
-
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot ||
|
|
2962
|
-
outputPath: resolvedOptions.outputPath ||
|
|
2961
|
+
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkYIOJM56Vjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
|
|
2962
|
+
outputPath: resolvedOptions.outputPath || _chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
2963
2963
|
workspaceConfig.workspaceRoot,
|
|
2964
2964
|
"dist",
|
|
2965
2965
|
resolvedOptions.projectRoot
|
|
@@ -2979,15 +2979,15 @@ ${formatLogMessage(context.options)}`,
|
|
|
2979
2979
|
}
|
|
2980
2980
|
|
|
2981
2981
|
// ../esbuild/src/package-json.ts
|
|
2982
|
-
|
|
2982
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
2983
2983
|
|
|
2984
2984
|
|
|
2985
2985
|
|
|
2986
2986
|
async function generatePackageJson(context) {
|
|
2987
|
-
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
2987
|
+
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkYIOJM56Vjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
2988
2988
|
writeDebug(" \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
2989
2989
|
const stopwatch = getStopwatch("Write package.json file");
|
|
2990
|
-
const packageJsonPath =
|
|
2990
|
+
const packageJsonPath = _chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
2991
2991
|
context.options.projectRoot,
|
|
2992
2992
|
"project.json"
|
|
2993
2993
|
);
|
|
@@ -2995,7 +2995,7 @@ async function generatePackageJson(context) {
|
|
|
2995
2995
|
throw new Error("Cannot find package.json configuration");
|
|
2996
2996
|
}
|
|
2997
2997
|
const packageJsonFile = await _promises2.default.readFile(
|
|
2998
|
-
|
|
2998
|
+
_chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
2999
2999
|
context.workspaceConfig.workspaceRoot,
|
|
3000
3000
|
context.options.projectRoot,
|
|
3001
3001
|
"package.json"
|
|
@@ -3101,7 +3101,7 @@ async function generatePackageJson(context) {
|
|
|
3101
3101
|
}
|
|
3102
3102
|
}
|
|
3103
3103
|
await _devkit.writeJsonFile.call(void 0,
|
|
3104
|
-
|
|
3104
|
+
_chunkYIOJM56Vjs.joinPaths.call(void 0, context.outputPath, "package.json"),
|
|
3105
3105
|
packageJson
|
|
3106
3106
|
);
|
|
3107
3107
|
stopwatch();
|
|
@@ -3110,10 +3110,10 @@ async function generatePackageJson(context) {
|
|
|
3110
3110
|
}
|
|
3111
3111
|
|
|
3112
3112
|
// ../esbuild/src/tsup.ts
|
|
3113
|
-
|
|
3113
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3114
3114
|
|
|
3115
3115
|
// ../tsup/src/index.ts
|
|
3116
|
-
|
|
3116
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3117
3117
|
var _tsup = require('tsup');
|
|
3118
3118
|
async function build(options) {
|
|
3119
3119
|
if (!options.silent) {
|
|
@@ -3138,7 +3138,7 @@ async function executeTsup(context) {
|
|
|
3138
3138
|
const stopwatch = getStopwatch(`${context.options.name} build`);
|
|
3139
3139
|
await build({
|
|
3140
3140
|
...context.options,
|
|
3141
|
-
outDir: context.options.distDir ?
|
|
3141
|
+
outDir: context.options.distDir ? _chunkYIOJM56Vjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
3142
3142
|
workspaceConfig: context.workspaceConfig
|
|
3143
3143
|
});
|
|
3144
3144
|
stopwatch();
|
|
@@ -3248,12 +3248,12 @@ var executor_default6 = withRunExecutor(
|
|
|
3248
3248
|
);
|
|
3249
3249
|
|
|
3250
3250
|
// ../workspace-tools/src/executors/napi/executor.ts
|
|
3251
|
-
|
|
3251
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3252
3252
|
var _jiti = require('jiti');
|
|
3253
3253
|
var _fileutils = require('nx/src/utils/fileutils');
|
|
3254
3254
|
async function napiExecutor(options, context, config) {
|
|
3255
3255
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3256
|
-
fsCache: config.skipCache ? false :
|
|
3256
|
+
fsCache: config.skipCache ? false : _chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
3257
3257
|
config.workspaceRoot,
|
|
3258
3258
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3259
3259
|
"jiti"
|
|
@@ -3269,52 +3269,52 @@ async function napiExecutor(options, context, config) {
|
|
|
3269
3269
|
);
|
|
3270
3270
|
}
|
|
3271
3271
|
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 =
|
|
3272
|
+
const packageJson = _chunkYIOJM56Vjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
3273
3273
|
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
3274
3274
|
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
3275
3275
|
}
|
|
3276
3276
|
const napi = new NapiCli();
|
|
3277
3277
|
const normalizedOptions = { ...options };
|
|
3278
3278
|
const metadata = cargoMetadata();
|
|
3279
|
-
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _154 => _154.target_directory]) ||
|
|
3279
|
+
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _154 => _154.target_directory]) || _chunkYIOJM56Vjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
|
|
3280
3280
|
normalizedOptions.outputDir = options.outputPath;
|
|
3281
3281
|
normalizedOptions.packageJsonPath ??= packageJson;
|
|
3282
3282
|
if (options.cwd) {
|
|
3283
|
-
normalizedOptions.cwd =
|
|
3283
|
+
normalizedOptions.cwd = _chunkYIOJM56Vjs.correctPaths.call(void 0, options.cwd);
|
|
3284
3284
|
} else {
|
|
3285
|
-
const absoluteProjectRoot =
|
|
3286
|
-
|
|
3285
|
+
const absoluteProjectRoot = _chunkYIOJM56Vjs.correctPaths.call(void 0,
|
|
3286
|
+
_chunkYIOJM56Vjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
|
|
3287
3287
|
);
|
|
3288
3288
|
normalizedOptions.cwd = absoluteProjectRoot;
|
|
3289
3289
|
if (normalizedOptions.outputDir) {
|
|
3290
|
-
normalizedOptions.outputDir =
|
|
3290
|
+
normalizedOptions.outputDir = _chunkYIOJM56Vjs.relative.call(void 0,
|
|
3291
3291
|
normalizedOptions.cwd,
|
|
3292
|
-
|
|
3293
|
-
|
|
3292
|
+
_chunkYIOJM56Vjs.correctPaths.call(void 0,
|
|
3293
|
+
_chunkYIOJM56Vjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkYIOJM56Vjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
|
|
3294
3294
|
)
|
|
3295
3295
|
);
|
|
3296
3296
|
}
|
|
3297
3297
|
if (normalizedOptions.packageJsonPath) {
|
|
3298
|
-
normalizedOptions.packageJsonPath =
|
|
3298
|
+
normalizedOptions.packageJsonPath = _chunkYIOJM56Vjs.relative.call(void 0,
|
|
3299
3299
|
normalizedOptions.cwd,
|
|
3300
|
-
|
|
3301
|
-
|
|
3300
|
+
_chunkYIOJM56Vjs.correctPaths.call(void 0,
|
|
3301
|
+
_chunkYIOJM56Vjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkYIOJM56Vjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
3302
3302
|
)
|
|
3303
3303
|
);
|
|
3304
3304
|
}
|
|
3305
3305
|
if (normalizedOptions.configPath) {
|
|
3306
|
-
normalizedOptions.configPath =
|
|
3306
|
+
normalizedOptions.configPath = _chunkYIOJM56Vjs.relative.call(void 0,
|
|
3307
3307
|
normalizedOptions.cwd,
|
|
3308
|
-
|
|
3309
|
-
|
|
3308
|
+
_chunkYIOJM56Vjs.correctPaths.call(void 0,
|
|
3309
|
+
_chunkYIOJM56Vjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkYIOJM56Vjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
|
|
3310
3310
|
)
|
|
3311
3311
|
);
|
|
3312
3312
|
}
|
|
3313
3313
|
if (normalizedOptions.manifestPath) {
|
|
3314
|
-
normalizedOptions.manifestPath =
|
|
3314
|
+
normalizedOptions.manifestPath = _chunkYIOJM56Vjs.relative.call(void 0,
|
|
3315
3315
|
normalizedOptions.cwd,
|
|
3316
|
-
|
|
3317
|
-
|
|
3316
|
+
_chunkYIOJM56Vjs.correctPaths.call(void 0,
|
|
3317
|
+
_chunkYIOJM56Vjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkYIOJM56Vjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
|
|
3318
3318
|
)
|
|
3319
3319
|
);
|
|
3320
3320
|
}
|
|
@@ -3357,17 +3357,17 @@ var executor_default7 = withRunExecutor(
|
|
|
3357
3357
|
);
|
|
3358
3358
|
|
|
3359
3359
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
3360
|
-
|
|
3360
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3361
3361
|
|
|
3362
3362
|
// ../npm-tools/src/helpers/get-registry.ts
|
|
3363
|
-
|
|
3363
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3364
3364
|
|
|
3365
3365
|
|
|
3366
3366
|
// ../npm-tools/src/constants.ts
|
|
3367
|
-
|
|
3367
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3368
3368
|
|
|
3369
3369
|
// ../pnpm-tools/src/helpers/replace-deps-aliases.ts
|
|
3370
|
-
|
|
3370
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3371
3371
|
|
|
3372
3372
|
|
|
3373
3373
|
|
|
@@ -3377,17 +3377,17 @@ _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
|
|
|
3377
3377
|
var _prettier = require('prettier');
|
|
3378
3378
|
|
|
3379
3379
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
3380
|
-
|
|
3380
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3381
3381
|
|
|
3382
3382
|
// ../npm-tools/src/helpers/get-version.ts
|
|
3383
|
-
|
|
3383
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3384
3384
|
|
|
3385
3385
|
|
|
3386
3386
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
3387
3387
|
var _semver = require('semver');
|
|
3388
3388
|
|
|
3389
3389
|
// ../pnpm-tools/src/helpers/pnpm-workspace.ts
|
|
3390
|
-
|
|
3390
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3391
3391
|
|
|
3392
3392
|
|
|
3393
3393
|
var _yaml = require('yaml');
|
|
@@ -3398,7 +3398,7 @@ var _yaml = require('yaml');
|
|
|
3398
3398
|
|
|
3399
3399
|
|
|
3400
3400
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
3401
|
-
|
|
3401
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3402
3402
|
|
|
3403
3403
|
|
|
3404
3404
|
|
|
@@ -3410,7 +3410,7 @@ _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
|
|
|
3410
3410
|
|
|
3411
3411
|
|
|
3412
3412
|
// ../workspace-tools/src/utils/project-tags.ts
|
|
3413
|
-
|
|
3413
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3414
3414
|
var ProjectTagConstants = {
|
|
3415
3415
|
Language: {
|
|
3416
3416
|
TAG_ID: "language",
|
|
@@ -3487,7 +3487,7 @@ var addProjectTag = (project, variant, value, options = {
|
|
|
3487
3487
|
var LARGE_BUFFER2 = 1024 * 1e6;
|
|
3488
3488
|
|
|
3489
3489
|
// ../workspace-tools/src/executors/size-limit/executor.ts
|
|
3490
|
-
|
|
3490
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3491
3491
|
|
|
3492
3492
|
var _esbuild = require('@size-limit/esbuild'); var _esbuild2 = _interopRequireDefault(_esbuild);
|
|
3493
3493
|
var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
|
|
@@ -3529,10 +3529,10 @@ var executor_default8 = withRunExecutor(
|
|
|
3529
3529
|
);
|
|
3530
3530
|
|
|
3531
3531
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
3532
|
-
|
|
3532
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3533
3533
|
|
|
3534
3534
|
// ../tsdown/src/build.ts
|
|
3535
|
-
|
|
3535
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3536
3536
|
|
|
3537
3537
|
|
|
3538
3538
|
|
|
@@ -3544,14 +3544,14 @@ _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
|
|
|
3544
3544
|
var _tsdown = require('tsdown');
|
|
3545
3545
|
|
|
3546
3546
|
// ../tsdown/src/clean.ts
|
|
3547
|
-
|
|
3547
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3548
3548
|
|
|
3549
3549
|
async function cleanDirectories2(name = "TSDown", directory, config) {
|
|
3550
3550
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
3551
3551
|
}
|
|
3552
3552
|
|
|
3553
3553
|
// ../tsdown/src/config.ts
|
|
3554
|
-
|
|
3554
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3555
3555
|
function getDefaultOptions(config) {
|
|
3556
3556
|
return {
|
|
3557
3557
|
entry: ["./src/*.ts"],
|
|
@@ -3594,7 +3594,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3594
3594
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
3595
3595
|
exitOnError: true
|
|
3596
3596
|
});
|
|
3597
|
-
const projectJsonPath =
|
|
3597
|
+
const projectJsonPath = _chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
3598
3598
|
workspaceRoot2,
|
|
3599
3599
|
options.projectRoot,
|
|
3600
3600
|
"project.json"
|
|
@@ -3611,7 +3611,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3611
3611
|
"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
3612
|
);
|
|
3613
3613
|
}
|
|
3614
|
-
const packageJsonPath =
|
|
3614
|
+
const packageJsonPath = _chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
3615
3615
|
workspaceRoot2,
|
|
3616
3616
|
options.projectRoot,
|
|
3617
3617
|
"package.json"
|
|
@@ -3620,13 +3620,13 @@ var resolveOptions = async (userOptions) => {
|
|
|
3620
3620
|
throw new Error("Cannot find package.json configuration");
|
|
3621
3621
|
}
|
|
3622
3622
|
const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
|
|
3623
|
-
const sourceRoot = projectJson.sourceRoot ||
|
|
3623
|
+
const sourceRoot = projectJson.sourceRoot || _chunkYIOJM56Vjs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
3624
3624
|
const result = {
|
|
3625
3625
|
name: projectName,
|
|
3626
3626
|
mode: "production",
|
|
3627
3627
|
target: DEFAULT_TARGET,
|
|
3628
3628
|
generatePackageJson: true,
|
|
3629
|
-
outDir:
|
|
3629
|
+
outDir: _chunkYIOJM56Vjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
3630
3630
|
minify: !debug,
|
|
3631
3631
|
plugins: [],
|
|
3632
3632
|
assets: [],
|
|
@@ -3638,12 +3638,12 @@ var resolveOptions = async (userOptions) => {
|
|
|
3638
3638
|
clean: false,
|
|
3639
3639
|
fixedExtension: true,
|
|
3640
3640
|
nodeProtocol: true,
|
|
3641
|
-
tsconfig:
|
|
3641
|
+
tsconfig: _chunkYIOJM56Vjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
|
|
3642
3642
|
debug,
|
|
3643
3643
|
sourceRoot,
|
|
3644
3644
|
cwd: workspaceConfig.workspaceRoot,
|
|
3645
3645
|
entry: {
|
|
3646
|
-
["index"]:
|
|
3646
|
+
["index"]: _chunkYIOJM56Vjs.joinPaths.call(void 0, sourceRoot, "index.ts")
|
|
3647
3647
|
},
|
|
3648
3648
|
workspace: true,
|
|
3649
3649
|
...options,
|
|
@@ -3662,15 +3662,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
3662
3662
|
return result;
|
|
3663
3663
|
};
|
|
3664
3664
|
async function generatePackageJson2(options) {
|
|
3665
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
3665
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkYIOJM56Vjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
3666
3666
|
writeDebug(" \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
3667
3667
|
const stopwatch = getStopwatch("Write package.json file");
|
|
3668
|
-
const packageJsonPath =
|
|
3668
|
+
const packageJsonPath = _chunkYIOJM56Vjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
3669
3669
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
3670
3670
|
throw new Error("Cannot find package.json configuration");
|
|
3671
3671
|
}
|
|
3672
3672
|
const packageJsonFile = await _promises2.default.readFile(
|
|
3673
|
-
|
|
3673
|
+
_chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
3674
3674
|
options.workspaceConfig.workspaceRoot,
|
|
3675
3675
|
options.projectRoot,
|
|
3676
3676
|
"package.json"
|
|
@@ -3732,7 +3732,7 @@ async function generatePackageJson2(options) {
|
|
|
3732
3732
|
},
|
|
3733
3733
|
packageJson.exports
|
|
3734
3734
|
);
|
|
3735
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
3735
|
+
await _devkit.writeJsonFile.call(void 0, _chunkYIOJM56Vjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
3736
3736
|
stopwatch();
|
|
3737
3737
|
}
|
|
3738
3738
|
return options;
|
|
@@ -3865,7 +3865,7 @@ var executor_default9 = withRunExecutor(
|
|
|
3865
3865
|
);
|
|
3866
3866
|
|
|
3867
3867
|
// ../workspace-tools/src/executors/typia/executor.ts
|
|
3868
|
-
|
|
3868
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3869
3869
|
var _fsextra = require('fs-extra');
|
|
3870
3870
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
3871
3871
|
async function typiaExecutorFn(options, _, config) {
|
|
@@ -3905,7 +3905,7 @@ var executor_default10 = withRunExecutor(
|
|
|
3905
3905
|
);
|
|
3906
3906
|
|
|
3907
3907
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
3908
|
-
|
|
3908
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
3909
3909
|
|
|
3910
3910
|
|
|
3911
3911
|
async function unbuildExecutorFn(options, context, config) {
|
|
@@ -3926,7 +3926,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3926
3926
|
);
|
|
3927
3927
|
}
|
|
3928
3928
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3929
|
-
fsCache: config.skipCache ? false :
|
|
3929
|
+
fsCache: config.skipCache ? false : _chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
3930
3930
|
config.workspaceRoot,
|
|
3931
3931
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3932
3932
|
"jiti"
|
|
@@ -3948,7 +3948,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3948
3948
|
{
|
|
3949
3949
|
stubOptions: {
|
|
3950
3950
|
jiti: {
|
|
3951
|
-
fsCache: config.skipCache ? false :
|
|
3951
|
+
fsCache: config.skipCache ? false : _chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
3952
3952
|
config.workspaceRoot,
|
|
3953
3953
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3954
3954
|
"jiti"
|
|
@@ -3997,10 +3997,10 @@ var executor_default11 = withRunExecutor(
|
|
|
3997
3997
|
);
|
|
3998
3998
|
|
|
3999
3999
|
// ../workspace-tools/generators.ts
|
|
4000
|
-
|
|
4000
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
4001
4001
|
|
|
4002
4002
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
4003
|
-
|
|
4003
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
4004
4004
|
|
|
4005
4005
|
|
|
4006
4006
|
|
|
@@ -4009,7 +4009,7 @@ _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
|
|
|
4009
4009
|
|
|
4010
4010
|
|
|
4011
4011
|
// ../workspace-tools/src/base/base-generator.ts
|
|
4012
|
-
|
|
4012
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
4013
4013
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
4014
4014
|
skipReadingConfig: false
|
|
4015
4015
|
}) => async (tree, _options) => {
|
|
@@ -4096,7 +4096,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
4096
4096
|
};
|
|
4097
4097
|
|
|
4098
4098
|
// ../workspace-tools/src/base/typescript-library-generator.ts
|
|
4099
|
-
|
|
4099
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
4100
4100
|
|
|
4101
4101
|
|
|
4102
4102
|
|
|
@@ -4118,7 +4118,7 @@ var _init = require('@nx/js/src/generators/init/init'); var _init2 = _interopReq
|
|
|
4118
4118
|
var _generator = require('@nx/js/src/generators/setup-verdaccio/generator'); var _generator2 = _interopRequireDefault(_generator);
|
|
4119
4119
|
|
|
4120
4120
|
// ../workspace-tools/src/utils/versions.ts
|
|
4121
|
-
|
|
4121
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
4122
4122
|
var typesNodeVersion = "20.9.0";
|
|
4123
4123
|
var nxVersion = "^18.0.4";
|
|
4124
4124
|
var nodeVersion = "20.11.0";
|
|
@@ -4151,16 +4151,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4151
4151
|
const projectConfig = {
|
|
4152
4152
|
root: normalized.directory,
|
|
4153
4153
|
projectType: "library",
|
|
4154
|
-
sourceRoot:
|
|
4154
|
+
sourceRoot: _chunkYIOJM56Vjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
4155
4155
|
targets: {
|
|
4156
4156
|
build: {
|
|
4157
4157
|
executor: options.buildExecutor,
|
|
4158
4158
|
outputs: ["{options.outputPath}"],
|
|
4159
4159
|
options: {
|
|
4160
|
-
entry: [
|
|
4160
|
+
entry: [_chunkYIOJM56Vjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
|
|
4161
4161
|
outputPath: getOutputPath(normalized),
|
|
4162
|
-
tsconfig:
|
|
4163
|
-
project:
|
|
4162
|
+
tsconfig: _chunkYIOJM56Vjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
4163
|
+
project: _chunkYIOJM56Vjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
4164
4164
|
defaultConfiguration: "production",
|
|
4165
4165
|
platform: "neutral",
|
|
4166
4166
|
assets: [
|
|
@@ -4217,7 +4217,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4217
4217
|
if (!normalized.importPath) {
|
|
4218
4218
|
normalized.importPath = normalized.name;
|
|
4219
4219
|
}
|
|
4220
|
-
const packageJsonPath =
|
|
4220
|
+
const packageJsonPath = _chunkYIOJM56Vjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
4221
4221
|
if (tree.exists(packageJsonPath)) {
|
|
4222
4222
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
4223
4223
|
if (!normalized.importPath) {
|
|
@@ -4274,14 +4274,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4274
4274
|
}));
|
|
4275
4275
|
}
|
|
4276
4276
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
4277
|
-
|
|
4277
|
+
_chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
4278
4278
|
normalized.projectRoot,
|
|
4279
4279
|
"./src",
|
|
4280
4280
|
`index.${normalized.js ? "js" : "ts"}`
|
|
4281
4281
|
)
|
|
4282
4282
|
]);
|
|
4283
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
4284
|
-
|
|
4283
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkYIOJM56Vjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
4284
|
+
_chunkYIOJM56Vjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
4285
4285
|
]);
|
|
4286
4286
|
if (tree.exists("package.json")) {
|
|
4287
4287
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -4292,7 +4292,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4292
4292
|
description = packageJson.description;
|
|
4293
4293
|
}
|
|
4294
4294
|
}
|
|
4295
|
-
const tsconfigPath =
|
|
4295
|
+
const tsconfigPath = _chunkYIOJM56Vjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
4296
4296
|
if (tree.exists(tsconfigPath)) {
|
|
4297
4297
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
4298
4298
|
json.composite ??= true;
|
|
@@ -4320,7 +4320,7 @@ function getOutputPath(options) {
|
|
|
4320
4320
|
} else {
|
|
4321
4321
|
parts.push(options.projectRoot);
|
|
4322
4322
|
}
|
|
4323
|
-
return
|
|
4323
|
+
return _chunkYIOJM56Vjs.joinPaths.call(void 0, ...parts);
|
|
4324
4324
|
}
|
|
4325
4325
|
function createProjectTsConfigJson(tree, options) {
|
|
4326
4326
|
const tsconfig = {
|
|
@@ -4328,7 +4328,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
4328
4328
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _213 => _213.tsconfigOptions]), () => ( {})),
|
|
4329
4329
|
compilerOptions: {
|
|
4330
4330
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
4331
|
-
outDir:
|
|
4331
|
+
outDir: _chunkYIOJM56Vjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
4332
4332
|
noEmit: true,
|
|
4333
4333
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _214 => _214.tsconfigOptions, 'optionalAccess', _215 => _215.compilerOptions]), () => ( {}))
|
|
4334
4334
|
},
|
|
@@ -4346,7 +4346,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
4346
4346
|
"src/**/*.test.ts"
|
|
4347
4347
|
]
|
|
4348
4348
|
};
|
|
4349
|
-
_devkit.writeJson.call(void 0, tree,
|
|
4349
|
+
_devkit.writeJson.call(void 0, tree, _chunkYIOJM56Vjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
4350
4350
|
}
|
|
4351
4351
|
async function normalizeOptions(tree, options, config) {
|
|
4352
4352
|
let importPath = options.importPath;
|
|
@@ -4411,7 +4411,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
4411
4411
|
|
|
4412
4412
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
4413
4413
|
async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
4414
|
-
const filesDir =
|
|
4414
|
+
const filesDir = _chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
4415
4415
|
__dirname,
|
|
4416
4416
|
"src",
|
|
4417
4417
|
"generators",
|
|
@@ -4491,7 +4491,7 @@ var generator_default = withRunGenerator(
|
|
|
4491
4491
|
);
|
|
4492
4492
|
|
|
4493
4493
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
4494
|
-
|
|
4494
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
4495
4495
|
|
|
4496
4496
|
var _zod2 = require('zod'); var z2 = _interopRequireWildcard(_zod2);
|
|
4497
4497
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
@@ -4548,7 +4548,7 @@ var generator_default2 = withRunGenerator(
|
|
|
4548
4548
|
);
|
|
4549
4549
|
|
|
4550
4550
|
// ../workspace-tools/src/generators/init/init.ts
|
|
4551
|
-
|
|
4551
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
4552
4552
|
|
|
4553
4553
|
|
|
4554
4554
|
|
|
@@ -4576,7 +4576,7 @@ async function initGenerator(tree, schema) {
|
|
|
4576
4576
|
}
|
|
4577
4577
|
|
|
4578
4578
|
// ../workspace-tools/src/generators/neutral-library/generator.ts
|
|
4579
|
-
|
|
4579
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
4580
4580
|
|
|
4581
4581
|
|
|
4582
4582
|
|
|
@@ -4584,7 +4584,7 @@ _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
|
|
|
4584
4584
|
|
|
4585
4585
|
|
|
4586
4586
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
4587
|
-
const filesDir =
|
|
4587
|
+
const filesDir = _chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
4588
4588
|
__dirname,
|
|
4589
4589
|
"src",
|
|
4590
4590
|
"generators",
|
|
@@ -4636,7 +4636,7 @@ var generator_default3 = withRunGenerator(
|
|
|
4636
4636
|
);
|
|
4637
4637
|
|
|
4638
4638
|
// ../workspace-tools/src/generators/node-library/generator.ts
|
|
4639
|
-
|
|
4639
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
4640
4640
|
|
|
4641
4641
|
|
|
4642
4642
|
|
|
@@ -4644,7 +4644,7 @@ _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
|
|
|
4644
4644
|
|
|
4645
4645
|
|
|
4646
4646
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
4647
|
-
const filesDir =
|
|
4647
|
+
const filesDir = _chunkYIOJM56Vjs.joinPaths.call(void 0,
|
|
4648
4648
|
__dirname,
|
|
4649
4649
|
"src",
|
|
4650
4650
|
"generators",
|
|
@@ -4698,7 +4698,7 @@ var generator_default4 = withRunGenerator(
|
|
|
4698
4698
|
);
|
|
4699
4699
|
|
|
4700
4700
|
// ../workspace-tools/src/generators/preset/generator.ts
|
|
4701
|
-
|
|
4701
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
4702
4702
|
|
|
4703
4703
|
|
|
4704
4704
|
|
|
@@ -4937,10 +4937,10 @@ var generator_default5 = withRunGenerator(
|
|
|
4937
4937
|
);
|
|
4938
4938
|
|
|
4939
4939
|
// ../workspace-tools/src/base/index.ts
|
|
4940
|
-
|
|
4940
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
4941
4941
|
|
|
4942
4942
|
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
4943
|
-
|
|
4943
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
4944
4944
|
var _untyped = require('untyped');
|
|
4945
4945
|
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4946
4946
|
$schema: {
|
|
@@ -4954,13 +4954,12 @@ var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4954
4954
|
type: "string",
|
|
4955
4955
|
format: "path",
|
|
4956
4956
|
description: "The output path for the build"
|
|
4957
|
-
}
|
|
4958
|
-
$default: "dist/{projectRoot}"
|
|
4957
|
+
}
|
|
4959
4958
|
}
|
|
4960
4959
|
});
|
|
4961
4960
|
|
|
4962
4961
|
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
4963
|
-
|
|
4962
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
4964
4963
|
|
|
4965
4964
|
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4966
4965
|
$schema: {
|
|
@@ -4978,7 +4977,7 @@ var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4978
4977
|
});
|
|
4979
4978
|
|
|
4980
4979
|
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
4981
|
-
|
|
4980
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
4982
4981
|
|
|
4983
4982
|
var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4984
4983
|
...base_executor_untyped_default,
|
|
@@ -5051,7 +5050,7 @@ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void
|
|
|
5051
5050
|
});
|
|
5052
5051
|
|
|
5053
5052
|
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
5054
|
-
|
|
5053
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
5055
5054
|
|
|
5056
5055
|
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5057
5056
|
...base_executor_untyped_default,
|
|
@@ -5203,7 +5202,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
5203
5202
|
});
|
|
5204
5203
|
|
|
5205
5204
|
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
5206
|
-
|
|
5205
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
5207
5206
|
|
|
5208
5207
|
var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5209
5208
|
...base_generator_untyped_default,
|
|
@@ -5309,42 +5308,42 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
|
|
|
5309
5308
|
});
|
|
5310
5309
|
|
|
5311
5310
|
// ../workspace-tools/src/release/index.ts
|
|
5312
|
-
|
|
5311
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
5313
5312
|
|
|
5314
5313
|
// ../workspace-tools/src/release/js-version-actions.ts
|
|
5315
|
-
|
|
5314
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
5316
5315
|
var _versionactionsjs = require('@nx/js/src/release/version-actions.js'); var _versionactionsjs2 = _interopRequireDefault(_versionactionsjs);
|
|
5317
5316
|
|
|
5318
5317
|
// ../workspace-tools/src/release/rust-version-actions.ts
|
|
5319
|
-
|
|
5318
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
5320
5319
|
|
|
5321
5320
|
|
|
5322
5321
|
|
|
5323
5322
|
var _release = require('nx/release');
|
|
5324
5323
|
|
|
5325
5324
|
// ../workspace-tools/src/utils/registry-helpers.ts
|
|
5326
|
-
|
|
5325
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
5327
5326
|
|
|
5328
5327
|
|
|
5329
5328
|
// ../workspace-tools/src/types.ts
|
|
5330
|
-
|
|
5329
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
5331
5330
|
|
|
5332
5331
|
// ../workspace-tools/src/utils/index.ts
|
|
5333
|
-
|
|
5332
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
5334
5333
|
|
|
5335
5334
|
// ../workspace-tools/src/utils/apply-workspace-tokens.ts
|
|
5336
|
-
|
|
5335
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
5337
5336
|
|
|
5338
5337
|
// ../workspace-tools/src/utils/create-cli-options.ts
|
|
5339
|
-
|
|
5338
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
5340
5339
|
|
|
5341
5340
|
|
|
5342
5341
|
// ../workspace-tools/src/utils/get-project-configurations.ts
|
|
5343
|
-
|
|
5342
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
5344
5343
|
var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
|
|
5345
5344
|
|
|
5346
5345
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
5347
|
-
|
|
5346
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
5348
5347
|
|
|
5349
5348
|
|
|
5350
5349
|
|
|
@@ -5372,10 +5371,10 @@ var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE
|
|
|
5372
5371
|
var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
|
|
5373
5372
|
|
|
5374
5373
|
// ../workspace-tools/src/utils/nx-json.ts
|
|
5375
|
-
|
|
5374
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
5376
5375
|
|
|
5377
5376
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
5378
|
-
|
|
5377
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
5379
5378
|
|
|
5380
5379
|
|
|
5381
5380
|
|
|
@@ -5384,7 +5383,7 @@ _chunk7NCOB2OSjs.init_cjs_shims.call(void 0, );
|
|
|
5384
5383
|
|
|
5385
5384
|
|
|
5386
5385
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
5387
|
-
|
|
5386
|
+
_chunkLORECAU5js.init_cjs_shims.call(void 0, );
|
|
5388
5387
|
var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
|
|
5389
5388
|
|
|
5390
5389
|
// src/generators/init/generator.ts
|