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