@storm-software/projen 0.21.343 → 0.21.344
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 +8 -0
- package/dist/{chunk-OTOH76J7.mjs → chunk-AFKHK3LE.mjs} +1 -1
- package/dist/{chunk-ZKTQCQWY.mjs → chunk-PRGU4QIO.mjs} +2 -2
- package/dist/{chunk-RDKIGST4.mjs → chunk-QBSYHU6M.mjs} +2 -2
- package/dist/{chunk-BTKJKX6R.js → chunk-QKAYJQDT.js} +2 -2
- package/dist/{chunk-2IFYHE4M.mjs → chunk-S7TAQIE4.mjs} +1 -1
- package/dist/{chunk-VV66XT3F.js → chunk-S7VIXL5Y.js} +2 -2
- package/dist/{chunk-V6JP3RPM.js → chunk-VMP7KQEX.js} +182 -182
- package/dist/{chunk-OVVBGEAU.mjs → chunk-WH6S2XCY.mjs} +1 -1
- package/dist/chunk-YNL4INSC.js +6 -0
- package/dist/{chunk-6LDNG2MF.js → chunk-ZIQATTZ2.js} +3 -3
- 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-EEL7OLNU.js +0 -6
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkS7VIXL5Yjs = require('./chunk-S7VIXL5Y.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkQKAYJQDTjs = require('./chunk-QKAYJQDT.js');
|
|
10
10
|
|
|
11
11
|
// src/generators/init/generator.ts
|
|
12
|
-
|
|
12
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -18,28 +18,28 @@ _chunkBTKJKX6Rjs.init_cjs_shims.call(void 0, );
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
|
|
20
20
|
// ../workspace-tools/index.ts
|
|
21
|
-
|
|
21
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
22
22
|
|
|
23
23
|
// ../workspace-tools/executors.ts
|
|
24
|
-
|
|
24
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
25
25
|
|
|
26
26
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
27
|
-
|
|
27
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
28
28
|
|
|
29
29
|
// ../workspace-tools/src/base/base-executor.ts
|
|
30
|
-
|
|
30
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
31
31
|
|
|
32
32
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
33
|
-
|
|
33
|
+
_chunkQKAYJQDTjs.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
|
+
_chunkQKAYJQDTjs.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
|
+
_chunkQKAYJQDTjs.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
|
+
_chunkQKAYJQDTjs.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
|
+
_chunkQKAYJQDTjs.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
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
174
174
|
|
|
175
175
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
176
|
-
|
|
176
|
+
_chunkQKAYJQDTjs.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
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
203
203
|
var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
|
|
204
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
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
209
209
|
var getLogLevel = (label) => {
|
|
210
210
|
switch (label) {
|
|
211
211
|
case "all":
|
|
@@ -432,13 +432,13 @@ var _isFunction = (value) => {
|
|
|
432
432
|
var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
|
|
433
433
|
|
|
434
434
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
435
|
-
|
|
435
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
436
436
|
|
|
437
437
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
438
|
-
|
|
438
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
439
439
|
|
|
440
440
|
// ../config-tools/src/utilities/find-up.ts
|
|
441
|
-
|
|
441
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
442
442
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
443
443
|
var _path = require('path'); var path2 = _interopRequireWildcard(_path);
|
|
444
444
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
@@ -507,11 +507,11 @@ var rootDirectories = [
|
|
|
507
507
|
];
|
|
508
508
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
509
509
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
510
|
-
return
|
|
510
|
+
return _chunkS7VIXL5Yjs.correctPaths.call(void 0,
|
|
511
511
|
_nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH))
|
|
512
512
|
);
|
|
513
513
|
}
|
|
514
|
-
return
|
|
514
|
+
return _chunkS7VIXL5Yjs.correctPaths.call(void 0,
|
|
515
515
|
findFolderUp(
|
|
516
516
|
_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())),
|
|
517
517
|
rootFiles,
|
|
@@ -606,13 +606,13 @@ var applyWorkspaceTokens = async (options, tokenParams, tokenizerFn) => {
|
|
|
606
606
|
};
|
|
607
607
|
|
|
608
608
|
// ../config-tools/src/utilities/get-default-config.ts
|
|
609
|
-
|
|
609
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
610
610
|
|
|
611
611
|
// ../config/src/index.ts
|
|
612
|
-
|
|
612
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
613
613
|
|
|
614
614
|
// ../config/src/constants.ts
|
|
615
|
-
|
|
615
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
616
616
|
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
617
617
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
618
618
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
@@ -649,10 +649,10 @@ var COLOR_KEYS = [
|
|
|
649
649
|
];
|
|
650
650
|
|
|
651
651
|
// ../config/src/define-config.ts
|
|
652
|
-
|
|
652
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
653
653
|
|
|
654
654
|
// ../config/src/schema.ts
|
|
655
|
-
|
|
655
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
656
656
|
var _mini = require('zod/v4/mini'); var z = _interopRequireWildcard(_mini);
|
|
657
657
|
var schemaRegistry = z.registry();
|
|
658
658
|
var colorSchema = z.string().check(
|
|
@@ -1235,7 +1235,7 @@ async function getPackageJsonConfig(root) {
|
|
|
1235
1235
|
const workspaceRoot2 = findWorkspaceRoot(root);
|
|
1236
1236
|
if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot2, "package.json"))) {
|
|
1237
1237
|
const file = await _promises.readFile.call(void 0,
|
|
1238
|
-
|
|
1238
|
+
_chunkS7VIXL5Yjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
1239
1239
|
"utf8"
|
|
1240
1240
|
);
|
|
1241
1241
|
if (file) {
|
|
@@ -1309,7 +1309,7 @@ function applyDefaultConfig(config) {
|
|
|
1309
1309
|
}
|
|
1310
1310
|
|
|
1311
1311
|
// ../config-tools/src/utilities/toml.ts
|
|
1312
|
-
|
|
1312
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
1313
1313
|
var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
|
|
1314
1314
|
function parseCargoToml(cargoString) {
|
|
1315
1315
|
if (!cargoString) {
|
|
@@ -1331,7 +1331,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1331
1331
|
envName: _optionalChain([fileName, 'optionalAccess', _38 => _38.toUpperCase, 'call', _39 => _39()]),
|
|
1332
1332
|
jitiOptions: {
|
|
1333
1333
|
debug: false,
|
|
1334
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1334
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkS7VIXL5Yjs.joinPaths.call(void 0,
|
|
1335
1335
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1336
1336
|
"jiti"
|
|
1337
1337
|
)
|
|
@@ -1345,7 +1345,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1345
1345
|
envName: _optionalChain([fileName, 'optionalAccess', _40 => _40.toUpperCase, 'call', _41 => _41()]),
|
|
1346
1346
|
jitiOptions: {
|
|
1347
1347
|
debug: false,
|
|
1348
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1348
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkS7VIXL5Yjs.joinPaths.call(void 0,
|
|
1349
1349
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1350
1350
|
"jiti"
|
|
1351
1351
|
)
|
|
@@ -1397,12 +1397,12 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
1397
1397
|
};
|
|
1398
1398
|
|
|
1399
1399
|
// ../config-tools/src/create-storm-config.ts
|
|
1400
|
-
|
|
1400
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
1401
1401
|
|
|
1402
1402
|
|
|
1403
1403
|
|
|
1404
1404
|
// ../config-tools/src/env/get-env.ts
|
|
1405
|
-
|
|
1405
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
1406
1406
|
var getExtensionEnv = (extensionName) => {
|
|
1407
1407
|
const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
|
|
1408
1408
|
return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
|
|
@@ -1464,15 +1464,15 @@ var getConfigEnv = () => {
|
|
|
1464
1464
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
1465
1465
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
1466
1466
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
1467
|
-
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ?
|
|
1468
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
1467
|
+
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ? _chunkS7VIXL5Yjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_CONFIG_FILE`]) : void 0,
|
|
1468
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkS7VIXL5Yjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
1469
1469
|
directories: {
|
|
1470
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
1471
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
1472
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
1473
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
1474
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
1475
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
1470
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkS7VIXL5Yjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkS7VIXL5Yjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
1471
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkS7VIXL5Yjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkS7VIXL5Yjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
1472
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkS7VIXL5Yjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkS7VIXL5Yjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
1473
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkS7VIXL5Yjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkS7VIXL5Yjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
1474
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkS7VIXL5Yjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkS7VIXL5Yjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
1475
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkS7VIXL5Yjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkS7VIXL5Yjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
|
|
1476
1476
|
},
|
|
1477
1477
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
1478
1478
|
mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -1619,7 +1619,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1619
1619
|
};
|
|
1620
1620
|
|
|
1621
1621
|
// ../config-tools/src/env/set-env.ts
|
|
1622
|
-
|
|
1622
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
1623
1623
|
var setExtensionEnv = (extensionName, extension) => {
|
|
1624
1624
|
for (const key of Object.keys(_nullishCoalesce(extension, () => ( {})))) {
|
|
1625
1625
|
if (extension[key]) {
|
|
@@ -1767,42 +1767,42 @@ var setConfigEnv = (config) => {
|
|
|
1767
1767
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
1768
1768
|
}
|
|
1769
1769
|
if (config.configFile) {
|
|
1770
|
-
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] =
|
|
1770
|
+
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] = _chunkS7VIXL5Yjs.correctPaths.call(void 0,
|
|
1771
1771
|
config.configFile
|
|
1772
1772
|
);
|
|
1773
1773
|
}
|
|
1774
1774
|
if (config.workspaceRoot) {
|
|
1775
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
1776
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
1777
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
1775
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkS7VIXL5Yjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1776
|
+
process.env.NX_WORKSPACE_ROOT = _chunkS7VIXL5Yjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1777
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkS7VIXL5Yjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1778
1778
|
}
|
|
1779
1779
|
if (config.directories) {
|
|
1780
1780
|
if (!config.skipCache && config.directories.cache) {
|
|
1781
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
1781
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkS7VIXL5Yjs.correctPaths.call(void 0,
|
|
1782
1782
|
config.directories.cache
|
|
1783
1783
|
);
|
|
1784
1784
|
process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
|
|
1785
1785
|
}
|
|
1786
1786
|
if (config.directories.data) {
|
|
1787
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
1787
|
+
process.env[`${prefix}DATA_DIR`] = _chunkS7VIXL5Yjs.correctPaths.call(void 0, config.directories.data);
|
|
1788
1788
|
process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
|
|
1789
1789
|
}
|
|
1790
1790
|
if (config.directories.config) {
|
|
1791
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
1791
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkS7VIXL5Yjs.correctPaths.call(void 0,
|
|
1792
1792
|
config.directories.config
|
|
1793
1793
|
);
|
|
1794
1794
|
process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
|
|
1795
1795
|
}
|
|
1796
1796
|
if (config.directories.temp) {
|
|
1797
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
1797
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkS7VIXL5Yjs.correctPaths.call(void 0, config.directories.temp);
|
|
1798
1798
|
process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
|
|
1799
1799
|
}
|
|
1800
1800
|
if (config.directories.log) {
|
|
1801
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
1801
|
+
process.env[`${prefix}LOG_DIR`] = _chunkS7VIXL5Yjs.correctPaths.call(void 0, config.directories.log);
|
|
1802
1802
|
process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
|
|
1803
1803
|
}
|
|
1804
1804
|
if (config.directories.build) {
|
|
1805
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
1805
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkS7VIXL5Yjs.correctPaths.call(void 0,
|
|
1806
1806
|
config.directories.build
|
|
1807
1807
|
);
|
|
1808
1808
|
process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
|
|
@@ -2030,7 +2030,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot2, s
|
|
|
2030
2030
|
defaultConfig
|
|
2031
2031
|
);
|
|
2032
2032
|
if (!configInput.variant) {
|
|
2033
|
-
configInput.variant = _fs.existsSync.call(void 0,
|
|
2033
|
+
configInput.variant = _fs.existsSync.call(void 0, _chunkS7VIXL5Yjs.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkS7VIXL5Yjs.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkS7VIXL5Yjs.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkS7VIXL5Yjs.joinPaths.call(void 0, _workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
|
|
2034
2034
|
}
|
|
2035
2035
|
try {
|
|
2036
2036
|
const parseResult = await Promise.resolve(
|
|
@@ -2100,7 +2100,7 @@ ${formatLogMessage(config)}`,
|
|
|
2100
2100
|
};
|
|
2101
2101
|
|
|
2102
2102
|
// ../config-tools/src/get-config.ts
|
|
2103
|
-
|
|
2103
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2104
2104
|
function getConfig(workspaceRoot2, skipLogs = false) {
|
|
2105
2105
|
return loadStormWorkspaceConfig(workspaceRoot2, skipLogs);
|
|
2106
2106
|
}
|
|
@@ -2238,7 +2238,7 @@ var _isFunction2 = (value) => {
|
|
|
2238
2238
|
};
|
|
2239
2239
|
|
|
2240
2240
|
// ../workspace-tools/src/utils/cargo.ts
|
|
2241
|
-
|
|
2241
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2242
2242
|
|
|
2243
2243
|
|
|
2244
2244
|
|
|
@@ -2388,7 +2388,7 @@ var executor_default = withRunExecutor(
|
|
|
2388
2388
|
);
|
|
2389
2389
|
|
|
2390
2390
|
// ../workspace-tools/src/executors/cargo-check/executor.ts
|
|
2391
|
-
|
|
2391
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2392
2392
|
async function cargoCheckExecutor(options, context) {
|
|
2393
2393
|
const command = buildCargoCommand("check", options, context);
|
|
2394
2394
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2408,7 +2408,7 @@ var executor_default2 = withRunExecutor(
|
|
|
2408
2408
|
);
|
|
2409
2409
|
|
|
2410
2410
|
// ../workspace-tools/src/executors/cargo-clippy/executor.ts
|
|
2411
|
-
|
|
2411
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2412
2412
|
async function cargoClippyExecutor(options, context) {
|
|
2413
2413
|
const command = buildCargoCommand("clippy", options, context);
|
|
2414
2414
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2429,7 +2429,7 @@ var executor_default3 = withRunExecutor(
|
|
|
2429
2429
|
);
|
|
2430
2430
|
|
|
2431
2431
|
// ../workspace-tools/src/executors/cargo-doc/executor.ts
|
|
2432
|
-
|
|
2432
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2433
2433
|
async function cargoDocExecutor(options, context) {
|
|
2434
2434
|
const opts = { ...options };
|
|
2435
2435
|
opts["no-deps"] = opts.noDeps;
|
|
@@ -2459,7 +2459,7 @@ var executor_default4 = withRunExecutor(
|
|
|
2459
2459
|
);
|
|
2460
2460
|
|
|
2461
2461
|
// ../workspace-tools/src/executors/cargo-format/executor.ts
|
|
2462
|
-
|
|
2462
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2463
2463
|
async function cargoFormatExecutor(options, context) {
|
|
2464
2464
|
const command = buildCargoCommand("fmt", options, context);
|
|
2465
2465
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2480,19 +2480,19 @@ var executor_default5 = withRunExecutor(
|
|
|
2480
2480
|
);
|
|
2481
2481
|
|
|
2482
2482
|
// ../workspace-tools/src/executors/cargo-publish/executor.ts
|
|
2483
|
-
|
|
2483
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2484
2484
|
|
|
2485
2485
|
|
|
2486
2486
|
|
|
2487
2487
|
var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
2488
2488
|
|
|
2489
2489
|
// ../workspace-tools/src/executors/command-publish/executor.ts
|
|
2490
|
-
|
|
2490
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2491
2491
|
|
|
2492
2492
|
|
|
2493
2493
|
|
|
2494
2494
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
2495
|
-
|
|
2495
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2496
2496
|
var _jiti = require('jiti');
|
|
2497
2497
|
async function esbuildExecutorFn(options, context, config) {
|
|
2498
2498
|
writeInfo("\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
@@ -2502,7 +2502,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
2502
2502
|
);
|
|
2503
2503
|
}
|
|
2504
2504
|
const jiti = _jiti.createJiti.call(void 0, _optionalChain([config, 'optionalAccess', _114 => _114.workspaceRoot]) || process.cwd(), {
|
|
2505
|
-
fsCache: _optionalChain([config, 'optionalAccess', _115 => _115.skipCache]) ? false :
|
|
2505
|
+
fsCache: _optionalChain([config, 'optionalAccess', _115 => _115.skipCache]) ? false : _chunkS7VIXL5Yjs.joinPaths.call(void 0,
|
|
2506
2506
|
_optionalChain([config, 'optionalAccess', _116 => _116.workspaceRoot]) || process.cwd(),
|
|
2507
2507
|
_optionalChain([config, 'optionalAccess', _117 => _117.directories, 'optionalAccess', _118 => _118.cache]) || "node_modules/.cache/storm",
|
|
2508
2508
|
"jiti"
|
|
@@ -2542,12 +2542,12 @@ var executor_default6 = withRunExecutor(
|
|
|
2542
2542
|
);
|
|
2543
2543
|
|
|
2544
2544
|
// ../workspace-tools/src/executors/napi/executor.ts
|
|
2545
|
-
|
|
2545
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2546
2546
|
|
|
2547
2547
|
var _fileutils = require('nx/src/utils/fileutils');
|
|
2548
2548
|
async function napiExecutor(options, context, config) {
|
|
2549
2549
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
2550
|
-
fsCache: config.skipCache ? false :
|
|
2550
|
+
fsCache: config.skipCache ? false : _chunkS7VIXL5Yjs.joinPaths.call(void 0,
|
|
2551
2551
|
config.workspaceRoot,
|
|
2552
2552
|
config.directories.cache || "node_modules/.cache/storm",
|
|
2553
2553
|
"jiti"
|
|
@@ -2563,52 +2563,52 @@ async function napiExecutor(options, context, config) {
|
|
|
2563
2563
|
);
|
|
2564
2564
|
}
|
|
2565
2565
|
const projectRoot = _optionalChain([context, 'access', _130 => _130.projectGraph, 'optionalAccess', _131 => _131.nodes, 'access', _132 => _132[_nullishCoalesce(context.projectName, () => ( ""))], 'optionalAccess', _133 => _133.data, 'access', _134 => _134.root]);
|
|
2566
|
-
const packageJson =
|
|
2566
|
+
const packageJson = _chunkS7VIXL5Yjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
2567
2567
|
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
2568
2568
|
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
2569
2569
|
}
|
|
2570
2570
|
const napi = new NapiCli();
|
|
2571
2571
|
const normalizedOptions = { ...options };
|
|
2572
2572
|
const metadata = cargoMetadata();
|
|
2573
|
-
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _135 => _135.target_directory]) ||
|
|
2573
|
+
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _135 => _135.target_directory]) || _chunkS7VIXL5Yjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
|
|
2574
2574
|
normalizedOptions.outputDir = options.outputPath;
|
|
2575
2575
|
normalizedOptions.packageJsonPath ??= packageJson;
|
|
2576
2576
|
if (options.cwd) {
|
|
2577
|
-
normalizedOptions.cwd =
|
|
2577
|
+
normalizedOptions.cwd = _chunkS7VIXL5Yjs.correctPaths.call(void 0, options.cwd);
|
|
2578
2578
|
} else {
|
|
2579
|
-
const absoluteProjectRoot =
|
|
2580
|
-
|
|
2579
|
+
const absoluteProjectRoot = _chunkS7VIXL5Yjs.correctPaths.call(void 0,
|
|
2580
|
+
_chunkS7VIXL5Yjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
|
|
2581
2581
|
);
|
|
2582
2582
|
normalizedOptions.cwd = absoluteProjectRoot;
|
|
2583
2583
|
if (normalizedOptions.outputDir) {
|
|
2584
|
-
normalizedOptions.outputDir =
|
|
2584
|
+
normalizedOptions.outputDir = _chunkS7VIXL5Yjs.relative.call(void 0,
|
|
2585
2585
|
normalizedOptions.cwd,
|
|
2586
|
-
|
|
2587
|
-
|
|
2586
|
+
_chunkS7VIXL5Yjs.correctPaths.call(void 0,
|
|
2587
|
+
_chunkS7VIXL5Yjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkS7VIXL5Yjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
|
|
2588
2588
|
)
|
|
2589
2589
|
);
|
|
2590
2590
|
}
|
|
2591
2591
|
if (normalizedOptions.packageJsonPath) {
|
|
2592
|
-
normalizedOptions.packageJsonPath =
|
|
2592
|
+
normalizedOptions.packageJsonPath = _chunkS7VIXL5Yjs.relative.call(void 0,
|
|
2593
2593
|
normalizedOptions.cwd,
|
|
2594
|
-
|
|
2595
|
-
|
|
2594
|
+
_chunkS7VIXL5Yjs.correctPaths.call(void 0,
|
|
2595
|
+
_chunkS7VIXL5Yjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkS7VIXL5Yjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
2596
2596
|
)
|
|
2597
2597
|
);
|
|
2598
2598
|
}
|
|
2599
2599
|
if (normalizedOptions.configPath) {
|
|
2600
|
-
normalizedOptions.configPath =
|
|
2600
|
+
normalizedOptions.configPath = _chunkS7VIXL5Yjs.relative.call(void 0,
|
|
2601
2601
|
normalizedOptions.cwd,
|
|
2602
|
-
|
|
2603
|
-
|
|
2602
|
+
_chunkS7VIXL5Yjs.correctPaths.call(void 0,
|
|
2603
|
+
_chunkS7VIXL5Yjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkS7VIXL5Yjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
|
|
2604
2604
|
)
|
|
2605
2605
|
);
|
|
2606
2606
|
}
|
|
2607
2607
|
if (normalizedOptions.manifestPath) {
|
|
2608
|
-
normalizedOptions.manifestPath =
|
|
2608
|
+
normalizedOptions.manifestPath = _chunkS7VIXL5Yjs.relative.call(void 0,
|
|
2609
2609
|
normalizedOptions.cwd,
|
|
2610
|
-
|
|
2611
|
-
|
|
2610
|
+
_chunkS7VIXL5Yjs.correctPaths.call(void 0,
|
|
2611
|
+
_chunkS7VIXL5Yjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkS7VIXL5Yjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
|
|
2612
2612
|
)
|
|
2613
2613
|
);
|
|
2614
2614
|
}
|
|
@@ -2651,7 +2651,7 @@ var executor_default7 = withRunExecutor(
|
|
|
2651
2651
|
);
|
|
2652
2652
|
|
|
2653
2653
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
2654
|
-
|
|
2654
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2655
2655
|
|
|
2656
2656
|
|
|
2657
2657
|
|
|
@@ -2659,12 +2659,12 @@ var _prettier = require('prettier');
|
|
|
2659
2659
|
var _prettierpluginpackagejson = require('prettier-plugin-packagejson'); var _prettierpluginpackagejson2 = _interopRequireDefault(_prettierpluginpackagejson);
|
|
2660
2660
|
|
|
2661
2661
|
// ../workspace-tools/src/utils/github.ts
|
|
2662
|
-
|
|
2662
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2663
2663
|
|
|
2664
2664
|
var _url = require('url');
|
|
2665
2665
|
|
|
2666
2666
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
2667
|
-
|
|
2667
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2668
2668
|
|
|
2669
2669
|
|
|
2670
2670
|
|
|
@@ -2679,10 +2679,10 @@ _chunkBTKJKX6Rjs.init_cjs_shims.call(void 0, );
|
|
|
2679
2679
|
|
|
2680
2680
|
|
|
2681
2681
|
// ../workspace-tools/src/utils/project-tags.ts
|
|
2682
|
-
|
|
2682
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2683
2683
|
|
|
2684
2684
|
// ../package-constants/src/tags.ts
|
|
2685
|
-
|
|
2685
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2686
2686
|
var ProjectTagConstants = {
|
|
2687
2687
|
Language: {
|
|
2688
2688
|
TAG_ID: "language",
|
|
@@ -2758,20 +2758,20 @@ var addProjectTag = (project, variant, value, options = {
|
|
|
2758
2758
|
};
|
|
2759
2759
|
|
|
2760
2760
|
// ../workspace-tools/src/utils/package-manager.ts
|
|
2761
|
-
|
|
2761
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2762
2762
|
|
|
2763
2763
|
|
|
2764
2764
|
|
|
2765
2765
|
|
|
2766
2766
|
|
|
2767
2767
|
// ../workspace-tools/src/executors/npm-publish/publish-status.ts
|
|
2768
|
-
|
|
2768
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2769
2769
|
|
|
2770
2770
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
2771
2771
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
2772
2772
|
|
|
2773
2773
|
// ../workspace-tools/src/executors/size-limit/executor.ts
|
|
2774
|
-
|
|
2774
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2775
2775
|
|
|
2776
2776
|
var _esbuild = require('@size-limit/esbuild'); var _esbuild2 = _interopRequireDefault(_esbuild);
|
|
2777
2777
|
var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
|
|
@@ -2813,10 +2813,10 @@ var executor_default8 = withRunExecutor(
|
|
|
2813
2813
|
);
|
|
2814
2814
|
|
|
2815
2815
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
2816
|
-
|
|
2816
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2817
2817
|
|
|
2818
2818
|
// ../tsdown/src/build.ts
|
|
2819
|
-
|
|
2819
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2820
2820
|
|
|
2821
2821
|
|
|
2822
2822
|
|
|
@@ -2824,44 +2824,44 @@ _chunkBTKJKX6Rjs.init_cjs_shims.call(void 0, );
|
|
|
2824
2824
|
|
|
2825
2825
|
|
|
2826
2826
|
// ../build-tools/src/index.ts
|
|
2827
|
-
|
|
2827
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2828
2828
|
|
|
2829
2829
|
// ../build-tools/src/config.ts
|
|
2830
|
-
|
|
2830
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2831
2831
|
var DEFAULT_ENVIRONMENT = "production";
|
|
2832
2832
|
var DEFAULT_TARGET = "esnext";
|
|
2833
2833
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
2834
2834
|
|
|
2835
2835
|
// ../build-tools/src/plugins/index.ts
|
|
2836
|
-
|
|
2836
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2837
2837
|
|
|
2838
2838
|
// ../build-tools/src/plugins/analyze.ts
|
|
2839
|
-
|
|
2839
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2840
2840
|
|
|
2841
2841
|
// ../build-tools/src/plugins/swc.ts
|
|
2842
|
-
|
|
2842
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2843
2843
|
var _core = require('@swc/core');
|
|
2844
2844
|
|
|
2845
2845
|
// ../build-tools/src/plugins/ts-resolve.ts
|
|
2846
|
-
|
|
2846
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2847
2847
|
|
|
2848
2848
|
var _module = require('module');
|
|
2849
2849
|
|
|
2850
2850
|
var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_resolve2);
|
|
2851
2851
|
|
|
2852
2852
|
// ../build-tools/src/plugins/type-definitions.ts
|
|
2853
|
-
|
|
2853
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2854
2854
|
|
|
2855
2855
|
|
|
2856
2856
|
|
|
2857
2857
|
// ../build-tools/src/types.ts
|
|
2858
|
-
|
|
2858
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2859
2859
|
|
|
2860
2860
|
// ../build-tools/src/utilities/index.ts
|
|
2861
|
-
|
|
2861
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2862
2862
|
|
|
2863
2863
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
2864
|
-
|
|
2864
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2865
2865
|
var _internal = require('@nx/js/internal');
|
|
2866
2866
|
var _glob = require('glob');
|
|
2867
2867
|
|
|
@@ -2893,7 +2893,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
2893
2893
|
}
|
|
2894
2894
|
writeTrace(
|
|
2895
2895
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
2896
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
2896
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkS7VIXL5Yjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
2897
2897
|
config
|
|
2898
2898
|
);
|
|
2899
2899
|
const assetHandler = new (0, _internal.CopyAssetsHandler)({
|
|
@@ -2906,17 +2906,17 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
2906
2906
|
writeTrace("Completed copying assets to the output directory", config);
|
|
2907
2907
|
if (includeSrc === true) {
|
|
2908
2908
|
writeDebug(
|
|
2909
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
2909
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkS7VIXL5Yjs.joinPaths.call(void 0,
|
|
2910
2910
|
outputPath,
|
|
2911
2911
|
"src"
|
|
2912
2912
|
)}`,
|
|
2913
2913
|
config
|
|
2914
2914
|
);
|
|
2915
2915
|
const files = await _glob.glob.call(void 0, [
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2916
|
+
_chunkS7VIXL5Yjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
2917
|
+
_chunkS7VIXL5Yjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
2918
|
+
_chunkS7VIXL5Yjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
2919
|
+
_chunkS7VIXL5Yjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
2920
2920
|
]);
|
|
2921
2921
|
await Promise.allSettled(
|
|
2922
2922
|
files.map(
|
|
@@ -2934,7 +2934,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
2934
2934
|
};
|
|
2935
2935
|
|
|
2936
2936
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
2937
|
-
|
|
2937
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
2938
2938
|
|
|
2939
2939
|
|
|
2940
2940
|
|
|
@@ -2972,7 +2972,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2972
2972
|
)) {
|
|
2973
2973
|
const projectNode = project.node;
|
|
2974
2974
|
if (projectNode.data.root) {
|
|
2975
|
-
const projectPackageJsonPath =
|
|
2975
|
+
const projectPackageJsonPath = _chunkS7VIXL5Yjs.joinPaths.call(void 0,
|
|
2976
2976
|
workspaceRoot2,
|
|
2977
2977
|
projectNode.data.root,
|
|
2978
2978
|
"package.json"
|
|
@@ -2994,7 +2994,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2994
2994
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
2995
2995
|
);
|
|
2996
2996
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
2997
|
-
|
|
2997
|
+
_chunkS7VIXL5Yjs.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
2998
2998
|
"utf8"
|
|
2999
2999
|
);
|
|
3000
3000
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -3007,7 +3007,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
3007
3007
|
}
|
|
3008
3008
|
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _155 => _155.projects, 'optionalAccess', _156 => _156[projectName2], 'access', _157 => _157.implicitDependencies, 'optionalAccess', _158 => _158.reduce, 'call', _159 => _159((ret, dep) => {
|
|
3009
3009
|
if (_optionalChain([projectConfigurations, 'access', _160 => _160.projects, 'optionalAccess', _161 => _161[dep]])) {
|
|
3010
|
-
const depPackageJsonPath =
|
|
3010
|
+
const depPackageJsonPath = _chunkS7VIXL5Yjs.joinPaths.call(void 0,
|
|
3011
3011
|
workspaceRoot2,
|
|
3012
3012
|
projectConfigurations.projects[dep].root,
|
|
3013
3013
|
"package.json"
|
|
@@ -3045,7 +3045,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
3045
3045
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
3046
3046
|
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
|
|
3047
3047
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
3048
|
-
|
|
3048
|
+
_chunkS7VIXL5Yjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
3049
3049
|
"utf8"
|
|
3050
3050
|
);
|
|
3051
3051
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -3056,7 +3056,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
3056
3056
|
if (distSrc.startsWith("/")) {
|
|
3057
3057
|
distSrc = distSrc.substring(1);
|
|
3058
3058
|
}
|
|
3059
|
-
packageJson.source ??= `${
|
|
3059
|
+
packageJson.source ??= `${_chunkS7VIXL5Yjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
3060
3060
|
}
|
|
3061
3061
|
packageJson.files ??= ["dist/**/*"];
|
|
3062
3062
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -3081,7 +3081,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
3081
3081
|
packageJson.contributors = [packageJson.author];
|
|
3082
3082
|
}
|
|
3083
3083
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
3084
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
3084
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkS7VIXL5Yjs.joinPaths.call(void 0, "packages", projectName);
|
|
3085
3085
|
return packageJson;
|
|
3086
3086
|
};
|
|
3087
3087
|
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
@@ -3106,11 +3106,11 @@ var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
|
3106
3106
|
};
|
|
3107
3107
|
|
|
3108
3108
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
3109
|
-
|
|
3109
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
3110
3110
|
|
|
3111
3111
|
|
|
3112
3112
|
// ../build-tools/src/utilities/get-env.ts
|
|
3113
|
-
|
|
3113
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
3114
3114
|
var getEnv = (builder, options) => {
|
|
3115
3115
|
return {
|
|
3116
3116
|
STORM_BUILD: builder,
|
|
@@ -3125,21 +3125,21 @@ var getEnv = (builder, options) => {
|
|
|
3125
3125
|
};
|
|
3126
3126
|
|
|
3127
3127
|
// ../build-tools/src/utilities/get-file-banner.ts
|
|
3128
|
-
|
|
3128
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
3129
3129
|
|
|
3130
3130
|
// ../build-tools/src/utilities/get-out-extension.ts
|
|
3131
|
-
|
|
3131
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
3132
3132
|
|
|
3133
3133
|
// ../build-tools/src/utilities/get-project-deps.ts
|
|
3134
|
-
|
|
3134
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
3135
3135
|
|
|
3136
3136
|
// ../build-tools/src/utilities/read-nx-config.ts
|
|
3137
|
-
|
|
3137
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
3138
3138
|
|
|
3139
3139
|
|
|
3140
3140
|
|
|
3141
3141
|
// ../build-tools/src/utilities/task-graph.ts
|
|
3142
|
-
|
|
3142
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
3143
3143
|
var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
3144
3144
|
|
|
3145
3145
|
// ../tsdown/src/build.ts
|
|
@@ -3149,14 +3149,14 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
|
3149
3149
|
var _tsdown = require('tsdown');
|
|
3150
3150
|
|
|
3151
3151
|
// ../tsdown/src/clean.ts
|
|
3152
|
-
|
|
3152
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
3153
3153
|
|
|
3154
3154
|
async function cleanDirectories(name = "TSDown", directory, config) {
|
|
3155
3155
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
3156
3156
|
}
|
|
3157
3157
|
|
|
3158
3158
|
// ../tsdown/src/config.ts
|
|
3159
|
-
|
|
3159
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
3160
3160
|
function getDefaultOptions(config) {
|
|
3161
3161
|
return {
|
|
3162
3162
|
entry: ["./src/*.ts"],
|
|
@@ -3199,7 +3199,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3199
3199
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
3200
3200
|
exitOnError: true
|
|
3201
3201
|
});
|
|
3202
|
-
const projectJsonPath =
|
|
3202
|
+
const projectJsonPath = _chunkS7VIXL5Yjs.joinPaths.call(void 0,
|
|
3203
3203
|
workspaceRoot2,
|
|
3204
3204
|
options.projectRoot,
|
|
3205
3205
|
"project.json"
|
|
@@ -3216,7 +3216,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3216
3216
|
"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."
|
|
3217
3217
|
);
|
|
3218
3218
|
}
|
|
3219
|
-
const packageJsonPath =
|
|
3219
|
+
const packageJsonPath = _chunkS7VIXL5Yjs.joinPaths.call(void 0,
|
|
3220
3220
|
workspaceRoot2,
|
|
3221
3221
|
options.projectRoot,
|
|
3222
3222
|
"package.json"
|
|
@@ -3225,13 +3225,13 @@ var resolveOptions = async (userOptions) => {
|
|
|
3225
3225
|
throw new Error("Cannot find package.json configuration");
|
|
3226
3226
|
}
|
|
3227
3227
|
const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
|
|
3228
|
-
const sourceRoot = projectJson.sourceRoot ||
|
|
3228
|
+
const sourceRoot = projectJson.sourceRoot || _chunkS7VIXL5Yjs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
3229
3229
|
const result = {
|
|
3230
3230
|
name: projectName,
|
|
3231
3231
|
mode: "production",
|
|
3232
3232
|
target: DEFAULT_TARGET,
|
|
3233
3233
|
generatePackageJson: true,
|
|
3234
|
-
outDir:
|
|
3234
|
+
outDir: _chunkS7VIXL5Yjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
3235
3235
|
minify: !debug,
|
|
3236
3236
|
plugins: [],
|
|
3237
3237
|
assets: [],
|
|
@@ -3242,12 +3242,12 @@ var resolveOptions = async (userOptions) => {
|
|
|
3242
3242
|
clean: false,
|
|
3243
3243
|
fixedExtension: true,
|
|
3244
3244
|
nodeProtocol: true,
|
|
3245
|
-
tsconfig:
|
|
3245
|
+
tsconfig: _chunkS7VIXL5Yjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
|
|
3246
3246
|
debug,
|
|
3247
3247
|
sourceRoot,
|
|
3248
3248
|
cwd: workspaceConfig.workspaceRoot,
|
|
3249
3249
|
entry: {
|
|
3250
|
-
["index"]:
|
|
3250
|
+
["index"]: _chunkS7VIXL5Yjs.joinPaths.call(void 0, sourceRoot, "index.ts")
|
|
3251
3251
|
},
|
|
3252
3252
|
workspace: true,
|
|
3253
3253
|
...options,
|
|
@@ -3266,15 +3266,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
3266
3266
|
return result;
|
|
3267
3267
|
};
|
|
3268
3268
|
async function generatePackageJson(options) {
|
|
3269
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
3269
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkS7VIXL5Yjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
3270
3270
|
writeDebug(" \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
3271
3271
|
const stopwatch = getStopwatch("Write package.json file");
|
|
3272
|
-
const packageJsonPath =
|
|
3272
|
+
const packageJsonPath = _chunkS7VIXL5Yjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
3273
3273
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
3274
3274
|
throw new Error("Cannot find package.json configuration");
|
|
3275
3275
|
}
|
|
3276
3276
|
const packageJsonFile = await _promises2.default.readFile(
|
|
3277
|
-
|
|
3277
|
+
_chunkS7VIXL5Yjs.joinPaths.call(void 0,
|
|
3278
3278
|
options.workspaceConfig.workspaceRoot,
|
|
3279
3279
|
options.projectRoot,
|
|
3280
3280
|
"package.json"
|
|
@@ -3336,7 +3336,7 @@ async function generatePackageJson(options) {
|
|
|
3336
3336
|
},
|
|
3337
3337
|
packageJson.exports
|
|
3338
3338
|
);
|
|
3339
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
3339
|
+
await _devkit.writeJsonFile.call(void 0, _chunkS7VIXL5Yjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
3340
3340
|
stopwatch();
|
|
3341
3341
|
}
|
|
3342
3342
|
return options;
|
|
@@ -3469,7 +3469,7 @@ var executor_default9 = withRunExecutor(
|
|
|
3469
3469
|
);
|
|
3470
3470
|
|
|
3471
3471
|
// ../workspace-tools/src/executors/typia/executor.ts
|
|
3472
|
-
|
|
3472
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
3473
3473
|
var _fsextra = require('fs-extra');
|
|
3474
3474
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
3475
3475
|
async function typiaExecutorFn(options, _, config) {
|
|
@@ -3509,7 +3509,7 @@ var executor_default10 = withRunExecutor(
|
|
|
3509
3509
|
);
|
|
3510
3510
|
|
|
3511
3511
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
3512
|
-
|
|
3512
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
3513
3513
|
|
|
3514
3514
|
|
|
3515
3515
|
async function unbuildExecutorFn(options, context, config) {
|
|
@@ -3530,7 +3530,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3530
3530
|
);
|
|
3531
3531
|
}
|
|
3532
3532
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3533
|
-
fsCache: config.skipCache ? false :
|
|
3533
|
+
fsCache: config.skipCache ? false : _chunkS7VIXL5Yjs.joinPaths.call(void 0,
|
|
3534
3534
|
config.workspaceRoot,
|
|
3535
3535
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3536
3536
|
"jiti"
|
|
@@ -3552,7 +3552,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3552
3552
|
{
|
|
3553
3553
|
stubOptions: {
|
|
3554
3554
|
jiti: {
|
|
3555
|
-
fsCache: config.skipCache ? false :
|
|
3555
|
+
fsCache: config.skipCache ? false : _chunkS7VIXL5Yjs.joinPaths.call(void 0,
|
|
3556
3556
|
config.workspaceRoot,
|
|
3557
3557
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3558
3558
|
"jiti"
|
|
@@ -3601,10 +3601,10 @@ var executor_default11 = withRunExecutor(
|
|
|
3601
3601
|
);
|
|
3602
3602
|
|
|
3603
3603
|
// ../workspace-tools/generators.ts
|
|
3604
|
-
|
|
3604
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
3605
3605
|
|
|
3606
3606
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
3607
|
-
|
|
3607
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
3608
3608
|
|
|
3609
3609
|
|
|
3610
3610
|
|
|
@@ -3613,7 +3613,7 @@ _chunkBTKJKX6Rjs.init_cjs_shims.call(void 0, );
|
|
|
3613
3613
|
|
|
3614
3614
|
|
|
3615
3615
|
// ../workspace-tools/src/base/base-generator.ts
|
|
3616
|
-
|
|
3616
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
3617
3617
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
3618
3618
|
skipReadingConfig: false
|
|
3619
3619
|
}) => async (tree, _options) => {
|
|
@@ -3700,7 +3700,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
3700
3700
|
};
|
|
3701
3701
|
|
|
3702
3702
|
// ../workspace-tools/src/base/typescript-library-generator.ts
|
|
3703
|
-
|
|
3703
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
3704
3704
|
|
|
3705
3705
|
|
|
3706
3706
|
|
|
@@ -3720,7 +3720,7 @@ var _internal3 = require('@nx/devkit/internal');
|
|
|
3720
3720
|
var _js = require('@nx/js');
|
|
3721
3721
|
|
|
3722
3722
|
// ../workspace-tools/src/utils/versions.ts
|
|
3723
|
-
|
|
3723
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
3724
3724
|
var typesNodeVersion = "20.9.0";
|
|
3725
3725
|
var nxVersion = "^18.0.4";
|
|
3726
3726
|
var nodeVersion = "20.11.0";
|
|
@@ -3753,16 +3753,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3753
3753
|
const projectConfig = {
|
|
3754
3754
|
root: normalized.directory,
|
|
3755
3755
|
projectType: "library",
|
|
3756
|
-
sourceRoot:
|
|
3756
|
+
sourceRoot: _chunkS7VIXL5Yjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
3757
3757
|
targets: {
|
|
3758
3758
|
build: {
|
|
3759
3759
|
executor: options.buildExecutor,
|
|
3760
3760
|
outputs: ["{options.outputPath}"],
|
|
3761
3761
|
options: {
|
|
3762
|
-
entry: [
|
|
3762
|
+
entry: [_chunkS7VIXL5Yjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
|
|
3763
3763
|
outputPath: getOutputPath(normalized),
|
|
3764
|
-
tsconfig:
|
|
3765
|
-
project:
|
|
3764
|
+
tsconfig: _chunkS7VIXL5Yjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
3765
|
+
project: _chunkS7VIXL5Yjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
3766
3766
|
defaultConfiguration: "production",
|
|
3767
3767
|
platform: "neutral",
|
|
3768
3768
|
assets: [
|
|
@@ -3819,7 +3819,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3819
3819
|
if (!normalized.importPath) {
|
|
3820
3820
|
normalized.importPath = normalized.name;
|
|
3821
3821
|
}
|
|
3822
|
-
const packageJsonPath =
|
|
3822
|
+
const packageJsonPath = _chunkS7VIXL5Yjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
3823
3823
|
if (tree.exists(packageJsonPath)) {
|
|
3824
3824
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
3825
3825
|
if (!normalized.importPath) {
|
|
@@ -3905,14 +3905,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3905
3905
|
});
|
|
3906
3906
|
}
|
|
3907
3907
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
3908
|
-
|
|
3908
|
+
_chunkS7VIXL5Yjs.joinPaths.call(void 0,
|
|
3909
3909
|
normalized.projectRoot,
|
|
3910
3910
|
"./src",
|
|
3911
3911
|
`index.${normalized.js ? "js" : "ts"}`
|
|
3912
3912
|
)
|
|
3913
3913
|
]);
|
|
3914
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
3915
|
-
|
|
3914
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkS7VIXL5Yjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
3915
|
+
_chunkS7VIXL5Yjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
3916
3916
|
]);
|
|
3917
3917
|
if (tree.exists("package.json")) {
|
|
3918
3918
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -3923,7 +3923,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3923
3923
|
description = packageJson.description;
|
|
3924
3924
|
}
|
|
3925
3925
|
}
|
|
3926
|
-
const tsconfigPath =
|
|
3926
|
+
const tsconfigPath = _chunkS7VIXL5Yjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
3927
3927
|
if (tree.exists(tsconfigPath)) {
|
|
3928
3928
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
3929
3929
|
json.composite ??= true;
|
|
@@ -3951,7 +3951,7 @@ function getOutputPath(options) {
|
|
|
3951
3951
|
} else {
|
|
3952
3952
|
parts.push(options.projectRoot);
|
|
3953
3953
|
}
|
|
3954
|
-
return
|
|
3954
|
+
return _chunkS7VIXL5Yjs.joinPaths.call(void 0, ...parts);
|
|
3955
3955
|
}
|
|
3956
3956
|
function createProjectTsConfigJson(tree, options) {
|
|
3957
3957
|
const tsconfig = {
|
|
@@ -3959,7 +3959,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
3959
3959
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _223 => _223.tsconfigOptions]), () => ( {})),
|
|
3960
3960
|
compilerOptions: {
|
|
3961
3961
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
3962
|
-
outDir:
|
|
3962
|
+
outDir: _chunkS7VIXL5Yjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
3963
3963
|
noEmit: true,
|
|
3964
3964
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _224 => _224.tsconfigOptions, 'optionalAccess', _225 => _225.compilerOptions]), () => ( {}))
|
|
3965
3965
|
},
|
|
@@ -3977,7 +3977,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
3977
3977
|
"src/**/*.test.ts"
|
|
3978
3978
|
]
|
|
3979
3979
|
};
|
|
3980
|
-
_devkit.writeJson.call(void 0, tree,
|
|
3980
|
+
_devkit.writeJson.call(void 0, tree, _chunkS7VIXL5Yjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
3981
3981
|
}
|
|
3982
3982
|
async function normalizeOptions(tree, options, config) {
|
|
3983
3983
|
let importPath = options.importPath;
|
|
@@ -4042,7 +4042,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
4042
4042
|
|
|
4043
4043
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
4044
4044
|
async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
4045
|
-
const filesDir =
|
|
4045
|
+
const filesDir = _chunkS7VIXL5Yjs.joinPaths.call(void 0,
|
|
4046
4046
|
__dirname,
|
|
4047
4047
|
"src",
|
|
4048
4048
|
"generators",
|
|
@@ -4122,7 +4122,7 @@ var generator_default = withRunGenerator(
|
|
|
4122
4122
|
);
|
|
4123
4123
|
|
|
4124
4124
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
4125
|
-
|
|
4125
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
4126
4126
|
|
|
4127
4127
|
var _zod2 = require('zod'); var z2 = _interopRequireWildcard(_zod2);
|
|
4128
4128
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
@@ -4179,7 +4179,7 @@ var generator_default2 = withRunGenerator(
|
|
|
4179
4179
|
);
|
|
4180
4180
|
|
|
4181
4181
|
// ../workspace-tools/src/generators/init/init.ts
|
|
4182
|
-
|
|
4182
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
4183
4183
|
|
|
4184
4184
|
|
|
4185
4185
|
|
|
@@ -4207,7 +4207,7 @@ async function initGenerator(tree, schema) {
|
|
|
4207
4207
|
}
|
|
4208
4208
|
|
|
4209
4209
|
// ../workspace-tools/src/generators/neutral-library/generator.ts
|
|
4210
|
-
|
|
4210
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
4211
4211
|
|
|
4212
4212
|
|
|
4213
4213
|
|
|
@@ -4215,7 +4215,7 @@ _chunkBTKJKX6Rjs.init_cjs_shims.call(void 0, );
|
|
|
4215
4215
|
|
|
4216
4216
|
|
|
4217
4217
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
4218
|
-
const filesDir =
|
|
4218
|
+
const filesDir = _chunkS7VIXL5Yjs.joinPaths.call(void 0,
|
|
4219
4219
|
__dirname,
|
|
4220
4220
|
"src",
|
|
4221
4221
|
"generators",
|
|
@@ -4267,7 +4267,7 @@ var generator_default3 = withRunGenerator(
|
|
|
4267
4267
|
);
|
|
4268
4268
|
|
|
4269
4269
|
// ../workspace-tools/src/generators/node-library/generator.ts
|
|
4270
|
-
|
|
4270
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
4271
4271
|
|
|
4272
4272
|
|
|
4273
4273
|
|
|
@@ -4275,7 +4275,7 @@ _chunkBTKJKX6Rjs.init_cjs_shims.call(void 0, );
|
|
|
4275
4275
|
|
|
4276
4276
|
|
|
4277
4277
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
4278
|
-
const filesDir =
|
|
4278
|
+
const filesDir = _chunkS7VIXL5Yjs.joinPaths.call(void 0,
|
|
4279
4279
|
__dirname,
|
|
4280
4280
|
"src",
|
|
4281
4281
|
"generators",
|
|
@@ -4329,7 +4329,7 @@ var generator_default4 = withRunGenerator(
|
|
|
4329
4329
|
);
|
|
4330
4330
|
|
|
4331
4331
|
// ../workspace-tools/src/generators/preset/generator.ts
|
|
4332
|
-
|
|
4332
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
4333
4333
|
|
|
4334
4334
|
|
|
4335
4335
|
|
|
@@ -4342,7 +4342,7 @@ _chunkBTKJKX6Rjs.init_cjs_shims.call(void 0, );
|
|
|
4342
4342
|
|
|
4343
4343
|
|
|
4344
4344
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
4345
|
-
|
|
4345
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
4346
4346
|
|
|
4347
4347
|
|
|
4348
4348
|
|
|
@@ -4617,10 +4617,10 @@ var generator_default5 = withRunGenerator(
|
|
|
4617
4617
|
);
|
|
4618
4618
|
|
|
4619
4619
|
// ../workspace-tools/src/base/index.ts
|
|
4620
|
-
|
|
4620
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
4621
4621
|
|
|
4622
4622
|
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
4623
|
-
|
|
4623
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
4624
4624
|
var _untyped = require('untyped');
|
|
4625
4625
|
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4626
4626
|
$schema: {
|
|
@@ -4639,7 +4639,7 @@ var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4639
4639
|
});
|
|
4640
4640
|
|
|
4641
4641
|
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
4642
|
-
|
|
4642
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
4643
4643
|
|
|
4644
4644
|
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4645
4645
|
$schema: {
|
|
@@ -4657,7 +4657,7 @@ var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4657
4657
|
});
|
|
4658
4658
|
|
|
4659
4659
|
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
4660
|
-
|
|
4660
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
4661
4661
|
|
|
4662
4662
|
var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4663
4663
|
...base_executor_untyped_default,
|
|
@@ -4730,7 +4730,7 @@ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void
|
|
|
4730
4730
|
});
|
|
4731
4731
|
|
|
4732
4732
|
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
4733
|
-
|
|
4733
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
4734
4734
|
|
|
4735
4735
|
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4736
4736
|
...base_executor_untyped_default,
|
|
@@ -4882,7 +4882,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
4882
4882
|
});
|
|
4883
4883
|
|
|
4884
4884
|
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
4885
|
-
|
|
4885
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
4886
4886
|
|
|
4887
4887
|
var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4888
4888
|
...base_generator_untyped_default,
|
|
@@ -4988,45 +4988,45 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
|
|
|
4988
4988
|
});
|
|
4989
4989
|
|
|
4990
4990
|
// ../workspace-tools/src/release/index.ts
|
|
4991
|
-
|
|
4991
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
4992
4992
|
|
|
4993
4993
|
// ../workspace-tools/src/release/js-version-actions.ts
|
|
4994
|
-
|
|
4994
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
4995
4995
|
var _versionactions = require('@nx/js/src/release/version-actions'); var _versionactions2 = _interopRequireDefault(_versionactions);
|
|
4996
4996
|
|
|
4997
4997
|
// ../workspace-tools/src/release/rust-version-actions.ts
|
|
4998
|
-
|
|
4998
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
4999
4999
|
|
|
5000
5000
|
|
|
5001
5001
|
|
|
5002
5002
|
var _release = require('nx/release');
|
|
5003
5003
|
|
|
5004
5004
|
// ../workspace-tools/src/utils/registry-helpers.ts
|
|
5005
|
-
|
|
5005
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
5006
5006
|
|
|
5007
5007
|
|
|
5008
5008
|
// ../workspace-tools/src/types.ts
|
|
5009
|
-
|
|
5009
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
5010
5010
|
|
|
5011
5011
|
// ../package-constants/src/types.ts
|
|
5012
|
-
|
|
5012
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
5013
5013
|
|
|
5014
5014
|
// ../workspace-tools/src/utils/index.ts
|
|
5015
|
-
|
|
5015
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
5016
5016
|
|
|
5017
5017
|
// ../workspace-tools/src/utils/apply-workspace-tokens.ts
|
|
5018
|
-
|
|
5018
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
5019
5019
|
|
|
5020
5020
|
// ../workspace-tools/src/utils/create-cli-options.ts
|
|
5021
|
-
|
|
5021
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
5022
5022
|
|
|
5023
5023
|
|
|
5024
5024
|
// ../workspace-tools/src/utils/get-project-configurations.ts
|
|
5025
|
-
|
|
5025
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
5026
5026
|
var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
|
|
5027
5027
|
|
|
5028
5028
|
// ../workspace-tools/src/utils/nx-json.ts
|
|
5029
|
-
|
|
5029
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
5030
5030
|
|
|
5031
5031
|
// ../workspace-tools/config/recommended.json
|
|
5032
5032
|
var recommended_default = {
|
|
@@ -5275,7 +5275,7 @@ var NAMED_INPUTS = {
|
|
|
5275
5275
|
var RELEASE = recommended_default.release;
|
|
5276
5276
|
|
|
5277
5277
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
5278
|
-
|
|
5278
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
5279
5279
|
|
|
5280
5280
|
|
|
5281
5281
|
|
|
@@ -5284,7 +5284,7 @@ _chunkBTKJKX6Rjs.init_cjs_shims.call(void 0, );
|
|
|
5284
5284
|
|
|
5285
5285
|
|
|
5286
5286
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
5287
|
-
|
|
5287
|
+
_chunkQKAYJQDTjs.init_cjs_shims.call(void 0, );
|
|
5288
5288
|
var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
|
|
5289
5289
|
|
|
5290
5290
|
// src/generators/init/generator.ts
|