@storm-software/projen 0.21.335 → 0.21.338
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 +24 -0
- package/dist/{chunk-UUSNBH6O.mjs → chunk-3NGCDUZ3.mjs} +1 -1
- package/dist/{chunk-JDBXEDIB.js → chunk-EWLCY7OG.js} +182 -181
- package/dist/{chunk-ADCXBB4W.mjs → chunk-FUOIKVEU.mjs} +1 -1
- package/dist/{chunk-OANNIBZP.mjs → chunk-HLZDKTEA.mjs} +1 -1
- package/dist/{chunk-MNDGDAMR.js → chunk-ITENAUIQ.js} +2 -2
- package/dist/chunk-JMQQXSPT.js +6 -0
- package/dist/{chunk-H7YK6UNJ.mjs → chunk-JX77GE6F.mjs} +2 -2
- package/dist/{chunk-VYLG7GUM.mjs → chunk-K5BSNNMV.mjs} +3 -2
- package/dist/{chunk-M7UOALKV.js → chunk-WBSDBQ5D.js} +2 -2
- package/dist/{chunk-VITGDNED.js → chunk-ZRSQQCPJ.js} +3 -3
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +4 -4
- package/dist/index.js +10 -10
- package/dist/index.mjs +5 -5
- package/dist/src/components/index.js +3 -3
- package/dist/src/components/index.mjs +2 -2
- package/dist/src/components/nx-workspace.js +4 -4
- package/dist/src/components/nx-workspace.mjs +2 -2
- package/dist/src/generators/init/generator.js +4 -4
- package/dist/src/generators/init/generator.mjs +3 -3
- package/dist/tsup.config.js +2 -2
- package/dist/tsup.config.mjs +1 -1
- package/package.json +5 -5
- package/dist/chunk-3YO5L3VT.js +0 -6
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkWBSDBQ5Djs = require('./chunk-WBSDBQ5D.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkITENAUIQjs = require('./chunk-ITENAUIQ.js');
|
|
10
10
|
|
|
11
11
|
// src/generators/init/generator.ts
|
|
12
|
-
|
|
12
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -18,28 +18,28 @@ _chunkMNDGDAMRjs.init_cjs_shims.call(void 0, );
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
|
|
20
20
|
// ../workspace-tools/index.ts
|
|
21
|
-
|
|
21
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
22
22
|
|
|
23
23
|
// ../workspace-tools/executors.ts
|
|
24
|
-
|
|
24
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
25
25
|
|
|
26
26
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
27
|
-
|
|
27
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
28
28
|
|
|
29
29
|
// ../workspace-tools/src/base/base-executor.ts
|
|
30
|
-
|
|
30
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
31
31
|
|
|
32
32
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
33
|
-
|
|
33
|
+
_chunkITENAUIQjs.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
|
+
_chunkITENAUIQjs.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
|
+
_chunkITENAUIQjs.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
|
+
_chunkITENAUIQjs.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
|
+
_chunkITENAUIQjs.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
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
174
174
|
|
|
175
175
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
176
|
-
|
|
176
|
+
_chunkITENAUIQjs.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
|
+
_chunkITENAUIQjs.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
|
+
_chunkITENAUIQjs.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
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
436
436
|
|
|
437
437
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
438
|
-
|
|
438
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
439
439
|
|
|
440
440
|
// ../config-tools/src/utilities/find-up.ts
|
|
441
|
-
|
|
441
|
+
_chunkITENAUIQjs.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 _chunkWBSDBQ5Djs.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 _chunkWBSDBQ5Djs.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
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
610
610
|
|
|
611
611
|
// ../config/src/index.ts
|
|
612
|
-
|
|
612
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
613
613
|
|
|
614
614
|
// ../config/src/constants.ts
|
|
615
|
-
|
|
615
|
+
_chunkITENAUIQjs.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
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
653
653
|
|
|
654
654
|
// ../config/src/schema.ts
|
|
655
|
-
|
|
655
|
+
_chunkITENAUIQjs.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
|
+
_chunkWBSDBQ5Djs.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
|
+
_chunkITENAUIQjs.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 : _chunkWBSDBQ5Djs.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 : _chunkWBSDBQ5Djs.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
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
1401
1401
|
|
|
1402
1402
|
|
|
1403
1403
|
|
|
1404
1404
|
// ../config-tools/src/env/get-env.ts
|
|
1405
|
-
|
|
1405
|
+
_chunkITENAUIQjs.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`] ? _chunkWBSDBQ5Djs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_CONFIG_FILE`]) : void 0,
|
|
1468
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkWBSDBQ5Djs.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`] ? _chunkWBSDBQ5Djs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkWBSDBQ5Djs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
1471
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkWBSDBQ5Djs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkWBSDBQ5Djs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
1472
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkWBSDBQ5Djs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkWBSDBQ5Djs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
1473
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkWBSDBQ5Djs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkWBSDBQ5Djs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
1474
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkWBSDBQ5Djs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkWBSDBQ5Djs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
1475
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkWBSDBQ5Djs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkWBSDBQ5Djs.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
|
+
_chunkITENAUIQjs.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`] = _chunkWBSDBQ5Djs.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`] = _chunkWBSDBQ5Djs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1776
|
+
process.env.NX_WORKSPACE_ROOT = _chunkWBSDBQ5Djs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1777
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkWBSDBQ5Djs.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`] = _chunkWBSDBQ5Djs.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`] = _chunkWBSDBQ5Djs.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`] = _chunkWBSDBQ5Djs.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`] = _chunkWBSDBQ5Djs.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`] = _chunkWBSDBQ5Djs.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`] = _chunkWBSDBQ5Djs.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, _chunkWBSDBQ5Djs.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkWBSDBQ5Djs.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkWBSDBQ5Djs.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkWBSDBQ5Djs.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
|
+
_chunkITENAUIQjs.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
|
+
_chunkITENAUIQjs.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
|
+
_chunkITENAUIQjs.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
|
+
_chunkITENAUIQjs.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
|
+
_chunkITENAUIQjs.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
|
+
_chunkITENAUIQjs.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
|
+
_chunkITENAUIQjs.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
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2491
2491
|
|
|
2492
2492
|
|
|
2493
2493
|
|
|
2494
2494
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
2495
|
-
|
|
2495
|
+
_chunkITENAUIQjs.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 : _chunkWBSDBQ5Djs.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
|
+
_chunkITENAUIQjs.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 : _chunkWBSDBQ5Djs.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 = _chunkWBSDBQ5Djs.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]) || _chunkWBSDBQ5Djs.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 = _chunkWBSDBQ5Djs.correctPaths.call(void 0, options.cwd);
|
|
2578
2578
|
} else {
|
|
2579
|
-
const absoluteProjectRoot =
|
|
2580
|
-
|
|
2579
|
+
const absoluteProjectRoot = _chunkWBSDBQ5Djs.correctPaths.call(void 0,
|
|
2580
|
+
_chunkWBSDBQ5Djs.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 = _chunkWBSDBQ5Djs.relative.call(void 0,
|
|
2585
2585
|
normalizedOptions.cwd,
|
|
2586
|
-
|
|
2587
|
-
|
|
2586
|
+
_chunkWBSDBQ5Djs.correctPaths.call(void 0,
|
|
2587
|
+
_chunkWBSDBQ5Djs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkWBSDBQ5Djs.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 = _chunkWBSDBQ5Djs.relative.call(void 0,
|
|
2593
2593
|
normalizedOptions.cwd,
|
|
2594
|
-
|
|
2595
|
-
|
|
2594
|
+
_chunkWBSDBQ5Djs.correctPaths.call(void 0,
|
|
2595
|
+
_chunkWBSDBQ5Djs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkWBSDBQ5Djs.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 = _chunkWBSDBQ5Djs.relative.call(void 0,
|
|
2601
2601
|
normalizedOptions.cwd,
|
|
2602
|
-
|
|
2603
|
-
|
|
2602
|
+
_chunkWBSDBQ5Djs.correctPaths.call(void 0,
|
|
2603
|
+
_chunkWBSDBQ5Djs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkWBSDBQ5Djs.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 = _chunkWBSDBQ5Djs.relative.call(void 0,
|
|
2609
2609
|
normalizedOptions.cwd,
|
|
2610
|
-
|
|
2611
|
-
|
|
2610
|
+
_chunkWBSDBQ5Djs.correctPaths.call(void 0,
|
|
2611
|
+
_chunkWBSDBQ5Djs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkWBSDBQ5Djs.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
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2655
2655
|
|
|
2656
2656
|
|
|
2657
2657
|
|
|
@@ -2659,11 +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
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2663
2663
|
|
|
2664
|
+
var _url = require('url');
|
|
2664
2665
|
|
|
2665
2666
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
2666
|
-
|
|
2667
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2667
2668
|
|
|
2668
2669
|
|
|
2669
2670
|
|
|
@@ -2678,10 +2679,10 @@ _chunkMNDGDAMRjs.init_cjs_shims.call(void 0, );
|
|
|
2678
2679
|
|
|
2679
2680
|
|
|
2680
2681
|
// ../workspace-tools/src/utils/project-tags.ts
|
|
2681
|
-
|
|
2682
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2682
2683
|
|
|
2683
2684
|
// ../package-constants/src/tags.ts
|
|
2684
|
-
|
|
2685
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2685
2686
|
var ProjectTagConstants = {
|
|
2686
2687
|
Language: {
|
|
2687
2688
|
TAG_ID: "language",
|
|
@@ -2757,7 +2758,7 @@ var addProjectTag = (project, variant, value, options = {
|
|
|
2757
2758
|
};
|
|
2758
2759
|
|
|
2759
2760
|
// ../workspace-tools/src/utils/package-manager.ts
|
|
2760
|
-
|
|
2761
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2761
2762
|
|
|
2762
2763
|
|
|
2763
2764
|
|
|
@@ -2767,7 +2768,7 @@ _chunkMNDGDAMRjs.init_cjs_shims.call(void 0, );
|
|
|
2767
2768
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
2768
2769
|
|
|
2769
2770
|
// ../workspace-tools/src/executors/size-limit/executor.ts
|
|
2770
|
-
|
|
2771
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2771
2772
|
|
|
2772
2773
|
var _esbuild = require('@size-limit/esbuild'); var _esbuild2 = _interopRequireDefault(_esbuild);
|
|
2773
2774
|
var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
|
|
@@ -2809,10 +2810,10 @@ var executor_default8 = withRunExecutor(
|
|
|
2809
2810
|
);
|
|
2810
2811
|
|
|
2811
2812
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
2812
|
-
|
|
2813
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2813
2814
|
|
|
2814
2815
|
// ../tsdown/src/build.ts
|
|
2815
|
-
|
|
2816
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2816
2817
|
|
|
2817
2818
|
|
|
2818
2819
|
|
|
@@ -2820,44 +2821,44 @@ _chunkMNDGDAMRjs.init_cjs_shims.call(void 0, );
|
|
|
2820
2821
|
|
|
2821
2822
|
|
|
2822
2823
|
// ../build-tools/src/index.ts
|
|
2823
|
-
|
|
2824
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2824
2825
|
|
|
2825
2826
|
// ../build-tools/src/config.ts
|
|
2826
|
-
|
|
2827
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2827
2828
|
var DEFAULT_ENVIRONMENT = "production";
|
|
2828
2829
|
var DEFAULT_TARGET = "esnext";
|
|
2829
2830
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
2830
2831
|
|
|
2831
2832
|
// ../build-tools/src/plugins/index.ts
|
|
2832
|
-
|
|
2833
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2833
2834
|
|
|
2834
2835
|
// ../build-tools/src/plugins/analyze.ts
|
|
2835
|
-
|
|
2836
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2836
2837
|
|
|
2837
2838
|
// ../build-tools/src/plugins/swc.ts
|
|
2838
|
-
|
|
2839
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2839
2840
|
var _core = require('@swc/core');
|
|
2840
2841
|
|
|
2841
2842
|
// ../build-tools/src/plugins/ts-resolve.ts
|
|
2842
|
-
|
|
2843
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2843
2844
|
|
|
2844
2845
|
var _module = require('module');
|
|
2845
2846
|
|
|
2846
2847
|
var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_resolve2);
|
|
2847
2848
|
|
|
2848
2849
|
// ../build-tools/src/plugins/type-definitions.ts
|
|
2849
|
-
|
|
2850
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2850
2851
|
|
|
2851
2852
|
|
|
2852
2853
|
|
|
2853
2854
|
// ../build-tools/src/types.ts
|
|
2854
|
-
|
|
2855
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2855
2856
|
|
|
2856
2857
|
// ../build-tools/src/utilities/index.ts
|
|
2857
|
-
|
|
2858
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2858
2859
|
|
|
2859
2860
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
2860
|
-
|
|
2861
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2861
2862
|
var _internal = require('@nx/js/internal');
|
|
2862
2863
|
var _glob = require('glob');
|
|
2863
2864
|
|
|
@@ -2889,7 +2890,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
2889
2890
|
}
|
|
2890
2891
|
writeTrace(
|
|
2891
2892
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
2892
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
2893
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkWBSDBQ5Djs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
2893
2894
|
config
|
|
2894
2895
|
);
|
|
2895
2896
|
const assetHandler = new (0, _internal.CopyAssetsHandler)({
|
|
@@ -2902,17 +2903,17 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
2902
2903
|
writeTrace("Completed copying assets to the output directory", config);
|
|
2903
2904
|
if (includeSrc === true) {
|
|
2904
2905
|
writeDebug(
|
|
2905
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
2906
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkWBSDBQ5Djs.joinPaths.call(void 0,
|
|
2906
2907
|
outputPath,
|
|
2907
2908
|
"src"
|
|
2908
2909
|
)}`,
|
|
2909
2910
|
config
|
|
2910
2911
|
);
|
|
2911
2912
|
const files = await _glob.glob.call(void 0, [
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2915
|
-
|
|
2913
|
+
_chunkWBSDBQ5Djs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
2914
|
+
_chunkWBSDBQ5Djs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
2915
|
+
_chunkWBSDBQ5Djs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
2916
|
+
_chunkWBSDBQ5Djs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
2916
2917
|
]);
|
|
2917
2918
|
await Promise.allSettled(
|
|
2918
2919
|
files.map(
|
|
@@ -2930,7 +2931,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
2930
2931
|
};
|
|
2931
2932
|
|
|
2932
2933
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
2933
|
-
|
|
2934
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
2934
2935
|
|
|
2935
2936
|
|
|
2936
2937
|
|
|
@@ -2968,7 +2969,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2968
2969
|
)) {
|
|
2969
2970
|
const projectNode = project.node;
|
|
2970
2971
|
if (projectNode.data.root) {
|
|
2971
|
-
const projectPackageJsonPath =
|
|
2972
|
+
const projectPackageJsonPath = _chunkWBSDBQ5Djs.joinPaths.call(void 0,
|
|
2972
2973
|
workspaceRoot2,
|
|
2973
2974
|
projectNode.data.root,
|
|
2974
2975
|
"package.json"
|
|
@@ -2990,7 +2991,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2990
2991
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
2991
2992
|
);
|
|
2992
2993
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
2993
|
-
|
|
2994
|
+
_chunkWBSDBQ5Djs.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
2994
2995
|
"utf8"
|
|
2995
2996
|
);
|
|
2996
2997
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -3003,7 +3004,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
3003
3004
|
}
|
|
3004
3005
|
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) => {
|
|
3005
3006
|
if (_optionalChain([projectConfigurations, 'access', _160 => _160.projects, 'optionalAccess', _161 => _161[dep]])) {
|
|
3006
|
-
const depPackageJsonPath =
|
|
3007
|
+
const depPackageJsonPath = _chunkWBSDBQ5Djs.joinPaths.call(void 0,
|
|
3007
3008
|
workspaceRoot2,
|
|
3008
3009
|
projectConfigurations.projects[dep].root,
|
|
3009
3010
|
"package.json"
|
|
@@ -3041,7 +3042,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
3041
3042
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
3042
3043
|
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
|
|
3043
3044
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
3044
|
-
|
|
3045
|
+
_chunkWBSDBQ5Djs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
3045
3046
|
"utf8"
|
|
3046
3047
|
);
|
|
3047
3048
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -3052,7 +3053,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
3052
3053
|
if (distSrc.startsWith("/")) {
|
|
3053
3054
|
distSrc = distSrc.substring(1);
|
|
3054
3055
|
}
|
|
3055
|
-
packageJson.source ??= `${
|
|
3056
|
+
packageJson.source ??= `${_chunkWBSDBQ5Djs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
3056
3057
|
}
|
|
3057
3058
|
packageJson.files ??= ["dist/**/*"];
|
|
3058
3059
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -3077,7 +3078,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
3077
3078
|
packageJson.contributors = [packageJson.author];
|
|
3078
3079
|
}
|
|
3079
3080
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
3080
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
3081
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkWBSDBQ5Djs.joinPaths.call(void 0, "packages", projectName);
|
|
3081
3082
|
return packageJson;
|
|
3082
3083
|
};
|
|
3083
3084
|
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
@@ -3102,11 +3103,11 @@ var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
|
3102
3103
|
};
|
|
3103
3104
|
|
|
3104
3105
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
3105
|
-
|
|
3106
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
3106
3107
|
|
|
3107
3108
|
|
|
3108
3109
|
// ../build-tools/src/utilities/get-env.ts
|
|
3109
|
-
|
|
3110
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
3110
3111
|
var getEnv = (builder, options) => {
|
|
3111
3112
|
return {
|
|
3112
3113
|
STORM_BUILD: builder,
|
|
@@ -3121,21 +3122,21 @@ var getEnv = (builder, options) => {
|
|
|
3121
3122
|
};
|
|
3122
3123
|
|
|
3123
3124
|
// ../build-tools/src/utilities/get-file-banner.ts
|
|
3124
|
-
|
|
3125
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
3125
3126
|
|
|
3126
3127
|
// ../build-tools/src/utilities/get-out-extension.ts
|
|
3127
|
-
|
|
3128
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
3128
3129
|
|
|
3129
3130
|
// ../build-tools/src/utilities/get-project-deps.ts
|
|
3130
|
-
|
|
3131
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
3131
3132
|
|
|
3132
3133
|
// ../build-tools/src/utilities/read-nx-config.ts
|
|
3133
|
-
|
|
3134
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
3134
3135
|
|
|
3135
3136
|
|
|
3136
3137
|
|
|
3137
3138
|
// ../build-tools/src/utilities/task-graph.ts
|
|
3138
|
-
|
|
3139
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
3139
3140
|
var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
3140
3141
|
|
|
3141
3142
|
// ../tsdown/src/build.ts
|
|
@@ -3145,14 +3146,14 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
|
3145
3146
|
var _tsdown = require('tsdown');
|
|
3146
3147
|
|
|
3147
3148
|
// ../tsdown/src/clean.ts
|
|
3148
|
-
|
|
3149
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
3149
3150
|
|
|
3150
3151
|
async function cleanDirectories(name = "TSDown", directory, config) {
|
|
3151
3152
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
3152
3153
|
}
|
|
3153
3154
|
|
|
3154
3155
|
// ../tsdown/src/config.ts
|
|
3155
|
-
|
|
3156
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
3156
3157
|
function getDefaultOptions(config) {
|
|
3157
3158
|
return {
|
|
3158
3159
|
entry: ["./src/*.ts"],
|
|
@@ -3195,7 +3196,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3195
3196
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
3196
3197
|
exitOnError: true
|
|
3197
3198
|
});
|
|
3198
|
-
const projectJsonPath =
|
|
3199
|
+
const projectJsonPath = _chunkWBSDBQ5Djs.joinPaths.call(void 0,
|
|
3199
3200
|
workspaceRoot2,
|
|
3200
3201
|
options.projectRoot,
|
|
3201
3202
|
"project.json"
|
|
@@ -3212,7 +3213,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3212
3213
|
"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."
|
|
3213
3214
|
);
|
|
3214
3215
|
}
|
|
3215
|
-
const packageJsonPath =
|
|
3216
|
+
const packageJsonPath = _chunkWBSDBQ5Djs.joinPaths.call(void 0,
|
|
3216
3217
|
workspaceRoot2,
|
|
3217
3218
|
options.projectRoot,
|
|
3218
3219
|
"package.json"
|
|
@@ -3221,13 +3222,13 @@ var resolveOptions = async (userOptions) => {
|
|
|
3221
3222
|
throw new Error("Cannot find package.json configuration");
|
|
3222
3223
|
}
|
|
3223
3224
|
const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
|
|
3224
|
-
const sourceRoot = projectJson.sourceRoot ||
|
|
3225
|
+
const sourceRoot = projectJson.sourceRoot || _chunkWBSDBQ5Djs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
3225
3226
|
const result = {
|
|
3226
3227
|
name: projectName,
|
|
3227
3228
|
mode: "production",
|
|
3228
3229
|
target: DEFAULT_TARGET,
|
|
3229
3230
|
generatePackageJson: true,
|
|
3230
|
-
outDir:
|
|
3231
|
+
outDir: _chunkWBSDBQ5Djs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
3231
3232
|
minify: !debug,
|
|
3232
3233
|
plugins: [],
|
|
3233
3234
|
assets: [],
|
|
@@ -3238,12 +3239,12 @@ var resolveOptions = async (userOptions) => {
|
|
|
3238
3239
|
clean: false,
|
|
3239
3240
|
fixedExtension: true,
|
|
3240
3241
|
nodeProtocol: true,
|
|
3241
|
-
tsconfig:
|
|
3242
|
+
tsconfig: _chunkWBSDBQ5Djs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
|
|
3242
3243
|
debug,
|
|
3243
3244
|
sourceRoot,
|
|
3244
3245
|
cwd: workspaceConfig.workspaceRoot,
|
|
3245
3246
|
entry: {
|
|
3246
|
-
["index"]:
|
|
3247
|
+
["index"]: _chunkWBSDBQ5Djs.joinPaths.call(void 0, sourceRoot, "index.ts")
|
|
3247
3248
|
},
|
|
3248
3249
|
workspace: true,
|
|
3249
3250
|
...options,
|
|
@@ -3262,15 +3263,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
3262
3263
|
return result;
|
|
3263
3264
|
};
|
|
3264
3265
|
async function generatePackageJson(options) {
|
|
3265
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
3266
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkWBSDBQ5Djs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
3266
3267
|
writeDebug(" \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
3267
3268
|
const stopwatch = getStopwatch("Write package.json file");
|
|
3268
|
-
const packageJsonPath =
|
|
3269
|
+
const packageJsonPath = _chunkWBSDBQ5Djs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
3269
3270
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
3270
3271
|
throw new Error("Cannot find package.json configuration");
|
|
3271
3272
|
}
|
|
3272
3273
|
const packageJsonFile = await _promises2.default.readFile(
|
|
3273
|
-
|
|
3274
|
+
_chunkWBSDBQ5Djs.joinPaths.call(void 0,
|
|
3274
3275
|
options.workspaceConfig.workspaceRoot,
|
|
3275
3276
|
options.projectRoot,
|
|
3276
3277
|
"package.json"
|
|
@@ -3332,7 +3333,7 @@ async function generatePackageJson(options) {
|
|
|
3332
3333
|
},
|
|
3333
3334
|
packageJson.exports
|
|
3334
3335
|
);
|
|
3335
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
3336
|
+
await _devkit.writeJsonFile.call(void 0, _chunkWBSDBQ5Djs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
3336
3337
|
stopwatch();
|
|
3337
3338
|
}
|
|
3338
3339
|
return options;
|
|
@@ -3465,7 +3466,7 @@ var executor_default9 = withRunExecutor(
|
|
|
3465
3466
|
);
|
|
3466
3467
|
|
|
3467
3468
|
// ../workspace-tools/src/executors/typia/executor.ts
|
|
3468
|
-
|
|
3469
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
3469
3470
|
var _fsextra = require('fs-extra');
|
|
3470
3471
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
3471
3472
|
async function typiaExecutorFn(options, _, config) {
|
|
@@ -3505,7 +3506,7 @@ var executor_default10 = withRunExecutor(
|
|
|
3505
3506
|
);
|
|
3506
3507
|
|
|
3507
3508
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
3508
|
-
|
|
3509
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
3509
3510
|
|
|
3510
3511
|
|
|
3511
3512
|
async function unbuildExecutorFn(options, context, config) {
|
|
@@ -3526,7 +3527,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3526
3527
|
);
|
|
3527
3528
|
}
|
|
3528
3529
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3529
|
-
fsCache: config.skipCache ? false :
|
|
3530
|
+
fsCache: config.skipCache ? false : _chunkWBSDBQ5Djs.joinPaths.call(void 0,
|
|
3530
3531
|
config.workspaceRoot,
|
|
3531
3532
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3532
3533
|
"jiti"
|
|
@@ -3548,7 +3549,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3548
3549
|
{
|
|
3549
3550
|
stubOptions: {
|
|
3550
3551
|
jiti: {
|
|
3551
|
-
fsCache: config.skipCache ? false :
|
|
3552
|
+
fsCache: config.skipCache ? false : _chunkWBSDBQ5Djs.joinPaths.call(void 0,
|
|
3552
3553
|
config.workspaceRoot,
|
|
3553
3554
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3554
3555
|
"jiti"
|
|
@@ -3597,10 +3598,10 @@ var executor_default11 = withRunExecutor(
|
|
|
3597
3598
|
);
|
|
3598
3599
|
|
|
3599
3600
|
// ../workspace-tools/generators.ts
|
|
3600
|
-
|
|
3601
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
3601
3602
|
|
|
3602
3603
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
3603
|
-
|
|
3604
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
3604
3605
|
|
|
3605
3606
|
|
|
3606
3607
|
|
|
@@ -3609,7 +3610,7 @@ _chunkMNDGDAMRjs.init_cjs_shims.call(void 0, );
|
|
|
3609
3610
|
|
|
3610
3611
|
|
|
3611
3612
|
// ../workspace-tools/src/base/base-generator.ts
|
|
3612
|
-
|
|
3613
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
3613
3614
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
3614
3615
|
skipReadingConfig: false
|
|
3615
3616
|
}) => async (tree, _options) => {
|
|
@@ -3696,7 +3697,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
3696
3697
|
};
|
|
3697
3698
|
|
|
3698
3699
|
// ../workspace-tools/src/base/typescript-library-generator.ts
|
|
3699
|
-
|
|
3700
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
3700
3701
|
|
|
3701
3702
|
|
|
3702
3703
|
|
|
@@ -3716,7 +3717,7 @@ var _internal3 = require('@nx/devkit/internal');
|
|
|
3716
3717
|
var _js = require('@nx/js');
|
|
3717
3718
|
|
|
3718
3719
|
// ../workspace-tools/src/utils/versions.ts
|
|
3719
|
-
|
|
3720
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
3720
3721
|
var typesNodeVersion = "20.9.0";
|
|
3721
3722
|
var nxVersion = "^18.0.4";
|
|
3722
3723
|
var nodeVersion = "20.11.0";
|
|
@@ -3749,16 +3750,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3749
3750
|
const projectConfig = {
|
|
3750
3751
|
root: normalized.directory,
|
|
3751
3752
|
projectType: "library",
|
|
3752
|
-
sourceRoot:
|
|
3753
|
+
sourceRoot: _chunkWBSDBQ5Djs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
3753
3754
|
targets: {
|
|
3754
3755
|
build: {
|
|
3755
3756
|
executor: options.buildExecutor,
|
|
3756
3757
|
outputs: ["{options.outputPath}"],
|
|
3757
3758
|
options: {
|
|
3758
|
-
entry: [
|
|
3759
|
+
entry: [_chunkWBSDBQ5Djs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
|
|
3759
3760
|
outputPath: getOutputPath(normalized),
|
|
3760
|
-
tsconfig:
|
|
3761
|
-
project:
|
|
3761
|
+
tsconfig: _chunkWBSDBQ5Djs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
3762
|
+
project: _chunkWBSDBQ5Djs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
3762
3763
|
defaultConfiguration: "production",
|
|
3763
3764
|
platform: "neutral",
|
|
3764
3765
|
assets: [
|
|
@@ -3815,7 +3816,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3815
3816
|
if (!normalized.importPath) {
|
|
3816
3817
|
normalized.importPath = normalized.name;
|
|
3817
3818
|
}
|
|
3818
|
-
const packageJsonPath =
|
|
3819
|
+
const packageJsonPath = _chunkWBSDBQ5Djs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
3819
3820
|
if (tree.exists(packageJsonPath)) {
|
|
3820
3821
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
3821
3822
|
if (!normalized.importPath) {
|
|
@@ -3901,14 +3902,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3901
3902
|
});
|
|
3902
3903
|
}
|
|
3903
3904
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
3904
|
-
|
|
3905
|
+
_chunkWBSDBQ5Djs.joinPaths.call(void 0,
|
|
3905
3906
|
normalized.projectRoot,
|
|
3906
3907
|
"./src",
|
|
3907
3908
|
`index.${normalized.js ? "js" : "ts"}`
|
|
3908
3909
|
)
|
|
3909
3910
|
]);
|
|
3910
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
3911
|
-
|
|
3911
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkWBSDBQ5Djs.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
3912
|
+
_chunkWBSDBQ5Djs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
3912
3913
|
]);
|
|
3913
3914
|
if (tree.exists("package.json")) {
|
|
3914
3915
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -3919,7 +3920,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3919
3920
|
description = packageJson.description;
|
|
3920
3921
|
}
|
|
3921
3922
|
}
|
|
3922
|
-
const tsconfigPath =
|
|
3923
|
+
const tsconfigPath = _chunkWBSDBQ5Djs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
3923
3924
|
if (tree.exists(tsconfigPath)) {
|
|
3924
3925
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
3925
3926
|
json.composite ??= true;
|
|
@@ -3947,7 +3948,7 @@ function getOutputPath(options) {
|
|
|
3947
3948
|
} else {
|
|
3948
3949
|
parts.push(options.projectRoot);
|
|
3949
3950
|
}
|
|
3950
|
-
return
|
|
3951
|
+
return _chunkWBSDBQ5Djs.joinPaths.call(void 0, ...parts);
|
|
3951
3952
|
}
|
|
3952
3953
|
function createProjectTsConfigJson(tree, options) {
|
|
3953
3954
|
const tsconfig = {
|
|
@@ -3955,7 +3956,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
3955
3956
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _223 => _223.tsconfigOptions]), () => ( {})),
|
|
3956
3957
|
compilerOptions: {
|
|
3957
3958
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
3958
|
-
outDir:
|
|
3959
|
+
outDir: _chunkWBSDBQ5Djs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
3959
3960
|
noEmit: true,
|
|
3960
3961
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _224 => _224.tsconfigOptions, 'optionalAccess', _225 => _225.compilerOptions]), () => ( {}))
|
|
3961
3962
|
},
|
|
@@ -3973,7 +3974,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
3973
3974
|
"src/**/*.test.ts"
|
|
3974
3975
|
]
|
|
3975
3976
|
};
|
|
3976
|
-
_devkit.writeJson.call(void 0, tree,
|
|
3977
|
+
_devkit.writeJson.call(void 0, tree, _chunkWBSDBQ5Djs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
3977
3978
|
}
|
|
3978
3979
|
async function normalizeOptions(tree, options, config) {
|
|
3979
3980
|
let importPath = options.importPath;
|
|
@@ -4038,7 +4039,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
4038
4039
|
|
|
4039
4040
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
4040
4041
|
async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
4041
|
-
const filesDir =
|
|
4042
|
+
const filesDir = _chunkWBSDBQ5Djs.joinPaths.call(void 0,
|
|
4042
4043
|
__dirname,
|
|
4043
4044
|
"src",
|
|
4044
4045
|
"generators",
|
|
@@ -4118,7 +4119,7 @@ var generator_default = withRunGenerator(
|
|
|
4118
4119
|
);
|
|
4119
4120
|
|
|
4120
4121
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
4121
|
-
|
|
4122
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
4122
4123
|
|
|
4123
4124
|
var _zod2 = require('zod'); var z2 = _interopRequireWildcard(_zod2);
|
|
4124
4125
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
@@ -4175,7 +4176,7 @@ var generator_default2 = withRunGenerator(
|
|
|
4175
4176
|
);
|
|
4176
4177
|
|
|
4177
4178
|
// ../workspace-tools/src/generators/init/init.ts
|
|
4178
|
-
|
|
4179
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
4179
4180
|
|
|
4180
4181
|
|
|
4181
4182
|
|
|
@@ -4203,7 +4204,7 @@ async function initGenerator(tree, schema) {
|
|
|
4203
4204
|
}
|
|
4204
4205
|
|
|
4205
4206
|
// ../workspace-tools/src/generators/neutral-library/generator.ts
|
|
4206
|
-
|
|
4207
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
4207
4208
|
|
|
4208
4209
|
|
|
4209
4210
|
|
|
@@ -4211,7 +4212,7 @@ _chunkMNDGDAMRjs.init_cjs_shims.call(void 0, );
|
|
|
4211
4212
|
|
|
4212
4213
|
|
|
4213
4214
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
4214
|
-
const filesDir =
|
|
4215
|
+
const filesDir = _chunkWBSDBQ5Djs.joinPaths.call(void 0,
|
|
4215
4216
|
__dirname,
|
|
4216
4217
|
"src",
|
|
4217
4218
|
"generators",
|
|
@@ -4263,7 +4264,7 @@ var generator_default3 = withRunGenerator(
|
|
|
4263
4264
|
);
|
|
4264
4265
|
|
|
4265
4266
|
// ../workspace-tools/src/generators/node-library/generator.ts
|
|
4266
|
-
|
|
4267
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
4267
4268
|
|
|
4268
4269
|
|
|
4269
4270
|
|
|
@@ -4271,7 +4272,7 @@ _chunkMNDGDAMRjs.init_cjs_shims.call(void 0, );
|
|
|
4271
4272
|
|
|
4272
4273
|
|
|
4273
4274
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
4274
|
-
const filesDir =
|
|
4275
|
+
const filesDir = _chunkWBSDBQ5Djs.joinPaths.call(void 0,
|
|
4275
4276
|
__dirname,
|
|
4276
4277
|
"src",
|
|
4277
4278
|
"generators",
|
|
@@ -4325,7 +4326,7 @@ var generator_default4 = withRunGenerator(
|
|
|
4325
4326
|
);
|
|
4326
4327
|
|
|
4327
4328
|
// ../workspace-tools/src/generators/preset/generator.ts
|
|
4328
|
-
|
|
4329
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
4329
4330
|
|
|
4330
4331
|
|
|
4331
4332
|
|
|
@@ -4338,7 +4339,7 @@ _chunkMNDGDAMRjs.init_cjs_shims.call(void 0, );
|
|
|
4338
4339
|
|
|
4339
4340
|
|
|
4340
4341
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
4341
|
-
|
|
4342
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
4342
4343
|
|
|
4343
4344
|
|
|
4344
4345
|
|
|
@@ -4613,10 +4614,10 @@ var generator_default5 = withRunGenerator(
|
|
|
4613
4614
|
);
|
|
4614
4615
|
|
|
4615
4616
|
// ../workspace-tools/src/base/index.ts
|
|
4616
|
-
|
|
4617
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
4617
4618
|
|
|
4618
4619
|
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
4619
|
-
|
|
4620
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
4620
4621
|
var _untyped = require('untyped');
|
|
4621
4622
|
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4622
4623
|
$schema: {
|
|
@@ -4635,7 +4636,7 @@ var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4635
4636
|
});
|
|
4636
4637
|
|
|
4637
4638
|
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
4638
|
-
|
|
4639
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
4639
4640
|
|
|
4640
4641
|
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4641
4642
|
$schema: {
|
|
@@ -4653,7 +4654,7 @@ var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4653
4654
|
});
|
|
4654
4655
|
|
|
4655
4656
|
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
4656
|
-
|
|
4657
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
4657
4658
|
|
|
4658
4659
|
var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4659
4660
|
...base_executor_untyped_default,
|
|
@@ -4726,7 +4727,7 @@ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void
|
|
|
4726
4727
|
});
|
|
4727
4728
|
|
|
4728
4729
|
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
4729
|
-
|
|
4730
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
4730
4731
|
|
|
4731
4732
|
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4732
4733
|
...base_executor_untyped_default,
|
|
@@ -4878,7 +4879,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
4878
4879
|
});
|
|
4879
4880
|
|
|
4880
4881
|
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
4881
|
-
|
|
4882
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
4882
4883
|
|
|
4883
4884
|
var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4884
4885
|
...base_generator_untyped_default,
|
|
@@ -4984,45 +4985,45 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
|
|
|
4984
4985
|
});
|
|
4985
4986
|
|
|
4986
4987
|
// ../workspace-tools/src/release/index.ts
|
|
4987
|
-
|
|
4988
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
4988
4989
|
|
|
4989
4990
|
// ../workspace-tools/src/release/js-version-actions.ts
|
|
4990
|
-
|
|
4991
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
4991
4992
|
var _versionactions = require('@nx/js/src/release/version-actions'); var _versionactions2 = _interopRequireDefault(_versionactions);
|
|
4992
4993
|
|
|
4993
4994
|
// ../workspace-tools/src/release/rust-version-actions.ts
|
|
4994
|
-
|
|
4995
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
4995
4996
|
|
|
4996
4997
|
|
|
4997
4998
|
|
|
4998
4999
|
var _release = require('nx/release');
|
|
4999
5000
|
|
|
5000
5001
|
// ../workspace-tools/src/utils/registry-helpers.ts
|
|
5001
|
-
|
|
5002
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
5002
5003
|
|
|
5003
5004
|
|
|
5004
5005
|
// ../workspace-tools/src/types.ts
|
|
5005
|
-
|
|
5006
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
5006
5007
|
|
|
5007
5008
|
// ../package-constants/src/types.ts
|
|
5008
|
-
|
|
5009
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
5009
5010
|
|
|
5010
5011
|
// ../workspace-tools/src/utils/index.ts
|
|
5011
|
-
|
|
5012
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
5012
5013
|
|
|
5013
5014
|
// ../workspace-tools/src/utils/apply-workspace-tokens.ts
|
|
5014
|
-
|
|
5015
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
5015
5016
|
|
|
5016
5017
|
// ../workspace-tools/src/utils/create-cli-options.ts
|
|
5017
|
-
|
|
5018
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
5018
5019
|
|
|
5019
5020
|
|
|
5020
5021
|
// ../workspace-tools/src/utils/get-project-configurations.ts
|
|
5021
|
-
|
|
5022
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
5022
5023
|
var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
|
|
5023
5024
|
|
|
5024
5025
|
// ../workspace-tools/src/utils/nx-json.ts
|
|
5025
|
-
|
|
5026
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
5026
5027
|
|
|
5027
5028
|
// ../workspace-tools/config/recommended.json
|
|
5028
5029
|
var recommended_default = {
|
|
@@ -5271,7 +5272,7 @@ var NAMED_INPUTS = {
|
|
|
5271
5272
|
var RELEASE = recommended_default.release;
|
|
5272
5273
|
|
|
5273
5274
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
5274
|
-
|
|
5275
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
5275
5276
|
|
|
5276
5277
|
|
|
5277
5278
|
|
|
@@ -5280,7 +5281,7 @@ _chunkMNDGDAMRjs.init_cjs_shims.call(void 0, );
|
|
|
5280
5281
|
|
|
5281
5282
|
|
|
5282
5283
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
5283
|
-
|
|
5284
|
+
_chunkITENAUIQjs.init_cjs_shims.call(void 0, );
|
|
5284
5285
|
var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
|
|
5285
5286
|
|
|
5286
5287
|
// src/generators/init/generator.ts
|