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