@storm-software/projen 0.21.272 → 0.21.273
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 +12 -0
- package/README.md +1 -1
- package/dist/chunk-4A3WQDKD.js +6 -0
- package/dist/{chunk-AZOVLA4Q.mjs → chunk-5D7MNJJG.mjs} +1 -1
- package/dist/{chunk-AJVQ4UCA.mjs → chunk-B55HWXHA.mjs} +1 -1
- package/dist/{chunk-QQQ5T6NG.mjs → chunk-LDQSXIL7.mjs} +1 -1
- package/dist/{chunk-63CGF3HJ.mjs → chunk-PEAVGRTD.mjs} +2 -2
- package/dist/{chunk-DQMC6SCM.js → chunk-PTF6IW2S.js} +3 -3
- package/dist/{chunk-SNI6TRLL.js → chunk-QQOQQB3L.js} +190 -190
- package/dist/{chunk-WQWYGOWD.mjs → chunk-V6EDXEZM.mjs} +2 -2
- package/dist/{chunk-46M6ZXXX.js → chunk-YPZC3HAQ.js} +2 -2
- package/dist/{chunk-BCYBJMXC.js → chunk-YWHLDYZ3.js} +2 -2
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +4 -4
- package/dist/index.js +10 -10
- package/dist/index.mjs +5 -5
- package/dist/src/components/index.js +3 -3
- package/dist/src/components/index.mjs +2 -2
- package/dist/src/components/nx-workspace.js +4 -4
- package/dist/src/components/nx-workspace.mjs +2 -2
- package/dist/src/generators/init/generator.js +4 -4
- package/dist/src/generators/init/generator.mjs +3 -3
- package/dist/tsup.config.js +2 -2
- package/dist/tsup.config.mjs +1 -1
- package/package.json +6 -6
- package/dist/chunk-TDXCFTVS.js +0 -6
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkYWHLDYZ3js = require('./chunk-YWHLDYZ3.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkYPZC3HAQjs = require('./chunk-YPZC3HAQ.js');
|
|
10
10
|
|
|
11
11
|
// src/generators/init/generator.ts
|
|
12
|
-
|
|
12
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -18,28 +18,28 @@ _chunk46M6ZXXXjs.init_cjs_shims.call(void 0, );
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
|
|
20
20
|
// ../workspace-tools/index.ts
|
|
21
|
-
|
|
21
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
22
22
|
|
|
23
23
|
// ../workspace-tools/executors.ts
|
|
24
|
-
|
|
24
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
25
25
|
|
|
26
26
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
27
|
-
|
|
27
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
28
28
|
|
|
29
29
|
// ../workspace-tools/src/base/base-executor.ts
|
|
30
|
-
|
|
30
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
31
31
|
|
|
32
32
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
33
|
-
|
|
33
|
+
_chunkYPZC3HAQjs.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
|
+
_chunkYPZC3HAQjs.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
|
+
_chunkYPZC3HAQjs.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
|
+
_chunkYPZC3HAQjs.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
|
+
_chunkYPZC3HAQjs.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
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
174
174
|
|
|
175
175
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
176
|
-
|
|
176
|
+
_chunkYPZC3HAQjs.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
|
+
_chunkYPZC3HAQjs.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
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
209
209
|
var getLogLevel = (label) => {
|
|
210
210
|
switch (label) {
|
|
211
211
|
case "all":
|
|
@@ -432,13 +432,13 @@ var _isFunction = (value) => {
|
|
|
432
432
|
var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
|
|
433
433
|
|
|
434
434
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
435
|
-
|
|
435
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
436
436
|
|
|
437
437
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
438
|
-
|
|
438
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
439
439
|
|
|
440
440
|
// ../config-tools/src/utilities/find-up.ts
|
|
441
|
-
|
|
441
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
442
442
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
443
443
|
var _path = require('path'); var path2 = _interopRequireWildcard(_path);
|
|
444
444
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
@@ -505,11 +505,11 @@ var rootDirectories = [
|
|
|
505
505
|
];
|
|
506
506
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
507
507
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
508
|
-
return
|
|
508
|
+
return _chunkYWHLDYZ3js.correctPaths.call(void 0,
|
|
509
509
|
_nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH))
|
|
510
510
|
);
|
|
511
511
|
}
|
|
512
|
-
return
|
|
512
|
+
return _chunkYWHLDYZ3js.correctPaths.call(void 0,
|
|
513
513
|
findFolderUp(
|
|
514
514
|
_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())),
|
|
515
515
|
rootFiles,
|
|
@@ -604,13 +604,13 @@ var applyWorkspaceTokens = async (options, tokenParams, tokenizerFn) => {
|
|
|
604
604
|
};
|
|
605
605
|
|
|
606
606
|
// ../config-tools/src/utilities/get-default-config.ts
|
|
607
|
-
|
|
607
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
608
608
|
|
|
609
609
|
// ../config/src/index.ts
|
|
610
|
-
|
|
610
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
611
611
|
|
|
612
612
|
// ../config/src/constants.ts
|
|
613
|
-
|
|
613
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
614
614
|
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
615
615
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
616
616
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
@@ -629,10 +629,10 @@ var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
|
629
629
|
var STORM_DEFAULT_BANNER_ALT = "The workspace's banner image";
|
|
630
630
|
|
|
631
631
|
// ../config/src/define-config.ts
|
|
632
|
-
|
|
632
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
633
633
|
|
|
634
634
|
// ../config/src/schema.ts
|
|
635
|
-
|
|
635
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
636
636
|
var _mini = require('zod/v4/mini'); var z = _interopRequireWildcard(_mini);
|
|
637
637
|
var schemaRegistry = z.registry();
|
|
638
638
|
var colorSchema = z.string().check(
|
|
@@ -1202,7 +1202,7 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
1202
1202
|
});
|
|
1203
1203
|
|
|
1204
1204
|
// ../config/src/types.ts
|
|
1205
|
-
|
|
1205
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
1206
1206
|
var COLOR_KEYS = [
|
|
1207
1207
|
"dark",
|
|
1208
1208
|
"light",
|
|
@@ -1236,7 +1236,7 @@ async function getPackageJsonConfig(root) {
|
|
|
1236
1236
|
const workspaceRoot2 = findWorkspaceRoot(root);
|
|
1237
1237
|
if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot2, "package.json"))) {
|
|
1238
1238
|
const file = await _promises.readFile.call(void 0,
|
|
1239
|
-
|
|
1239
|
+
_chunkYWHLDYZ3js.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
1240
1240
|
"utf8"
|
|
1241
1241
|
);
|
|
1242
1242
|
if (file) {
|
|
@@ -1310,7 +1310,7 @@ function applyDefaultConfig(config) {
|
|
|
1310
1310
|
}
|
|
1311
1311
|
|
|
1312
1312
|
// ../config-tools/src/utilities/toml.ts
|
|
1313
|
-
|
|
1313
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
1314
1314
|
var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
|
|
1315
1315
|
function parseCargoToml(cargoString) {
|
|
1316
1316
|
if (!cargoString) {
|
|
@@ -1332,7 +1332,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1332
1332
|
envName: _optionalChain([fileName, 'optionalAccess', _38 => _38.toUpperCase, 'call', _39 => _39()]),
|
|
1333
1333
|
jitiOptions: {
|
|
1334
1334
|
debug: false,
|
|
1335
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1335
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkYWHLDYZ3js.joinPaths.call(void 0,
|
|
1336
1336
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1337
1337
|
"jiti"
|
|
1338
1338
|
)
|
|
@@ -1346,7 +1346,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1346
1346
|
envName: _optionalChain([fileName, 'optionalAccess', _40 => _40.toUpperCase, 'call', _41 => _41()]),
|
|
1347
1347
|
jitiOptions: {
|
|
1348
1348
|
debug: false,
|
|
1349
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1349
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkYWHLDYZ3js.joinPaths.call(void 0,
|
|
1350
1350
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1351
1351
|
"jiti"
|
|
1352
1352
|
)
|
|
@@ -1398,12 +1398,12 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
1398
1398
|
};
|
|
1399
1399
|
|
|
1400
1400
|
// ../config-tools/src/create-storm-config.ts
|
|
1401
|
-
|
|
1401
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
1402
1402
|
|
|
1403
1403
|
|
|
1404
1404
|
|
|
1405
1405
|
// ../config-tools/src/env/get-env.ts
|
|
1406
|
-
|
|
1406
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
1407
1407
|
var getExtensionEnv = (extensionName) => {
|
|
1408
1408
|
const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
|
|
1409
1409
|
return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
|
|
@@ -1465,15 +1465,15 @@ var getConfigEnv = () => {
|
|
|
1465
1465
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
1466
1466
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
1467
1467
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
1468
|
-
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ?
|
|
1469
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
1468
|
+
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ? _chunkYWHLDYZ3js.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_CONFIG_FILE`]) : void 0,
|
|
1469
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkYWHLDYZ3js.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
1470
1470
|
directories: {
|
|
1471
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
1472
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
1473
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
1474
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
1475
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
1476
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
1471
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkYWHLDYZ3js.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkYWHLDYZ3js.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
1472
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkYWHLDYZ3js.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkYWHLDYZ3js.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
1473
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkYWHLDYZ3js.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkYWHLDYZ3js.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
1474
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkYWHLDYZ3js.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkYWHLDYZ3js.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
1475
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkYWHLDYZ3js.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkYWHLDYZ3js.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
1476
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkYWHLDYZ3js.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkYWHLDYZ3js.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
|
|
1477
1477
|
},
|
|
1478
1478
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
1479
1479
|
mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -1620,7 +1620,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1620
1620
|
};
|
|
1621
1621
|
|
|
1622
1622
|
// ../config-tools/src/env/set-env.ts
|
|
1623
|
-
|
|
1623
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
1624
1624
|
var setExtensionEnv = (extensionName, extension) => {
|
|
1625
1625
|
for (const key of Object.keys(_nullishCoalesce(extension, () => ( {})))) {
|
|
1626
1626
|
if (extension[key]) {
|
|
@@ -1768,42 +1768,42 @@ var setConfigEnv = (config) => {
|
|
|
1768
1768
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
1769
1769
|
}
|
|
1770
1770
|
if (config.configFile) {
|
|
1771
|
-
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] =
|
|
1771
|
+
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] = _chunkYWHLDYZ3js.correctPaths.call(void 0,
|
|
1772
1772
|
config.configFile
|
|
1773
1773
|
);
|
|
1774
1774
|
}
|
|
1775
1775
|
if (config.workspaceRoot) {
|
|
1776
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
1777
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
1778
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
1776
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkYWHLDYZ3js.correctPaths.call(void 0, config.workspaceRoot);
|
|
1777
|
+
process.env.NX_WORKSPACE_ROOT = _chunkYWHLDYZ3js.correctPaths.call(void 0, config.workspaceRoot);
|
|
1778
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkYWHLDYZ3js.correctPaths.call(void 0, config.workspaceRoot);
|
|
1779
1779
|
}
|
|
1780
1780
|
if (config.directories) {
|
|
1781
1781
|
if (!config.skipCache && config.directories.cache) {
|
|
1782
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
1782
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkYWHLDYZ3js.correctPaths.call(void 0,
|
|
1783
1783
|
config.directories.cache
|
|
1784
1784
|
);
|
|
1785
1785
|
process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
|
|
1786
1786
|
}
|
|
1787
1787
|
if (config.directories.data) {
|
|
1788
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
1788
|
+
process.env[`${prefix}DATA_DIR`] = _chunkYWHLDYZ3js.correctPaths.call(void 0, config.directories.data);
|
|
1789
1789
|
process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
|
|
1790
1790
|
}
|
|
1791
1791
|
if (config.directories.config) {
|
|
1792
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
1792
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkYWHLDYZ3js.correctPaths.call(void 0,
|
|
1793
1793
|
config.directories.config
|
|
1794
1794
|
);
|
|
1795
1795
|
process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
|
|
1796
1796
|
}
|
|
1797
1797
|
if (config.directories.temp) {
|
|
1798
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
1798
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkYWHLDYZ3js.correctPaths.call(void 0, config.directories.temp);
|
|
1799
1799
|
process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
|
|
1800
1800
|
}
|
|
1801
1801
|
if (config.directories.log) {
|
|
1802
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
1802
|
+
process.env[`${prefix}LOG_DIR`] = _chunkYWHLDYZ3js.correctPaths.call(void 0, config.directories.log);
|
|
1803
1803
|
process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
|
|
1804
1804
|
}
|
|
1805
1805
|
if (config.directories.build) {
|
|
1806
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
1806
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkYWHLDYZ3js.correctPaths.call(void 0,
|
|
1807
1807
|
config.directories.build
|
|
1808
1808
|
);
|
|
1809
1809
|
process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
|
|
@@ -2031,7 +2031,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot2, s
|
|
|
2031
2031
|
defaultConfig
|
|
2032
2032
|
);
|
|
2033
2033
|
if (!configInput.variant) {
|
|
2034
|
-
configInput.variant = _fs.existsSync.call(void 0,
|
|
2034
|
+
configInput.variant = _fs.existsSync.call(void 0, _chunkYWHLDYZ3js.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkYWHLDYZ3js.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkYWHLDYZ3js.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkYWHLDYZ3js.joinPaths.call(void 0, _workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
|
|
2035
2035
|
}
|
|
2036
2036
|
try {
|
|
2037
2037
|
const parseResult = await Promise.resolve(
|
|
@@ -2101,7 +2101,7 @@ ${formatLogMessage(config)}`,
|
|
|
2101
2101
|
};
|
|
2102
2102
|
|
|
2103
2103
|
// ../config-tools/src/get-config.ts
|
|
2104
|
-
|
|
2104
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2105
2105
|
function getConfig(workspaceRoot2, skipLogs = false) {
|
|
2106
2106
|
return loadStormWorkspaceConfig(workspaceRoot2, skipLogs);
|
|
2107
2107
|
}
|
|
@@ -2239,7 +2239,7 @@ var _isFunction2 = (value) => {
|
|
|
2239
2239
|
};
|
|
2240
2240
|
|
|
2241
2241
|
// ../workspace-tools/src/utils/cargo.ts
|
|
2242
|
-
|
|
2242
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2243
2243
|
|
|
2244
2244
|
|
|
2245
2245
|
|
|
@@ -2389,7 +2389,7 @@ var executor_default = withRunExecutor(
|
|
|
2389
2389
|
);
|
|
2390
2390
|
|
|
2391
2391
|
// ../workspace-tools/src/executors/cargo-check/executor.ts
|
|
2392
|
-
|
|
2392
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2393
2393
|
async function cargoCheckExecutor(options, context) {
|
|
2394
2394
|
const command = buildCargoCommand("check", options, context);
|
|
2395
2395
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2409,7 +2409,7 @@ var executor_default2 = withRunExecutor(
|
|
|
2409
2409
|
);
|
|
2410
2410
|
|
|
2411
2411
|
// ../workspace-tools/src/executors/cargo-clippy/executor.ts
|
|
2412
|
-
|
|
2412
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2413
2413
|
async function cargoClippyExecutor(options, context) {
|
|
2414
2414
|
const command = buildCargoCommand("clippy", options, context);
|
|
2415
2415
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2430,7 +2430,7 @@ var executor_default3 = withRunExecutor(
|
|
|
2430
2430
|
);
|
|
2431
2431
|
|
|
2432
2432
|
// ../workspace-tools/src/executors/cargo-doc/executor.ts
|
|
2433
|
-
|
|
2433
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2434
2434
|
async function cargoDocExecutor(options, context) {
|
|
2435
2435
|
const opts = { ...options };
|
|
2436
2436
|
opts["no-deps"] = opts.noDeps;
|
|
@@ -2460,7 +2460,7 @@ var executor_default4 = withRunExecutor(
|
|
|
2460
2460
|
);
|
|
2461
2461
|
|
|
2462
2462
|
// ../workspace-tools/src/executors/cargo-format/executor.ts
|
|
2463
|
-
|
|
2463
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2464
2464
|
async function cargoFormatExecutor(options, context) {
|
|
2465
2465
|
const command = buildCargoCommand("fmt", options, context);
|
|
2466
2466
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2481,7 +2481,7 @@ var executor_default5 = withRunExecutor(
|
|
|
2481
2481
|
);
|
|
2482
2482
|
|
|
2483
2483
|
// ../workspace-tools/src/executors/cargo-publish/executor.ts
|
|
2484
|
-
|
|
2484
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2485
2485
|
|
|
2486
2486
|
|
|
2487
2487
|
|
|
@@ -2489,7 +2489,7 @@ var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
|
2489
2489
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
2490
2490
|
|
|
2491
2491
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
2492
|
-
|
|
2492
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2493
2493
|
var _jiti = require('jiti');
|
|
2494
2494
|
async function esbuildExecutorFn(options, context, config) {
|
|
2495
2495
|
writeInfo("\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
@@ -2499,7 +2499,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
2499
2499
|
);
|
|
2500
2500
|
}
|
|
2501
2501
|
const jiti = _jiti.createJiti.call(void 0, _optionalChain([config, 'optionalAccess', _114 => _114.workspaceRoot]) || process.cwd(), {
|
|
2502
|
-
fsCache: _optionalChain([config, 'optionalAccess', _115 => _115.skipCache]) ? false :
|
|
2502
|
+
fsCache: _optionalChain([config, 'optionalAccess', _115 => _115.skipCache]) ? false : _chunkYWHLDYZ3js.joinPaths.call(void 0,
|
|
2503
2503
|
_optionalChain([config, 'optionalAccess', _116 => _116.workspaceRoot]) || process.cwd(),
|
|
2504
2504
|
_optionalChain([config, 'optionalAccess', _117 => _117.directories, 'optionalAccess', _118 => _118.cache]) || "node_modules/.cache/storm",
|
|
2505
2505
|
"jiti"
|
|
@@ -2539,12 +2539,12 @@ var executor_default6 = withRunExecutor(
|
|
|
2539
2539
|
);
|
|
2540
2540
|
|
|
2541
2541
|
// ../workspace-tools/src/executors/napi/executor.ts
|
|
2542
|
-
|
|
2542
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2543
2543
|
|
|
2544
2544
|
var _fileutils = require('nx/src/utils/fileutils');
|
|
2545
2545
|
async function napiExecutor(options, context, config) {
|
|
2546
2546
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
2547
|
-
fsCache: config.skipCache ? false :
|
|
2547
|
+
fsCache: config.skipCache ? false : _chunkYWHLDYZ3js.joinPaths.call(void 0,
|
|
2548
2548
|
config.workspaceRoot,
|
|
2549
2549
|
config.directories.cache || "node_modules/.cache/storm",
|
|
2550
2550
|
"jiti"
|
|
@@ -2560,52 +2560,52 @@ async function napiExecutor(options, context, config) {
|
|
|
2560
2560
|
);
|
|
2561
2561
|
}
|
|
2562
2562
|
const projectRoot = _optionalChain([context, 'access', _130 => _130.projectGraph, 'optionalAccess', _131 => _131.nodes, 'access', _132 => _132[_nullishCoalesce(context.projectName, () => ( ""))], 'optionalAccess', _133 => _133.data, 'access', _134 => _134.root]);
|
|
2563
|
-
const packageJson =
|
|
2563
|
+
const packageJson = _chunkYWHLDYZ3js.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
2564
2564
|
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
2565
2565
|
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
2566
2566
|
}
|
|
2567
2567
|
const napi = new NapiCli();
|
|
2568
2568
|
const normalizedOptions = { ...options };
|
|
2569
2569
|
const metadata = cargoMetadata();
|
|
2570
|
-
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _135 => _135.target_directory]) ||
|
|
2570
|
+
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _135 => _135.target_directory]) || _chunkYWHLDYZ3js.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
|
|
2571
2571
|
normalizedOptions.outputDir = options.outputPath;
|
|
2572
2572
|
normalizedOptions.packageJsonPath ??= packageJson;
|
|
2573
2573
|
if (options.cwd) {
|
|
2574
|
-
normalizedOptions.cwd =
|
|
2574
|
+
normalizedOptions.cwd = _chunkYWHLDYZ3js.correctPaths.call(void 0, options.cwd);
|
|
2575
2575
|
} else {
|
|
2576
|
-
const absoluteProjectRoot =
|
|
2577
|
-
|
|
2576
|
+
const absoluteProjectRoot = _chunkYWHLDYZ3js.correctPaths.call(void 0,
|
|
2577
|
+
_chunkYWHLDYZ3js.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
|
|
2578
2578
|
);
|
|
2579
2579
|
normalizedOptions.cwd = absoluteProjectRoot;
|
|
2580
2580
|
if (normalizedOptions.outputDir) {
|
|
2581
|
-
normalizedOptions.outputDir =
|
|
2581
|
+
normalizedOptions.outputDir = _chunkYWHLDYZ3js.relative.call(void 0,
|
|
2582
2582
|
normalizedOptions.cwd,
|
|
2583
|
-
|
|
2584
|
-
|
|
2583
|
+
_chunkYWHLDYZ3js.correctPaths.call(void 0,
|
|
2584
|
+
_chunkYWHLDYZ3js.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkYWHLDYZ3js.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
|
|
2585
2585
|
)
|
|
2586
2586
|
);
|
|
2587
2587
|
}
|
|
2588
2588
|
if (normalizedOptions.packageJsonPath) {
|
|
2589
|
-
normalizedOptions.packageJsonPath =
|
|
2589
|
+
normalizedOptions.packageJsonPath = _chunkYWHLDYZ3js.relative.call(void 0,
|
|
2590
2590
|
normalizedOptions.cwd,
|
|
2591
|
-
|
|
2592
|
-
|
|
2591
|
+
_chunkYWHLDYZ3js.correctPaths.call(void 0,
|
|
2592
|
+
_chunkYWHLDYZ3js.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkYWHLDYZ3js.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
2593
2593
|
)
|
|
2594
2594
|
);
|
|
2595
2595
|
}
|
|
2596
2596
|
if (normalizedOptions.configPath) {
|
|
2597
|
-
normalizedOptions.configPath =
|
|
2597
|
+
normalizedOptions.configPath = _chunkYWHLDYZ3js.relative.call(void 0,
|
|
2598
2598
|
normalizedOptions.cwd,
|
|
2599
|
-
|
|
2600
|
-
|
|
2599
|
+
_chunkYWHLDYZ3js.correctPaths.call(void 0,
|
|
2600
|
+
_chunkYWHLDYZ3js.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkYWHLDYZ3js.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
|
|
2601
2601
|
)
|
|
2602
2602
|
);
|
|
2603
2603
|
}
|
|
2604
2604
|
if (normalizedOptions.manifestPath) {
|
|
2605
|
-
normalizedOptions.manifestPath =
|
|
2605
|
+
normalizedOptions.manifestPath = _chunkYWHLDYZ3js.relative.call(void 0,
|
|
2606
2606
|
normalizedOptions.cwd,
|
|
2607
|
-
|
|
2608
|
-
|
|
2607
|
+
_chunkYWHLDYZ3js.correctPaths.call(void 0,
|
|
2608
|
+
_chunkYWHLDYZ3js.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkYWHLDYZ3js.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
|
|
2609
2609
|
)
|
|
2610
2610
|
);
|
|
2611
2611
|
}
|
|
@@ -2648,44 +2648,44 @@ var executor_default7 = withRunExecutor(
|
|
|
2648
2648
|
);
|
|
2649
2649
|
|
|
2650
2650
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
2651
|
-
|
|
2651
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2652
2652
|
|
|
2653
2653
|
// ../pnpm-tools/src/index.ts
|
|
2654
|
-
|
|
2654
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2655
2655
|
|
|
2656
2656
|
// ../pnpm-tools/src/helpers/index.ts
|
|
2657
|
-
|
|
2657
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2658
2658
|
|
|
2659
2659
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
2660
|
-
|
|
2660
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2661
2661
|
|
|
2662
2662
|
// ../npm-tools/src/constants.ts
|
|
2663
|
-
|
|
2663
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2664
2664
|
|
|
2665
2665
|
// ../npm-tools/src/helpers/get-version.ts
|
|
2666
|
-
|
|
2666
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2667
2667
|
|
|
2668
2668
|
var _semver = require('semver');
|
|
2669
2669
|
var _stripansi = require('strip-ansi'); var _stripansi2 = _interopRequireDefault(_stripansi);
|
|
2670
2670
|
|
|
2671
2671
|
// ../npm-tools/src/helpers/get-registry.ts
|
|
2672
|
-
|
|
2672
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2673
2673
|
|
|
2674
2674
|
|
|
2675
2675
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
2676
2676
|
|
|
2677
2677
|
|
|
2678
2678
|
// ../pnpm-tools/src/helpers/format.ts
|
|
2679
|
-
|
|
2679
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2680
2680
|
|
|
2681
2681
|
// ../pnpm-tools/src/helpers/pnpm-workspace.ts
|
|
2682
|
-
|
|
2682
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2683
2683
|
|
|
2684
2684
|
|
|
2685
2685
|
var _yaml = require('yaml');
|
|
2686
2686
|
|
|
2687
2687
|
// ../pnpm-tools/src/helpers/replace-deps-aliases.ts
|
|
2688
|
-
|
|
2688
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2689
2689
|
|
|
2690
2690
|
|
|
2691
2691
|
|
|
@@ -2695,7 +2695,7 @@ _chunk46M6ZXXXjs.init_cjs_shims.call(void 0, );
|
|
|
2695
2695
|
var _prettier = require('prettier');
|
|
2696
2696
|
|
|
2697
2697
|
// ../pnpm-tools/src/types.ts
|
|
2698
|
-
|
|
2698
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2699
2699
|
|
|
2700
2700
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
2701
2701
|
|
|
@@ -2704,11 +2704,11 @@ _chunk46M6ZXXXjs.init_cjs_shims.call(void 0, );
|
|
|
2704
2704
|
|
|
2705
2705
|
|
|
2706
2706
|
// ../workspace-tools/src/utils/github.ts
|
|
2707
|
-
|
|
2707
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2708
2708
|
|
|
2709
2709
|
|
|
2710
2710
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
2711
|
-
|
|
2711
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2712
2712
|
|
|
2713
2713
|
|
|
2714
2714
|
|
|
@@ -2720,10 +2720,10 @@ _chunk46M6ZXXXjs.init_cjs_shims.call(void 0, );
|
|
|
2720
2720
|
|
|
2721
2721
|
|
|
2722
2722
|
// ../workspace-tools/src/utils/project-tags.ts
|
|
2723
|
-
|
|
2723
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2724
2724
|
|
|
2725
2725
|
// ../package-constants/src/tags.ts
|
|
2726
|
-
|
|
2726
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2727
2727
|
var ProjectTagConstants = {
|
|
2728
2728
|
Language: {
|
|
2729
2729
|
TAG_ID: "language",
|
|
@@ -2802,7 +2802,7 @@ var addProjectTag = (project, variant, value, options = {
|
|
|
2802
2802
|
var LARGE_BUFFER2 = 1024 * 1e6;
|
|
2803
2803
|
|
|
2804
2804
|
// ../workspace-tools/src/executors/size-limit/executor.ts
|
|
2805
|
-
|
|
2805
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2806
2806
|
|
|
2807
2807
|
var _esbuild = require('@size-limit/esbuild'); var _esbuild2 = _interopRequireDefault(_esbuild);
|
|
2808
2808
|
var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
|
|
@@ -2844,10 +2844,10 @@ var executor_default8 = withRunExecutor(
|
|
|
2844
2844
|
);
|
|
2845
2845
|
|
|
2846
2846
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
2847
|
-
|
|
2847
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2848
2848
|
|
|
2849
2849
|
// ../tsdown/src/build.ts
|
|
2850
|
-
|
|
2850
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2851
2851
|
|
|
2852
2852
|
|
|
2853
2853
|
|
|
@@ -2855,44 +2855,44 @@ _chunk46M6ZXXXjs.init_cjs_shims.call(void 0, );
|
|
|
2855
2855
|
|
|
2856
2856
|
|
|
2857
2857
|
// ../build-tools/src/index.ts
|
|
2858
|
-
|
|
2858
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2859
2859
|
|
|
2860
2860
|
// ../build-tools/src/config.ts
|
|
2861
|
-
|
|
2861
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2862
2862
|
var DEFAULT_ENVIRONMENT = "production";
|
|
2863
2863
|
var DEFAULT_TARGET = "esnext";
|
|
2864
2864
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
2865
2865
|
|
|
2866
2866
|
// ../build-tools/src/plugins/index.ts
|
|
2867
|
-
|
|
2867
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2868
2868
|
|
|
2869
2869
|
// ../build-tools/src/plugins/analyze.ts
|
|
2870
|
-
|
|
2870
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2871
2871
|
|
|
2872
2872
|
// ../build-tools/src/plugins/swc.ts
|
|
2873
|
-
|
|
2873
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2874
2874
|
var _core = require('@swc/core');
|
|
2875
2875
|
|
|
2876
2876
|
// ../build-tools/src/plugins/ts-resolve.ts
|
|
2877
|
-
|
|
2877
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2878
2878
|
|
|
2879
2879
|
var _module = require('module');
|
|
2880
2880
|
|
|
2881
2881
|
var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_resolve2);
|
|
2882
2882
|
|
|
2883
2883
|
// ../build-tools/src/plugins/type-definitions.ts
|
|
2884
|
-
|
|
2884
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2885
2885
|
|
|
2886
2886
|
|
|
2887
2887
|
|
|
2888
2888
|
// ../build-tools/src/types.ts
|
|
2889
|
-
|
|
2889
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2890
2890
|
|
|
2891
2891
|
// ../build-tools/src/utilities/index.ts
|
|
2892
|
-
|
|
2892
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2893
2893
|
|
|
2894
2894
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
2895
|
-
|
|
2895
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2896
2896
|
var _internal = require('@nx/js/internal');
|
|
2897
2897
|
var _glob = require('glob');
|
|
2898
2898
|
|
|
@@ -2924,7 +2924,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
2924
2924
|
}
|
|
2925
2925
|
writeTrace(
|
|
2926
2926
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
2927
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
2927
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkYWHLDYZ3js.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
2928
2928
|
config
|
|
2929
2929
|
);
|
|
2930
2930
|
const assetHandler = new (0, _internal.CopyAssetsHandler)({
|
|
@@ -2937,17 +2937,17 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
2937
2937
|
writeTrace("Completed copying assets to the output directory", config);
|
|
2938
2938
|
if (includeSrc === true) {
|
|
2939
2939
|
writeDebug(
|
|
2940
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
2940
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkYWHLDYZ3js.joinPaths.call(void 0,
|
|
2941
2941
|
outputPath,
|
|
2942
2942
|
"src"
|
|
2943
2943
|
)}`,
|
|
2944
2944
|
config
|
|
2945
2945
|
);
|
|
2946
2946
|
const files = await _glob.glob.call(void 0, [
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2947
|
+
_chunkYWHLDYZ3js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
2948
|
+
_chunkYWHLDYZ3js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
2949
|
+
_chunkYWHLDYZ3js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
2950
|
+
_chunkYWHLDYZ3js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
2951
2951
|
]);
|
|
2952
2952
|
await Promise.allSettled(
|
|
2953
2953
|
files.map(
|
|
@@ -2965,7 +2965,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
2965
2965
|
};
|
|
2966
2966
|
|
|
2967
2967
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
2968
|
-
|
|
2968
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
2969
2969
|
|
|
2970
2970
|
|
|
2971
2971
|
|
|
@@ -3003,7 +3003,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
3003
3003
|
)) {
|
|
3004
3004
|
const projectNode = project.node;
|
|
3005
3005
|
if (projectNode.data.root) {
|
|
3006
|
-
const projectPackageJsonPath =
|
|
3006
|
+
const projectPackageJsonPath = _chunkYWHLDYZ3js.joinPaths.call(void 0,
|
|
3007
3007
|
workspaceRoot2,
|
|
3008
3008
|
projectNode.data.root,
|
|
3009
3009
|
"package.json"
|
|
@@ -3025,7 +3025,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
3025
3025
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
3026
3026
|
);
|
|
3027
3027
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
3028
|
-
|
|
3028
|
+
_chunkYWHLDYZ3js.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
3029
3029
|
"utf8"
|
|
3030
3030
|
);
|
|
3031
3031
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -3038,7 +3038,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
3038
3038
|
}
|
|
3039
3039
|
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _155 => _155.projects, 'optionalAccess', _156 => _156[projectName2], 'access', _157 => _157.implicitDependencies, 'optionalAccess', _158 => _158.reduce, 'call', _159 => _159((ret, dep) => {
|
|
3040
3040
|
if (_optionalChain([projectConfigurations, 'access', _160 => _160.projects, 'optionalAccess', _161 => _161[dep]])) {
|
|
3041
|
-
const depPackageJsonPath =
|
|
3041
|
+
const depPackageJsonPath = _chunkYWHLDYZ3js.joinPaths.call(void 0,
|
|
3042
3042
|
workspaceRoot2,
|
|
3043
3043
|
projectConfigurations.projects[dep].root,
|
|
3044
3044
|
"package.json"
|
|
@@ -3076,7 +3076,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
3076
3076
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
3077
3077
|
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
|
|
3078
3078
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
3079
|
-
|
|
3079
|
+
_chunkYWHLDYZ3js.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
3080
3080
|
"utf8"
|
|
3081
3081
|
);
|
|
3082
3082
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -3087,7 +3087,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
3087
3087
|
if (distSrc.startsWith("/")) {
|
|
3088
3088
|
distSrc = distSrc.substring(1);
|
|
3089
3089
|
}
|
|
3090
|
-
packageJson.source ??= `${
|
|
3090
|
+
packageJson.source ??= `${_chunkYWHLDYZ3js.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
3091
3091
|
}
|
|
3092
3092
|
packageJson.files ??= ["dist/**/*"];
|
|
3093
3093
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -3112,7 +3112,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
3112
3112
|
packageJson.contributors = [packageJson.author];
|
|
3113
3113
|
}
|
|
3114
3114
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
3115
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
3115
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkYWHLDYZ3js.joinPaths.call(void 0, "packages", projectName);
|
|
3116
3116
|
return packageJson;
|
|
3117
3117
|
};
|
|
3118
3118
|
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
@@ -3137,11 +3137,11 @@ var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
|
3137
3137
|
};
|
|
3138
3138
|
|
|
3139
3139
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
3140
|
-
|
|
3140
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
3141
3141
|
|
|
3142
3142
|
|
|
3143
3143
|
// ../build-tools/src/utilities/get-env.ts
|
|
3144
|
-
|
|
3144
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
3145
3145
|
var getEnv = (builder, options) => {
|
|
3146
3146
|
return {
|
|
3147
3147
|
STORM_BUILD: builder,
|
|
@@ -3156,21 +3156,21 @@ var getEnv = (builder, options) => {
|
|
|
3156
3156
|
};
|
|
3157
3157
|
|
|
3158
3158
|
// ../build-tools/src/utilities/get-file-banner.ts
|
|
3159
|
-
|
|
3159
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
3160
3160
|
|
|
3161
3161
|
// ../build-tools/src/utilities/get-out-extension.ts
|
|
3162
|
-
|
|
3162
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
3163
3163
|
|
|
3164
3164
|
// ../build-tools/src/utilities/get-project-deps.ts
|
|
3165
|
-
|
|
3165
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
3166
3166
|
|
|
3167
3167
|
// ../build-tools/src/utilities/read-nx-config.ts
|
|
3168
|
-
|
|
3168
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
3169
3169
|
|
|
3170
3170
|
|
|
3171
3171
|
|
|
3172
3172
|
// ../build-tools/src/utilities/task-graph.ts
|
|
3173
|
-
|
|
3173
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
3174
3174
|
|
|
3175
3175
|
|
|
3176
3176
|
|
|
@@ -3183,14 +3183,14 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
|
3183
3183
|
var _tsdown = require('tsdown');
|
|
3184
3184
|
|
|
3185
3185
|
// ../tsdown/src/clean.ts
|
|
3186
|
-
|
|
3186
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
3187
3187
|
|
|
3188
3188
|
async function cleanDirectories(name = "TSDown", directory, config) {
|
|
3189
3189
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
3190
3190
|
}
|
|
3191
3191
|
|
|
3192
3192
|
// ../tsdown/src/config.ts
|
|
3193
|
-
|
|
3193
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
3194
3194
|
function getDefaultOptions(config) {
|
|
3195
3195
|
return {
|
|
3196
3196
|
entry: ["./src/*.ts"],
|
|
@@ -3233,7 +3233,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3233
3233
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
3234
3234
|
exitOnError: true
|
|
3235
3235
|
});
|
|
3236
|
-
const projectJsonPath =
|
|
3236
|
+
const projectJsonPath = _chunkYWHLDYZ3js.joinPaths.call(void 0,
|
|
3237
3237
|
workspaceRoot2,
|
|
3238
3238
|
options.projectRoot,
|
|
3239
3239
|
"project.json"
|
|
@@ -3250,7 +3250,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3250
3250
|
"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."
|
|
3251
3251
|
);
|
|
3252
3252
|
}
|
|
3253
|
-
const packageJsonPath =
|
|
3253
|
+
const packageJsonPath = _chunkYWHLDYZ3js.joinPaths.call(void 0,
|
|
3254
3254
|
workspaceRoot2,
|
|
3255
3255
|
options.projectRoot,
|
|
3256
3256
|
"package.json"
|
|
@@ -3259,13 +3259,13 @@ var resolveOptions = async (userOptions) => {
|
|
|
3259
3259
|
throw new Error("Cannot find package.json configuration");
|
|
3260
3260
|
}
|
|
3261
3261
|
const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
|
|
3262
|
-
const sourceRoot = projectJson.sourceRoot ||
|
|
3262
|
+
const sourceRoot = projectJson.sourceRoot || _chunkYWHLDYZ3js.joinPaths.call(void 0, options.projectRoot, "src");
|
|
3263
3263
|
const result = {
|
|
3264
3264
|
name: projectName,
|
|
3265
3265
|
mode: "production",
|
|
3266
3266
|
target: DEFAULT_TARGET,
|
|
3267
3267
|
generatePackageJson: true,
|
|
3268
|
-
outDir:
|
|
3268
|
+
outDir: _chunkYWHLDYZ3js.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
3269
3269
|
minify: !debug,
|
|
3270
3270
|
plugins: [],
|
|
3271
3271
|
assets: [],
|
|
@@ -3276,12 +3276,12 @@ var resolveOptions = async (userOptions) => {
|
|
|
3276
3276
|
clean: false,
|
|
3277
3277
|
fixedExtension: true,
|
|
3278
3278
|
nodeProtocol: true,
|
|
3279
|
-
tsconfig:
|
|
3279
|
+
tsconfig: _chunkYWHLDYZ3js.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
|
|
3280
3280
|
debug,
|
|
3281
3281
|
sourceRoot,
|
|
3282
3282
|
cwd: workspaceConfig.workspaceRoot,
|
|
3283
3283
|
entry: {
|
|
3284
|
-
["index"]:
|
|
3284
|
+
["index"]: _chunkYWHLDYZ3js.joinPaths.call(void 0, sourceRoot, "index.ts")
|
|
3285
3285
|
},
|
|
3286
3286
|
workspace: true,
|
|
3287
3287
|
...options,
|
|
@@ -3300,15 +3300,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
3300
3300
|
return result;
|
|
3301
3301
|
};
|
|
3302
3302
|
async function generatePackageJson(options) {
|
|
3303
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
3303
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkYWHLDYZ3js.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
3304
3304
|
writeDebug(" \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
3305
3305
|
const stopwatch = getStopwatch("Write package.json file");
|
|
3306
|
-
const packageJsonPath =
|
|
3306
|
+
const packageJsonPath = _chunkYWHLDYZ3js.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
3307
3307
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
3308
3308
|
throw new Error("Cannot find package.json configuration");
|
|
3309
3309
|
}
|
|
3310
3310
|
const packageJsonFile = await _promises2.default.readFile(
|
|
3311
|
-
|
|
3311
|
+
_chunkYWHLDYZ3js.joinPaths.call(void 0,
|
|
3312
3312
|
options.workspaceConfig.workspaceRoot,
|
|
3313
3313
|
options.projectRoot,
|
|
3314
3314
|
"package.json"
|
|
@@ -3370,7 +3370,7 @@ async function generatePackageJson(options) {
|
|
|
3370
3370
|
},
|
|
3371
3371
|
packageJson.exports
|
|
3372
3372
|
);
|
|
3373
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
3373
|
+
await _devkit.writeJsonFile.call(void 0, _chunkYWHLDYZ3js.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
3374
3374
|
stopwatch();
|
|
3375
3375
|
}
|
|
3376
3376
|
return options;
|
|
@@ -3503,7 +3503,7 @@ var executor_default9 = withRunExecutor(
|
|
|
3503
3503
|
);
|
|
3504
3504
|
|
|
3505
3505
|
// ../workspace-tools/src/executors/typia/executor.ts
|
|
3506
|
-
|
|
3506
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
3507
3507
|
var _fsextra = require('fs-extra');
|
|
3508
3508
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
3509
3509
|
async function typiaExecutorFn(options, _, config) {
|
|
@@ -3543,7 +3543,7 @@ var executor_default10 = withRunExecutor(
|
|
|
3543
3543
|
);
|
|
3544
3544
|
|
|
3545
3545
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
3546
|
-
|
|
3546
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
3547
3547
|
|
|
3548
3548
|
|
|
3549
3549
|
async function unbuildExecutorFn(options, context, config) {
|
|
@@ -3564,7 +3564,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3564
3564
|
);
|
|
3565
3565
|
}
|
|
3566
3566
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3567
|
-
fsCache: config.skipCache ? false :
|
|
3567
|
+
fsCache: config.skipCache ? false : _chunkYWHLDYZ3js.joinPaths.call(void 0,
|
|
3568
3568
|
config.workspaceRoot,
|
|
3569
3569
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3570
3570
|
"jiti"
|
|
@@ -3586,7 +3586,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3586
3586
|
{
|
|
3587
3587
|
stubOptions: {
|
|
3588
3588
|
jiti: {
|
|
3589
|
-
fsCache: config.skipCache ? false :
|
|
3589
|
+
fsCache: config.skipCache ? false : _chunkYWHLDYZ3js.joinPaths.call(void 0,
|
|
3590
3590
|
config.workspaceRoot,
|
|
3591
3591
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3592
3592
|
"jiti"
|
|
@@ -3635,10 +3635,10 @@ var executor_default11 = withRunExecutor(
|
|
|
3635
3635
|
);
|
|
3636
3636
|
|
|
3637
3637
|
// ../workspace-tools/generators.ts
|
|
3638
|
-
|
|
3638
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
3639
3639
|
|
|
3640
3640
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
3641
|
-
|
|
3641
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
3642
3642
|
|
|
3643
3643
|
|
|
3644
3644
|
|
|
@@ -3647,7 +3647,7 @@ _chunk46M6ZXXXjs.init_cjs_shims.call(void 0, );
|
|
|
3647
3647
|
|
|
3648
3648
|
|
|
3649
3649
|
// ../workspace-tools/src/base/base-generator.ts
|
|
3650
|
-
|
|
3650
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
3651
3651
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
3652
3652
|
skipReadingConfig: false
|
|
3653
3653
|
}) => async (tree, _options) => {
|
|
@@ -3734,7 +3734,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
3734
3734
|
};
|
|
3735
3735
|
|
|
3736
3736
|
// ../workspace-tools/src/base/typescript-library-generator.ts
|
|
3737
|
-
|
|
3737
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
3738
3738
|
|
|
3739
3739
|
|
|
3740
3740
|
|
|
@@ -3754,7 +3754,7 @@ var _internal3 = require('@nx/devkit/internal');
|
|
|
3754
3754
|
var _js = require('@nx/js');
|
|
3755
3755
|
|
|
3756
3756
|
// ../workspace-tools/src/utils/versions.ts
|
|
3757
|
-
|
|
3757
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
3758
3758
|
var typesNodeVersion = "20.9.0";
|
|
3759
3759
|
var nxVersion = "^18.0.4";
|
|
3760
3760
|
var nodeVersion = "20.11.0";
|
|
@@ -3778,16 +3778,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3778
3778
|
const projectConfig = {
|
|
3779
3779
|
root: normalized.directory,
|
|
3780
3780
|
projectType: "library",
|
|
3781
|
-
sourceRoot:
|
|
3781
|
+
sourceRoot: _chunkYWHLDYZ3js.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
3782
3782
|
targets: {
|
|
3783
3783
|
build: {
|
|
3784
3784
|
executor: options.buildExecutor,
|
|
3785
3785
|
outputs: ["{options.outputPath}"],
|
|
3786
3786
|
options: {
|
|
3787
|
-
entry: [
|
|
3787
|
+
entry: [_chunkYWHLDYZ3js.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
|
|
3788
3788
|
outputPath: getOutputPath(normalized),
|
|
3789
|
-
tsconfig:
|
|
3790
|
-
project:
|
|
3789
|
+
tsconfig: _chunkYWHLDYZ3js.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
3790
|
+
project: _chunkYWHLDYZ3js.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
3791
3791
|
defaultConfiguration: "production",
|
|
3792
3792
|
platform: "neutral",
|
|
3793
3793
|
assets: [
|
|
@@ -3844,7 +3844,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3844
3844
|
if (!normalized.importPath) {
|
|
3845
3845
|
normalized.importPath = normalized.name;
|
|
3846
3846
|
}
|
|
3847
|
-
const packageJsonPath =
|
|
3847
|
+
const packageJsonPath = _chunkYWHLDYZ3js.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
3848
3848
|
if (tree.exists(packageJsonPath)) {
|
|
3849
3849
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
3850
3850
|
if (!normalized.importPath) {
|
|
@@ -3901,14 +3901,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3901
3901
|
}));
|
|
3902
3902
|
}
|
|
3903
3903
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
3904
|
-
|
|
3904
|
+
_chunkYWHLDYZ3js.joinPaths.call(void 0,
|
|
3905
3905
|
normalized.projectRoot,
|
|
3906
3906
|
"./src",
|
|
3907
3907
|
`index.${normalized.js ? "js" : "ts"}`
|
|
3908
3908
|
)
|
|
3909
3909
|
]);
|
|
3910
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
3911
|
-
|
|
3910
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkYWHLDYZ3js.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
3911
|
+
_chunkYWHLDYZ3js.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
3912
3912
|
]);
|
|
3913
3913
|
if (tree.exists("package.json")) {
|
|
3914
3914
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -3919,7 +3919,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3919
3919
|
description = packageJson.description;
|
|
3920
3920
|
}
|
|
3921
3921
|
}
|
|
3922
|
-
const tsconfigPath =
|
|
3922
|
+
const tsconfigPath = _chunkYWHLDYZ3js.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
3923
3923
|
if (tree.exists(tsconfigPath)) {
|
|
3924
3924
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
3925
3925
|
json.composite ??= true;
|
|
@@ -3947,7 +3947,7 @@ function getOutputPath(options) {
|
|
|
3947
3947
|
} else {
|
|
3948
3948
|
parts.push(options.projectRoot);
|
|
3949
3949
|
}
|
|
3950
|
-
return
|
|
3950
|
+
return _chunkYWHLDYZ3js.joinPaths.call(void 0, ...parts);
|
|
3951
3951
|
}
|
|
3952
3952
|
function createProjectTsConfigJson(tree, options) {
|
|
3953
3953
|
const tsconfig = {
|
|
@@ -3955,7 +3955,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
3955
3955
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _217 => _217.tsconfigOptions]), () => ( {})),
|
|
3956
3956
|
compilerOptions: {
|
|
3957
3957
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
3958
|
-
outDir:
|
|
3958
|
+
outDir: _chunkYWHLDYZ3js.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
3959
3959
|
noEmit: true,
|
|
3960
3960
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _218 => _218.tsconfigOptions, 'optionalAccess', _219 => _219.compilerOptions]), () => ( {}))
|
|
3961
3961
|
},
|
|
@@ -3973,7 +3973,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
3973
3973
|
"src/**/*.test.ts"
|
|
3974
3974
|
]
|
|
3975
3975
|
};
|
|
3976
|
-
_devkit.writeJson.call(void 0, tree,
|
|
3976
|
+
_devkit.writeJson.call(void 0, tree, _chunkYWHLDYZ3js.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
3977
3977
|
}
|
|
3978
3978
|
async function normalizeOptions(tree, options, config) {
|
|
3979
3979
|
let importPath = options.importPath;
|
|
@@ -4038,7 +4038,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
4038
4038
|
|
|
4039
4039
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
4040
4040
|
async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
4041
|
-
const filesDir =
|
|
4041
|
+
const filesDir = _chunkYWHLDYZ3js.joinPaths.call(void 0,
|
|
4042
4042
|
__dirname,
|
|
4043
4043
|
"src",
|
|
4044
4044
|
"generators",
|
|
@@ -4118,7 +4118,7 @@ var generator_default = withRunGenerator(
|
|
|
4118
4118
|
);
|
|
4119
4119
|
|
|
4120
4120
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
4121
|
-
|
|
4121
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4122
4122
|
|
|
4123
4123
|
var _zod2 = require('zod'); var z2 = _interopRequireWildcard(_zod2);
|
|
4124
4124
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
@@ -4175,7 +4175,7 @@ var generator_default2 = withRunGenerator(
|
|
|
4175
4175
|
);
|
|
4176
4176
|
|
|
4177
4177
|
// ../workspace-tools/src/generators/init/init.ts
|
|
4178
|
-
|
|
4178
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4179
4179
|
|
|
4180
4180
|
|
|
4181
4181
|
|
|
@@ -4203,7 +4203,7 @@ async function initGenerator(tree, schema) {
|
|
|
4203
4203
|
}
|
|
4204
4204
|
|
|
4205
4205
|
// ../workspace-tools/src/generators/neutral-library/generator.ts
|
|
4206
|
-
|
|
4206
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4207
4207
|
|
|
4208
4208
|
|
|
4209
4209
|
|
|
@@ -4211,7 +4211,7 @@ _chunk46M6ZXXXjs.init_cjs_shims.call(void 0, );
|
|
|
4211
4211
|
|
|
4212
4212
|
|
|
4213
4213
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
4214
|
-
const filesDir =
|
|
4214
|
+
const filesDir = _chunkYWHLDYZ3js.joinPaths.call(void 0,
|
|
4215
4215
|
__dirname,
|
|
4216
4216
|
"src",
|
|
4217
4217
|
"generators",
|
|
@@ -4263,7 +4263,7 @@ var generator_default3 = withRunGenerator(
|
|
|
4263
4263
|
);
|
|
4264
4264
|
|
|
4265
4265
|
// ../workspace-tools/src/generators/node-library/generator.ts
|
|
4266
|
-
|
|
4266
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4267
4267
|
|
|
4268
4268
|
|
|
4269
4269
|
|
|
@@ -4271,7 +4271,7 @@ _chunk46M6ZXXXjs.init_cjs_shims.call(void 0, );
|
|
|
4271
4271
|
|
|
4272
4272
|
|
|
4273
4273
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
4274
|
-
const filesDir =
|
|
4274
|
+
const filesDir = _chunkYWHLDYZ3js.joinPaths.call(void 0,
|
|
4275
4275
|
__dirname,
|
|
4276
4276
|
"src",
|
|
4277
4277
|
"generators",
|
|
@@ -4325,7 +4325,7 @@ var generator_default4 = withRunGenerator(
|
|
|
4325
4325
|
);
|
|
4326
4326
|
|
|
4327
4327
|
// ../workspace-tools/src/generators/preset/generator.ts
|
|
4328
|
-
|
|
4328
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4329
4329
|
|
|
4330
4330
|
|
|
4331
4331
|
|
|
@@ -4564,10 +4564,10 @@ var generator_default5 = withRunGenerator(
|
|
|
4564
4564
|
);
|
|
4565
4565
|
|
|
4566
4566
|
// ../workspace-tools/src/base/index.ts
|
|
4567
|
-
|
|
4567
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4568
4568
|
|
|
4569
4569
|
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
4570
|
-
|
|
4570
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4571
4571
|
var _untyped = require('untyped');
|
|
4572
4572
|
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4573
4573
|
$schema: {
|
|
@@ -4586,7 +4586,7 @@ var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4586
4586
|
});
|
|
4587
4587
|
|
|
4588
4588
|
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
4589
|
-
|
|
4589
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4590
4590
|
|
|
4591
4591
|
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4592
4592
|
$schema: {
|
|
@@ -4604,7 +4604,7 @@ var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4604
4604
|
});
|
|
4605
4605
|
|
|
4606
4606
|
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
4607
|
-
|
|
4607
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4608
4608
|
|
|
4609
4609
|
var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4610
4610
|
...base_executor_untyped_default,
|
|
@@ -4677,7 +4677,7 @@ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void
|
|
|
4677
4677
|
});
|
|
4678
4678
|
|
|
4679
4679
|
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
4680
|
-
|
|
4680
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4681
4681
|
|
|
4682
4682
|
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4683
4683
|
...base_executor_untyped_default,
|
|
@@ -4829,7 +4829,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
4829
4829
|
});
|
|
4830
4830
|
|
|
4831
4831
|
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
4832
|
-
|
|
4832
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4833
4833
|
|
|
4834
4834
|
var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4835
4835
|
...base_generator_untyped_default,
|
|
@@ -4935,45 +4935,45 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
|
|
|
4935
4935
|
});
|
|
4936
4936
|
|
|
4937
4937
|
// ../workspace-tools/src/release/index.ts
|
|
4938
|
-
|
|
4938
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4939
4939
|
|
|
4940
4940
|
// ../workspace-tools/src/release/js-version-actions.ts
|
|
4941
|
-
|
|
4941
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4942
4942
|
var _versionactions = require('@nx/js/src/release/version-actions'); var _versionactions2 = _interopRequireDefault(_versionactions);
|
|
4943
4943
|
|
|
4944
4944
|
// ../workspace-tools/src/release/rust-version-actions.ts
|
|
4945
|
-
|
|
4945
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4946
4946
|
|
|
4947
4947
|
|
|
4948
4948
|
|
|
4949
4949
|
var _release = require('nx/release');
|
|
4950
4950
|
|
|
4951
4951
|
// ../workspace-tools/src/utils/registry-helpers.ts
|
|
4952
|
-
|
|
4952
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4953
4953
|
|
|
4954
4954
|
|
|
4955
4955
|
// ../workspace-tools/src/types.ts
|
|
4956
|
-
|
|
4956
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4957
4957
|
|
|
4958
4958
|
// ../package-constants/src/types.ts
|
|
4959
|
-
|
|
4959
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4960
4960
|
|
|
4961
4961
|
// ../workspace-tools/src/utils/index.ts
|
|
4962
|
-
|
|
4962
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4963
4963
|
|
|
4964
4964
|
// ../workspace-tools/src/utils/apply-workspace-tokens.ts
|
|
4965
|
-
|
|
4965
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4966
4966
|
|
|
4967
4967
|
// ../workspace-tools/src/utils/create-cli-options.ts
|
|
4968
|
-
|
|
4968
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4969
4969
|
|
|
4970
4970
|
|
|
4971
4971
|
// ../workspace-tools/src/utils/get-project-configurations.ts
|
|
4972
|
-
|
|
4972
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4973
4973
|
var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
|
|
4974
4974
|
|
|
4975
4975
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
4976
|
-
|
|
4976
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
4977
4977
|
|
|
4978
4978
|
|
|
4979
4979
|
|
|
@@ -5001,7 +5001,7 @@ var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE
|
|
|
5001
5001
|
var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
|
|
5002
5002
|
|
|
5003
5003
|
// ../workspace-tools/src/utils/nx-json.ts
|
|
5004
|
-
|
|
5004
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
5005
5005
|
|
|
5006
5006
|
// ../workspace-tools/config/recommended.json
|
|
5007
5007
|
var recommended_default = {
|
|
@@ -5248,7 +5248,7 @@ var NAMED_INPUTS = {
|
|
|
5248
5248
|
var RELEASE = recommended_default.release;
|
|
5249
5249
|
|
|
5250
5250
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
5251
|
-
|
|
5251
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
5252
5252
|
|
|
5253
5253
|
|
|
5254
5254
|
|
|
@@ -5257,7 +5257,7 @@ _chunk46M6ZXXXjs.init_cjs_shims.call(void 0, );
|
|
|
5257
5257
|
|
|
5258
5258
|
|
|
5259
5259
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
5260
|
-
|
|
5260
|
+
_chunkYPZC3HAQjs.init_cjs_shims.call(void 0, );
|
|
5261
5261
|
var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
|
|
5262
5262
|
|
|
5263
5263
|
// src/generators/init/generator.ts
|