@storm-software/projen 0.21.176 → 0.21.177
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 +6 -0
- package/README.md +1 -1
- package/dist/{chunk-AJ537IU4.mjs → chunk-3IEKGEBM.mjs} +2 -2
- package/dist/{chunk-UZ3FU6UH.js → chunk-FKHGX4FZ.js} +199 -199
- package/dist/{chunk-4VHW5V7E.js → chunk-G5NKTYSB.js} +3 -3
- package/dist/chunk-HTHC5JMP.js +6 -0
- package/dist/{chunk-AJ3Q6YJB.mjs → chunk-JY67PKZW.mjs} +1 -1
- package/dist/{chunk-YLJQC4MZ.js → chunk-KDFOWT5R.js} +2 -2
- package/dist/{chunk-II72OEVX.js → chunk-NVWTQQXD.js} +2 -2
- package/dist/{chunk-6E5OSIHE.mjs → chunk-OCQ72GU2.mjs} +1 -1
- package/dist/{chunk-3EPPFB7R.mjs → chunk-OQDHERTF.mjs} +2 -2
- package/dist/{chunk-A5PMUIO4.mjs → chunk-URNMYTJZ.mjs} +1 -1
- 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 +4 -4
- package/dist/chunk-MZRHCK76.js +0 -6
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkNVWTQQXDjs = require('./chunk-NVWTQQXD.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkKDFOWT5Rjs = require('./chunk-KDFOWT5R.js');
|
|
10
10
|
|
|
11
11
|
// src/generators/init/generator.ts
|
|
12
|
-
|
|
12
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -18,28 +18,28 @@ _chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
|
|
20
20
|
// ../workspace-tools/index.ts
|
|
21
|
-
|
|
21
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
22
22
|
|
|
23
23
|
// ../workspace-tools/executors.ts
|
|
24
|
-
|
|
24
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
25
25
|
|
|
26
26
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
27
|
-
|
|
27
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
28
28
|
|
|
29
29
|
// ../workspace-tools/src/base/base-executor.ts
|
|
30
|
-
|
|
30
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
31
31
|
|
|
32
32
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
33
|
-
|
|
33
|
+
_chunkKDFOWT5Rjs.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
|
+
_chunkKDFOWT5Rjs.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
|
+
_chunkKDFOWT5Rjs.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
|
+
_chunkKDFOWT5Rjs.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
|
+
_chunkKDFOWT5Rjs.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
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
174
174
|
|
|
175
175
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
176
|
-
|
|
176
|
+
_chunkKDFOWT5Rjs.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
|
+
_chunkKDFOWT5Rjs.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
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
209
209
|
var getLogLevel = (label) => {
|
|
210
210
|
switch (label) {
|
|
211
211
|
case "all":
|
|
@@ -417,13 +417,13 @@ var _isFunction = (value) => {
|
|
|
417
417
|
var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
|
|
418
418
|
|
|
419
419
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
420
|
-
|
|
420
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
421
421
|
|
|
422
422
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
423
|
-
|
|
423
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
424
424
|
|
|
425
425
|
// ../config-tools/src/utilities/find-up.ts
|
|
426
|
-
|
|
426
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
427
427
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
428
428
|
var _path = require('path'); var path2 = _interopRequireWildcard(_path);
|
|
429
429
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
@@ -490,11 +490,11 @@ var rootDirectories = [
|
|
|
490
490
|
];
|
|
491
491
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
492
492
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
493
|
-
return
|
|
493
|
+
return _chunkNVWTQQXDjs.correctPaths.call(void 0,
|
|
494
494
|
_nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH))
|
|
495
495
|
);
|
|
496
496
|
}
|
|
497
|
-
return
|
|
497
|
+
return _chunkNVWTQQXDjs.correctPaths.call(void 0,
|
|
498
498
|
findFolderUp(
|
|
499
499
|
_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())),
|
|
500
500
|
rootFiles,
|
|
@@ -589,13 +589,13 @@ var applyWorkspaceTokens = async (options, tokenParams, tokenizerFn) => {
|
|
|
589
589
|
};
|
|
590
590
|
|
|
591
591
|
// ../config-tools/src/utilities/get-default-config.ts
|
|
592
|
-
|
|
592
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
593
593
|
|
|
594
594
|
// ../config/src/index.ts
|
|
595
|
-
|
|
595
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
596
596
|
|
|
597
597
|
// ../config/src/constants.ts
|
|
598
|
-
|
|
598
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
599
599
|
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
600
600
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
601
601
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
@@ -614,10 +614,10 @@ var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
|
614
614
|
var STORM_DEFAULT_BANNER_ALT = "The workspace's banner image";
|
|
615
615
|
|
|
616
616
|
// ../config/src/define-config.ts
|
|
617
|
-
|
|
617
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
618
618
|
|
|
619
619
|
// ../config/src/schema.ts
|
|
620
|
-
|
|
620
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
621
621
|
var _mini = require('zod/v4/mini'); var z = _interopRequireWildcard(_mini);
|
|
622
622
|
var schemaRegistry = z.registry();
|
|
623
623
|
var colorSchema = z.string().check(
|
|
@@ -1187,7 +1187,7 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
1187
1187
|
});
|
|
1188
1188
|
|
|
1189
1189
|
// ../config/src/types.ts
|
|
1190
|
-
|
|
1190
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
1191
1191
|
var COLOR_KEYS = [
|
|
1192
1192
|
"dark",
|
|
1193
1193
|
"light",
|
|
@@ -1221,7 +1221,7 @@ async function getPackageJsonConfig(root) {
|
|
|
1221
1221
|
const workspaceRoot2 = findWorkspaceRoot(root);
|
|
1222
1222
|
if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot2, "package.json"))) {
|
|
1223
1223
|
const file = await _promises.readFile.call(void 0,
|
|
1224
|
-
|
|
1224
|
+
_chunkNVWTQQXDjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
1225
1225
|
"utf8"
|
|
1226
1226
|
);
|
|
1227
1227
|
if (file) {
|
|
@@ -1305,7 +1305,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1305
1305
|
envName: _optionalChain([fileName, 'optionalAccess', _38 => _38.toUpperCase, 'call', _39 => _39()]),
|
|
1306
1306
|
jitiOptions: {
|
|
1307
1307
|
debug: false,
|
|
1308
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1308
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
1309
1309
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1310
1310
|
"jiti"
|
|
1311
1311
|
)
|
|
@@ -1319,7 +1319,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1319
1319
|
envName: _optionalChain([fileName, 'optionalAccess', _40 => _40.toUpperCase, 'call', _41 => _41()]),
|
|
1320
1320
|
jitiOptions: {
|
|
1321
1321
|
debug: false,
|
|
1322
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1322
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
1323
1323
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1324
1324
|
"jiti"
|
|
1325
1325
|
)
|
|
@@ -1371,12 +1371,12 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
1371
1371
|
};
|
|
1372
1372
|
|
|
1373
1373
|
// ../config-tools/src/create-storm-config.ts
|
|
1374
|
-
|
|
1374
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
1375
1375
|
|
|
1376
1376
|
|
|
1377
1377
|
|
|
1378
1378
|
// ../config-tools/src/env/get-env.ts
|
|
1379
|
-
|
|
1379
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
1380
1380
|
var getExtensionEnv = (extensionName) => {
|
|
1381
1381
|
const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
|
|
1382
1382
|
return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
|
|
@@ -1438,15 +1438,15 @@ var getConfigEnv = () => {
|
|
|
1438
1438
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
1439
1439
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
1440
1440
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
1441
|
-
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ?
|
|
1442
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
1441
|
+
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ? _chunkNVWTQQXDjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_CONFIG_FILE`]) : void 0,
|
|
1442
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkNVWTQQXDjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
1443
1443
|
directories: {
|
|
1444
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
1445
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
1446
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
1447
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
1448
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
1449
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
1444
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkNVWTQQXDjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkNVWTQQXDjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
1445
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkNVWTQQXDjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkNVWTQQXDjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
1446
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkNVWTQQXDjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkNVWTQQXDjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
1447
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkNVWTQQXDjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkNVWTQQXDjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
1448
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkNVWTQQXDjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkNVWTQQXDjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
1449
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkNVWTQQXDjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkNVWTQQXDjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
|
|
1450
1450
|
},
|
|
1451
1451
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
1452
1452
|
mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -1593,7 +1593,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1593
1593
|
};
|
|
1594
1594
|
|
|
1595
1595
|
// ../config-tools/src/env/set-env.ts
|
|
1596
|
-
|
|
1596
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
1597
1597
|
var setExtensionEnv = (extensionName, extension) => {
|
|
1598
1598
|
for (const key of Object.keys(_nullishCoalesce(extension, () => ( {})))) {
|
|
1599
1599
|
if (extension[key]) {
|
|
@@ -1741,42 +1741,42 @@ var setConfigEnv = (config) => {
|
|
|
1741
1741
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
1742
1742
|
}
|
|
1743
1743
|
if (config.configFile) {
|
|
1744
|
-
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] =
|
|
1744
|
+
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] = _chunkNVWTQQXDjs.correctPaths.call(void 0,
|
|
1745
1745
|
config.configFile
|
|
1746
1746
|
);
|
|
1747
1747
|
}
|
|
1748
1748
|
if (config.workspaceRoot) {
|
|
1749
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
1750
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
1751
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
1749
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkNVWTQQXDjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1750
|
+
process.env.NX_WORKSPACE_ROOT = _chunkNVWTQQXDjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1751
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkNVWTQQXDjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1752
1752
|
}
|
|
1753
1753
|
if (config.directories) {
|
|
1754
1754
|
if (!config.skipCache && config.directories.cache) {
|
|
1755
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
1755
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkNVWTQQXDjs.correctPaths.call(void 0,
|
|
1756
1756
|
config.directories.cache
|
|
1757
1757
|
);
|
|
1758
1758
|
process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
|
|
1759
1759
|
}
|
|
1760
1760
|
if (config.directories.data) {
|
|
1761
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
1761
|
+
process.env[`${prefix}DATA_DIR`] = _chunkNVWTQQXDjs.correctPaths.call(void 0, config.directories.data);
|
|
1762
1762
|
process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
|
|
1763
1763
|
}
|
|
1764
1764
|
if (config.directories.config) {
|
|
1765
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
1765
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkNVWTQQXDjs.correctPaths.call(void 0,
|
|
1766
1766
|
config.directories.config
|
|
1767
1767
|
);
|
|
1768
1768
|
process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
|
|
1769
1769
|
}
|
|
1770
1770
|
if (config.directories.temp) {
|
|
1771
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
1771
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkNVWTQQXDjs.correctPaths.call(void 0, config.directories.temp);
|
|
1772
1772
|
process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
|
|
1773
1773
|
}
|
|
1774
1774
|
if (config.directories.log) {
|
|
1775
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
1775
|
+
process.env[`${prefix}LOG_DIR`] = _chunkNVWTQQXDjs.correctPaths.call(void 0, config.directories.log);
|
|
1776
1776
|
process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
|
|
1777
1777
|
}
|
|
1778
1778
|
if (config.directories.build) {
|
|
1779
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
1779
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkNVWTQQXDjs.correctPaths.call(void 0,
|
|
1780
1780
|
config.directories.build
|
|
1781
1781
|
);
|
|
1782
1782
|
process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
|
|
@@ -2004,7 +2004,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot2, s
|
|
|
2004
2004
|
defaultConfig
|
|
2005
2005
|
);
|
|
2006
2006
|
if (!configInput.variant) {
|
|
2007
|
-
configInput.variant = _fs.existsSync.call(void 0,
|
|
2007
|
+
configInput.variant = _fs.existsSync.call(void 0, _chunkNVWTQQXDjs.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkNVWTQQXDjs.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkNVWTQQXDjs.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkNVWTQQXDjs.joinPaths.call(void 0, _workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
|
|
2008
2008
|
}
|
|
2009
2009
|
try {
|
|
2010
2010
|
const parseResult = await Promise.resolve(
|
|
@@ -2074,7 +2074,7 @@ ${formatLogMessage(config)}`,
|
|
|
2074
2074
|
};
|
|
2075
2075
|
|
|
2076
2076
|
// ../config-tools/src/get-config.ts
|
|
2077
|
-
|
|
2077
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2078
2078
|
function getConfig(workspaceRoot2, skipLogs = false) {
|
|
2079
2079
|
return loadStormWorkspaceConfig(workspaceRoot2, skipLogs);
|
|
2080
2080
|
}
|
|
@@ -2212,7 +2212,7 @@ var _isFunction2 = (value) => {
|
|
|
2212
2212
|
};
|
|
2213
2213
|
|
|
2214
2214
|
// ../workspace-tools/src/utils/cargo.ts
|
|
2215
|
-
|
|
2215
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2216
2216
|
|
|
2217
2217
|
|
|
2218
2218
|
|
|
@@ -2352,7 +2352,7 @@ var executor_default = withRunExecutor(
|
|
|
2352
2352
|
);
|
|
2353
2353
|
|
|
2354
2354
|
// ../workspace-tools/src/executors/cargo-check/executor.ts
|
|
2355
|
-
|
|
2355
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2356
2356
|
async function cargoCheckExecutor(options, context) {
|
|
2357
2357
|
const command = buildCargoCommand("check", options, context);
|
|
2358
2358
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2372,7 +2372,7 @@ var executor_default2 = withRunExecutor(
|
|
|
2372
2372
|
);
|
|
2373
2373
|
|
|
2374
2374
|
// ../workspace-tools/src/executors/cargo-clippy/executor.ts
|
|
2375
|
-
|
|
2375
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2376
2376
|
async function cargoClippyExecutor(options, context) {
|
|
2377
2377
|
const command = buildCargoCommand("clippy", options, context);
|
|
2378
2378
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2393,7 +2393,7 @@ var executor_default3 = withRunExecutor(
|
|
|
2393
2393
|
);
|
|
2394
2394
|
|
|
2395
2395
|
// ../workspace-tools/src/executors/cargo-doc/executor.ts
|
|
2396
|
-
|
|
2396
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2397
2397
|
async function cargoDocExecutor(options, context) {
|
|
2398
2398
|
const opts = { ...options };
|
|
2399
2399
|
opts["no-deps"] = opts.noDeps;
|
|
@@ -2423,7 +2423,7 @@ var executor_default4 = withRunExecutor(
|
|
|
2423
2423
|
);
|
|
2424
2424
|
|
|
2425
2425
|
// ../workspace-tools/src/executors/cargo-format/executor.ts
|
|
2426
|
-
|
|
2426
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2427
2427
|
async function cargoFormatExecutor(options, context) {
|
|
2428
2428
|
const command = buildCargoCommand("fmt", options, context);
|
|
2429
2429
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2444,7 +2444,7 @@ var executor_default5 = withRunExecutor(
|
|
|
2444
2444
|
);
|
|
2445
2445
|
|
|
2446
2446
|
// ../workspace-tools/src/executors/cargo-publish/executor.ts
|
|
2447
|
-
|
|
2447
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2448
2448
|
|
|
2449
2449
|
|
|
2450
2450
|
|
|
@@ -2452,19 +2452,19 @@ var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
|
2452
2452
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
2453
2453
|
|
|
2454
2454
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
2455
|
-
|
|
2455
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2456
2456
|
|
|
2457
2457
|
// ../esbuild/src/build.ts
|
|
2458
|
-
|
|
2458
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2459
2459
|
|
|
2460
2460
|
// ../esbuild/src/assets.ts
|
|
2461
|
-
|
|
2461
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2462
2462
|
|
|
2463
2463
|
// ../build-tools/src/index.ts
|
|
2464
|
-
|
|
2464
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2465
2465
|
|
|
2466
2466
|
// ../build-tools/src/config.ts
|
|
2467
|
-
|
|
2467
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2468
2468
|
var DEFAULT_JS_BANNER = `
|
|
2469
2469
|
// ---------------------------------------
|
|
2470
2470
|
// \u{1F5F2} Built by Storm Software
|
|
@@ -2480,35 +2480,35 @@ var DEFAULT_TARGET = "esnext";
|
|
|
2480
2480
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
2481
2481
|
|
|
2482
2482
|
// ../build-tools/src/plugins/index.ts
|
|
2483
|
-
|
|
2483
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2484
2484
|
|
|
2485
2485
|
// ../build-tools/src/plugins/analyze.ts
|
|
2486
|
-
|
|
2486
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2487
2487
|
|
|
2488
2488
|
// ../build-tools/src/plugins/swc.ts
|
|
2489
|
-
|
|
2489
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2490
2490
|
var _core = require('@swc/core');
|
|
2491
2491
|
|
|
2492
2492
|
// ../build-tools/src/plugins/ts-resolve.ts
|
|
2493
|
-
|
|
2493
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2494
2494
|
|
|
2495
2495
|
var _module = require('module');
|
|
2496
2496
|
|
|
2497
2497
|
var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_resolve2);
|
|
2498
2498
|
|
|
2499
2499
|
// ../build-tools/src/plugins/type-definitions.ts
|
|
2500
|
-
|
|
2500
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2501
2501
|
|
|
2502
2502
|
|
|
2503
2503
|
|
|
2504
2504
|
// ../build-tools/src/types.ts
|
|
2505
|
-
|
|
2505
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2506
2506
|
|
|
2507
2507
|
// ../build-tools/src/utilities/index.ts
|
|
2508
|
-
|
|
2508
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2509
2509
|
|
|
2510
2510
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
2511
|
-
|
|
2511
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2512
2512
|
var _copyassetshandler = require('@nx/js/src/utils/assets/copy-assets-handler');
|
|
2513
2513
|
var _glob = require('glob');
|
|
2514
2514
|
|
|
@@ -2540,7 +2540,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
2540
2540
|
}
|
|
2541
2541
|
writeTrace(
|
|
2542
2542
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
2543
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
2543
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkNVWTQQXDjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
2544
2544
|
config
|
|
2545
2545
|
);
|
|
2546
2546
|
const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
|
|
@@ -2553,17 +2553,17 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
2553
2553
|
writeTrace("Completed copying assets to the output directory", config);
|
|
2554
2554
|
if (includeSrc === true) {
|
|
2555
2555
|
writeDebug(
|
|
2556
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
2556
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
2557
2557
|
outputPath,
|
|
2558
2558
|
"src"
|
|
2559
2559
|
)}`,
|
|
2560
2560
|
config
|
|
2561
2561
|
);
|
|
2562
2562
|
const files = await _glob.glob.call(void 0, [
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2563
|
+
_chunkNVWTQQXDjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
2564
|
+
_chunkNVWTQQXDjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
2565
|
+
_chunkNVWTQQXDjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
2566
|
+
_chunkNVWTQQXDjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
2567
2567
|
]);
|
|
2568
2568
|
await Promise.allSettled(
|
|
2569
2569
|
files.map(
|
|
@@ -2581,7 +2581,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
2581
2581
|
};
|
|
2582
2582
|
|
|
2583
2583
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
2584
|
-
|
|
2584
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2585
2585
|
var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
|
|
2586
2586
|
|
|
2587
2587
|
|
|
@@ -2619,7 +2619,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2619
2619
|
)) {
|
|
2620
2620
|
const projectNode = project.node;
|
|
2621
2621
|
if (projectNode.data.root) {
|
|
2622
|
-
const projectPackageJsonPath =
|
|
2622
|
+
const projectPackageJsonPath = _chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
2623
2623
|
workspaceRoot2,
|
|
2624
2624
|
projectNode.data.root,
|
|
2625
2625
|
"package.json"
|
|
@@ -2641,7 +2641,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2641
2641
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
2642
2642
|
);
|
|
2643
2643
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
2644
|
-
|
|
2644
|
+
_chunkNVWTQQXDjs.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
2645
2645
|
"utf8"
|
|
2646
2646
|
);
|
|
2647
2647
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -2654,7 +2654,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2654
2654
|
}
|
|
2655
2655
|
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _101 => _101.projects, 'optionalAccess', _102 => _102[projectName2], 'access', _103 => _103.implicitDependencies, 'optionalAccess', _104 => _104.reduce, 'call', _105 => _105((ret, dep) => {
|
|
2656
2656
|
if (_optionalChain([projectConfigurations, 'access', _106 => _106.projects, 'optionalAccess', _107 => _107[dep]])) {
|
|
2657
|
-
const depPackageJsonPath =
|
|
2657
|
+
const depPackageJsonPath = _chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
2658
2658
|
workspaceRoot2,
|
|
2659
2659
|
projectConfigurations.projects[dep].root,
|
|
2660
2660
|
"package.json"
|
|
@@ -2692,7 +2692,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2692
2692
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
2693
2693
|
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
|
|
2694
2694
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
2695
|
-
|
|
2695
|
+
_chunkNVWTQQXDjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
2696
2696
|
"utf8"
|
|
2697
2697
|
);
|
|
2698
2698
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -2703,7 +2703,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
2703
2703
|
if (distSrc.startsWith("/")) {
|
|
2704
2704
|
distSrc = distSrc.substring(1);
|
|
2705
2705
|
}
|
|
2706
|
-
packageJson.source ??= `${
|
|
2706
|
+
packageJson.source ??= `${_chunkNVWTQQXDjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
2707
2707
|
}
|
|
2708
2708
|
packageJson.files ??= ["dist/**/*"];
|
|
2709
2709
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -2728,7 +2728,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
2728
2728
|
packageJson.contributors = [packageJson.author];
|
|
2729
2729
|
}
|
|
2730
2730
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
2731
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
2731
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkNVWTQQXDjs.joinPaths.call(void 0, "packages", projectName);
|
|
2732
2732
|
return packageJson;
|
|
2733
2733
|
};
|
|
2734
2734
|
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
@@ -2753,11 +2753,11 @@ var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
|
2753
2753
|
};
|
|
2754
2754
|
|
|
2755
2755
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
2756
|
-
|
|
2756
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2757
2757
|
|
|
2758
2758
|
|
|
2759
2759
|
// ../build-tools/src/utilities/get-env.ts
|
|
2760
|
-
|
|
2760
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2761
2761
|
var getEnv = (builder, options) => {
|
|
2762
2762
|
return {
|
|
2763
2763
|
STORM_BUILD: builder,
|
|
@@ -2772,21 +2772,21 @@ var getEnv = (builder, options) => {
|
|
|
2772
2772
|
};
|
|
2773
2773
|
|
|
2774
2774
|
// ../build-tools/src/utilities/get-file-banner.ts
|
|
2775
|
-
|
|
2775
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2776
2776
|
|
|
2777
2777
|
// ../build-tools/src/utilities/get-out-extension.ts
|
|
2778
|
-
|
|
2778
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2779
2779
|
|
|
2780
2780
|
// ../build-tools/src/utilities/get-project-deps.ts
|
|
2781
|
-
|
|
2781
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2782
2782
|
|
|
2783
2783
|
// ../build-tools/src/utilities/read-nx-config.ts
|
|
2784
|
-
|
|
2784
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2785
2785
|
|
|
2786
2786
|
|
|
2787
2787
|
|
|
2788
2788
|
// ../build-tools/src/utilities/task-graph.ts
|
|
2789
|
-
|
|
2789
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2790
2790
|
|
|
2791
2791
|
|
|
2792
2792
|
|
|
@@ -2815,14 +2815,14 @@ async function copyBuildAssets(context) {
|
|
|
2815
2815
|
}
|
|
2816
2816
|
|
|
2817
2817
|
// ../esbuild/src/clean.ts
|
|
2818
|
-
|
|
2818
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2819
2819
|
|
|
2820
2820
|
async function cleanDirectories(directory) {
|
|
2821
2821
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
2822
2822
|
}
|
|
2823
2823
|
|
|
2824
2824
|
// ../esbuild/src/context.ts
|
|
2825
|
-
|
|
2825
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2826
2826
|
|
|
2827
2827
|
|
|
2828
2828
|
|
|
@@ -2833,7 +2833,7 @@ _chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
|
2833
2833
|
var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
2834
2834
|
|
|
2835
2835
|
// ../esbuild/src/config.ts
|
|
2836
|
-
|
|
2836
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2837
2837
|
var DEFAULT_BUILD_OPTIONS = {
|
|
2838
2838
|
platform: "node",
|
|
2839
2839
|
target: "node22",
|
|
@@ -2891,7 +2891,7 @@ async function resolveContext(userOptions) {
|
|
|
2891
2891
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
2892
2892
|
exitOnError: true
|
|
2893
2893
|
});
|
|
2894
|
-
const projectJsonPath =
|
|
2894
|
+
const projectJsonPath = _chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
2895
2895
|
workspaceRoot2.dir,
|
|
2896
2896
|
projectRoot,
|
|
2897
2897
|
"project.json"
|
|
@@ -2910,7 +2910,7 @@ async function resolveContext(userOptions) {
|
|
|
2910
2910
|
}
|
|
2911
2911
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
2912
2912
|
options.name ??= projectName;
|
|
2913
|
-
const packageJsonPath =
|
|
2913
|
+
const packageJsonPath = _chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
2914
2914
|
workspaceRoot2.dir,
|
|
2915
2915
|
options.projectRoot,
|
|
2916
2916
|
"package.json"
|
|
@@ -2922,7 +2922,7 @@ async function resolveContext(userOptions) {
|
|
|
2922
2922
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
2923
2923
|
const resolvedOptions = {
|
|
2924
2924
|
...options,
|
|
2925
|
-
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig :
|
|
2925
|
+
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkNVWTQQXDjs.joinPaths.call(void 0, workspaceRoot2.dir, projectRoot, "tsconfig.json"),
|
|
2926
2926
|
metafile: userOptions.mode === "development",
|
|
2927
2927
|
clean: false,
|
|
2928
2928
|
env,
|
|
@@ -2947,8 +2947,8 @@ async function resolveContext(userOptions) {
|
|
|
2947
2947
|
projectConfigurations,
|
|
2948
2948
|
projectName,
|
|
2949
2949
|
projectGraph,
|
|
2950
|
-
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot ||
|
|
2951
|
-
outputPath: resolvedOptions.outputPath ||
|
|
2950
|
+
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkNVWTQQXDjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
|
|
2951
|
+
outputPath: resolvedOptions.outputPath || _chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
2952
2952
|
workspaceConfig.workspaceRoot,
|
|
2953
2953
|
"dist",
|
|
2954
2954
|
resolvedOptions.projectRoot
|
|
@@ -2968,15 +2968,15 @@ ${formatLogMessage(context.options)}`,
|
|
|
2968
2968
|
}
|
|
2969
2969
|
|
|
2970
2970
|
// ../esbuild/src/package-json.ts
|
|
2971
|
-
|
|
2971
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
2972
2972
|
|
|
2973
2973
|
|
|
2974
2974
|
|
|
2975
2975
|
async function generatePackageJson(context) {
|
|
2976
|
-
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
2976
|
+
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkNVWTQQXDjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
2977
2977
|
writeDebug(" \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
2978
2978
|
const stopwatch = getStopwatch("Write package.json file");
|
|
2979
|
-
const packageJsonPath =
|
|
2979
|
+
const packageJsonPath = _chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
2980
2980
|
context.options.projectRoot,
|
|
2981
2981
|
"project.json"
|
|
2982
2982
|
);
|
|
@@ -2984,7 +2984,7 @@ async function generatePackageJson(context) {
|
|
|
2984
2984
|
throw new Error("Cannot find package.json configuration");
|
|
2985
2985
|
}
|
|
2986
2986
|
const packageJsonFile = await _promises2.default.readFile(
|
|
2987
|
-
|
|
2987
|
+
_chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
2988
2988
|
context.workspaceConfig.workspaceRoot,
|
|
2989
2989
|
context.options.projectRoot,
|
|
2990
2990
|
"package.json"
|
|
@@ -3090,7 +3090,7 @@ async function generatePackageJson(context) {
|
|
|
3090
3090
|
}
|
|
3091
3091
|
}
|
|
3092
3092
|
await _devkit.writeJsonFile.call(void 0,
|
|
3093
|
-
|
|
3093
|
+
_chunkNVWTQQXDjs.joinPaths.call(void 0, context.outputPath, "package.json"),
|
|
3094
3094
|
packageJson
|
|
3095
3095
|
);
|
|
3096
3096
|
stopwatch();
|
|
@@ -3099,10 +3099,10 @@ async function generatePackageJson(context) {
|
|
|
3099
3099
|
}
|
|
3100
3100
|
|
|
3101
3101
|
// ../esbuild/src/tsup.ts
|
|
3102
|
-
|
|
3102
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3103
3103
|
|
|
3104
3104
|
// ../tsup/src/index.ts
|
|
3105
|
-
|
|
3105
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3106
3106
|
var _tsup = require('tsup');
|
|
3107
3107
|
async function build(options) {
|
|
3108
3108
|
if (!options.silent) {
|
|
@@ -3127,7 +3127,7 @@ async function executeTsup(context) {
|
|
|
3127
3127
|
const stopwatch = getStopwatch(`${context.options.name} build`);
|
|
3128
3128
|
await build({
|
|
3129
3129
|
...context.options,
|
|
3130
|
-
outDir: context.options.distDir ?
|
|
3130
|
+
outDir: context.options.distDir ? _chunkNVWTQQXDjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
3131
3131
|
workspaceConfig: context.workspaceConfig
|
|
3132
3132
|
});
|
|
3133
3133
|
stopwatch();
|
|
@@ -3237,12 +3237,12 @@ var executor_default6 = withRunExecutor(
|
|
|
3237
3237
|
);
|
|
3238
3238
|
|
|
3239
3239
|
// ../workspace-tools/src/executors/napi/executor.ts
|
|
3240
|
-
|
|
3240
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3241
3241
|
var _jiti = require('jiti');
|
|
3242
3242
|
var _fileutils = require('nx/src/utils/fileutils');
|
|
3243
3243
|
async function napiExecutor(options, context, config) {
|
|
3244
3244
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3245
|
-
fsCache: config.skipCache ? false :
|
|
3245
|
+
fsCache: config.skipCache ? false : _chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
3246
3246
|
config.workspaceRoot,
|
|
3247
3247
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3248
3248
|
"jiti"
|
|
@@ -3258,52 +3258,52 @@ async function napiExecutor(options, context, config) {
|
|
|
3258
3258
|
);
|
|
3259
3259
|
}
|
|
3260
3260
|
const projectRoot = _optionalChain([context, 'access', _149 => _149.projectGraph, 'optionalAccess', _150 => _150.nodes, 'access', _151 => _151[_nullishCoalesce(context.projectName, () => ( ""))], 'optionalAccess', _152 => _152.data, 'access', _153 => _153.root]);
|
|
3261
|
-
const packageJson =
|
|
3261
|
+
const packageJson = _chunkNVWTQQXDjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
3262
3262
|
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
3263
3263
|
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
3264
3264
|
}
|
|
3265
3265
|
const napi = new NapiCli();
|
|
3266
3266
|
const normalizedOptions = { ...options };
|
|
3267
3267
|
const metadata = cargoMetadata();
|
|
3268
|
-
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _154 => _154.target_directory]) ||
|
|
3268
|
+
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _154 => _154.target_directory]) || _chunkNVWTQQXDjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
|
|
3269
3269
|
normalizedOptions.outputDir = options.outputPath;
|
|
3270
3270
|
normalizedOptions.packageJsonPath ??= packageJson;
|
|
3271
3271
|
if (options.cwd) {
|
|
3272
|
-
normalizedOptions.cwd =
|
|
3272
|
+
normalizedOptions.cwd = _chunkNVWTQQXDjs.correctPaths.call(void 0, options.cwd);
|
|
3273
3273
|
} else {
|
|
3274
|
-
const absoluteProjectRoot =
|
|
3275
|
-
|
|
3274
|
+
const absoluteProjectRoot = _chunkNVWTQQXDjs.correctPaths.call(void 0,
|
|
3275
|
+
_chunkNVWTQQXDjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
|
|
3276
3276
|
);
|
|
3277
3277
|
normalizedOptions.cwd = absoluteProjectRoot;
|
|
3278
3278
|
if (normalizedOptions.outputDir) {
|
|
3279
|
-
normalizedOptions.outputDir =
|
|
3279
|
+
normalizedOptions.outputDir = _chunkNVWTQQXDjs.relative.call(void 0,
|
|
3280
3280
|
normalizedOptions.cwd,
|
|
3281
|
-
|
|
3282
|
-
|
|
3281
|
+
_chunkNVWTQQXDjs.correctPaths.call(void 0,
|
|
3282
|
+
_chunkNVWTQQXDjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkNVWTQQXDjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
|
|
3283
3283
|
)
|
|
3284
3284
|
);
|
|
3285
3285
|
}
|
|
3286
3286
|
if (normalizedOptions.packageJsonPath) {
|
|
3287
|
-
normalizedOptions.packageJsonPath =
|
|
3287
|
+
normalizedOptions.packageJsonPath = _chunkNVWTQQXDjs.relative.call(void 0,
|
|
3288
3288
|
normalizedOptions.cwd,
|
|
3289
|
-
|
|
3290
|
-
|
|
3289
|
+
_chunkNVWTQQXDjs.correctPaths.call(void 0,
|
|
3290
|
+
_chunkNVWTQQXDjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkNVWTQQXDjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
3291
3291
|
)
|
|
3292
3292
|
);
|
|
3293
3293
|
}
|
|
3294
3294
|
if (normalizedOptions.configPath) {
|
|
3295
|
-
normalizedOptions.configPath =
|
|
3295
|
+
normalizedOptions.configPath = _chunkNVWTQQXDjs.relative.call(void 0,
|
|
3296
3296
|
normalizedOptions.cwd,
|
|
3297
|
-
|
|
3298
|
-
|
|
3297
|
+
_chunkNVWTQQXDjs.correctPaths.call(void 0,
|
|
3298
|
+
_chunkNVWTQQXDjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkNVWTQQXDjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
|
|
3299
3299
|
)
|
|
3300
3300
|
);
|
|
3301
3301
|
}
|
|
3302
3302
|
if (normalizedOptions.manifestPath) {
|
|
3303
|
-
normalizedOptions.manifestPath =
|
|
3303
|
+
normalizedOptions.manifestPath = _chunkNVWTQQXDjs.relative.call(void 0,
|
|
3304
3304
|
normalizedOptions.cwd,
|
|
3305
|
-
|
|
3306
|
-
|
|
3305
|
+
_chunkNVWTQQXDjs.correctPaths.call(void 0,
|
|
3306
|
+
_chunkNVWTQQXDjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkNVWTQQXDjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
|
|
3307
3307
|
)
|
|
3308
3308
|
);
|
|
3309
3309
|
}
|
|
@@ -3346,17 +3346,17 @@ var executor_default7 = withRunExecutor(
|
|
|
3346
3346
|
);
|
|
3347
3347
|
|
|
3348
3348
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
3349
|
-
|
|
3349
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3350
3350
|
|
|
3351
3351
|
// ../npm-tools/src/helpers/get-registry.ts
|
|
3352
|
-
|
|
3352
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3353
3353
|
|
|
3354
3354
|
|
|
3355
3355
|
// ../npm-tools/src/constants.ts
|
|
3356
|
-
|
|
3356
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3357
3357
|
|
|
3358
3358
|
// ../pnpm-tools/src/helpers/replace-deps-aliases.ts
|
|
3359
|
-
|
|
3359
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3360
3360
|
|
|
3361
3361
|
|
|
3362
3362
|
|
|
@@ -3366,17 +3366,17 @@ _chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
|
3366
3366
|
var _prettier = require('prettier');
|
|
3367
3367
|
|
|
3368
3368
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
3369
|
-
|
|
3369
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3370
3370
|
|
|
3371
3371
|
// ../npm-tools/src/helpers/get-version.ts
|
|
3372
|
-
|
|
3372
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3373
3373
|
|
|
3374
3374
|
|
|
3375
3375
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
3376
3376
|
var _semver = require('semver');
|
|
3377
3377
|
|
|
3378
3378
|
// ../pnpm-tools/src/helpers/pnpm-workspace.ts
|
|
3379
|
-
|
|
3379
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3380
3380
|
|
|
3381
3381
|
|
|
3382
3382
|
var _yaml = require('yaml');
|
|
@@ -3387,7 +3387,7 @@ var _yaml = require('yaml');
|
|
|
3387
3387
|
|
|
3388
3388
|
|
|
3389
3389
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
3390
|
-
|
|
3390
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3391
3391
|
|
|
3392
3392
|
|
|
3393
3393
|
|
|
@@ -3399,7 +3399,7 @@ _chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
|
3399
3399
|
|
|
3400
3400
|
|
|
3401
3401
|
// ../workspace-tools/src/utils/project-tags.ts
|
|
3402
|
-
|
|
3402
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3403
3403
|
var ProjectTagConstants = {
|
|
3404
3404
|
Language: {
|
|
3405
3405
|
TAG_ID: "language",
|
|
@@ -3476,7 +3476,7 @@ var addProjectTag = (project, variant, value, options = {
|
|
|
3476
3476
|
var LARGE_BUFFER2 = 1024 * 1e6;
|
|
3477
3477
|
|
|
3478
3478
|
// ../workspace-tools/src/executors/size-limit/executor.ts
|
|
3479
|
-
|
|
3479
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3480
3480
|
|
|
3481
3481
|
var _esbuild = require('@size-limit/esbuild'); var _esbuild2 = _interopRequireDefault(_esbuild);
|
|
3482
3482
|
var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
|
|
@@ -3518,10 +3518,10 @@ var executor_default8 = withRunExecutor(
|
|
|
3518
3518
|
);
|
|
3519
3519
|
|
|
3520
3520
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
3521
|
-
|
|
3521
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3522
3522
|
|
|
3523
3523
|
// ../tsdown/src/build.ts
|
|
3524
|
-
|
|
3524
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3525
3525
|
|
|
3526
3526
|
|
|
3527
3527
|
|
|
@@ -3533,14 +3533,14 @@ _chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
|
3533
3533
|
var _tsdown = require('tsdown');
|
|
3534
3534
|
|
|
3535
3535
|
// ../tsdown/src/clean.ts
|
|
3536
|
-
|
|
3536
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3537
3537
|
|
|
3538
3538
|
async function cleanDirectories2(name = "TSDown", directory, config) {
|
|
3539
3539
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
3540
3540
|
}
|
|
3541
3541
|
|
|
3542
3542
|
// ../tsdown/src/config.ts
|
|
3543
|
-
|
|
3543
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3544
3544
|
function getDefaultOptions(config) {
|
|
3545
3545
|
return {
|
|
3546
3546
|
entry: ["./src/*.ts"],
|
|
@@ -3583,7 +3583,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3583
3583
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
3584
3584
|
exitOnError: true
|
|
3585
3585
|
});
|
|
3586
|
-
const projectJsonPath =
|
|
3586
|
+
const projectJsonPath = _chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
3587
3587
|
workspaceRoot2,
|
|
3588
3588
|
options.projectRoot,
|
|
3589
3589
|
"project.json"
|
|
@@ -3600,7 +3600,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3600
3600
|
"The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project."
|
|
3601
3601
|
);
|
|
3602
3602
|
}
|
|
3603
|
-
const packageJsonPath =
|
|
3603
|
+
const packageJsonPath = _chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
3604
3604
|
workspaceRoot2,
|
|
3605
3605
|
options.projectRoot,
|
|
3606
3606
|
"package.json"
|
|
@@ -3609,13 +3609,13 @@ var resolveOptions = async (userOptions) => {
|
|
|
3609
3609
|
throw new Error("Cannot find package.json configuration");
|
|
3610
3610
|
}
|
|
3611
3611
|
const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
|
|
3612
|
-
const sourceRoot = projectJson.sourceRoot ||
|
|
3612
|
+
const sourceRoot = projectJson.sourceRoot || _chunkNVWTQQXDjs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
3613
3613
|
const result = {
|
|
3614
3614
|
name: projectName,
|
|
3615
3615
|
mode: "production",
|
|
3616
3616
|
target: DEFAULT_TARGET,
|
|
3617
3617
|
generatePackageJson: true,
|
|
3618
|
-
outDir:
|
|
3618
|
+
outDir: _chunkNVWTQQXDjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
3619
3619
|
minify: !debug,
|
|
3620
3620
|
plugins: [],
|
|
3621
3621
|
assets: [],
|
|
@@ -3627,12 +3627,12 @@ var resolveOptions = async (userOptions) => {
|
|
|
3627
3627
|
clean: false,
|
|
3628
3628
|
fixedExtension: true,
|
|
3629
3629
|
nodeProtocol: true,
|
|
3630
|
-
tsconfig:
|
|
3630
|
+
tsconfig: _chunkNVWTQQXDjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
|
|
3631
3631
|
debug,
|
|
3632
3632
|
sourceRoot,
|
|
3633
3633
|
cwd: workspaceConfig.workspaceRoot,
|
|
3634
3634
|
entry: {
|
|
3635
|
-
["index"]:
|
|
3635
|
+
["index"]: _chunkNVWTQQXDjs.joinPaths.call(void 0, sourceRoot, "index.ts")
|
|
3636
3636
|
},
|
|
3637
3637
|
workspace: true,
|
|
3638
3638
|
...options,
|
|
@@ -3651,15 +3651,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
3651
3651
|
return result;
|
|
3652
3652
|
};
|
|
3653
3653
|
async function generatePackageJson2(options) {
|
|
3654
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
3654
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkNVWTQQXDjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
3655
3655
|
writeDebug(" \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
3656
3656
|
const stopwatch = getStopwatch("Write package.json file");
|
|
3657
|
-
const packageJsonPath =
|
|
3657
|
+
const packageJsonPath = _chunkNVWTQQXDjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
3658
3658
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
3659
3659
|
throw new Error("Cannot find package.json configuration");
|
|
3660
3660
|
}
|
|
3661
3661
|
const packageJsonFile = await _promises2.default.readFile(
|
|
3662
|
-
|
|
3662
|
+
_chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
3663
3663
|
options.workspaceConfig.workspaceRoot,
|
|
3664
3664
|
options.projectRoot,
|
|
3665
3665
|
"package.json"
|
|
@@ -3721,7 +3721,7 @@ async function generatePackageJson2(options) {
|
|
|
3721
3721
|
},
|
|
3722
3722
|
packageJson.exports
|
|
3723
3723
|
);
|
|
3724
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
3724
|
+
await _devkit.writeJsonFile.call(void 0, _chunkNVWTQQXDjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
3725
3725
|
stopwatch();
|
|
3726
3726
|
}
|
|
3727
3727
|
return options;
|
|
@@ -3854,7 +3854,7 @@ var executor_default9 = withRunExecutor(
|
|
|
3854
3854
|
);
|
|
3855
3855
|
|
|
3856
3856
|
// ../workspace-tools/src/executors/typia/executor.ts
|
|
3857
|
-
|
|
3857
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3858
3858
|
var _fsextra = require('fs-extra');
|
|
3859
3859
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
3860
3860
|
async function typiaExecutorFn(options, _, config) {
|
|
@@ -3894,7 +3894,7 @@ var executor_default10 = withRunExecutor(
|
|
|
3894
3894
|
);
|
|
3895
3895
|
|
|
3896
3896
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
3897
|
-
|
|
3897
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3898
3898
|
|
|
3899
3899
|
|
|
3900
3900
|
async function unbuildExecutorFn(options, context, config) {
|
|
@@ -3915,7 +3915,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3915
3915
|
);
|
|
3916
3916
|
}
|
|
3917
3917
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3918
|
-
fsCache: config.skipCache ? false :
|
|
3918
|
+
fsCache: config.skipCache ? false : _chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
3919
3919
|
config.workspaceRoot,
|
|
3920
3920
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3921
3921
|
"jiti"
|
|
@@ -3937,7 +3937,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3937
3937
|
{
|
|
3938
3938
|
stubOptions: {
|
|
3939
3939
|
jiti: {
|
|
3940
|
-
fsCache: config.skipCache ? false :
|
|
3940
|
+
fsCache: config.skipCache ? false : _chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
3941
3941
|
config.workspaceRoot,
|
|
3942
3942
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3943
3943
|
"jiti"
|
|
@@ -3986,10 +3986,10 @@ var executor_default11 = withRunExecutor(
|
|
|
3986
3986
|
);
|
|
3987
3987
|
|
|
3988
3988
|
// ../workspace-tools/generators.ts
|
|
3989
|
-
|
|
3989
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3990
3990
|
|
|
3991
3991
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
3992
|
-
|
|
3992
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
3993
3993
|
|
|
3994
3994
|
|
|
3995
3995
|
|
|
@@ -3998,7 +3998,7 @@ _chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
|
3998
3998
|
|
|
3999
3999
|
|
|
4000
4000
|
// ../workspace-tools/src/base/base-generator.ts
|
|
4001
|
-
|
|
4001
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
4002
4002
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
4003
4003
|
skipReadingConfig: false
|
|
4004
4004
|
}) => async (tree, _options) => {
|
|
@@ -4085,7 +4085,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
4085
4085
|
};
|
|
4086
4086
|
|
|
4087
4087
|
// ../workspace-tools/src/base/typescript-library-generator.ts
|
|
4088
|
-
|
|
4088
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
4089
4089
|
|
|
4090
4090
|
|
|
4091
4091
|
|
|
@@ -4107,7 +4107,7 @@ var _init = require('@nx/js/src/generators/init/init'); var _init2 = _interopReq
|
|
|
4107
4107
|
var _generator = require('@nx/js/src/generators/setup-verdaccio/generator'); var _generator2 = _interopRequireDefault(_generator);
|
|
4108
4108
|
|
|
4109
4109
|
// ../workspace-tools/src/utils/versions.ts
|
|
4110
|
-
|
|
4110
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
4111
4111
|
var typesNodeVersion = "20.9.0";
|
|
4112
4112
|
var nxVersion = "^18.0.4";
|
|
4113
4113
|
var nodeVersion = "20.11.0";
|
|
@@ -4140,16 +4140,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4140
4140
|
const projectConfig = {
|
|
4141
4141
|
root: normalized.directory,
|
|
4142
4142
|
projectType: "library",
|
|
4143
|
-
sourceRoot:
|
|
4143
|
+
sourceRoot: _chunkNVWTQQXDjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
4144
4144
|
targets: {
|
|
4145
4145
|
build: {
|
|
4146
4146
|
executor: options.buildExecutor,
|
|
4147
4147
|
outputs: ["{options.outputPath}"],
|
|
4148
4148
|
options: {
|
|
4149
|
-
entry: [
|
|
4149
|
+
entry: [_chunkNVWTQQXDjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
|
|
4150
4150
|
outputPath: getOutputPath(normalized),
|
|
4151
|
-
tsconfig:
|
|
4152
|
-
project:
|
|
4151
|
+
tsconfig: _chunkNVWTQQXDjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
4152
|
+
project: _chunkNVWTQQXDjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
4153
4153
|
defaultConfiguration: "production",
|
|
4154
4154
|
platform: "neutral",
|
|
4155
4155
|
assets: [
|
|
@@ -4206,7 +4206,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4206
4206
|
if (!normalized.importPath) {
|
|
4207
4207
|
normalized.importPath = normalized.name;
|
|
4208
4208
|
}
|
|
4209
|
-
const packageJsonPath =
|
|
4209
|
+
const packageJsonPath = _chunkNVWTQQXDjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
4210
4210
|
if (tree.exists(packageJsonPath)) {
|
|
4211
4211
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
4212
4212
|
if (!normalized.importPath) {
|
|
@@ -4263,14 +4263,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4263
4263
|
}));
|
|
4264
4264
|
}
|
|
4265
4265
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
4266
|
-
|
|
4266
|
+
_chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
4267
4267
|
normalized.projectRoot,
|
|
4268
4268
|
"./src",
|
|
4269
4269
|
`index.${normalized.js ? "js" : "ts"}`
|
|
4270
4270
|
)
|
|
4271
4271
|
]);
|
|
4272
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
4273
|
-
|
|
4272
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkNVWTQQXDjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
4273
|
+
_chunkNVWTQQXDjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
4274
4274
|
]);
|
|
4275
4275
|
if (tree.exists("package.json")) {
|
|
4276
4276
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -4281,7 +4281,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4281
4281
|
description = packageJson.description;
|
|
4282
4282
|
}
|
|
4283
4283
|
}
|
|
4284
|
-
const tsconfigPath =
|
|
4284
|
+
const tsconfigPath = _chunkNVWTQQXDjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
4285
4285
|
if (tree.exists(tsconfigPath)) {
|
|
4286
4286
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
4287
4287
|
json.composite ??= true;
|
|
@@ -4309,7 +4309,7 @@ function getOutputPath(options) {
|
|
|
4309
4309
|
} else {
|
|
4310
4310
|
parts.push(options.projectRoot);
|
|
4311
4311
|
}
|
|
4312
|
-
return
|
|
4312
|
+
return _chunkNVWTQQXDjs.joinPaths.call(void 0, ...parts);
|
|
4313
4313
|
}
|
|
4314
4314
|
function createProjectTsConfigJson(tree, options) {
|
|
4315
4315
|
const tsconfig = {
|
|
@@ -4317,7 +4317,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
4317
4317
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _213 => _213.tsconfigOptions]), () => ( {})),
|
|
4318
4318
|
compilerOptions: {
|
|
4319
4319
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
4320
|
-
outDir:
|
|
4320
|
+
outDir: _chunkNVWTQQXDjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
4321
4321
|
noEmit: true,
|
|
4322
4322
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _214 => _214.tsconfigOptions, 'optionalAccess', _215 => _215.compilerOptions]), () => ( {}))
|
|
4323
4323
|
},
|
|
@@ -4335,7 +4335,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
4335
4335
|
"src/**/*.test.ts"
|
|
4336
4336
|
]
|
|
4337
4337
|
};
|
|
4338
|
-
_devkit.writeJson.call(void 0, tree,
|
|
4338
|
+
_devkit.writeJson.call(void 0, tree, _chunkNVWTQQXDjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
4339
4339
|
}
|
|
4340
4340
|
async function normalizeOptions(tree, options, config) {
|
|
4341
4341
|
let importPath = options.importPath;
|
|
@@ -4400,7 +4400,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
4400
4400
|
|
|
4401
4401
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
4402
4402
|
async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
4403
|
-
const filesDir =
|
|
4403
|
+
const filesDir = _chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
4404
4404
|
__dirname,
|
|
4405
4405
|
"src",
|
|
4406
4406
|
"generators",
|
|
@@ -4480,7 +4480,7 @@ var generator_default = withRunGenerator(
|
|
|
4480
4480
|
);
|
|
4481
4481
|
|
|
4482
4482
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
4483
|
-
|
|
4483
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
4484
4484
|
|
|
4485
4485
|
var _zod2 = require('zod'); var z2 = _interopRequireWildcard(_zod2);
|
|
4486
4486
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
@@ -4537,7 +4537,7 @@ var generator_default2 = withRunGenerator(
|
|
|
4537
4537
|
);
|
|
4538
4538
|
|
|
4539
4539
|
// ../workspace-tools/src/generators/init/init.ts
|
|
4540
|
-
|
|
4540
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
4541
4541
|
|
|
4542
4542
|
|
|
4543
4543
|
|
|
@@ -4565,7 +4565,7 @@ async function initGenerator(tree, schema) {
|
|
|
4565
4565
|
}
|
|
4566
4566
|
|
|
4567
4567
|
// ../workspace-tools/src/generators/neutral-library/generator.ts
|
|
4568
|
-
|
|
4568
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
4569
4569
|
|
|
4570
4570
|
|
|
4571
4571
|
|
|
@@ -4573,7 +4573,7 @@ _chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
|
4573
4573
|
|
|
4574
4574
|
|
|
4575
4575
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
4576
|
-
const filesDir =
|
|
4576
|
+
const filesDir = _chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
4577
4577
|
__dirname,
|
|
4578
4578
|
"src",
|
|
4579
4579
|
"generators",
|
|
@@ -4625,7 +4625,7 @@ var generator_default3 = withRunGenerator(
|
|
|
4625
4625
|
);
|
|
4626
4626
|
|
|
4627
4627
|
// ../workspace-tools/src/generators/node-library/generator.ts
|
|
4628
|
-
|
|
4628
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
4629
4629
|
|
|
4630
4630
|
|
|
4631
4631
|
|
|
@@ -4633,7 +4633,7 @@ _chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
|
4633
4633
|
|
|
4634
4634
|
|
|
4635
4635
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
4636
|
-
const filesDir =
|
|
4636
|
+
const filesDir = _chunkNVWTQQXDjs.joinPaths.call(void 0,
|
|
4637
4637
|
__dirname,
|
|
4638
4638
|
"src",
|
|
4639
4639
|
"generators",
|
|
@@ -4687,7 +4687,7 @@ var generator_default4 = withRunGenerator(
|
|
|
4687
4687
|
);
|
|
4688
4688
|
|
|
4689
4689
|
// ../workspace-tools/src/generators/preset/generator.ts
|
|
4690
|
-
|
|
4690
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
4691
4691
|
|
|
4692
4692
|
|
|
4693
4693
|
|
|
@@ -4926,10 +4926,10 @@ var generator_default5 = withRunGenerator(
|
|
|
4926
4926
|
);
|
|
4927
4927
|
|
|
4928
4928
|
// ../workspace-tools/src/base/index.ts
|
|
4929
|
-
|
|
4929
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
4930
4930
|
|
|
4931
4931
|
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
4932
|
-
|
|
4932
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
4933
4933
|
var _untyped = require('untyped');
|
|
4934
4934
|
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4935
4935
|
$schema: {
|
|
@@ -4948,7 +4948,7 @@ var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4948
4948
|
});
|
|
4949
4949
|
|
|
4950
4950
|
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
4951
|
-
|
|
4951
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
4952
4952
|
|
|
4953
4953
|
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4954
4954
|
$schema: {
|
|
@@ -4966,7 +4966,7 @@ var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4966
4966
|
});
|
|
4967
4967
|
|
|
4968
4968
|
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
4969
|
-
|
|
4969
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
4970
4970
|
|
|
4971
4971
|
var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4972
4972
|
...base_executor_untyped_default,
|
|
@@ -5039,7 +5039,7 @@ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void
|
|
|
5039
5039
|
});
|
|
5040
5040
|
|
|
5041
5041
|
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
5042
|
-
|
|
5042
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
5043
5043
|
|
|
5044
5044
|
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5045
5045
|
...base_executor_untyped_default,
|
|
@@ -5191,7 +5191,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
5191
5191
|
});
|
|
5192
5192
|
|
|
5193
5193
|
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
5194
|
-
|
|
5194
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
5195
5195
|
|
|
5196
5196
|
var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5197
5197
|
...base_generator_untyped_default,
|
|
@@ -5297,42 +5297,42 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
|
|
|
5297
5297
|
});
|
|
5298
5298
|
|
|
5299
5299
|
// ../workspace-tools/src/release/index.ts
|
|
5300
|
-
|
|
5300
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
5301
5301
|
|
|
5302
5302
|
// ../workspace-tools/src/release/js-version-actions.ts
|
|
5303
|
-
|
|
5303
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
5304
5304
|
var _versionactionsjs = require('@nx/js/src/release/version-actions.js'); var _versionactionsjs2 = _interopRequireDefault(_versionactionsjs);
|
|
5305
5305
|
|
|
5306
5306
|
// ../workspace-tools/src/release/rust-version-actions.ts
|
|
5307
|
-
|
|
5307
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
5308
5308
|
|
|
5309
5309
|
|
|
5310
5310
|
|
|
5311
5311
|
var _release = require('nx/release');
|
|
5312
5312
|
|
|
5313
5313
|
// ../workspace-tools/src/utils/registry-helpers.ts
|
|
5314
|
-
|
|
5314
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
5315
5315
|
|
|
5316
5316
|
|
|
5317
5317
|
// ../workspace-tools/src/types.ts
|
|
5318
|
-
|
|
5318
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
5319
5319
|
|
|
5320
5320
|
// ../workspace-tools/src/utils/index.ts
|
|
5321
|
-
|
|
5321
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
5322
5322
|
|
|
5323
5323
|
// ../workspace-tools/src/utils/apply-workspace-tokens.ts
|
|
5324
|
-
|
|
5324
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
5325
5325
|
|
|
5326
5326
|
// ../workspace-tools/src/utils/create-cli-options.ts
|
|
5327
|
-
|
|
5327
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
5328
5328
|
|
|
5329
5329
|
|
|
5330
5330
|
// ../workspace-tools/src/utils/get-project-configurations.ts
|
|
5331
|
-
|
|
5331
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
5332
5332
|
var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
|
|
5333
5333
|
|
|
5334
5334
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
5335
|
-
|
|
5335
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
5336
5336
|
|
|
5337
5337
|
|
|
5338
5338
|
|
|
@@ -5360,10 +5360,10 @@ var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE
|
|
|
5360
5360
|
var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
|
|
5361
5361
|
|
|
5362
5362
|
// ../workspace-tools/src/utils/nx-json.ts
|
|
5363
|
-
|
|
5363
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
5364
5364
|
|
|
5365
5365
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
5366
|
-
|
|
5366
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
5367
5367
|
|
|
5368
5368
|
|
|
5369
5369
|
|
|
@@ -5372,7 +5372,7 @@ _chunkYLJQC4MZjs.init_cjs_shims.call(void 0, );
|
|
|
5372
5372
|
|
|
5373
5373
|
|
|
5374
5374
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
5375
|
-
|
|
5375
|
+
_chunkKDFOWT5Rjs.init_cjs_shims.call(void 0, );
|
|
5376
5376
|
var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
|
|
5377
5377
|
|
|
5378
5378
|
// src/generators/init/generator.ts
|