@storm-software/projen 0.21.305 → 0.21.307
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 +20 -0
- package/README.md +1 -1
- package/dist/{chunk-B7P5X4IR.mjs → chunk-5Q4FWG7J.mjs} +1 -1
- package/dist/{chunk-KLZF7RVD.js → chunk-6RASADCW.js} +3 -3
- package/dist/{chunk-7P7YXHDY.js → chunk-7ZC7FPIT.js} +180 -180
- package/dist/{chunk-EHLCBZ2Z.mjs → chunk-AHLLEQFE.mjs} +1 -1
- package/dist/{chunk-UTU7EJ36.js → chunk-BIFOQ7H4.js} +2 -2
- package/dist/{chunk-H3ZX6F7K.mjs → chunk-D5J7IZI4.mjs} +2 -2
- package/dist/{chunk-IBWOZQPB.js → chunk-IPKKAC3F.js} +2 -2
- package/dist/{chunk-SS3SOHFJ.mjs → chunk-OMM5WDBV.mjs} +1 -1
- package/dist/{chunk-3HOS7N7O.mjs → chunk-T4R6WLNL.mjs} +2 -2
- package/dist/chunk-XM3GFLCO.js +6 -0
- 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-H2ZWALWZ.js +0 -6
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkBIFOQ7H4js = require('./chunk-BIFOQ7H4.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkIPKKAC3Fjs = require('./chunk-IPKKAC3F.js');
|
|
10
10
|
|
|
11
11
|
// src/generators/init/generator.ts
|
|
12
|
-
|
|
12
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -18,28 +18,28 @@ _chunkIBWOZQPBjs.init_cjs_shims.call(void 0, );
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
|
|
20
20
|
// ../workspace-tools/index.ts
|
|
21
|
-
|
|
21
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
22
22
|
|
|
23
23
|
// ../workspace-tools/executors.ts
|
|
24
|
-
|
|
24
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
25
25
|
|
|
26
26
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
27
|
-
|
|
27
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
28
28
|
|
|
29
29
|
// ../workspace-tools/src/base/base-executor.ts
|
|
30
|
-
|
|
30
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
31
31
|
|
|
32
32
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
33
|
-
|
|
33
|
+
_chunkIPKKAC3Fjs.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
|
+
_chunkIPKKAC3Fjs.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
|
+
_chunkIPKKAC3Fjs.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
|
+
_chunkIPKKAC3Fjs.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
|
+
_chunkIPKKAC3Fjs.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
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
174
174
|
|
|
175
175
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
176
|
-
|
|
176
|
+
_chunkIPKKAC3Fjs.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
|
+
_chunkIPKKAC3Fjs.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
|
+
_chunkIPKKAC3Fjs.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
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
436
436
|
|
|
437
437
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
438
|
-
|
|
438
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
439
439
|
|
|
440
440
|
// ../config-tools/src/utilities/find-up.ts
|
|
441
|
-
|
|
441
|
+
_chunkIPKKAC3Fjs.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 _chunkBIFOQ7H4js.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 _chunkBIFOQ7H4js.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
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
610
610
|
|
|
611
611
|
// ../config/src/index.ts
|
|
612
|
-
|
|
612
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
613
613
|
|
|
614
614
|
// ../config/src/constants.ts
|
|
615
|
-
|
|
615
|
+
_chunkIPKKAC3Fjs.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
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
653
653
|
|
|
654
654
|
// ../config/src/schema.ts
|
|
655
|
-
|
|
655
|
+
_chunkIPKKAC3Fjs.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
|
+
_chunkBIFOQ7H4js.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
|
+
_chunkIPKKAC3Fjs.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 : _chunkBIFOQ7H4js.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 : _chunkBIFOQ7H4js.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
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
1401
1401
|
|
|
1402
1402
|
|
|
1403
1403
|
|
|
1404
1404
|
// ../config-tools/src/env/get-env.ts
|
|
1405
|
-
|
|
1405
|
+
_chunkIPKKAC3Fjs.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`] ? _chunkBIFOQ7H4js.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_CONFIG_FILE`]) : void 0,
|
|
1468
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkBIFOQ7H4js.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`] ? _chunkBIFOQ7H4js.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkBIFOQ7H4js.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
1471
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkBIFOQ7H4js.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkBIFOQ7H4js.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
1472
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkBIFOQ7H4js.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkBIFOQ7H4js.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
1473
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkBIFOQ7H4js.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkBIFOQ7H4js.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
1474
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkBIFOQ7H4js.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkBIFOQ7H4js.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
1475
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkBIFOQ7H4js.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkBIFOQ7H4js.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
|
+
_chunkIPKKAC3Fjs.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`] = _chunkBIFOQ7H4js.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`] = _chunkBIFOQ7H4js.correctPaths.call(void 0, config.workspaceRoot);
|
|
1776
|
+
process.env.NX_WORKSPACE_ROOT = _chunkBIFOQ7H4js.correctPaths.call(void 0, config.workspaceRoot);
|
|
1777
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkBIFOQ7H4js.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`] = _chunkBIFOQ7H4js.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`] = _chunkBIFOQ7H4js.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`] = _chunkBIFOQ7H4js.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`] = _chunkBIFOQ7H4js.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`] = _chunkBIFOQ7H4js.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`] = _chunkBIFOQ7H4js.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, _chunkBIFOQ7H4js.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkBIFOQ7H4js.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkBIFOQ7H4js.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkBIFOQ7H4js.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
|
+
_chunkIPKKAC3Fjs.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
|
+
_chunkIPKKAC3Fjs.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
|
+
_chunkIPKKAC3Fjs.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
|
+
_chunkIPKKAC3Fjs.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
|
+
_chunkIPKKAC3Fjs.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
|
+
_chunkIPKKAC3Fjs.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,7 +2480,7 @@ var executor_default5 = withRunExecutor(
|
|
|
2480
2480
|
);
|
|
2481
2481
|
|
|
2482
2482
|
// ../workspace-tools/src/executors/cargo-publish/executor.ts
|
|
2483
|
-
|
|
2483
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2484
2484
|
|
|
2485
2485
|
|
|
2486
2486
|
|
|
@@ -2488,7 +2488,7 @@ var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
|
2488
2488
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
2489
2489
|
|
|
2490
2490
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
2491
|
-
|
|
2491
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2492
2492
|
var _jiti = require('jiti');
|
|
2493
2493
|
async function esbuildExecutorFn(options, context, config) {
|
|
2494
2494
|
writeInfo("\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
@@ -2498,7 +2498,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
2498
2498
|
);
|
|
2499
2499
|
}
|
|
2500
2500
|
const jiti = _jiti.createJiti.call(void 0, _optionalChain([config, 'optionalAccess', _114 => _114.workspaceRoot]) || process.cwd(), {
|
|
2501
|
-
fsCache: _optionalChain([config, 'optionalAccess', _115 => _115.skipCache]) ? false :
|
|
2501
|
+
fsCache: _optionalChain([config, 'optionalAccess', _115 => _115.skipCache]) ? false : _chunkBIFOQ7H4js.joinPaths.call(void 0,
|
|
2502
2502
|
_optionalChain([config, 'optionalAccess', _116 => _116.workspaceRoot]) || process.cwd(),
|
|
2503
2503
|
_optionalChain([config, 'optionalAccess', _117 => _117.directories, 'optionalAccess', _118 => _118.cache]) || "node_modules/.cache/storm",
|
|
2504
2504
|
"jiti"
|
|
@@ -2538,12 +2538,12 @@ var executor_default6 = withRunExecutor(
|
|
|
2538
2538
|
);
|
|
2539
2539
|
|
|
2540
2540
|
// ../workspace-tools/src/executors/napi/executor.ts
|
|
2541
|
-
|
|
2541
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2542
2542
|
|
|
2543
2543
|
var _fileutils = require('nx/src/utils/fileutils');
|
|
2544
2544
|
async function napiExecutor(options, context, config) {
|
|
2545
2545
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
2546
|
-
fsCache: config.skipCache ? false :
|
|
2546
|
+
fsCache: config.skipCache ? false : _chunkBIFOQ7H4js.joinPaths.call(void 0,
|
|
2547
2547
|
config.workspaceRoot,
|
|
2548
2548
|
config.directories.cache || "node_modules/.cache/storm",
|
|
2549
2549
|
"jiti"
|
|
@@ -2559,52 +2559,52 @@ async function napiExecutor(options, context, config) {
|
|
|
2559
2559
|
);
|
|
2560
2560
|
}
|
|
2561
2561
|
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]);
|
|
2562
|
-
const packageJson =
|
|
2562
|
+
const packageJson = _chunkBIFOQ7H4js.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
2563
2563
|
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
2564
2564
|
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
2565
2565
|
}
|
|
2566
2566
|
const napi = new NapiCli();
|
|
2567
2567
|
const normalizedOptions = { ...options };
|
|
2568
2568
|
const metadata = cargoMetadata();
|
|
2569
|
-
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _135 => _135.target_directory]) ||
|
|
2569
|
+
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _135 => _135.target_directory]) || _chunkBIFOQ7H4js.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
|
|
2570
2570
|
normalizedOptions.outputDir = options.outputPath;
|
|
2571
2571
|
normalizedOptions.packageJsonPath ??= packageJson;
|
|
2572
2572
|
if (options.cwd) {
|
|
2573
|
-
normalizedOptions.cwd =
|
|
2573
|
+
normalizedOptions.cwd = _chunkBIFOQ7H4js.correctPaths.call(void 0, options.cwd);
|
|
2574
2574
|
} else {
|
|
2575
|
-
const absoluteProjectRoot =
|
|
2576
|
-
|
|
2575
|
+
const absoluteProjectRoot = _chunkBIFOQ7H4js.correctPaths.call(void 0,
|
|
2576
|
+
_chunkBIFOQ7H4js.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
|
|
2577
2577
|
);
|
|
2578
2578
|
normalizedOptions.cwd = absoluteProjectRoot;
|
|
2579
2579
|
if (normalizedOptions.outputDir) {
|
|
2580
|
-
normalizedOptions.outputDir =
|
|
2580
|
+
normalizedOptions.outputDir = _chunkBIFOQ7H4js.relative.call(void 0,
|
|
2581
2581
|
normalizedOptions.cwd,
|
|
2582
|
-
|
|
2583
|
-
|
|
2582
|
+
_chunkBIFOQ7H4js.correctPaths.call(void 0,
|
|
2583
|
+
_chunkBIFOQ7H4js.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkBIFOQ7H4js.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
|
|
2584
2584
|
)
|
|
2585
2585
|
);
|
|
2586
2586
|
}
|
|
2587
2587
|
if (normalizedOptions.packageJsonPath) {
|
|
2588
|
-
normalizedOptions.packageJsonPath =
|
|
2588
|
+
normalizedOptions.packageJsonPath = _chunkBIFOQ7H4js.relative.call(void 0,
|
|
2589
2589
|
normalizedOptions.cwd,
|
|
2590
|
-
|
|
2591
|
-
|
|
2590
|
+
_chunkBIFOQ7H4js.correctPaths.call(void 0,
|
|
2591
|
+
_chunkBIFOQ7H4js.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkBIFOQ7H4js.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
2592
2592
|
)
|
|
2593
2593
|
);
|
|
2594
2594
|
}
|
|
2595
2595
|
if (normalizedOptions.configPath) {
|
|
2596
|
-
normalizedOptions.configPath =
|
|
2596
|
+
normalizedOptions.configPath = _chunkBIFOQ7H4js.relative.call(void 0,
|
|
2597
2597
|
normalizedOptions.cwd,
|
|
2598
|
-
|
|
2599
|
-
|
|
2598
|
+
_chunkBIFOQ7H4js.correctPaths.call(void 0,
|
|
2599
|
+
_chunkBIFOQ7H4js.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkBIFOQ7H4js.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
|
|
2600
2600
|
)
|
|
2601
2601
|
);
|
|
2602
2602
|
}
|
|
2603
2603
|
if (normalizedOptions.manifestPath) {
|
|
2604
|
-
normalizedOptions.manifestPath =
|
|
2604
|
+
normalizedOptions.manifestPath = _chunkBIFOQ7H4js.relative.call(void 0,
|
|
2605
2605
|
normalizedOptions.cwd,
|
|
2606
|
-
|
|
2607
|
-
|
|
2606
|
+
_chunkBIFOQ7H4js.correctPaths.call(void 0,
|
|
2607
|
+
_chunkBIFOQ7H4js.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkBIFOQ7H4js.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
|
|
2608
2608
|
)
|
|
2609
2609
|
);
|
|
2610
2610
|
}
|
|
@@ -2647,18 +2647,18 @@ var executor_default7 = withRunExecutor(
|
|
|
2647
2647
|
);
|
|
2648
2648
|
|
|
2649
2649
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
2650
|
-
|
|
2650
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2651
2651
|
|
|
2652
2652
|
|
|
2653
2653
|
|
|
2654
2654
|
var _prettier = require('prettier');
|
|
2655
2655
|
|
|
2656
2656
|
// ../workspace-tools/src/utils/github.ts
|
|
2657
|
-
|
|
2657
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2658
2658
|
|
|
2659
2659
|
|
|
2660
2660
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
2661
|
-
|
|
2661
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2662
2662
|
|
|
2663
2663
|
|
|
2664
2664
|
|
|
@@ -2670,10 +2670,10 @@ _chunkIBWOZQPBjs.init_cjs_shims.call(void 0, );
|
|
|
2670
2670
|
|
|
2671
2671
|
|
|
2672
2672
|
// ../workspace-tools/src/utils/project-tags.ts
|
|
2673
|
-
|
|
2673
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2674
2674
|
|
|
2675
2675
|
// ../package-constants/src/tags.ts
|
|
2676
|
-
|
|
2676
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2677
2677
|
var ProjectTagConstants = {
|
|
2678
2678
|
Language: {
|
|
2679
2679
|
TAG_ID: "language",
|
|
@@ -2749,7 +2749,7 @@ var addProjectTag = (project, variant, value, options = {
|
|
|
2749
2749
|
};
|
|
2750
2750
|
|
|
2751
2751
|
// ../workspace-tools/src/utils/package-manager.ts
|
|
2752
|
-
|
|
2752
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2753
2753
|
|
|
2754
2754
|
|
|
2755
2755
|
|
|
@@ -2759,7 +2759,7 @@ _chunkIBWOZQPBjs.init_cjs_shims.call(void 0, );
|
|
|
2759
2759
|
var LARGE_BUFFER2 = 1024 * 1e6;
|
|
2760
2760
|
|
|
2761
2761
|
// ../workspace-tools/src/executors/size-limit/executor.ts
|
|
2762
|
-
|
|
2762
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2763
2763
|
|
|
2764
2764
|
var _esbuild = require('@size-limit/esbuild'); var _esbuild2 = _interopRequireDefault(_esbuild);
|
|
2765
2765
|
var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
|
|
@@ -2801,10 +2801,10 @@ var executor_default8 = withRunExecutor(
|
|
|
2801
2801
|
);
|
|
2802
2802
|
|
|
2803
2803
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
2804
|
-
|
|
2804
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2805
2805
|
|
|
2806
2806
|
// ../tsdown/src/build.ts
|
|
2807
|
-
|
|
2807
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2808
2808
|
|
|
2809
2809
|
|
|
2810
2810
|
|
|
@@ -2812,44 +2812,44 @@ _chunkIBWOZQPBjs.init_cjs_shims.call(void 0, );
|
|
|
2812
2812
|
|
|
2813
2813
|
|
|
2814
2814
|
// ../build-tools/src/index.ts
|
|
2815
|
-
|
|
2815
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2816
2816
|
|
|
2817
2817
|
// ../build-tools/src/config.ts
|
|
2818
|
-
|
|
2818
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2819
2819
|
var DEFAULT_ENVIRONMENT = "production";
|
|
2820
2820
|
var DEFAULT_TARGET = "esnext";
|
|
2821
2821
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
2822
2822
|
|
|
2823
2823
|
// ../build-tools/src/plugins/index.ts
|
|
2824
|
-
|
|
2824
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2825
2825
|
|
|
2826
2826
|
// ../build-tools/src/plugins/analyze.ts
|
|
2827
|
-
|
|
2827
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2828
2828
|
|
|
2829
2829
|
// ../build-tools/src/plugins/swc.ts
|
|
2830
|
-
|
|
2830
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2831
2831
|
var _core = require('@swc/core');
|
|
2832
2832
|
|
|
2833
2833
|
// ../build-tools/src/plugins/ts-resolve.ts
|
|
2834
|
-
|
|
2834
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2835
2835
|
|
|
2836
2836
|
var _module = require('module');
|
|
2837
2837
|
|
|
2838
2838
|
var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_resolve2);
|
|
2839
2839
|
|
|
2840
2840
|
// ../build-tools/src/plugins/type-definitions.ts
|
|
2841
|
-
|
|
2841
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2842
2842
|
|
|
2843
2843
|
|
|
2844
2844
|
|
|
2845
2845
|
// ../build-tools/src/types.ts
|
|
2846
|
-
|
|
2846
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2847
2847
|
|
|
2848
2848
|
// ../build-tools/src/utilities/index.ts
|
|
2849
|
-
|
|
2849
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2850
2850
|
|
|
2851
2851
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
2852
|
-
|
|
2852
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2853
2853
|
var _internal = require('@nx/js/internal');
|
|
2854
2854
|
var _glob = require('glob');
|
|
2855
2855
|
|
|
@@ -2881,7 +2881,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
2881
2881
|
}
|
|
2882
2882
|
writeTrace(
|
|
2883
2883
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
2884
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
2884
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkBIFOQ7H4js.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
2885
2885
|
config
|
|
2886
2886
|
);
|
|
2887
2887
|
const assetHandler = new (0, _internal.CopyAssetsHandler)({
|
|
@@ -2894,17 +2894,17 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
2894
2894
|
writeTrace("Completed copying assets to the output directory", config);
|
|
2895
2895
|
if (includeSrc === true) {
|
|
2896
2896
|
writeDebug(
|
|
2897
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
2897
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkBIFOQ7H4js.joinPaths.call(void 0,
|
|
2898
2898
|
outputPath,
|
|
2899
2899
|
"src"
|
|
2900
2900
|
)}`,
|
|
2901
2901
|
config
|
|
2902
2902
|
);
|
|
2903
2903
|
const files = await _glob.glob.call(void 0, [
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2904
|
+
_chunkBIFOQ7H4js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
2905
|
+
_chunkBIFOQ7H4js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
2906
|
+
_chunkBIFOQ7H4js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
2907
|
+
_chunkBIFOQ7H4js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
2908
2908
|
]);
|
|
2909
2909
|
await Promise.allSettled(
|
|
2910
2910
|
files.map(
|
|
@@ -2922,7 +2922,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
2922
2922
|
};
|
|
2923
2923
|
|
|
2924
2924
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
2925
|
-
|
|
2925
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
2926
2926
|
|
|
2927
2927
|
|
|
2928
2928
|
|
|
@@ -2960,7 +2960,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2960
2960
|
)) {
|
|
2961
2961
|
const projectNode = project.node;
|
|
2962
2962
|
if (projectNode.data.root) {
|
|
2963
|
-
const projectPackageJsonPath =
|
|
2963
|
+
const projectPackageJsonPath = _chunkBIFOQ7H4js.joinPaths.call(void 0,
|
|
2964
2964
|
workspaceRoot2,
|
|
2965
2965
|
projectNode.data.root,
|
|
2966
2966
|
"package.json"
|
|
@@ -2982,7 +2982,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2982
2982
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
2983
2983
|
);
|
|
2984
2984
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
2985
|
-
|
|
2985
|
+
_chunkBIFOQ7H4js.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
2986
2986
|
"utf8"
|
|
2987
2987
|
);
|
|
2988
2988
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -2995,7 +2995,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2995
2995
|
}
|
|
2996
2996
|
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) => {
|
|
2997
2997
|
if (_optionalChain([projectConfigurations, 'access', _160 => _160.projects, 'optionalAccess', _161 => _161[dep]])) {
|
|
2998
|
-
const depPackageJsonPath =
|
|
2998
|
+
const depPackageJsonPath = _chunkBIFOQ7H4js.joinPaths.call(void 0,
|
|
2999
2999
|
workspaceRoot2,
|
|
3000
3000
|
projectConfigurations.projects[dep].root,
|
|
3001
3001
|
"package.json"
|
|
@@ -3033,7 +3033,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
3033
3033
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
3034
3034
|
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
|
|
3035
3035
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
3036
|
-
|
|
3036
|
+
_chunkBIFOQ7H4js.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
3037
3037
|
"utf8"
|
|
3038
3038
|
);
|
|
3039
3039
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -3044,7 +3044,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
3044
3044
|
if (distSrc.startsWith("/")) {
|
|
3045
3045
|
distSrc = distSrc.substring(1);
|
|
3046
3046
|
}
|
|
3047
|
-
packageJson.source ??= `${
|
|
3047
|
+
packageJson.source ??= `${_chunkBIFOQ7H4js.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
3048
3048
|
}
|
|
3049
3049
|
packageJson.files ??= ["dist/**/*"];
|
|
3050
3050
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -3069,7 +3069,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
3069
3069
|
packageJson.contributors = [packageJson.author];
|
|
3070
3070
|
}
|
|
3071
3071
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
3072
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
3072
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkBIFOQ7H4js.joinPaths.call(void 0, "packages", projectName);
|
|
3073
3073
|
return packageJson;
|
|
3074
3074
|
};
|
|
3075
3075
|
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
@@ -3094,11 +3094,11 @@ var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
|
3094
3094
|
};
|
|
3095
3095
|
|
|
3096
3096
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
3097
|
-
|
|
3097
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
3098
3098
|
|
|
3099
3099
|
|
|
3100
3100
|
// ../build-tools/src/utilities/get-env.ts
|
|
3101
|
-
|
|
3101
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
3102
3102
|
var getEnv = (builder, options) => {
|
|
3103
3103
|
return {
|
|
3104
3104
|
STORM_BUILD: builder,
|
|
@@ -3113,21 +3113,21 @@ var getEnv = (builder, options) => {
|
|
|
3113
3113
|
};
|
|
3114
3114
|
|
|
3115
3115
|
// ../build-tools/src/utilities/get-file-banner.ts
|
|
3116
|
-
|
|
3116
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
3117
3117
|
|
|
3118
3118
|
// ../build-tools/src/utilities/get-out-extension.ts
|
|
3119
|
-
|
|
3119
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
3120
3120
|
|
|
3121
3121
|
// ../build-tools/src/utilities/get-project-deps.ts
|
|
3122
|
-
|
|
3122
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
3123
3123
|
|
|
3124
3124
|
// ../build-tools/src/utilities/read-nx-config.ts
|
|
3125
|
-
|
|
3125
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
3126
3126
|
|
|
3127
3127
|
|
|
3128
3128
|
|
|
3129
3129
|
// ../build-tools/src/utilities/task-graph.ts
|
|
3130
|
-
|
|
3130
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
3131
3131
|
var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
3132
3132
|
|
|
3133
3133
|
// ../tsdown/src/build.ts
|
|
@@ -3137,14 +3137,14 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
|
3137
3137
|
var _tsdown = require('tsdown');
|
|
3138
3138
|
|
|
3139
3139
|
// ../tsdown/src/clean.ts
|
|
3140
|
-
|
|
3140
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
3141
3141
|
|
|
3142
3142
|
async function cleanDirectories(name = "TSDown", directory, config) {
|
|
3143
3143
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
3144
3144
|
}
|
|
3145
3145
|
|
|
3146
3146
|
// ../tsdown/src/config.ts
|
|
3147
|
-
|
|
3147
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
3148
3148
|
function getDefaultOptions(config) {
|
|
3149
3149
|
return {
|
|
3150
3150
|
entry: ["./src/*.ts"],
|
|
@@ -3187,7 +3187,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3187
3187
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
3188
3188
|
exitOnError: true
|
|
3189
3189
|
});
|
|
3190
|
-
const projectJsonPath =
|
|
3190
|
+
const projectJsonPath = _chunkBIFOQ7H4js.joinPaths.call(void 0,
|
|
3191
3191
|
workspaceRoot2,
|
|
3192
3192
|
options.projectRoot,
|
|
3193
3193
|
"project.json"
|
|
@@ -3204,7 +3204,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3204
3204
|
"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."
|
|
3205
3205
|
);
|
|
3206
3206
|
}
|
|
3207
|
-
const packageJsonPath =
|
|
3207
|
+
const packageJsonPath = _chunkBIFOQ7H4js.joinPaths.call(void 0,
|
|
3208
3208
|
workspaceRoot2,
|
|
3209
3209
|
options.projectRoot,
|
|
3210
3210
|
"package.json"
|
|
@@ -3213,13 +3213,13 @@ var resolveOptions = async (userOptions) => {
|
|
|
3213
3213
|
throw new Error("Cannot find package.json configuration");
|
|
3214
3214
|
}
|
|
3215
3215
|
const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
|
|
3216
|
-
const sourceRoot = projectJson.sourceRoot ||
|
|
3216
|
+
const sourceRoot = projectJson.sourceRoot || _chunkBIFOQ7H4js.joinPaths.call(void 0, options.projectRoot, "src");
|
|
3217
3217
|
const result = {
|
|
3218
3218
|
name: projectName,
|
|
3219
3219
|
mode: "production",
|
|
3220
3220
|
target: DEFAULT_TARGET,
|
|
3221
3221
|
generatePackageJson: true,
|
|
3222
|
-
outDir:
|
|
3222
|
+
outDir: _chunkBIFOQ7H4js.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
3223
3223
|
minify: !debug,
|
|
3224
3224
|
plugins: [],
|
|
3225
3225
|
assets: [],
|
|
@@ -3230,12 +3230,12 @@ var resolveOptions = async (userOptions) => {
|
|
|
3230
3230
|
clean: false,
|
|
3231
3231
|
fixedExtension: true,
|
|
3232
3232
|
nodeProtocol: true,
|
|
3233
|
-
tsconfig:
|
|
3233
|
+
tsconfig: _chunkBIFOQ7H4js.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
|
|
3234
3234
|
debug,
|
|
3235
3235
|
sourceRoot,
|
|
3236
3236
|
cwd: workspaceConfig.workspaceRoot,
|
|
3237
3237
|
entry: {
|
|
3238
|
-
["index"]:
|
|
3238
|
+
["index"]: _chunkBIFOQ7H4js.joinPaths.call(void 0, sourceRoot, "index.ts")
|
|
3239
3239
|
},
|
|
3240
3240
|
workspace: true,
|
|
3241
3241
|
...options,
|
|
@@ -3254,15 +3254,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
3254
3254
|
return result;
|
|
3255
3255
|
};
|
|
3256
3256
|
async function generatePackageJson(options) {
|
|
3257
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
3257
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkBIFOQ7H4js.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
3258
3258
|
writeDebug(" \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
3259
3259
|
const stopwatch = getStopwatch("Write package.json file");
|
|
3260
|
-
const packageJsonPath =
|
|
3260
|
+
const packageJsonPath = _chunkBIFOQ7H4js.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
3261
3261
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
3262
3262
|
throw new Error("Cannot find package.json configuration");
|
|
3263
3263
|
}
|
|
3264
3264
|
const packageJsonFile = await _promises2.default.readFile(
|
|
3265
|
-
|
|
3265
|
+
_chunkBIFOQ7H4js.joinPaths.call(void 0,
|
|
3266
3266
|
options.workspaceConfig.workspaceRoot,
|
|
3267
3267
|
options.projectRoot,
|
|
3268
3268
|
"package.json"
|
|
@@ -3324,7 +3324,7 @@ async function generatePackageJson(options) {
|
|
|
3324
3324
|
},
|
|
3325
3325
|
packageJson.exports
|
|
3326
3326
|
);
|
|
3327
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
3327
|
+
await _devkit.writeJsonFile.call(void 0, _chunkBIFOQ7H4js.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
3328
3328
|
stopwatch();
|
|
3329
3329
|
}
|
|
3330
3330
|
return options;
|
|
@@ -3457,7 +3457,7 @@ var executor_default9 = withRunExecutor(
|
|
|
3457
3457
|
);
|
|
3458
3458
|
|
|
3459
3459
|
// ../workspace-tools/src/executors/typia/executor.ts
|
|
3460
|
-
|
|
3460
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
3461
3461
|
var _fsextra = require('fs-extra');
|
|
3462
3462
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
3463
3463
|
async function typiaExecutorFn(options, _, config) {
|
|
@@ -3497,7 +3497,7 @@ var executor_default10 = withRunExecutor(
|
|
|
3497
3497
|
);
|
|
3498
3498
|
|
|
3499
3499
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
3500
|
-
|
|
3500
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
3501
3501
|
|
|
3502
3502
|
|
|
3503
3503
|
async function unbuildExecutorFn(options, context, config) {
|
|
@@ -3518,7 +3518,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3518
3518
|
);
|
|
3519
3519
|
}
|
|
3520
3520
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3521
|
-
fsCache: config.skipCache ? false :
|
|
3521
|
+
fsCache: config.skipCache ? false : _chunkBIFOQ7H4js.joinPaths.call(void 0,
|
|
3522
3522
|
config.workspaceRoot,
|
|
3523
3523
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3524
3524
|
"jiti"
|
|
@@ -3540,7 +3540,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3540
3540
|
{
|
|
3541
3541
|
stubOptions: {
|
|
3542
3542
|
jiti: {
|
|
3543
|
-
fsCache: config.skipCache ? false :
|
|
3543
|
+
fsCache: config.skipCache ? false : _chunkBIFOQ7H4js.joinPaths.call(void 0,
|
|
3544
3544
|
config.workspaceRoot,
|
|
3545
3545
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3546
3546
|
"jiti"
|
|
@@ -3589,10 +3589,10 @@ var executor_default11 = withRunExecutor(
|
|
|
3589
3589
|
);
|
|
3590
3590
|
|
|
3591
3591
|
// ../workspace-tools/generators.ts
|
|
3592
|
-
|
|
3592
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
3593
3593
|
|
|
3594
3594
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
3595
|
-
|
|
3595
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
3596
3596
|
|
|
3597
3597
|
|
|
3598
3598
|
|
|
@@ -3601,7 +3601,7 @@ _chunkIBWOZQPBjs.init_cjs_shims.call(void 0, );
|
|
|
3601
3601
|
|
|
3602
3602
|
|
|
3603
3603
|
// ../workspace-tools/src/base/base-generator.ts
|
|
3604
|
-
|
|
3604
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
3605
3605
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
3606
3606
|
skipReadingConfig: false
|
|
3607
3607
|
}) => async (tree, _options) => {
|
|
@@ -3688,7 +3688,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
3688
3688
|
};
|
|
3689
3689
|
|
|
3690
3690
|
// ../workspace-tools/src/base/typescript-library-generator.ts
|
|
3691
|
-
|
|
3691
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
3692
3692
|
|
|
3693
3693
|
|
|
3694
3694
|
|
|
@@ -3708,7 +3708,7 @@ var _internal3 = require('@nx/devkit/internal');
|
|
|
3708
3708
|
var _js = require('@nx/js');
|
|
3709
3709
|
|
|
3710
3710
|
// ../workspace-tools/src/utils/versions.ts
|
|
3711
|
-
|
|
3711
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
3712
3712
|
var typesNodeVersion = "20.9.0";
|
|
3713
3713
|
var nxVersion = "^18.0.4";
|
|
3714
3714
|
var nodeVersion = "20.11.0";
|
|
@@ -3741,16 +3741,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3741
3741
|
const projectConfig = {
|
|
3742
3742
|
root: normalized.directory,
|
|
3743
3743
|
projectType: "library",
|
|
3744
|
-
sourceRoot:
|
|
3744
|
+
sourceRoot: _chunkBIFOQ7H4js.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
3745
3745
|
targets: {
|
|
3746
3746
|
build: {
|
|
3747
3747
|
executor: options.buildExecutor,
|
|
3748
3748
|
outputs: ["{options.outputPath}"],
|
|
3749
3749
|
options: {
|
|
3750
|
-
entry: [
|
|
3750
|
+
entry: [_chunkBIFOQ7H4js.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
|
|
3751
3751
|
outputPath: getOutputPath(normalized),
|
|
3752
|
-
tsconfig:
|
|
3753
|
-
project:
|
|
3752
|
+
tsconfig: _chunkBIFOQ7H4js.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
3753
|
+
project: _chunkBIFOQ7H4js.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
3754
3754
|
defaultConfiguration: "production",
|
|
3755
3755
|
platform: "neutral",
|
|
3756
3756
|
assets: [
|
|
@@ -3807,7 +3807,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3807
3807
|
if (!normalized.importPath) {
|
|
3808
3808
|
normalized.importPath = normalized.name;
|
|
3809
3809
|
}
|
|
3810
|
-
const packageJsonPath =
|
|
3810
|
+
const packageJsonPath = _chunkBIFOQ7H4js.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
3811
3811
|
if (tree.exists(packageJsonPath)) {
|
|
3812
3812
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
3813
3813
|
if (!normalized.importPath) {
|
|
@@ -3893,14 +3893,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3893
3893
|
});
|
|
3894
3894
|
}
|
|
3895
3895
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
3896
|
-
|
|
3896
|
+
_chunkBIFOQ7H4js.joinPaths.call(void 0,
|
|
3897
3897
|
normalized.projectRoot,
|
|
3898
3898
|
"./src",
|
|
3899
3899
|
`index.${normalized.js ? "js" : "ts"}`
|
|
3900
3900
|
)
|
|
3901
3901
|
]);
|
|
3902
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
3903
|
-
|
|
3902
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkBIFOQ7H4js.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
3903
|
+
_chunkBIFOQ7H4js.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
3904
3904
|
]);
|
|
3905
3905
|
if (tree.exists("package.json")) {
|
|
3906
3906
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -3911,7 +3911,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3911
3911
|
description = packageJson.description;
|
|
3912
3912
|
}
|
|
3913
3913
|
}
|
|
3914
|
-
const tsconfigPath =
|
|
3914
|
+
const tsconfigPath = _chunkBIFOQ7H4js.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
3915
3915
|
if (tree.exists(tsconfigPath)) {
|
|
3916
3916
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
3917
3917
|
json.composite ??= true;
|
|
@@ -3939,7 +3939,7 @@ function getOutputPath(options) {
|
|
|
3939
3939
|
} else {
|
|
3940
3940
|
parts.push(options.projectRoot);
|
|
3941
3941
|
}
|
|
3942
|
-
return
|
|
3942
|
+
return _chunkBIFOQ7H4js.joinPaths.call(void 0, ...parts);
|
|
3943
3943
|
}
|
|
3944
3944
|
function createProjectTsConfigJson(tree, options) {
|
|
3945
3945
|
const tsconfig = {
|
|
@@ -3947,7 +3947,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
3947
3947
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _223 => _223.tsconfigOptions]), () => ( {})),
|
|
3948
3948
|
compilerOptions: {
|
|
3949
3949
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
3950
|
-
outDir:
|
|
3950
|
+
outDir: _chunkBIFOQ7H4js.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
3951
3951
|
noEmit: true,
|
|
3952
3952
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _224 => _224.tsconfigOptions, 'optionalAccess', _225 => _225.compilerOptions]), () => ( {}))
|
|
3953
3953
|
},
|
|
@@ -3965,7 +3965,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
3965
3965
|
"src/**/*.test.ts"
|
|
3966
3966
|
]
|
|
3967
3967
|
};
|
|
3968
|
-
_devkit.writeJson.call(void 0, tree,
|
|
3968
|
+
_devkit.writeJson.call(void 0, tree, _chunkBIFOQ7H4js.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
3969
3969
|
}
|
|
3970
3970
|
async function normalizeOptions(tree, options, config) {
|
|
3971
3971
|
let importPath = options.importPath;
|
|
@@ -4030,7 +4030,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
4030
4030
|
|
|
4031
4031
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
4032
4032
|
async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
4033
|
-
const filesDir =
|
|
4033
|
+
const filesDir = _chunkBIFOQ7H4js.joinPaths.call(void 0,
|
|
4034
4034
|
__dirname,
|
|
4035
4035
|
"src",
|
|
4036
4036
|
"generators",
|
|
@@ -4110,7 +4110,7 @@ var generator_default = withRunGenerator(
|
|
|
4110
4110
|
);
|
|
4111
4111
|
|
|
4112
4112
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
4113
|
-
|
|
4113
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4114
4114
|
|
|
4115
4115
|
var _zod2 = require('zod'); var z2 = _interopRequireWildcard(_zod2);
|
|
4116
4116
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
@@ -4167,7 +4167,7 @@ var generator_default2 = withRunGenerator(
|
|
|
4167
4167
|
);
|
|
4168
4168
|
|
|
4169
4169
|
// ../workspace-tools/src/generators/init/init.ts
|
|
4170
|
-
|
|
4170
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4171
4171
|
|
|
4172
4172
|
|
|
4173
4173
|
|
|
@@ -4195,7 +4195,7 @@ async function initGenerator(tree, schema) {
|
|
|
4195
4195
|
}
|
|
4196
4196
|
|
|
4197
4197
|
// ../workspace-tools/src/generators/neutral-library/generator.ts
|
|
4198
|
-
|
|
4198
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4199
4199
|
|
|
4200
4200
|
|
|
4201
4201
|
|
|
@@ -4203,7 +4203,7 @@ _chunkIBWOZQPBjs.init_cjs_shims.call(void 0, );
|
|
|
4203
4203
|
|
|
4204
4204
|
|
|
4205
4205
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
4206
|
-
const filesDir =
|
|
4206
|
+
const filesDir = _chunkBIFOQ7H4js.joinPaths.call(void 0,
|
|
4207
4207
|
__dirname,
|
|
4208
4208
|
"src",
|
|
4209
4209
|
"generators",
|
|
@@ -4255,7 +4255,7 @@ var generator_default3 = withRunGenerator(
|
|
|
4255
4255
|
);
|
|
4256
4256
|
|
|
4257
4257
|
// ../workspace-tools/src/generators/node-library/generator.ts
|
|
4258
|
-
|
|
4258
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4259
4259
|
|
|
4260
4260
|
|
|
4261
4261
|
|
|
@@ -4263,7 +4263,7 @@ _chunkIBWOZQPBjs.init_cjs_shims.call(void 0, );
|
|
|
4263
4263
|
|
|
4264
4264
|
|
|
4265
4265
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
4266
|
-
const filesDir =
|
|
4266
|
+
const filesDir = _chunkBIFOQ7H4js.joinPaths.call(void 0,
|
|
4267
4267
|
__dirname,
|
|
4268
4268
|
"src",
|
|
4269
4269
|
"generators",
|
|
@@ -4317,7 +4317,7 @@ var generator_default4 = withRunGenerator(
|
|
|
4317
4317
|
);
|
|
4318
4318
|
|
|
4319
4319
|
// ../workspace-tools/src/generators/preset/generator.ts
|
|
4320
|
-
|
|
4320
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4321
4321
|
|
|
4322
4322
|
|
|
4323
4323
|
|
|
@@ -4330,7 +4330,7 @@ _chunkIBWOZQPBjs.init_cjs_shims.call(void 0, );
|
|
|
4330
4330
|
|
|
4331
4331
|
|
|
4332
4332
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
4333
|
-
|
|
4333
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4334
4334
|
|
|
4335
4335
|
|
|
4336
4336
|
|
|
@@ -4605,10 +4605,10 @@ var generator_default5 = withRunGenerator(
|
|
|
4605
4605
|
);
|
|
4606
4606
|
|
|
4607
4607
|
// ../workspace-tools/src/base/index.ts
|
|
4608
|
-
|
|
4608
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4609
4609
|
|
|
4610
4610
|
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
4611
|
-
|
|
4611
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4612
4612
|
var _untyped = require('untyped');
|
|
4613
4613
|
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4614
4614
|
$schema: {
|
|
@@ -4627,7 +4627,7 @@ var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4627
4627
|
});
|
|
4628
4628
|
|
|
4629
4629
|
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
4630
|
-
|
|
4630
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4631
4631
|
|
|
4632
4632
|
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4633
4633
|
$schema: {
|
|
@@ -4645,7 +4645,7 @@ var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4645
4645
|
});
|
|
4646
4646
|
|
|
4647
4647
|
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
4648
|
-
|
|
4648
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4649
4649
|
|
|
4650
4650
|
var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4651
4651
|
...base_executor_untyped_default,
|
|
@@ -4718,7 +4718,7 @@ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void
|
|
|
4718
4718
|
});
|
|
4719
4719
|
|
|
4720
4720
|
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
4721
|
-
|
|
4721
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4722
4722
|
|
|
4723
4723
|
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4724
4724
|
...base_executor_untyped_default,
|
|
@@ -4870,7 +4870,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
4870
4870
|
});
|
|
4871
4871
|
|
|
4872
4872
|
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
4873
|
-
|
|
4873
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4874
4874
|
|
|
4875
4875
|
var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4876
4876
|
...base_generator_untyped_default,
|
|
@@ -4976,45 +4976,45 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
|
|
|
4976
4976
|
});
|
|
4977
4977
|
|
|
4978
4978
|
// ../workspace-tools/src/release/index.ts
|
|
4979
|
-
|
|
4979
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4980
4980
|
|
|
4981
4981
|
// ../workspace-tools/src/release/js-version-actions.ts
|
|
4982
|
-
|
|
4982
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4983
4983
|
var _versionactions = require('@nx/js/src/release/version-actions'); var _versionactions2 = _interopRequireDefault(_versionactions);
|
|
4984
4984
|
|
|
4985
4985
|
// ../workspace-tools/src/release/rust-version-actions.ts
|
|
4986
|
-
|
|
4986
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4987
4987
|
|
|
4988
4988
|
|
|
4989
4989
|
|
|
4990
4990
|
var _release = require('nx/release');
|
|
4991
4991
|
|
|
4992
4992
|
// ../workspace-tools/src/utils/registry-helpers.ts
|
|
4993
|
-
|
|
4993
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4994
4994
|
|
|
4995
4995
|
|
|
4996
4996
|
// ../workspace-tools/src/types.ts
|
|
4997
|
-
|
|
4997
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
4998
4998
|
|
|
4999
4999
|
// ../package-constants/src/types.ts
|
|
5000
|
-
|
|
5000
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
5001
5001
|
|
|
5002
5002
|
// ../workspace-tools/src/utils/index.ts
|
|
5003
|
-
|
|
5003
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
5004
5004
|
|
|
5005
5005
|
// ../workspace-tools/src/utils/apply-workspace-tokens.ts
|
|
5006
|
-
|
|
5006
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
5007
5007
|
|
|
5008
5008
|
// ../workspace-tools/src/utils/create-cli-options.ts
|
|
5009
|
-
|
|
5009
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
5010
5010
|
|
|
5011
5011
|
|
|
5012
5012
|
// ../workspace-tools/src/utils/get-project-configurations.ts
|
|
5013
|
-
|
|
5013
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
5014
5014
|
var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
|
|
5015
5015
|
|
|
5016
5016
|
// ../workspace-tools/src/utils/nx-json.ts
|
|
5017
|
-
|
|
5017
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
5018
5018
|
|
|
5019
5019
|
// ../workspace-tools/config/recommended.json
|
|
5020
5020
|
var recommended_default = {
|
|
@@ -5263,7 +5263,7 @@ var NAMED_INPUTS = {
|
|
|
5263
5263
|
var RELEASE = recommended_default.release;
|
|
5264
5264
|
|
|
5265
5265
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
5266
|
-
|
|
5266
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
5267
5267
|
|
|
5268
5268
|
|
|
5269
5269
|
|
|
@@ -5272,7 +5272,7 @@ _chunkIBWOZQPBjs.init_cjs_shims.call(void 0, );
|
|
|
5272
5272
|
|
|
5273
5273
|
|
|
5274
5274
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
5275
|
-
|
|
5275
|
+
_chunkIPKKAC3Fjs.init_cjs_shims.call(void 0, );
|
|
5276
5276
|
var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
|
|
5277
5277
|
|
|
5278
5278
|
// src/generators/init/generator.ts
|