@storm-software/projen 0.21.95 → 0.21.97
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 +18 -0
- package/README.md +1 -1
- package/dist/{chunk-X3BOWCZC.mjs → chunk-2THNNKSN.mjs} +3 -3
- package/dist/{chunk-I6PKJ3JK.js → chunk-E57II234.js} +3 -3
- package/dist/{chunk-J374Y5WW.js → chunk-KKCTOCNQ.js} +2 -2
- package/dist/{chunk-W37TV2GD.js → chunk-LAW63LOX.js} +200 -200
- package/dist/chunk-MNULRFGS.js +6 -0
- package/dist/{chunk-YBTQMLIQ.mjs → chunk-QY5PDREJ.mjs} +1 -1
- package/dist/{chunk-TKORQFOF.mjs → chunk-RIMN2R2H.mjs} +2 -2
- package/dist/{chunk-ZI6QQV6I.js → chunk-TZ4CV2CZ.js} +2 -2
- package/dist/{chunk-A6T7QMR2.mjs → chunk-UDSR5UUY.mjs} +1 -1
- package/dist/{chunk-KGALNF6O.mjs → chunk-URPDZPMM.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 +6 -6
- package/dist/chunk-VZXNP7OX.js +0 -6
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkKKCTOCNQjs = require('./chunk-KKCTOCNQ.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkTZ4CV2CZjs = require('./chunk-TZ4CV2CZ.js');
|
|
10
10
|
|
|
11
11
|
// src/generators/init/generator.ts
|
|
12
|
-
|
|
12
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -18,28 +18,28 @@ _chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
|
|
20
20
|
// ../workspace-tools/index.ts
|
|
21
|
-
|
|
21
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
22
22
|
|
|
23
23
|
// ../workspace-tools/executors.ts
|
|
24
|
-
|
|
24
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
25
25
|
|
|
26
26
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
27
|
-
|
|
27
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
28
28
|
|
|
29
29
|
// ../workspace-tools/src/base/base-executor.ts
|
|
30
|
-
|
|
30
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
31
31
|
|
|
32
32
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
33
|
-
|
|
33
|
+
_chunkTZ4CV2CZjs.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
|
+
_chunkTZ4CV2CZjs.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
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
43
43
|
var LogLevel = {
|
|
44
44
|
SILENT: 0,
|
|
45
45
|
FATAL: 10,
|
|
@@ -64,7 +64,7 @@ var LogLevelLabel = {
|
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
// ../config-tools/src/utilities/colors.ts
|
|
67
|
-
|
|
67
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
68
68
|
var DEFAULT_COLOR_CONFIG = {
|
|
69
69
|
light: {
|
|
70
70
|
background: "#fafafa",
|
|
@@ -132,7 +132,7 @@ function getColor(key, config) {
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
// ../config-tools/src/logger/chalk.ts
|
|
135
|
-
|
|
135
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
136
136
|
var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
|
|
137
137
|
var chalkDefault = {
|
|
138
138
|
hex: (_) => (message) => message,
|
|
@@ -166,10 +166,10 @@ var getChalk = () => {
|
|
|
166
166
|
};
|
|
167
167
|
|
|
168
168
|
// ../config-tools/src/logger/console-icons.ts
|
|
169
|
-
|
|
169
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
170
170
|
|
|
171
171
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
172
|
-
|
|
172
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
173
173
|
function isUnicodeSupported() {
|
|
174
174
|
if (process.platform !== "win32") {
|
|
175
175
|
return process.env.TERM !== "linux";
|
|
@@ -194,13 +194,13 @@ var CONSOLE_ICONS = {
|
|
|
194
194
|
};
|
|
195
195
|
|
|
196
196
|
// ../config-tools/src/logger/format-timestamp.ts
|
|
197
|
-
|
|
197
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
198
198
|
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
199
199
|
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
200
200
|
};
|
|
201
201
|
|
|
202
202
|
// ../config-tools/src/logger/get-log-level.ts
|
|
203
|
-
|
|
203
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
204
204
|
var getLogLevel = (label) => {
|
|
205
205
|
switch (label) {
|
|
206
206
|
case "all":
|
|
@@ -407,13 +407,13 @@ var _isFunction = (value) => {
|
|
|
407
407
|
var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
|
|
408
408
|
|
|
409
409
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
410
|
-
|
|
410
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
411
411
|
|
|
412
412
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
413
|
-
|
|
413
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
414
414
|
|
|
415
415
|
// ../config-tools/src/utilities/find-up.ts
|
|
416
|
-
|
|
416
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
417
417
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
418
418
|
var _path = require('path'); var path2 = _interopRequireWildcard(_path);
|
|
419
419
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
@@ -480,11 +480,11 @@ var rootDirectories = [
|
|
|
480
480
|
];
|
|
481
481
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
482
482
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
483
|
-
return
|
|
483
|
+
return _chunkKKCTOCNQjs.correctPaths.call(void 0,
|
|
484
484
|
_nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH))
|
|
485
485
|
);
|
|
486
486
|
}
|
|
487
|
-
return
|
|
487
|
+
return _chunkKKCTOCNQjs.correctPaths.call(void 0,
|
|
488
488
|
findFolderUp(
|
|
489
489
|
_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())),
|
|
490
490
|
rootFiles,
|
|
@@ -579,13 +579,13 @@ var applyWorkspaceTokens = async (options, tokenParams, tokenizerFn) => {
|
|
|
579
579
|
};
|
|
580
580
|
|
|
581
581
|
// ../config-tools/src/utilities/get-default-config.ts
|
|
582
|
-
|
|
582
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
583
583
|
|
|
584
584
|
// ../config/src/index.ts
|
|
585
|
-
|
|
585
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
586
586
|
|
|
587
587
|
// ../config/src/constants.ts
|
|
588
|
-
|
|
588
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
589
589
|
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
590
590
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
591
591
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
@@ -604,10 +604,10 @@ var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
|
604
604
|
var STORM_DEFAULT_BANNER_ALT = "The workspace's banner image";
|
|
605
605
|
|
|
606
606
|
// ../config/src/define-config.ts
|
|
607
|
-
|
|
607
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
608
608
|
|
|
609
609
|
// ../config/src/schema.ts
|
|
610
|
-
|
|
610
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
611
611
|
var _mini = require('zod/mini'); var z = _interopRequireWildcard(_mini);
|
|
612
612
|
var schemaRegistry = z.registry();
|
|
613
613
|
var colorSchema = z.string().check(
|
|
@@ -1169,7 +1169,7 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
1169
1169
|
});
|
|
1170
1170
|
|
|
1171
1171
|
// ../config/src/types.ts
|
|
1172
|
-
|
|
1172
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
1173
1173
|
var COLOR_KEYS = [
|
|
1174
1174
|
"dark",
|
|
1175
1175
|
"light",
|
|
@@ -1202,7 +1202,7 @@ async function getPackageJsonConfig(root) {
|
|
|
1202
1202
|
const workspaceRoot2 = findWorkspaceRoot(root);
|
|
1203
1203
|
if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot2, "package.json"))) {
|
|
1204
1204
|
const file = await _promises.readFile.call(void 0,
|
|
1205
|
-
|
|
1205
|
+
_chunkKKCTOCNQjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
1206
1206
|
"utf8"
|
|
1207
1207
|
);
|
|
1208
1208
|
if (file) {
|
|
@@ -1286,7 +1286,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1286
1286
|
envName: _optionalChain([fileName, 'optionalAccess', _38 => _38.toUpperCase, 'call', _39 => _39()]),
|
|
1287
1287
|
jitiOptions: {
|
|
1288
1288
|
debug: false,
|
|
1289
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1289
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
1290
1290
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1291
1291
|
"jiti"
|
|
1292
1292
|
)
|
|
@@ -1300,7 +1300,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1300
1300
|
envName: _optionalChain([fileName, 'optionalAccess', _40 => _40.toUpperCase, 'call', _41 => _41()]),
|
|
1301
1301
|
jitiOptions: {
|
|
1302
1302
|
debug: false,
|
|
1303
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1303
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
1304
1304
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1305
1305
|
"jiti"
|
|
1306
1306
|
)
|
|
@@ -1352,12 +1352,12 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
1352
1352
|
};
|
|
1353
1353
|
|
|
1354
1354
|
// ../config-tools/src/create-storm-config.ts
|
|
1355
|
-
|
|
1355
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
1356
1356
|
|
|
1357
1357
|
|
|
1358
1358
|
|
|
1359
1359
|
// ../config-tools/src/env/get-env.ts
|
|
1360
|
-
|
|
1360
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
1361
1361
|
var getExtensionEnv = (extensionName) => {
|
|
1362
1362
|
const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
|
|
1363
1363
|
return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
|
|
@@ -1419,15 +1419,15 @@ var getConfigEnv = () => {
|
|
|
1419
1419
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
1420
1420
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
1421
1421
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
1422
|
-
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ?
|
|
1423
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
1422
|
+
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ? _chunkKKCTOCNQjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_CONFIG_FILE`]) : void 0,
|
|
1423
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkKKCTOCNQjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
1424
1424
|
directories: {
|
|
1425
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
1426
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
1427
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
1428
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
1429
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
1430
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
1425
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkKKCTOCNQjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkKKCTOCNQjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
1426
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkKKCTOCNQjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkKKCTOCNQjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
1427
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkKKCTOCNQjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkKKCTOCNQjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
1428
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkKKCTOCNQjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkKKCTOCNQjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
1429
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkKKCTOCNQjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkKKCTOCNQjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
1430
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkKKCTOCNQjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkKKCTOCNQjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
|
|
1431
1431
|
},
|
|
1432
1432
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
1433
1433
|
mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -1572,7 +1572,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1572
1572
|
};
|
|
1573
1573
|
|
|
1574
1574
|
// ../config-tools/src/env/set-env.ts
|
|
1575
|
-
|
|
1575
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
1576
1576
|
var setExtensionEnv = (extensionName, extension) => {
|
|
1577
1577
|
for (const key of Object.keys(_nullishCoalesce(extension, () => ( {})))) {
|
|
1578
1578
|
if (extension[key]) {
|
|
@@ -1720,42 +1720,42 @@ var setConfigEnv = (config) => {
|
|
|
1720
1720
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
1721
1721
|
}
|
|
1722
1722
|
if (config.configFile) {
|
|
1723
|
-
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] =
|
|
1723
|
+
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] = _chunkKKCTOCNQjs.correctPaths.call(void 0,
|
|
1724
1724
|
config.configFile
|
|
1725
1725
|
);
|
|
1726
1726
|
}
|
|
1727
1727
|
if (config.workspaceRoot) {
|
|
1728
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
1729
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
1730
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
1728
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkKKCTOCNQjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1729
|
+
process.env.NX_WORKSPACE_ROOT = _chunkKKCTOCNQjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1730
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkKKCTOCNQjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1731
1731
|
}
|
|
1732
1732
|
if (config.directories) {
|
|
1733
1733
|
if (!config.skipCache && config.directories.cache) {
|
|
1734
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
1734
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkKKCTOCNQjs.correctPaths.call(void 0,
|
|
1735
1735
|
config.directories.cache
|
|
1736
1736
|
);
|
|
1737
1737
|
process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
|
|
1738
1738
|
}
|
|
1739
1739
|
if (config.directories.data) {
|
|
1740
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
1740
|
+
process.env[`${prefix}DATA_DIR`] = _chunkKKCTOCNQjs.correctPaths.call(void 0, config.directories.data);
|
|
1741
1741
|
process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
|
|
1742
1742
|
}
|
|
1743
1743
|
if (config.directories.config) {
|
|
1744
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
1744
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkKKCTOCNQjs.correctPaths.call(void 0,
|
|
1745
1745
|
config.directories.config
|
|
1746
1746
|
);
|
|
1747
1747
|
process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
|
|
1748
1748
|
}
|
|
1749
1749
|
if (config.directories.temp) {
|
|
1750
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
1750
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkKKCTOCNQjs.correctPaths.call(void 0, config.directories.temp);
|
|
1751
1751
|
process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
|
|
1752
1752
|
}
|
|
1753
1753
|
if (config.directories.log) {
|
|
1754
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
1754
|
+
process.env[`${prefix}LOG_DIR`] = _chunkKKCTOCNQjs.correctPaths.call(void 0, config.directories.log);
|
|
1755
1755
|
process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
|
|
1756
1756
|
}
|
|
1757
1757
|
if (config.directories.build) {
|
|
1758
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
1758
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkKKCTOCNQjs.correctPaths.call(void 0,
|
|
1759
1759
|
config.directories.build
|
|
1760
1760
|
);
|
|
1761
1761
|
process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
|
|
@@ -1977,7 +1977,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot2, s
|
|
|
1977
1977
|
defaultConfig
|
|
1978
1978
|
);
|
|
1979
1979
|
if (!configInput.variant) {
|
|
1980
|
-
configInput.variant = _fs.existsSync.call(void 0,
|
|
1980
|
+
configInput.variant = _fs.existsSync.call(void 0, _chunkKKCTOCNQjs.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkKKCTOCNQjs.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkKKCTOCNQjs.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkKKCTOCNQjs.joinPaths.call(void 0, _workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
|
|
1981
1981
|
}
|
|
1982
1982
|
try {
|
|
1983
1983
|
result = applyDefaultConfig(
|
|
@@ -2043,7 +2043,7 @@ ${formatLogMessage(config)}`,
|
|
|
2043
2043
|
};
|
|
2044
2044
|
|
|
2045
2045
|
// ../config-tools/src/get-config.ts
|
|
2046
|
-
|
|
2046
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2047
2047
|
function getConfig(workspaceRoot2, skipLogs = false) {
|
|
2048
2048
|
return loadStormWorkspaceConfig(workspaceRoot2, skipLogs);
|
|
2049
2049
|
}
|
|
@@ -2181,7 +2181,7 @@ var _isFunction2 = (value) => {
|
|
|
2181
2181
|
};
|
|
2182
2182
|
|
|
2183
2183
|
// ../workspace-tools/src/utils/cargo.ts
|
|
2184
|
-
|
|
2184
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2185
2185
|
|
|
2186
2186
|
|
|
2187
2187
|
|
|
@@ -2319,7 +2319,7 @@ var executor_default = withRunExecutor(
|
|
|
2319
2319
|
);
|
|
2320
2320
|
|
|
2321
2321
|
// ../workspace-tools/src/executors/cargo-check/executor.ts
|
|
2322
|
-
|
|
2322
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2323
2323
|
async function cargoCheckExecutor(options, context) {
|
|
2324
2324
|
const command = buildCargoCommand("check", options, context);
|
|
2325
2325
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2339,7 +2339,7 @@ var executor_default2 = withRunExecutor(
|
|
|
2339
2339
|
);
|
|
2340
2340
|
|
|
2341
2341
|
// ../workspace-tools/src/executors/cargo-clippy/executor.ts
|
|
2342
|
-
|
|
2342
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2343
2343
|
async function cargoClippyExecutor(options, context) {
|
|
2344
2344
|
const command = buildCargoCommand("clippy", options, context);
|
|
2345
2345
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2360,7 +2360,7 @@ var executor_default3 = withRunExecutor(
|
|
|
2360
2360
|
);
|
|
2361
2361
|
|
|
2362
2362
|
// ../workspace-tools/src/executors/cargo-doc/executor.ts
|
|
2363
|
-
|
|
2363
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2364
2364
|
async function cargoDocExecutor(options, context) {
|
|
2365
2365
|
const opts = { ...options };
|
|
2366
2366
|
opts["no-deps"] = opts.noDeps;
|
|
@@ -2390,7 +2390,7 @@ var executor_default4 = withRunExecutor(
|
|
|
2390
2390
|
);
|
|
2391
2391
|
|
|
2392
2392
|
// ../workspace-tools/src/executors/cargo-format/executor.ts
|
|
2393
|
-
|
|
2393
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2394
2394
|
async function cargoFormatExecutor(options, context) {
|
|
2395
2395
|
const command = buildCargoCommand("fmt", options, context);
|
|
2396
2396
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2411,7 +2411,7 @@ var executor_default5 = withRunExecutor(
|
|
|
2411
2411
|
);
|
|
2412
2412
|
|
|
2413
2413
|
// ../workspace-tools/src/executors/cargo-publish/executor.ts
|
|
2414
|
-
|
|
2414
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2415
2415
|
|
|
2416
2416
|
|
|
2417
2417
|
|
|
@@ -2419,19 +2419,19 @@ var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
|
2419
2419
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
2420
2420
|
|
|
2421
2421
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
2422
|
-
|
|
2422
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2423
2423
|
|
|
2424
2424
|
// ../esbuild/src/build.ts
|
|
2425
|
-
|
|
2425
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2426
2426
|
|
|
2427
2427
|
// ../esbuild/src/assets.ts
|
|
2428
|
-
|
|
2428
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2429
2429
|
|
|
2430
2430
|
// ../build-tools/src/index.ts
|
|
2431
|
-
|
|
2431
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2432
2432
|
|
|
2433
2433
|
// ../build-tools/src/config.ts
|
|
2434
|
-
|
|
2434
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2435
2435
|
var DEFAULT_JS_BANNER = `
|
|
2436
2436
|
// ---------------------------------------
|
|
2437
2437
|
// \u{1F5F2} Built by Storm Software
|
|
@@ -2447,35 +2447,35 @@ var DEFAULT_TARGET = "esnext";
|
|
|
2447
2447
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
2448
2448
|
|
|
2449
2449
|
// ../build-tools/src/plugins/index.ts
|
|
2450
|
-
|
|
2450
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2451
2451
|
|
|
2452
2452
|
// ../build-tools/src/plugins/analyze.ts
|
|
2453
|
-
|
|
2453
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2454
2454
|
|
|
2455
2455
|
// ../build-tools/src/plugins/swc.ts
|
|
2456
|
-
|
|
2456
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2457
2457
|
var _core = require('@swc/core');
|
|
2458
2458
|
|
|
2459
2459
|
// ../build-tools/src/plugins/ts-resolve.ts
|
|
2460
|
-
|
|
2460
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2461
2461
|
|
|
2462
2462
|
var _module = require('module');
|
|
2463
2463
|
|
|
2464
2464
|
var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_resolve2);
|
|
2465
2465
|
|
|
2466
2466
|
// ../build-tools/src/plugins/type-definitions.ts
|
|
2467
|
-
|
|
2467
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2468
2468
|
|
|
2469
2469
|
|
|
2470
2470
|
|
|
2471
2471
|
// ../build-tools/src/types.ts
|
|
2472
|
-
|
|
2472
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2473
2473
|
|
|
2474
2474
|
// ../build-tools/src/utilities/index.ts
|
|
2475
|
-
|
|
2475
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2476
2476
|
|
|
2477
2477
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
2478
|
-
|
|
2478
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2479
2479
|
var _copyassetshandler = require('@nx/js/src/utils/assets/copy-assets-handler');
|
|
2480
2480
|
var _glob = require('glob');
|
|
2481
2481
|
|
|
@@ -2507,7 +2507,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
2507
2507
|
}
|
|
2508
2508
|
writeTrace(
|
|
2509
2509
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
2510
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
2510
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkKKCTOCNQjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
2511
2511
|
config
|
|
2512
2512
|
);
|
|
2513
2513
|
const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
|
|
@@ -2520,17 +2520,17 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
2520
2520
|
writeTrace("Completed copying assets to the output directory", config);
|
|
2521
2521
|
if (includeSrc === true) {
|
|
2522
2522
|
writeDebug(
|
|
2523
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
2523
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
2524
2524
|
outputPath,
|
|
2525
2525
|
"src"
|
|
2526
2526
|
)}`,
|
|
2527
2527
|
config
|
|
2528
2528
|
);
|
|
2529
2529
|
const files = await _glob.glob.call(void 0, [
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2530
|
+
_chunkKKCTOCNQjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
2531
|
+
_chunkKKCTOCNQjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
2532
|
+
_chunkKKCTOCNQjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
2533
|
+
_chunkKKCTOCNQjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
2534
2534
|
]);
|
|
2535
2535
|
await Promise.allSettled(
|
|
2536
2536
|
files.map(
|
|
@@ -2548,7 +2548,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
2548
2548
|
};
|
|
2549
2549
|
|
|
2550
2550
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
2551
|
-
|
|
2551
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2552
2552
|
var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
|
|
2553
2553
|
|
|
2554
2554
|
|
|
@@ -2586,7 +2586,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2586
2586
|
)) {
|
|
2587
2587
|
const projectNode = project.node;
|
|
2588
2588
|
if (projectNode.data.root) {
|
|
2589
|
-
const projectPackageJsonPath =
|
|
2589
|
+
const projectPackageJsonPath = _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
2590
2590
|
workspaceRoot2,
|
|
2591
2591
|
projectNode.data.root,
|
|
2592
2592
|
"package.json"
|
|
@@ -2608,7 +2608,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2608
2608
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
2609
2609
|
);
|
|
2610
2610
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
2611
|
-
|
|
2611
|
+
_chunkKKCTOCNQjs.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
2612
2612
|
"utf8"
|
|
2613
2613
|
);
|
|
2614
2614
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -2621,7 +2621,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2621
2621
|
}
|
|
2622
2622
|
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) => {
|
|
2623
2623
|
if (_optionalChain([projectConfigurations, 'access', _106 => _106.projects, 'optionalAccess', _107 => _107[dep]])) {
|
|
2624
|
-
const depPackageJsonPath =
|
|
2624
|
+
const depPackageJsonPath = _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
2625
2625
|
workspaceRoot2,
|
|
2626
2626
|
projectConfigurations.projects[dep].root,
|
|
2627
2627
|
"package.json"
|
|
@@ -2659,7 +2659,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2659
2659
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
2660
2660
|
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
|
|
2661
2661
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
2662
|
-
|
|
2662
|
+
_chunkKKCTOCNQjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
2663
2663
|
"utf8"
|
|
2664
2664
|
);
|
|
2665
2665
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -2670,7 +2670,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
2670
2670
|
if (distSrc.startsWith("/")) {
|
|
2671
2671
|
distSrc = distSrc.substring(1);
|
|
2672
2672
|
}
|
|
2673
|
-
packageJson.source ??= `${
|
|
2673
|
+
packageJson.source ??= `${_chunkKKCTOCNQjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
2674
2674
|
}
|
|
2675
2675
|
packageJson.files ??= ["dist/**/*"];
|
|
2676
2676
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -2695,7 +2695,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
2695
2695
|
packageJson.contributors = [packageJson.author];
|
|
2696
2696
|
}
|
|
2697
2697
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
2698
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
2698
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkKKCTOCNQjs.joinPaths.call(void 0, "packages", projectName);
|
|
2699
2699
|
return packageJson;
|
|
2700
2700
|
};
|
|
2701
2701
|
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
@@ -2720,11 +2720,11 @@ var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
|
2720
2720
|
};
|
|
2721
2721
|
|
|
2722
2722
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
2723
|
-
|
|
2723
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2724
2724
|
|
|
2725
2725
|
|
|
2726
2726
|
// ../build-tools/src/utilities/get-env.ts
|
|
2727
|
-
|
|
2727
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2728
2728
|
var getEnv = (builder, options) => {
|
|
2729
2729
|
return {
|
|
2730
2730
|
STORM_BUILD: builder,
|
|
@@ -2739,21 +2739,21 @@ var getEnv = (builder, options) => {
|
|
|
2739
2739
|
};
|
|
2740
2740
|
|
|
2741
2741
|
// ../build-tools/src/utilities/get-file-banner.ts
|
|
2742
|
-
|
|
2742
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2743
2743
|
|
|
2744
2744
|
// ../build-tools/src/utilities/get-out-extension.ts
|
|
2745
|
-
|
|
2745
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2746
2746
|
|
|
2747
2747
|
// ../build-tools/src/utilities/get-project-deps.ts
|
|
2748
|
-
|
|
2748
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2749
2749
|
|
|
2750
2750
|
// ../build-tools/src/utilities/read-nx-config.ts
|
|
2751
|
-
|
|
2751
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2752
2752
|
|
|
2753
2753
|
|
|
2754
2754
|
|
|
2755
2755
|
// ../build-tools/src/utilities/task-graph.ts
|
|
2756
|
-
|
|
2756
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2757
2757
|
|
|
2758
2758
|
|
|
2759
2759
|
|
|
@@ -2782,14 +2782,14 @@ async function copyBuildAssets(context) {
|
|
|
2782
2782
|
}
|
|
2783
2783
|
|
|
2784
2784
|
// ../esbuild/src/clean.ts
|
|
2785
|
-
|
|
2785
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2786
2786
|
|
|
2787
2787
|
async function cleanDirectories(directory) {
|
|
2788
2788
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
2789
2789
|
}
|
|
2790
2790
|
|
|
2791
2791
|
// ../esbuild/src/context.ts
|
|
2792
|
-
|
|
2792
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2793
2793
|
|
|
2794
2794
|
|
|
2795
2795
|
|
|
@@ -2800,7 +2800,7 @@ _chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
|
2800
2800
|
var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
2801
2801
|
|
|
2802
2802
|
// ../esbuild/src/config.ts
|
|
2803
|
-
|
|
2803
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2804
2804
|
var DEFAULT_BUILD_OPTIONS = {
|
|
2805
2805
|
platform: "node",
|
|
2806
2806
|
target: "node22",
|
|
@@ -2858,7 +2858,7 @@ async function resolveContext(userOptions) {
|
|
|
2858
2858
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
2859
2859
|
exitOnError: true
|
|
2860
2860
|
});
|
|
2861
|
-
const projectJsonPath =
|
|
2861
|
+
const projectJsonPath = _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
2862
2862
|
workspaceRoot2.dir,
|
|
2863
2863
|
projectRoot,
|
|
2864
2864
|
"project.json"
|
|
@@ -2877,7 +2877,7 @@ async function resolveContext(userOptions) {
|
|
|
2877
2877
|
}
|
|
2878
2878
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
2879
2879
|
options.name ??= projectName;
|
|
2880
|
-
const packageJsonPath =
|
|
2880
|
+
const packageJsonPath = _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
2881
2881
|
workspaceRoot2.dir,
|
|
2882
2882
|
options.projectRoot,
|
|
2883
2883
|
"package.json"
|
|
@@ -2889,7 +2889,7 @@ async function resolveContext(userOptions) {
|
|
|
2889
2889
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
2890
2890
|
const resolvedOptions = {
|
|
2891
2891
|
...options,
|
|
2892
|
-
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig :
|
|
2892
|
+
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkKKCTOCNQjs.joinPaths.call(void 0, workspaceRoot2.dir, projectRoot, "tsconfig.json"),
|
|
2893
2893
|
metafile: userOptions.mode === "development",
|
|
2894
2894
|
clean: false,
|
|
2895
2895
|
env,
|
|
@@ -2914,8 +2914,8 @@ async function resolveContext(userOptions) {
|
|
|
2914
2914
|
projectConfigurations,
|
|
2915
2915
|
projectName,
|
|
2916
2916
|
projectGraph,
|
|
2917
|
-
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot ||
|
|
2918
|
-
outputPath: resolvedOptions.outputPath ||
|
|
2917
|
+
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkKKCTOCNQjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
|
|
2918
|
+
outputPath: resolvedOptions.outputPath || _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
2919
2919
|
workspaceConfig.workspaceRoot,
|
|
2920
2920
|
"dist",
|
|
2921
2921
|
resolvedOptions.projectRoot
|
|
@@ -2935,15 +2935,15 @@ ${formatLogMessage(context.options)}`,
|
|
|
2935
2935
|
}
|
|
2936
2936
|
|
|
2937
2937
|
// ../esbuild/src/package-json.ts
|
|
2938
|
-
|
|
2938
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
2939
2939
|
|
|
2940
2940
|
|
|
2941
2941
|
|
|
2942
2942
|
async function generatePackageJson(context) {
|
|
2943
|
-
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
2943
|
+
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkKKCTOCNQjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
2944
2944
|
writeDebug(" \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
2945
2945
|
const stopwatch = getStopwatch("Write package.json file");
|
|
2946
|
-
const packageJsonPath =
|
|
2946
|
+
const packageJsonPath = _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
2947
2947
|
context.options.projectRoot,
|
|
2948
2948
|
"project.json"
|
|
2949
2949
|
);
|
|
@@ -2951,7 +2951,7 @@ async function generatePackageJson(context) {
|
|
|
2951
2951
|
throw new Error("Cannot find package.json configuration");
|
|
2952
2952
|
}
|
|
2953
2953
|
const packageJsonFile = await _promises2.default.readFile(
|
|
2954
|
-
|
|
2954
|
+
_chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
2955
2955
|
context.workspaceConfig.workspaceRoot,
|
|
2956
2956
|
context.options.projectRoot,
|
|
2957
2957
|
"package.json"
|
|
@@ -3057,7 +3057,7 @@ async function generatePackageJson(context) {
|
|
|
3057
3057
|
}
|
|
3058
3058
|
}
|
|
3059
3059
|
await _devkit.writeJsonFile.call(void 0,
|
|
3060
|
-
|
|
3060
|
+
_chunkKKCTOCNQjs.joinPaths.call(void 0, context.outputPath, "package.json"),
|
|
3061
3061
|
packageJson
|
|
3062
3062
|
);
|
|
3063
3063
|
stopwatch();
|
|
@@ -3066,10 +3066,10 @@ async function generatePackageJson(context) {
|
|
|
3066
3066
|
}
|
|
3067
3067
|
|
|
3068
3068
|
// ../esbuild/src/tsup.ts
|
|
3069
|
-
|
|
3069
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3070
3070
|
|
|
3071
3071
|
// ../tsup/src/index.ts
|
|
3072
|
-
|
|
3072
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3073
3073
|
var _tsup = require('tsup');
|
|
3074
3074
|
async function build(options) {
|
|
3075
3075
|
if (!options.silent) {
|
|
@@ -3094,7 +3094,7 @@ async function executeTsup(context) {
|
|
|
3094
3094
|
const stopwatch = getStopwatch(`${context.options.name} build`);
|
|
3095
3095
|
await build({
|
|
3096
3096
|
...context.options,
|
|
3097
|
-
outDir: context.options.distDir ?
|
|
3097
|
+
outDir: context.options.distDir ? _chunkKKCTOCNQjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
3098
3098
|
workspaceConfig: context.workspaceConfig
|
|
3099
3099
|
});
|
|
3100
3100
|
stopwatch();
|
|
@@ -3204,12 +3204,12 @@ var executor_default6 = withRunExecutor(
|
|
|
3204
3204
|
);
|
|
3205
3205
|
|
|
3206
3206
|
// ../workspace-tools/src/executors/napi/executor.ts
|
|
3207
|
-
|
|
3207
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3208
3208
|
var _jiti = require('jiti');
|
|
3209
3209
|
var _fileutils = require('nx/src/utils/fileutils');
|
|
3210
3210
|
async function napiExecutor(options, context, config) {
|
|
3211
3211
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3212
|
-
fsCache: config.skipCache ? false :
|
|
3212
|
+
fsCache: config.skipCache ? false : _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
3213
3213
|
config.workspaceRoot,
|
|
3214
3214
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3215
3215
|
"jiti"
|
|
@@ -3225,53 +3225,53 @@ async function napiExecutor(options, context, config) {
|
|
|
3225
3225
|
);
|
|
3226
3226
|
}
|
|
3227
3227
|
const projectRoot = _optionalChain([context, 'access', _149 => _149.projectGraph, 'optionalAccess', _150 => _150.nodes, 'access', _151 => _151[_nullishCoalesce(context.projectName, () => ( ""))], 'access', _152 => _152.data, 'access', _153 => _153.root]);
|
|
3228
|
-
const packageJson =
|
|
3228
|
+
const packageJson = _chunkKKCTOCNQjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
3229
3229
|
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
3230
3230
|
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
3231
3231
|
}
|
|
3232
3232
|
const napi = new NapiCli();
|
|
3233
3233
|
const normalizedOptions = { ...options };
|
|
3234
3234
|
const metadata = cargoMetadata();
|
|
3235
|
-
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _154 => _154.target_directory]) ||
|
|
3235
|
+
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _154 => _154.target_directory]) || _chunkKKCTOCNQjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
|
|
3236
3236
|
normalizedOptions.outputDir = options.outputPath;
|
|
3237
3237
|
normalizedOptions.packageJsonPath = options.packageJsonPath || packageJson;
|
|
3238
3238
|
if (options.cwd) {
|
|
3239
|
-
normalizedOptions.cwd =
|
|
3239
|
+
normalizedOptions.cwd = _chunkKKCTOCNQjs.correctPaths.call(void 0, options.cwd);
|
|
3240
3240
|
} else {
|
|
3241
|
-
normalizedOptions.cwd =
|
|
3242
|
-
const absoluteProjectRoot =
|
|
3241
|
+
normalizedOptions.cwd = _chunkKKCTOCNQjs.correctPaths.call(void 0, projectRoot);
|
|
3242
|
+
const absoluteProjectRoot = _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
3243
3243
|
config.workspaceRoot,
|
|
3244
3244
|
projectRoot || "."
|
|
3245
3245
|
);
|
|
3246
3246
|
if (normalizedOptions.outputDir) {
|
|
3247
|
-
normalizedOptions.outputDir =
|
|
3247
|
+
normalizedOptions.outputDir = _chunkKKCTOCNQjs.relative.call(void 0,
|
|
3248
3248
|
absoluteProjectRoot,
|
|
3249
|
-
|
|
3250
|
-
|
|
3249
|
+
_chunkKKCTOCNQjs.correctPaths.call(void 0,
|
|
3250
|
+
_chunkKKCTOCNQjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkKKCTOCNQjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
|
|
3251
3251
|
)
|
|
3252
3252
|
);
|
|
3253
3253
|
}
|
|
3254
3254
|
if (normalizedOptions.packageJsonPath) {
|
|
3255
|
-
normalizedOptions.packageJsonPath =
|
|
3255
|
+
normalizedOptions.packageJsonPath = _chunkKKCTOCNQjs.relative.call(void 0,
|
|
3256
3256
|
absoluteProjectRoot,
|
|
3257
|
-
|
|
3258
|
-
|
|
3257
|
+
_chunkKKCTOCNQjs.correctPaths.call(void 0,
|
|
3258
|
+
_chunkKKCTOCNQjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkKKCTOCNQjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
3259
3259
|
)
|
|
3260
3260
|
);
|
|
3261
3261
|
}
|
|
3262
3262
|
if (normalizedOptions.configPath) {
|
|
3263
|
-
normalizedOptions.configPath =
|
|
3263
|
+
normalizedOptions.configPath = _chunkKKCTOCNQjs.relative.call(void 0,
|
|
3264
3264
|
absoluteProjectRoot,
|
|
3265
|
-
|
|
3266
|
-
|
|
3265
|
+
_chunkKKCTOCNQjs.correctPaths.call(void 0,
|
|
3266
|
+
_chunkKKCTOCNQjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkKKCTOCNQjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
|
|
3267
3267
|
)
|
|
3268
3268
|
);
|
|
3269
3269
|
}
|
|
3270
3270
|
if (normalizedOptions.manifestPath) {
|
|
3271
|
-
normalizedOptions.manifestPath =
|
|
3271
|
+
normalizedOptions.manifestPath = _chunkKKCTOCNQjs.relative.call(void 0,
|
|
3272
3272
|
absoluteProjectRoot,
|
|
3273
|
-
|
|
3274
|
-
|
|
3273
|
+
_chunkKKCTOCNQjs.correctPaths.call(void 0,
|
|
3274
|
+
_chunkKKCTOCNQjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkKKCTOCNQjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
|
|
3275
3275
|
)
|
|
3276
3276
|
);
|
|
3277
3277
|
}
|
|
@@ -3304,17 +3304,17 @@ var executor_default7 = withRunExecutor(
|
|
|
3304
3304
|
);
|
|
3305
3305
|
|
|
3306
3306
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
3307
|
-
|
|
3307
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3308
3308
|
|
|
3309
3309
|
// ../npm-tools/src/helpers/get-registry.ts
|
|
3310
|
-
|
|
3310
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3311
3311
|
|
|
3312
3312
|
|
|
3313
3313
|
// ../npm-tools/src/constants.ts
|
|
3314
|
-
|
|
3314
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3315
3315
|
|
|
3316
3316
|
// ../pnpm-tools/src/helpers/replace-deps-aliases.ts
|
|
3317
|
-
|
|
3317
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3318
3318
|
|
|
3319
3319
|
|
|
3320
3320
|
|
|
@@ -3324,17 +3324,17 @@ _chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
|
3324
3324
|
var _prettier = require('prettier');
|
|
3325
3325
|
|
|
3326
3326
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
3327
|
-
|
|
3327
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3328
3328
|
|
|
3329
3329
|
// ../npm-tools/src/helpers/get-version.ts
|
|
3330
|
-
|
|
3330
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3331
3331
|
|
|
3332
3332
|
|
|
3333
3333
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
3334
3334
|
var _semver = require('semver');
|
|
3335
3335
|
|
|
3336
3336
|
// ../pnpm-tools/src/helpers/pnpm-workspace.ts
|
|
3337
|
-
|
|
3337
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3338
3338
|
|
|
3339
3339
|
|
|
3340
3340
|
var _yaml = require('yaml');
|
|
@@ -3345,7 +3345,7 @@ var _yaml = require('yaml');
|
|
|
3345
3345
|
|
|
3346
3346
|
|
|
3347
3347
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
3348
|
-
|
|
3348
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3349
3349
|
|
|
3350
3350
|
|
|
3351
3351
|
|
|
@@ -3357,7 +3357,7 @@ _chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
|
3357
3357
|
|
|
3358
3358
|
|
|
3359
3359
|
// ../workspace-tools/src/utils/project-tags.ts
|
|
3360
|
-
|
|
3360
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3361
3361
|
var ProjectTagConstants = {
|
|
3362
3362
|
Language: {
|
|
3363
3363
|
TAG_ID: "language",
|
|
@@ -3434,7 +3434,7 @@ var addProjectTag = (project, variant, value, options = {
|
|
|
3434
3434
|
var LARGE_BUFFER2 = 1024 * 1e6;
|
|
3435
3435
|
|
|
3436
3436
|
// ../workspace-tools/src/executors/size-limit/executor.ts
|
|
3437
|
-
|
|
3437
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3438
3438
|
|
|
3439
3439
|
var _esbuild = require('@size-limit/esbuild'); var _esbuild2 = _interopRequireDefault(_esbuild);
|
|
3440
3440
|
var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
|
|
@@ -3476,10 +3476,10 @@ var executor_default8 = withRunExecutor(
|
|
|
3476
3476
|
);
|
|
3477
3477
|
|
|
3478
3478
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
3479
|
-
|
|
3479
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3480
3480
|
|
|
3481
3481
|
// ../tsdown/src/build.ts
|
|
3482
|
-
|
|
3482
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3483
3483
|
|
|
3484
3484
|
|
|
3485
3485
|
|
|
@@ -3491,14 +3491,14 @@ _chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
|
3491
3491
|
var _tsdown = require('tsdown');
|
|
3492
3492
|
|
|
3493
3493
|
// ../tsdown/src/clean.ts
|
|
3494
|
-
|
|
3494
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3495
3495
|
|
|
3496
3496
|
async function cleanDirectories2(name = "TSDown", directory, config) {
|
|
3497
3497
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
3498
3498
|
}
|
|
3499
3499
|
|
|
3500
3500
|
// ../tsdown/src/config.ts
|
|
3501
|
-
|
|
3501
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3502
3502
|
function getDefaultOptions(config) {
|
|
3503
3503
|
return {
|
|
3504
3504
|
entry: ["./src/*.ts"],
|
|
@@ -3541,7 +3541,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3541
3541
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
3542
3542
|
exitOnError: true
|
|
3543
3543
|
});
|
|
3544
|
-
const projectJsonPath =
|
|
3544
|
+
const projectJsonPath = _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
3545
3545
|
workspaceRoot2,
|
|
3546
3546
|
options.projectRoot,
|
|
3547
3547
|
"project.json"
|
|
@@ -3558,7 +3558,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3558
3558
|
"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."
|
|
3559
3559
|
);
|
|
3560
3560
|
}
|
|
3561
|
-
const packageJsonPath =
|
|
3561
|
+
const packageJsonPath = _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
3562
3562
|
workspaceRoot2,
|
|
3563
3563
|
options.projectRoot,
|
|
3564
3564
|
"package.json"
|
|
@@ -3567,13 +3567,13 @@ var resolveOptions = async (userOptions) => {
|
|
|
3567
3567
|
throw new Error("Cannot find package.json configuration");
|
|
3568
3568
|
}
|
|
3569
3569
|
const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
|
|
3570
|
-
const sourceRoot = projectJson.sourceRoot ||
|
|
3570
|
+
const sourceRoot = projectJson.sourceRoot || _chunkKKCTOCNQjs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
3571
3571
|
const result = {
|
|
3572
3572
|
name: projectName,
|
|
3573
3573
|
mode: "production",
|
|
3574
3574
|
target: DEFAULT_TARGET,
|
|
3575
3575
|
generatePackageJson: true,
|
|
3576
|
-
outDir:
|
|
3576
|
+
outDir: _chunkKKCTOCNQjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
3577
3577
|
minify: !debug,
|
|
3578
3578
|
plugins: [],
|
|
3579
3579
|
assets: [],
|
|
@@ -3585,12 +3585,12 @@ var resolveOptions = async (userOptions) => {
|
|
|
3585
3585
|
clean: false,
|
|
3586
3586
|
fixedExtension: true,
|
|
3587
3587
|
nodeProtocol: true,
|
|
3588
|
-
tsconfig:
|
|
3588
|
+
tsconfig: _chunkKKCTOCNQjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
|
|
3589
3589
|
debug,
|
|
3590
3590
|
sourceRoot,
|
|
3591
3591
|
cwd: workspaceConfig.workspaceRoot,
|
|
3592
3592
|
entry: {
|
|
3593
|
-
["index"]:
|
|
3593
|
+
["index"]: _chunkKKCTOCNQjs.joinPaths.call(void 0, sourceRoot, "index.ts")
|
|
3594
3594
|
},
|
|
3595
3595
|
workspace: true,
|
|
3596
3596
|
...options,
|
|
@@ -3609,15 +3609,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
3609
3609
|
return result;
|
|
3610
3610
|
};
|
|
3611
3611
|
async function generatePackageJson2(options) {
|
|
3612
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
3612
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkKKCTOCNQjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
3613
3613
|
writeDebug(" \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
3614
3614
|
const stopwatch = getStopwatch("Write package.json file");
|
|
3615
|
-
const packageJsonPath =
|
|
3615
|
+
const packageJsonPath = _chunkKKCTOCNQjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
3616
3616
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
3617
3617
|
throw new Error("Cannot find package.json configuration");
|
|
3618
3618
|
}
|
|
3619
3619
|
const packageJsonFile = await _promises2.default.readFile(
|
|
3620
|
-
|
|
3620
|
+
_chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
3621
3621
|
options.workspaceConfig.workspaceRoot,
|
|
3622
3622
|
options.projectRoot,
|
|
3623
3623
|
"package.json"
|
|
@@ -3679,7 +3679,7 @@ async function generatePackageJson2(options) {
|
|
|
3679
3679
|
},
|
|
3680
3680
|
packageJson.exports
|
|
3681
3681
|
);
|
|
3682
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
3682
|
+
await _devkit.writeJsonFile.call(void 0, _chunkKKCTOCNQjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
3683
3683
|
stopwatch();
|
|
3684
3684
|
}
|
|
3685
3685
|
return options;
|
|
@@ -3812,7 +3812,7 @@ var executor_default9 = withRunExecutor(
|
|
|
3812
3812
|
);
|
|
3813
3813
|
|
|
3814
3814
|
// ../workspace-tools/src/executors/typia/executor.ts
|
|
3815
|
-
|
|
3815
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3816
3816
|
var _fsextra = require('fs-extra');
|
|
3817
3817
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
3818
3818
|
async function typiaExecutorFn(options, _, config) {
|
|
@@ -3852,7 +3852,7 @@ var executor_default10 = withRunExecutor(
|
|
|
3852
3852
|
);
|
|
3853
3853
|
|
|
3854
3854
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
3855
|
-
|
|
3855
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3856
3856
|
|
|
3857
3857
|
|
|
3858
3858
|
async function unbuildExecutorFn(options, context, config) {
|
|
@@ -3873,7 +3873,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3873
3873
|
);
|
|
3874
3874
|
}
|
|
3875
3875
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3876
|
-
fsCache: config.skipCache ? false :
|
|
3876
|
+
fsCache: config.skipCache ? false : _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
3877
3877
|
config.workspaceRoot,
|
|
3878
3878
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3879
3879
|
"jiti"
|
|
@@ -3895,7 +3895,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3895
3895
|
{
|
|
3896
3896
|
stubOptions: {
|
|
3897
3897
|
jiti: {
|
|
3898
|
-
fsCache: config.skipCache ? false :
|
|
3898
|
+
fsCache: config.skipCache ? false : _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
3899
3899
|
config.workspaceRoot,
|
|
3900
3900
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3901
3901
|
"jiti"
|
|
@@ -3944,10 +3944,10 @@ var executor_default11 = withRunExecutor(
|
|
|
3944
3944
|
);
|
|
3945
3945
|
|
|
3946
3946
|
// ../workspace-tools/generators.ts
|
|
3947
|
-
|
|
3947
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3948
3948
|
|
|
3949
3949
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
3950
|
-
|
|
3950
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3951
3951
|
|
|
3952
3952
|
|
|
3953
3953
|
|
|
@@ -3956,7 +3956,7 @@ _chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
|
3956
3956
|
|
|
3957
3957
|
|
|
3958
3958
|
// ../workspace-tools/src/base/base-generator.ts
|
|
3959
|
-
|
|
3959
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
3960
3960
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
3961
3961
|
skipReadingConfig: false
|
|
3962
3962
|
}) => async (tree, _options) => {
|
|
@@ -4043,7 +4043,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
4043
4043
|
};
|
|
4044
4044
|
|
|
4045
4045
|
// ../workspace-tools/src/base/typescript-library-generator.ts
|
|
4046
|
-
|
|
4046
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
4047
4047
|
|
|
4048
4048
|
|
|
4049
4049
|
|
|
@@ -4065,7 +4065,7 @@ var _init = require('@nx/js/src/generators/init/init'); var _init2 = _interopReq
|
|
|
4065
4065
|
var _generator = require('@nx/js/src/generators/setup-verdaccio/generator'); var _generator2 = _interopRequireDefault(_generator);
|
|
4066
4066
|
|
|
4067
4067
|
// ../workspace-tools/src/utils/versions.ts
|
|
4068
|
-
|
|
4068
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
4069
4069
|
var typesNodeVersion = "20.9.0";
|
|
4070
4070
|
var nxVersion = "^18.0.4";
|
|
4071
4071
|
var nodeVersion = "20.11.0";
|
|
@@ -4098,16 +4098,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4098
4098
|
const projectConfig = {
|
|
4099
4099
|
root: normalized.directory,
|
|
4100
4100
|
projectType: "library",
|
|
4101
|
-
sourceRoot:
|
|
4101
|
+
sourceRoot: _chunkKKCTOCNQjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
4102
4102
|
targets: {
|
|
4103
4103
|
build: {
|
|
4104
4104
|
executor: options.buildExecutor,
|
|
4105
4105
|
outputs: ["{options.outputPath}"],
|
|
4106
4106
|
options: {
|
|
4107
|
-
entry: [
|
|
4107
|
+
entry: [_chunkKKCTOCNQjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
|
|
4108
4108
|
outputPath: getOutputPath(normalized),
|
|
4109
|
-
tsconfig:
|
|
4110
|
-
project:
|
|
4109
|
+
tsconfig: _chunkKKCTOCNQjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
4110
|
+
project: _chunkKKCTOCNQjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
4111
4111
|
defaultConfiguration: "production",
|
|
4112
4112
|
platform: "neutral",
|
|
4113
4113
|
assets: [
|
|
@@ -4164,7 +4164,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4164
4164
|
if (!normalized.importPath) {
|
|
4165
4165
|
normalized.importPath = normalized.name;
|
|
4166
4166
|
}
|
|
4167
|
-
const packageJsonPath =
|
|
4167
|
+
const packageJsonPath = _chunkKKCTOCNQjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
4168
4168
|
if (tree.exists(packageJsonPath)) {
|
|
4169
4169
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
4170
4170
|
if (!normalized.importPath) {
|
|
@@ -4221,14 +4221,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4221
4221
|
}));
|
|
4222
4222
|
}
|
|
4223
4223
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
4224
|
-
|
|
4224
|
+
_chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
4225
4225
|
normalized.projectRoot,
|
|
4226
4226
|
"./src",
|
|
4227
4227
|
`index.${normalized.js ? "js" : "ts"}`
|
|
4228
4228
|
)
|
|
4229
4229
|
]);
|
|
4230
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
4231
|
-
|
|
4230
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkKKCTOCNQjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
4231
|
+
_chunkKKCTOCNQjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
4232
4232
|
]);
|
|
4233
4233
|
if (tree.exists("package.json")) {
|
|
4234
4234
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -4239,7 +4239,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4239
4239
|
description = packageJson.description;
|
|
4240
4240
|
}
|
|
4241
4241
|
}
|
|
4242
|
-
const tsconfigPath =
|
|
4242
|
+
const tsconfigPath = _chunkKKCTOCNQjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
4243
4243
|
if (tree.exists(tsconfigPath)) {
|
|
4244
4244
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
4245
4245
|
json.composite ??= true;
|
|
@@ -4267,7 +4267,7 @@ function getOutputPath(options) {
|
|
|
4267
4267
|
} else {
|
|
4268
4268
|
parts.push(options.projectRoot);
|
|
4269
4269
|
}
|
|
4270
|
-
return
|
|
4270
|
+
return _chunkKKCTOCNQjs.joinPaths.call(void 0, ...parts);
|
|
4271
4271
|
}
|
|
4272
4272
|
function createProjectTsConfigJson(tree, options) {
|
|
4273
4273
|
const tsconfig = {
|
|
@@ -4275,7 +4275,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
4275
4275
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _213 => _213.tsconfigOptions]), () => ( {})),
|
|
4276
4276
|
compilerOptions: {
|
|
4277
4277
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
4278
|
-
outDir:
|
|
4278
|
+
outDir: _chunkKKCTOCNQjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
4279
4279
|
noEmit: true,
|
|
4280
4280
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _214 => _214.tsconfigOptions, 'optionalAccess', _215 => _215.compilerOptions]), () => ( {}))
|
|
4281
4281
|
},
|
|
@@ -4293,7 +4293,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
4293
4293
|
"src/**/*.test.ts"
|
|
4294
4294
|
]
|
|
4295
4295
|
};
|
|
4296
|
-
_devkit.writeJson.call(void 0, tree,
|
|
4296
|
+
_devkit.writeJson.call(void 0, tree, _chunkKKCTOCNQjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
4297
4297
|
}
|
|
4298
4298
|
async function normalizeOptions(tree, options, config) {
|
|
4299
4299
|
let importPath = options.importPath;
|
|
@@ -4358,7 +4358,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
4358
4358
|
|
|
4359
4359
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
4360
4360
|
async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
4361
|
-
const filesDir =
|
|
4361
|
+
const filesDir = _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
4362
4362
|
__dirname,
|
|
4363
4363
|
"src",
|
|
4364
4364
|
"generators",
|
|
@@ -4438,7 +4438,7 @@ var generator_default = withRunGenerator(
|
|
|
4438
4438
|
);
|
|
4439
4439
|
|
|
4440
4440
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
4441
|
-
|
|
4441
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
4442
4442
|
|
|
4443
4443
|
var _zod = require('zod'); var z2 = _interopRequireWildcard(_zod);
|
|
4444
4444
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
@@ -4495,7 +4495,7 @@ var generator_default2 = withRunGenerator(
|
|
|
4495
4495
|
);
|
|
4496
4496
|
|
|
4497
4497
|
// ../workspace-tools/src/generators/init/init.ts
|
|
4498
|
-
|
|
4498
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
4499
4499
|
|
|
4500
4500
|
|
|
4501
4501
|
|
|
@@ -4523,7 +4523,7 @@ async function initGenerator(tree, schema) {
|
|
|
4523
4523
|
}
|
|
4524
4524
|
|
|
4525
4525
|
// ../workspace-tools/src/generators/neutral-library/generator.ts
|
|
4526
|
-
|
|
4526
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
4527
4527
|
|
|
4528
4528
|
|
|
4529
4529
|
|
|
@@ -4531,7 +4531,7 @@ _chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
|
4531
4531
|
|
|
4532
4532
|
|
|
4533
4533
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
4534
|
-
const filesDir =
|
|
4534
|
+
const filesDir = _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
4535
4535
|
__dirname,
|
|
4536
4536
|
"src",
|
|
4537
4537
|
"generators",
|
|
@@ -4583,7 +4583,7 @@ var generator_default3 = withRunGenerator(
|
|
|
4583
4583
|
);
|
|
4584
4584
|
|
|
4585
4585
|
// ../workspace-tools/src/generators/node-library/generator.ts
|
|
4586
|
-
|
|
4586
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
4587
4587
|
|
|
4588
4588
|
|
|
4589
4589
|
|
|
@@ -4591,7 +4591,7 @@ _chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
|
4591
4591
|
|
|
4592
4592
|
|
|
4593
4593
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
4594
|
-
const filesDir =
|
|
4594
|
+
const filesDir = _chunkKKCTOCNQjs.joinPaths.call(void 0,
|
|
4595
4595
|
__dirname,
|
|
4596
4596
|
"src",
|
|
4597
4597
|
"generators",
|
|
@@ -4645,7 +4645,7 @@ var generator_default4 = withRunGenerator(
|
|
|
4645
4645
|
);
|
|
4646
4646
|
|
|
4647
4647
|
// ../workspace-tools/src/generators/preset/generator.ts
|
|
4648
|
-
|
|
4648
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
4649
4649
|
|
|
4650
4650
|
|
|
4651
4651
|
|
|
@@ -4824,7 +4824,7 @@ async function presetGeneratorFn(tree, options) {
|
|
|
4824
4824
|
"@storm-software/cspell": "latest",
|
|
4825
4825
|
"@storm-software/prettier": "latest",
|
|
4826
4826
|
"@taplo/cli": "0.7.0",
|
|
4827
|
-
"@types/node": "^
|
|
4827
|
+
"@types/node": "^25.3.0",
|
|
4828
4828
|
copyfiles: "2.4.1",
|
|
4829
4829
|
eslint: "9.5.0",
|
|
4830
4830
|
jest: "29.7.0",
|
|
@@ -4884,10 +4884,10 @@ var generator_default5 = withRunGenerator(
|
|
|
4884
4884
|
);
|
|
4885
4885
|
|
|
4886
4886
|
// ../workspace-tools/src/base/index.ts
|
|
4887
|
-
|
|
4887
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
4888
4888
|
|
|
4889
4889
|
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
4890
|
-
|
|
4890
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
4891
4891
|
var _untyped = require('untyped');
|
|
4892
4892
|
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4893
4893
|
$schema: {
|
|
@@ -4907,7 +4907,7 @@ var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4907
4907
|
});
|
|
4908
4908
|
|
|
4909
4909
|
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
4910
|
-
|
|
4910
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
4911
4911
|
|
|
4912
4912
|
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4913
4913
|
$schema: {
|
|
@@ -4925,7 +4925,7 @@ var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4925
4925
|
});
|
|
4926
4926
|
|
|
4927
4927
|
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
4928
|
-
|
|
4928
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
4929
4929
|
|
|
4930
4930
|
var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4931
4931
|
...base_executor_untyped_default,
|
|
@@ -4998,7 +4998,7 @@ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void
|
|
|
4998
4998
|
});
|
|
4999
4999
|
|
|
5000
5000
|
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
5001
|
-
|
|
5001
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
5002
5002
|
|
|
5003
5003
|
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5004
5004
|
...base_executor_untyped_default,
|
|
@@ -5150,7 +5150,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
5150
5150
|
});
|
|
5151
5151
|
|
|
5152
5152
|
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
5153
|
-
|
|
5153
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
5154
5154
|
|
|
5155
5155
|
var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5156
5156
|
...base_generator_untyped_default,
|
|
@@ -5256,42 +5256,42 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
|
|
|
5256
5256
|
});
|
|
5257
5257
|
|
|
5258
5258
|
// ../workspace-tools/src/release/index.ts
|
|
5259
|
-
|
|
5259
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
5260
5260
|
|
|
5261
5261
|
// ../workspace-tools/src/release/js-version-actions.ts
|
|
5262
|
-
|
|
5262
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
5263
5263
|
var _versionactionsjs = require('@nx/js/src/release/version-actions.js'); var _versionactionsjs2 = _interopRequireDefault(_versionactionsjs);
|
|
5264
5264
|
|
|
5265
5265
|
// ../workspace-tools/src/release/rust-version-actions.ts
|
|
5266
|
-
|
|
5266
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
5267
5267
|
|
|
5268
5268
|
|
|
5269
5269
|
|
|
5270
5270
|
var _release = require('nx/release');
|
|
5271
5271
|
|
|
5272
5272
|
// ../workspace-tools/src/utils/registry-helpers.ts
|
|
5273
|
-
|
|
5273
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
5274
5274
|
|
|
5275
5275
|
|
|
5276
5276
|
// ../workspace-tools/src/types.ts
|
|
5277
|
-
|
|
5277
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
5278
5278
|
|
|
5279
5279
|
// ../workspace-tools/src/utils/index.ts
|
|
5280
|
-
|
|
5280
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
5281
5281
|
|
|
5282
5282
|
// ../workspace-tools/src/utils/apply-workspace-tokens.ts
|
|
5283
|
-
|
|
5283
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
5284
5284
|
|
|
5285
5285
|
// ../workspace-tools/src/utils/create-cli-options.ts
|
|
5286
|
-
|
|
5286
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
5287
5287
|
|
|
5288
5288
|
|
|
5289
5289
|
// ../workspace-tools/src/utils/get-project-configurations.ts
|
|
5290
|
-
|
|
5290
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
5291
5291
|
var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
|
|
5292
5292
|
|
|
5293
5293
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
5294
|
-
|
|
5294
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
5295
5295
|
|
|
5296
5296
|
|
|
5297
5297
|
|
|
@@ -5319,10 +5319,10 @@ var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE
|
|
|
5319
5319
|
var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
|
|
5320
5320
|
|
|
5321
5321
|
// ../workspace-tools/src/utils/nx-json.ts
|
|
5322
|
-
|
|
5322
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
5323
5323
|
|
|
5324
5324
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
5325
|
-
|
|
5325
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
5326
5326
|
|
|
5327
5327
|
|
|
5328
5328
|
|
|
@@ -5331,7 +5331,7 @@ _chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
|
5331
5331
|
|
|
5332
5332
|
|
|
5333
5333
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
5334
|
-
|
|
5334
|
+
_chunkTZ4CV2CZjs.init_cjs_shims.call(void 0, );
|
|
5335
5335
|
var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
|
|
5336
5336
|
|
|
5337
5337
|
// src/generators/init/generator.ts
|