@storm-software/projen 0.21.218 → 0.21.219
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/{chunk-WVTYKE6K.mjs → chunk-5MPFLJTH.mjs} +1 -1
- package/dist/{chunk-7PKFWMLL.js → chunk-ENF6BEOQ.js} +3 -3
- package/dist/{chunk-N6XX5BLR.js → chunk-FLLNNTBV.js} +445 -202
- package/dist/{chunk-5T4Z2WIC.js → chunk-FLXQ23LR.js} +2 -2
- package/dist/{chunk-LR5GO3PK.mjs → chunk-IDXC7ZYK.mjs} +1 -1
- package/dist/chunk-P4A3REX6.js +6 -0
- package/dist/{chunk-B34OR6QL.js → chunk-UMFK4QJK.js} +2 -2
- package/dist/{chunk-FO6UBBLO.mjs → chunk-WIMD2PNP.mjs} +245 -2
- package/dist/{chunk-WHV7HEEI.mjs → chunk-WM5XOQLL.mjs} +2 -2
- package/dist/{chunk-A2ABTQS2.mjs → chunk-XNHPGNZO.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 +5 -5
- package/dist/chunk-Z5R3O2A7.js +0 -6
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkUMFK4QJKjs = require('./chunk-UMFK4QJK.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkFLXQ23LRjs = require('./chunk-FLXQ23LR.js');
|
|
10
10
|
|
|
11
11
|
// src/generators/init/generator.ts
|
|
12
|
-
|
|
12
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -18,28 +18,28 @@ _chunk5T4Z2WICjs.init_cjs_shims.call(void 0, );
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
|
|
20
20
|
// ../workspace-tools/index.ts
|
|
21
|
-
|
|
21
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
22
22
|
|
|
23
23
|
// ../workspace-tools/executors.ts
|
|
24
|
-
|
|
24
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
25
25
|
|
|
26
26
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
27
|
-
|
|
27
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
28
28
|
|
|
29
29
|
// ../workspace-tools/src/base/base-executor.ts
|
|
30
|
-
|
|
30
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
31
31
|
|
|
32
32
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
33
|
-
|
|
33
|
+
_chunkFLXQ23LRjs.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
|
+
_chunkFLXQ23LRjs.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
|
+
_chunkFLXQ23LRjs.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
|
+
_chunkFLXQ23LRjs.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
|
+
_chunkFLXQ23LRjs.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
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
174
174
|
|
|
175
175
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
176
|
-
|
|
176
|
+
_chunkFLXQ23LRjs.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
|
+
_chunkFLXQ23LRjs.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
|
+
_chunkFLXQ23LRjs.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
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
436
436
|
|
|
437
437
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
438
|
-
|
|
438
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
439
439
|
|
|
440
440
|
// ../config-tools/src/utilities/find-up.ts
|
|
441
|
-
|
|
441
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
442
442
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
443
443
|
var _path = require('path'); var path2 = _interopRequireWildcard(_path);
|
|
444
444
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
@@ -505,11 +505,11 @@ var rootDirectories = [
|
|
|
505
505
|
];
|
|
506
506
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
507
507
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
508
|
-
return
|
|
508
|
+
return _chunkUMFK4QJKjs.correctPaths.call(void 0,
|
|
509
509
|
_nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH))
|
|
510
510
|
);
|
|
511
511
|
}
|
|
512
|
-
return
|
|
512
|
+
return _chunkUMFK4QJKjs.correctPaths.call(void 0,
|
|
513
513
|
findFolderUp(
|
|
514
514
|
_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())),
|
|
515
515
|
rootFiles,
|
|
@@ -604,13 +604,13 @@ var applyWorkspaceTokens = async (options, tokenParams, tokenizerFn) => {
|
|
|
604
604
|
};
|
|
605
605
|
|
|
606
606
|
// ../config-tools/src/utilities/get-default-config.ts
|
|
607
|
-
|
|
607
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
608
608
|
|
|
609
609
|
// ../config/src/index.ts
|
|
610
|
-
|
|
610
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
611
611
|
|
|
612
612
|
// ../config/src/constants.ts
|
|
613
|
-
|
|
613
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
614
614
|
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
615
615
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
616
616
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
@@ -629,10 +629,10 @@ var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
|
629
629
|
var STORM_DEFAULT_BANNER_ALT = "The workspace's banner image";
|
|
630
630
|
|
|
631
631
|
// ../config/src/define-config.ts
|
|
632
|
-
|
|
632
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
633
633
|
|
|
634
634
|
// ../config/src/schema.ts
|
|
635
|
-
|
|
635
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
636
636
|
var _mini = require('zod/v4/mini'); var z = _interopRequireWildcard(_mini);
|
|
637
637
|
var schemaRegistry = z.registry();
|
|
638
638
|
var colorSchema = z.string().check(
|
|
@@ -1202,7 +1202,7 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
1202
1202
|
});
|
|
1203
1203
|
|
|
1204
1204
|
// ../config/src/types.ts
|
|
1205
|
-
|
|
1205
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
1206
1206
|
var COLOR_KEYS = [
|
|
1207
1207
|
"dark",
|
|
1208
1208
|
"light",
|
|
@@ -1236,7 +1236,7 @@ async function getPackageJsonConfig(root) {
|
|
|
1236
1236
|
const workspaceRoot2 = findWorkspaceRoot(root);
|
|
1237
1237
|
if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot2, "package.json"))) {
|
|
1238
1238
|
const file = await _promises.readFile.call(void 0,
|
|
1239
|
-
|
|
1239
|
+
_chunkUMFK4QJKjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
1240
1240
|
"utf8"
|
|
1241
1241
|
);
|
|
1242
1242
|
if (file) {
|
|
@@ -1320,7 +1320,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1320
1320
|
envName: _optionalChain([fileName, 'optionalAccess', _38 => _38.toUpperCase, 'call', _39 => _39()]),
|
|
1321
1321
|
jitiOptions: {
|
|
1322
1322
|
debug: false,
|
|
1323
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1323
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
1324
1324
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1325
1325
|
"jiti"
|
|
1326
1326
|
)
|
|
@@ -1334,7 +1334,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1334
1334
|
envName: _optionalChain([fileName, 'optionalAccess', _40 => _40.toUpperCase, 'call', _41 => _41()]),
|
|
1335
1335
|
jitiOptions: {
|
|
1336
1336
|
debug: false,
|
|
1337
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1337
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
1338
1338
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1339
1339
|
"jiti"
|
|
1340
1340
|
)
|
|
@@ -1386,12 +1386,12 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
1386
1386
|
};
|
|
1387
1387
|
|
|
1388
1388
|
// ../config-tools/src/create-storm-config.ts
|
|
1389
|
-
|
|
1389
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
1390
1390
|
|
|
1391
1391
|
|
|
1392
1392
|
|
|
1393
1393
|
// ../config-tools/src/env/get-env.ts
|
|
1394
|
-
|
|
1394
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
1395
1395
|
var getExtensionEnv = (extensionName) => {
|
|
1396
1396
|
const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
|
|
1397
1397
|
return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
|
|
@@ -1453,15 +1453,15 @@ var getConfigEnv = () => {
|
|
|
1453
1453
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
1454
1454
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
1455
1455
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
1456
|
-
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ?
|
|
1457
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
1456
|
+
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ? _chunkUMFK4QJKjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_CONFIG_FILE`]) : void 0,
|
|
1457
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkUMFK4QJKjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
1458
1458
|
directories: {
|
|
1459
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
1460
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
1461
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
1462
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
1463
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
1464
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
1459
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkUMFK4QJKjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkUMFK4QJKjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
1460
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkUMFK4QJKjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkUMFK4QJKjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
1461
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkUMFK4QJKjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkUMFK4QJKjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
1462
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkUMFK4QJKjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkUMFK4QJKjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
1463
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkUMFK4QJKjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkUMFK4QJKjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
1464
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkUMFK4QJKjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkUMFK4QJKjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
|
|
1465
1465
|
},
|
|
1466
1466
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
1467
1467
|
mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -1608,7 +1608,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1608
1608
|
};
|
|
1609
1609
|
|
|
1610
1610
|
// ../config-tools/src/env/set-env.ts
|
|
1611
|
-
|
|
1611
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
1612
1612
|
var setExtensionEnv = (extensionName, extension) => {
|
|
1613
1613
|
for (const key of Object.keys(_nullishCoalesce(extension, () => ( {})))) {
|
|
1614
1614
|
if (extension[key]) {
|
|
@@ -1756,42 +1756,42 @@ var setConfigEnv = (config) => {
|
|
|
1756
1756
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
1757
1757
|
}
|
|
1758
1758
|
if (config.configFile) {
|
|
1759
|
-
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] =
|
|
1759
|
+
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] = _chunkUMFK4QJKjs.correctPaths.call(void 0,
|
|
1760
1760
|
config.configFile
|
|
1761
1761
|
);
|
|
1762
1762
|
}
|
|
1763
1763
|
if (config.workspaceRoot) {
|
|
1764
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
1765
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
1766
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
1764
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkUMFK4QJKjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1765
|
+
process.env.NX_WORKSPACE_ROOT = _chunkUMFK4QJKjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1766
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkUMFK4QJKjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1767
1767
|
}
|
|
1768
1768
|
if (config.directories) {
|
|
1769
1769
|
if (!config.skipCache && config.directories.cache) {
|
|
1770
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
1770
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkUMFK4QJKjs.correctPaths.call(void 0,
|
|
1771
1771
|
config.directories.cache
|
|
1772
1772
|
);
|
|
1773
1773
|
process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
|
|
1774
1774
|
}
|
|
1775
1775
|
if (config.directories.data) {
|
|
1776
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
1776
|
+
process.env[`${prefix}DATA_DIR`] = _chunkUMFK4QJKjs.correctPaths.call(void 0, config.directories.data);
|
|
1777
1777
|
process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
|
|
1778
1778
|
}
|
|
1779
1779
|
if (config.directories.config) {
|
|
1780
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
1780
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkUMFK4QJKjs.correctPaths.call(void 0,
|
|
1781
1781
|
config.directories.config
|
|
1782
1782
|
);
|
|
1783
1783
|
process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
|
|
1784
1784
|
}
|
|
1785
1785
|
if (config.directories.temp) {
|
|
1786
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
1786
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkUMFK4QJKjs.correctPaths.call(void 0, config.directories.temp);
|
|
1787
1787
|
process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
|
|
1788
1788
|
}
|
|
1789
1789
|
if (config.directories.log) {
|
|
1790
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
1790
|
+
process.env[`${prefix}LOG_DIR`] = _chunkUMFK4QJKjs.correctPaths.call(void 0, config.directories.log);
|
|
1791
1791
|
process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
|
|
1792
1792
|
}
|
|
1793
1793
|
if (config.directories.build) {
|
|
1794
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
1794
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkUMFK4QJKjs.correctPaths.call(void 0,
|
|
1795
1795
|
config.directories.build
|
|
1796
1796
|
);
|
|
1797
1797
|
process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
|
|
@@ -2019,7 +2019,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot2, s
|
|
|
2019
2019
|
defaultConfig
|
|
2020
2020
|
);
|
|
2021
2021
|
if (!configInput.variant) {
|
|
2022
|
-
configInput.variant = _fs.existsSync.call(void 0,
|
|
2022
|
+
configInput.variant = _fs.existsSync.call(void 0, _chunkUMFK4QJKjs.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkUMFK4QJKjs.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkUMFK4QJKjs.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkUMFK4QJKjs.joinPaths.call(void 0, _workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
|
|
2023
2023
|
}
|
|
2024
2024
|
try {
|
|
2025
2025
|
const parseResult = await Promise.resolve(
|
|
@@ -2089,7 +2089,7 @@ ${formatLogMessage(config)}`,
|
|
|
2089
2089
|
};
|
|
2090
2090
|
|
|
2091
2091
|
// ../config-tools/src/get-config.ts
|
|
2092
|
-
|
|
2092
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2093
2093
|
function getConfig(workspaceRoot2, skipLogs = false) {
|
|
2094
2094
|
return loadStormWorkspaceConfig(workspaceRoot2, skipLogs);
|
|
2095
2095
|
}
|
|
@@ -2227,7 +2227,7 @@ var _isFunction2 = (value) => {
|
|
|
2227
2227
|
};
|
|
2228
2228
|
|
|
2229
2229
|
// ../workspace-tools/src/utils/cargo.ts
|
|
2230
|
-
|
|
2230
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2231
2231
|
|
|
2232
2232
|
|
|
2233
2233
|
|
|
@@ -2367,7 +2367,7 @@ var executor_default = withRunExecutor(
|
|
|
2367
2367
|
);
|
|
2368
2368
|
|
|
2369
2369
|
// ../workspace-tools/src/executors/cargo-check/executor.ts
|
|
2370
|
-
|
|
2370
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2371
2371
|
async function cargoCheckExecutor(options, context) {
|
|
2372
2372
|
const command = buildCargoCommand("check", options, context);
|
|
2373
2373
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2387,7 +2387,7 @@ var executor_default2 = withRunExecutor(
|
|
|
2387
2387
|
);
|
|
2388
2388
|
|
|
2389
2389
|
// ../workspace-tools/src/executors/cargo-clippy/executor.ts
|
|
2390
|
-
|
|
2390
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2391
2391
|
async function cargoClippyExecutor(options, context) {
|
|
2392
2392
|
const command = buildCargoCommand("clippy", options, context);
|
|
2393
2393
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2408,7 +2408,7 @@ var executor_default3 = withRunExecutor(
|
|
|
2408
2408
|
);
|
|
2409
2409
|
|
|
2410
2410
|
// ../workspace-tools/src/executors/cargo-doc/executor.ts
|
|
2411
|
-
|
|
2411
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2412
2412
|
async function cargoDocExecutor(options, context) {
|
|
2413
2413
|
const opts = { ...options };
|
|
2414
2414
|
opts["no-deps"] = opts.noDeps;
|
|
@@ -2438,7 +2438,7 @@ var executor_default4 = withRunExecutor(
|
|
|
2438
2438
|
);
|
|
2439
2439
|
|
|
2440
2440
|
// ../workspace-tools/src/executors/cargo-format/executor.ts
|
|
2441
|
-
|
|
2441
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2442
2442
|
async function cargoFormatExecutor(options, context) {
|
|
2443
2443
|
const command = buildCargoCommand("fmt", options, context);
|
|
2444
2444
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2459,7 +2459,7 @@ var executor_default5 = withRunExecutor(
|
|
|
2459
2459
|
);
|
|
2460
2460
|
|
|
2461
2461
|
// ../workspace-tools/src/executors/cargo-publish/executor.ts
|
|
2462
|
-
|
|
2462
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2463
2463
|
|
|
2464
2464
|
|
|
2465
2465
|
|
|
@@ -2467,19 +2467,19 @@ var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
|
2467
2467
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
2468
2468
|
|
|
2469
2469
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
2470
|
-
|
|
2470
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2471
2471
|
|
|
2472
2472
|
// ../esbuild/src/build.ts
|
|
2473
|
-
|
|
2473
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2474
2474
|
|
|
2475
2475
|
// ../esbuild/src/assets.ts
|
|
2476
|
-
|
|
2476
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2477
2477
|
|
|
2478
2478
|
// ../build-tools/src/index.ts
|
|
2479
|
-
|
|
2479
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2480
2480
|
|
|
2481
2481
|
// ../build-tools/src/config.ts
|
|
2482
|
-
|
|
2482
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2483
2483
|
var DEFAULT_JS_BANNER = `
|
|
2484
2484
|
// ---------------------------------------
|
|
2485
2485
|
// \u{1F5F2} Built by Storm Software
|
|
@@ -2495,35 +2495,35 @@ var DEFAULT_TARGET = "esnext";
|
|
|
2495
2495
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
2496
2496
|
|
|
2497
2497
|
// ../build-tools/src/plugins/index.ts
|
|
2498
|
-
|
|
2498
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2499
2499
|
|
|
2500
2500
|
// ../build-tools/src/plugins/analyze.ts
|
|
2501
|
-
|
|
2501
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2502
2502
|
|
|
2503
2503
|
// ../build-tools/src/plugins/swc.ts
|
|
2504
|
-
|
|
2504
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2505
2505
|
var _core = require('@swc/core');
|
|
2506
2506
|
|
|
2507
2507
|
// ../build-tools/src/plugins/ts-resolve.ts
|
|
2508
|
-
|
|
2508
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2509
2509
|
|
|
2510
2510
|
var _module = require('module');
|
|
2511
2511
|
|
|
2512
2512
|
var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_resolve2);
|
|
2513
2513
|
|
|
2514
2514
|
// ../build-tools/src/plugins/type-definitions.ts
|
|
2515
|
-
|
|
2515
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2516
2516
|
|
|
2517
2517
|
|
|
2518
2518
|
|
|
2519
2519
|
// ../build-tools/src/types.ts
|
|
2520
|
-
|
|
2520
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2521
2521
|
|
|
2522
2522
|
// ../build-tools/src/utilities/index.ts
|
|
2523
|
-
|
|
2523
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2524
2524
|
|
|
2525
2525
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
2526
|
-
|
|
2526
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2527
2527
|
var _copyassetshandlerjs = require('@nx/js/src/utils/assets/copy-assets-handler.js');
|
|
2528
2528
|
var _glob = require('glob');
|
|
2529
2529
|
|
|
@@ -2555,7 +2555,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
2555
2555
|
}
|
|
2556
2556
|
writeTrace(
|
|
2557
2557
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
2558
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
2558
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkUMFK4QJKjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
2559
2559
|
config
|
|
2560
2560
|
);
|
|
2561
2561
|
const assetHandler = new (0, _copyassetshandlerjs.CopyAssetsHandler)({
|
|
@@ -2568,17 +2568,17 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
2568
2568
|
writeTrace("Completed copying assets to the output directory", config);
|
|
2569
2569
|
if (includeSrc === true) {
|
|
2570
2570
|
writeDebug(
|
|
2571
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
2571
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
2572
2572
|
outputPath,
|
|
2573
2573
|
"src"
|
|
2574
2574
|
)}`,
|
|
2575
2575
|
config
|
|
2576
2576
|
);
|
|
2577
2577
|
const files = await _glob.glob.call(void 0, [
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2578
|
+
_chunkUMFK4QJKjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
2579
|
+
_chunkUMFK4QJKjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
2580
|
+
_chunkUMFK4QJKjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
2581
|
+
_chunkUMFK4QJKjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
2582
2582
|
]);
|
|
2583
2583
|
await Promise.allSettled(
|
|
2584
2584
|
files.map(
|
|
@@ -2596,7 +2596,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
2596
2596
|
};
|
|
2597
2597
|
|
|
2598
2598
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
2599
|
-
|
|
2599
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2600
2600
|
var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
|
|
2601
2601
|
|
|
2602
2602
|
|
|
@@ -2634,7 +2634,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2634
2634
|
)) {
|
|
2635
2635
|
const projectNode = project.node;
|
|
2636
2636
|
if (projectNode.data.root) {
|
|
2637
|
-
const projectPackageJsonPath =
|
|
2637
|
+
const projectPackageJsonPath = _chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
2638
2638
|
workspaceRoot2,
|
|
2639
2639
|
projectNode.data.root,
|
|
2640
2640
|
"package.json"
|
|
@@ -2656,7 +2656,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2656
2656
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
2657
2657
|
);
|
|
2658
2658
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
2659
|
-
|
|
2659
|
+
_chunkUMFK4QJKjs.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
2660
2660
|
"utf8"
|
|
2661
2661
|
);
|
|
2662
2662
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -2669,7 +2669,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2669
2669
|
}
|
|
2670
2670
|
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _101 => _101.projects, 'optionalAccess', _102 => _102[projectName2], 'access', _103 => _103.implicitDependencies, 'optionalAccess', _104 => _104.reduce, 'call', _105 => _105((ret, dep) => {
|
|
2671
2671
|
if (_optionalChain([projectConfigurations, 'access', _106 => _106.projects, 'optionalAccess', _107 => _107[dep]])) {
|
|
2672
|
-
const depPackageJsonPath =
|
|
2672
|
+
const depPackageJsonPath = _chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
2673
2673
|
workspaceRoot2,
|
|
2674
2674
|
projectConfigurations.projects[dep].root,
|
|
2675
2675
|
"package.json"
|
|
@@ -2707,7 +2707,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2707
2707
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
2708
2708
|
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
|
|
2709
2709
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
2710
|
-
|
|
2710
|
+
_chunkUMFK4QJKjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
2711
2711
|
"utf8"
|
|
2712
2712
|
);
|
|
2713
2713
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -2718,7 +2718,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
2718
2718
|
if (distSrc.startsWith("/")) {
|
|
2719
2719
|
distSrc = distSrc.substring(1);
|
|
2720
2720
|
}
|
|
2721
|
-
packageJson.source ??= `${
|
|
2721
|
+
packageJson.source ??= `${_chunkUMFK4QJKjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
2722
2722
|
}
|
|
2723
2723
|
packageJson.files ??= ["dist/**/*"];
|
|
2724
2724
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -2743,7 +2743,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
2743
2743
|
packageJson.contributors = [packageJson.author];
|
|
2744
2744
|
}
|
|
2745
2745
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
2746
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
2746
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkUMFK4QJKjs.joinPaths.call(void 0, "packages", projectName);
|
|
2747
2747
|
return packageJson;
|
|
2748
2748
|
};
|
|
2749
2749
|
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
@@ -2768,11 +2768,11 @@ var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
|
2768
2768
|
};
|
|
2769
2769
|
|
|
2770
2770
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
2771
|
-
|
|
2771
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2772
2772
|
|
|
2773
2773
|
|
|
2774
2774
|
// ../build-tools/src/utilities/get-env.ts
|
|
2775
|
-
|
|
2775
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2776
2776
|
var getEnv = (builder, options) => {
|
|
2777
2777
|
return {
|
|
2778
2778
|
STORM_BUILD: builder,
|
|
@@ -2787,21 +2787,21 @@ var getEnv = (builder, options) => {
|
|
|
2787
2787
|
};
|
|
2788
2788
|
|
|
2789
2789
|
// ../build-tools/src/utilities/get-file-banner.ts
|
|
2790
|
-
|
|
2790
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2791
2791
|
|
|
2792
2792
|
// ../build-tools/src/utilities/get-out-extension.ts
|
|
2793
|
-
|
|
2793
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2794
2794
|
|
|
2795
2795
|
// ../build-tools/src/utilities/get-project-deps.ts
|
|
2796
|
-
|
|
2796
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2797
2797
|
|
|
2798
2798
|
// ../build-tools/src/utilities/read-nx-config.ts
|
|
2799
|
-
|
|
2799
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2800
2800
|
|
|
2801
2801
|
|
|
2802
2802
|
|
|
2803
2803
|
// ../build-tools/src/utilities/task-graph.ts
|
|
2804
|
-
|
|
2804
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2805
2805
|
|
|
2806
2806
|
|
|
2807
2807
|
|
|
@@ -2830,14 +2830,14 @@ async function copyBuildAssets(context) {
|
|
|
2830
2830
|
}
|
|
2831
2831
|
|
|
2832
2832
|
// ../esbuild/src/clean.ts
|
|
2833
|
-
|
|
2833
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2834
2834
|
|
|
2835
2835
|
async function cleanDirectories(directory) {
|
|
2836
2836
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
2837
2837
|
}
|
|
2838
2838
|
|
|
2839
2839
|
// ../esbuild/src/context.ts
|
|
2840
|
-
|
|
2840
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2841
2841
|
|
|
2842
2842
|
|
|
2843
2843
|
|
|
@@ -2848,7 +2848,7 @@ _chunk5T4Z2WICjs.init_cjs_shims.call(void 0, );
|
|
|
2848
2848
|
var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
2849
2849
|
|
|
2850
2850
|
// ../esbuild/src/config.ts
|
|
2851
|
-
|
|
2851
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2852
2852
|
var DEFAULT_BUILD_OPTIONS = {
|
|
2853
2853
|
platform: "node",
|
|
2854
2854
|
target: "node22",
|
|
@@ -2906,7 +2906,7 @@ async function resolveContext(userOptions) {
|
|
|
2906
2906
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
2907
2907
|
exitOnError: true
|
|
2908
2908
|
});
|
|
2909
|
-
const projectJsonPath =
|
|
2909
|
+
const projectJsonPath = _chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
2910
2910
|
workspaceRoot2.dir,
|
|
2911
2911
|
projectRoot,
|
|
2912
2912
|
"project.json"
|
|
@@ -2925,7 +2925,7 @@ async function resolveContext(userOptions) {
|
|
|
2925
2925
|
}
|
|
2926
2926
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
2927
2927
|
options.name ??= projectName;
|
|
2928
|
-
const packageJsonPath =
|
|
2928
|
+
const packageJsonPath = _chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
2929
2929
|
workspaceRoot2.dir,
|
|
2930
2930
|
options.projectRoot,
|
|
2931
2931
|
"package.json"
|
|
@@ -2937,7 +2937,7 @@ async function resolveContext(userOptions) {
|
|
|
2937
2937
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
2938
2938
|
const resolvedOptions = {
|
|
2939
2939
|
...options,
|
|
2940
|
-
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig :
|
|
2940
|
+
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkUMFK4QJKjs.joinPaths.call(void 0, workspaceRoot2.dir, projectRoot, "tsconfig.json"),
|
|
2941
2941
|
metafile: userOptions.mode === "development",
|
|
2942
2942
|
clean: false,
|
|
2943
2943
|
env,
|
|
@@ -2962,8 +2962,8 @@ async function resolveContext(userOptions) {
|
|
|
2962
2962
|
projectConfigurations,
|
|
2963
2963
|
projectName,
|
|
2964
2964
|
projectGraph,
|
|
2965
|
-
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot ||
|
|
2966
|
-
outputPath: resolvedOptions.outputPath ||
|
|
2965
|
+
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkUMFK4QJKjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
|
|
2966
|
+
outputPath: resolvedOptions.outputPath || _chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
2967
2967
|
workspaceConfig.workspaceRoot,
|
|
2968
2968
|
"dist",
|
|
2969
2969
|
resolvedOptions.projectRoot
|
|
@@ -2983,15 +2983,15 @@ ${formatLogMessage(context.options)}`,
|
|
|
2983
2983
|
}
|
|
2984
2984
|
|
|
2985
2985
|
// ../esbuild/src/package-json.ts
|
|
2986
|
-
|
|
2986
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
2987
2987
|
|
|
2988
2988
|
|
|
2989
2989
|
|
|
2990
2990
|
async function generatePackageJson(context) {
|
|
2991
|
-
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
2991
|
+
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkUMFK4QJKjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
2992
2992
|
writeDebug(" \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
2993
2993
|
const stopwatch = getStopwatch("Write package.json file");
|
|
2994
|
-
const packageJsonPath =
|
|
2994
|
+
const packageJsonPath = _chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
2995
2995
|
context.options.projectRoot,
|
|
2996
2996
|
"project.json"
|
|
2997
2997
|
);
|
|
@@ -2999,7 +2999,7 @@ async function generatePackageJson(context) {
|
|
|
2999
2999
|
throw new Error("Cannot find package.json configuration");
|
|
3000
3000
|
}
|
|
3001
3001
|
const packageJsonFile = await _promises2.default.readFile(
|
|
3002
|
-
|
|
3002
|
+
_chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
3003
3003
|
context.workspaceConfig.workspaceRoot,
|
|
3004
3004
|
context.options.projectRoot,
|
|
3005
3005
|
"package.json"
|
|
@@ -3105,7 +3105,7 @@ async function generatePackageJson(context) {
|
|
|
3105
3105
|
}
|
|
3106
3106
|
}
|
|
3107
3107
|
await _devkit.writeJsonFile.call(void 0,
|
|
3108
|
-
|
|
3108
|
+
_chunkUMFK4QJKjs.joinPaths.call(void 0, context.outputPath, "package.json"),
|
|
3109
3109
|
packageJson
|
|
3110
3110
|
);
|
|
3111
3111
|
stopwatch();
|
|
@@ -3114,10 +3114,10 @@ async function generatePackageJson(context) {
|
|
|
3114
3114
|
}
|
|
3115
3115
|
|
|
3116
3116
|
// ../esbuild/src/tsup.ts
|
|
3117
|
-
|
|
3117
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3118
3118
|
|
|
3119
3119
|
// ../tsup/src/index.ts
|
|
3120
|
-
|
|
3120
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3121
3121
|
var _tsup = require('tsup');
|
|
3122
3122
|
async function build(options) {
|
|
3123
3123
|
if (!options.silent) {
|
|
@@ -3142,7 +3142,7 @@ async function executeTsup(context) {
|
|
|
3142
3142
|
const stopwatch = getStopwatch(`${context.options.name} build`);
|
|
3143
3143
|
await build({
|
|
3144
3144
|
...context.options,
|
|
3145
|
-
outDir: context.options.distDir ?
|
|
3145
|
+
outDir: context.options.distDir ? _chunkUMFK4QJKjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
3146
3146
|
workspaceConfig: context.workspaceConfig
|
|
3147
3147
|
});
|
|
3148
3148
|
stopwatch();
|
|
@@ -3252,12 +3252,12 @@ var executor_default6 = withRunExecutor(
|
|
|
3252
3252
|
);
|
|
3253
3253
|
|
|
3254
3254
|
// ../workspace-tools/src/executors/napi/executor.ts
|
|
3255
|
-
|
|
3255
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3256
3256
|
var _jiti = require('jiti');
|
|
3257
3257
|
var _fileutils = require('nx/src/utils/fileutils');
|
|
3258
3258
|
async function napiExecutor(options, context, config) {
|
|
3259
3259
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3260
|
-
fsCache: config.skipCache ? false :
|
|
3260
|
+
fsCache: config.skipCache ? false : _chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
3261
3261
|
config.workspaceRoot,
|
|
3262
3262
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3263
3263
|
"jiti"
|
|
@@ -3273,52 +3273,52 @@ async function napiExecutor(options, context, config) {
|
|
|
3273
3273
|
);
|
|
3274
3274
|
}
|
|
3275
3275
|
const projectRoot = _optionalChain([context, 'access', _149 => _149.projectGraph, 'optionalAccess', _150 => _150.nodes, 'access', _151 => _151[_nullishCoalesce(context.projectName, () => ( ""))], 'optionalAccess', _152 => _152.data, 'access', _153 => _153.root]);
|
|
3276
|
-
const packageJson =
|
|
3276
|
+
const packageJson = _chunkUMFK4QJKjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
3277
3277
|
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
3278
3278
|
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
3279
3279
|
}
|
|
3280
3280
|
const napi = new NapiCli();
|
|
3281
3281
|
const normalizedOptions = { ...options };
|
|
3282
3282
|
const metadata = cargoMetadata();
|
|
3283
|
-
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _154 => _154.target_directory]) ||
|
|
3283
|
+
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _154 => _154.target_directory]) || _chunkUMFK4QJKjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
|
|
3284
3284
|
normalizedOptions.outputDir = options.outputPath;
|
|
3285
3285
|
normalizedOptions.packageJsonPath ??= packageJson;
|
|
3286
3286
|
if (options.cwd) {
|
|
3287
|
-
normalizedOptions.cwd =
|
|
3287
|
+
normalizedOptions.cwd = _chunkUMFK4QJKjs.correctPaths.call(void 0, options.cwd);
|
|
3288
3288
|
} else {
|
|
3289
|
-
const absoluteProjectRoot =
|
|
3290
|
-
|
|
3289
|
+
const absoluteProjectRoot = _chunkUMFK4QJKjs.correctPaths.call(void 0,
|
|
3290
|
+
_chunkUMFK4QJKjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
|
|
3291
3291
|
);
|
|
3292
3292
|
normalizedOptions.cwd = absoluteProjectRoot;
|
|
3293
3293
|
if (normalizedOptions.outputDir) {
|
|
3294
|
-
normalizedOptions.outputDir =
|
|
3294
|
+
normalizedOptions.outputDir = _chunkUMFK4QJKjs.relative.call(void 0,
|
|
3295
3295
|
normalizedOptions.cwd,
|
|
3296
|
-
|
|
3297
|
-
|
|
3296
|
+
_chunkUMFK4QJKjs.correctPaths.call(void 0,
|
|
3297
|
+
_chunkUMFK4QJKjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkUMFK4QJKjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
|
|
3298
3298
|
)
|
|
3299
3299
|
);
|
|
3300
3300
|
}
|
|
3301
3301
|
if (normalizedOptions.packageJsonPath) {
|
|
3302
|
-
normalizedOptions.packageJsonPath =
|
|
3302
|
+
normalizedOptions.packageJsonPath = _chunkUMFK4QJKjs.relative.call(void 0,
|
|
3303
3303
|
normalizedOptions.cwd,
|
|
3304
|
-
|
|
3305
|
-
|
|
3304
|
+
_chunkUMFK4QJKjs.correctPaths.call(void 0,
|
|
3305
|
+
_chunkUMFK4QJKjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkUMFK4QJKjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
3306
3306
|
)
|
|
3307
3307
|
);
|
|
3308
3308
|
}
|
|
3309
3309
|
if (normalizedOptions.configPath) {
|
|
3310
|
-
normalizedOptions.configPath =
|
|
3310
|
+
normalizedOptions.configPath = _chunkUMFK4QJKjs.relative.call(void 0,
|
|
3311
3311
|
normalizedOptions.cwd,
|
|
3312
|
-
|
|
3313
|
-
|
|
3312
|
+
_chunkUMFK4QJKjs.correctPaths.call(void 0,
|
|
3313
|
+
_chunkUMFK4QJKjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkUMFK4QJKjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
|
|
3314
3314
|
)
|
|
3315
3315
|
);
|
|
3316
3316
|
}
|
|
3317
3317
|
if (normalizedOptions.manifestPath) {
|
|
3318
|
-
normalizedOptions.manifestPath =
|
|
3318
|
+
normalizedOptions.manifestPath = _chunkUMFK4QJKjs.relative.call(void 0,
|
|
3319
3319
|
normalizedOptions.cwd,
|
|
3320
|
-
|
|
3321
|
-
|
|
3320
|
+
_chunkUMFK4QJKjs.correctPaths.call(void 0,
|
|
3321
|
+
_chunkUMFK4QJKjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkUMFK4QJKjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
|
|
3322
3322
|
)
|
|
3323
3323
|
);
|
|
3324
3324
|
}
|
|
@@ -3361,17 +3361,17 @@ var executor_default7 = withRunExecutor(
|
|
|
3361
3361
|
);
|
|
3362
3362
|
|
|
3363
3363
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
3364
|
-
|
|
3364
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3365
3365
|
|
|
3366
3366
|
// ../npm-tools/src/helpers/get-registry.ts
|
|
3367
|
-
|
|
3367
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3368
3368
|
|
|
3369
3369
|
|
|
3370
3370
|
// ../npm-tools/src/constants.ts
|
|
3371
|
-
|
|
3371
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3372
3372
|
|
|
3373
3373
|
// ../pnpm-tools/src/helpers/replace-deps-aliases.ts
|
|
3374
|
-
|
|
3374
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3375
3375
|
|
|
3376
3376
|
|
|
3377
3377
|
|
|
@@ -3381,17 +3381,17 @@ _chunk5T4Z2WICjs.init_cjs_shims.call(void 0, );
|
|
|
3381
3381
|
var _prettier = require('prettier');
|
|
3382
3382
|
|
|
3383
3383
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
3384
|
-
|
|
3384
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3385
3385
|
|
|
3386
3386
|
// ../npm-tools/src/helpers/get-version.ts
|
|
3387
|
-
|
|
3387
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3388
3388
|
|
|
3389
3389
|
|
|
3390
3390
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
3391
3391
|
var _semver = require('semver');
|
|
3392
3392
|
|
|
3393
3393
|
// ../pnpm-tools/src/helpers/pnpm-workspace.ts
|
|
3394
|
-
|
|
3394
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3395
3395
|
|
|
3396
3396
|
|
|
3397
3397
|
var _yaml = require('yaml');
|
|
@@ -3402,11 +3402,11 @@ var _yaml = require('yaml');
|
|
|
3402
3402
|
|
|
3403
3403
|
|
|
3404
3404
|
// ../workspace-tools/src/utils/github.ts
|
|
3405
|
-
|
|
3405
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3406
3406
|
|
|
3407
3407
|
|
|
3408
3408
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
3409
|
-
|
|
3409
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3410
3410
|
|
|
3411
3411
|
|
|
3412
3412
|
|
|
@@ -3418,10 +3418,10 @@ _chunk5T4Z2WICjs.init_cjs_shims.call(void 0, );
|
|
|
3418
3418
|
|
|
3419
3419
|
|
|
3420
3420
|
// ../workspace-tools/src/utils/project-tags.ts
|
|
3421
|
-
|
|
3421
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3422
3422
|
|
|
3423
3423
|
// ../package-constants/src/tags.ts
|
|
3424
|
-
|
|
3424
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3425
3425
|
var ProjectTagConstants = {
|
|
3426
3426
|
Language: {
|
|
3427
3427
|
TAG_ID: "language",
|
|
@@ -3500,7 +3500,7 @@ var addProjectTag = (project, variant, value, options = {
|
|
|
3500
3500
|
var LARGE_BUFFER2 = 1024 * 1e6;
|
|
3501
3501
|
|
|
3502
3502
|
// ../workspace-tools/src/executors/size-limit/executor.ts
|
|
3503
|
-
|
|
3503
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3504
3504
|
|
|
3505
3505
|
var _esbuild = require('@size-limit/esbuild'); var _esbuild2 = _interopRequireDefault(_esbuild);
|
|
3506
3506
|
var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
|
|
@@ -3542,10 +3542,10 @@ var executor_default8 = withRunExecutor(
|
|
|
3542
3542
|
);
|
|
3543
3543
|
|
|
3544
3544
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
3545
|
-
|
|
3545
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3546
3546
|
|
|
3547
3547
|
// ../tsdown/src/build.ts
|
|
3548
|
-
|
|
3548
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3549
3549
|
|
|
3550
3550
|
|
|
3551
3551
|
|
|
@@ -3557,14 +3557,14 @@ _chunk5T4Z2WICjs.init_cjs_shims.call(void 0, );
|
|
|
3557
3557
|
var _tsdown = require('tsdown');
|
|
3558
3558
|
|
|
3559
3559
|
// ../tsdown/src/clean.ts
|
|
3560
|
-
|
|
3560
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3561
3561
|
|
|
3562
3562
|
async function cleanDirectories2(name = "TSDown", directory, config) {
|
|
3563
3563
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
3564
3564
|
}
|
|
3565
3565
|
|
|
3566
3566
|
// ../tsdown/src/config.ts
|
|
3567
|
-
|
|
3567
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3568
3568
|
function getDefaultOptions(config) {
|
|
3569
3569
|
return {
|
|
3570
3570
|
entry: ["./src/*.ts"],
|
|
@@ -3607,7 +3607,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3607
3607
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
3608
3608
|
exitOnError: true
|
|
3609
3609
|
});
|
|
3610
|
-
const projectJsonPath =
|
|
3610
|
+
const projectJsonPath = _chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
3611
3611
|
workspaceRoot2,
|
|
3612
3612
|
options.projectRoot,
|
|
3613
3613
|
"project.json"
|
|
@@ -3624,7 +3624,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3624
3624
|
"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."
|
|
3625
3625
|
);
|
|
3626
3626
|
}
|
|
3627
|
-
const packageJsonPath =
|
|
3627
|
+
const packageJsonPath = _chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
3628
3628
|
workspaceRoot2,
|
|
3629
3629
|
options.projectRoot,
|
|
3630
3630
|
"package.json"
|
|
@@ -3633,13 +3633,13 @@ var resolveOptions = async (userOptions) => {
|
|
|
3633
3633
|
throw new Error("Cannot find package.json configuration");
|
|
3634
3634
|
}
|
|
3635
3635
|
const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
|
|
3636
|
-
const sourceRoot = projectJson.sourceRoot ||
|
|
3636
|
+
const sourceRoot = projectJson.sourceRoot || _chunkUMFK4QJKjs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
3637
3637
|
const result = {
|
|
3638
3638
|
name: projectName,
|
|
3639
3639
|
mode: "production",
|
|
3640
3640
|
target: DEFAULT_TARGET,
|
|
3641
3641
|
generatePackageJson: true,
|
|
3642
|
-
outDir:
|
|
3642
|
+
outDir: _chunkUMFK4QJKjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
3643
3643
|
minify: !debug,
|
|
3644
3644
|
plugins: [],
|
|
3645
3645
|
assets: [],
|
|
@@ -3651,12 +3651,12 @@ var resolveOptions = async (userOptions) => {
|
|
|
3651
3651
|
clean: false,
|
|
3652
3652
|
fixedExtension: true,
|
|
3653
3653
|
nodeProtocol: true,
|
|
3654
|
-
tsconfig:
|
|
3654
|
+
tsconfig: _chunkUMFK4QJKjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
|
|
3655
3655
|
debug,
|
|
3656
3656
|
sourceRoot,
|
|
3657
3657
|
cwd: workspaceConfig.workspaceRoot,
|
|
3658
3658
|
entry: {
|
|
3659
|
-
["index"]:
|
|
3659
|
+
["index"]: _chunkUMFK4QJKjs.joinPaths.call(void 0, sourceRoot, "index.ts")
|
|
3660
3660
|
},
|
|
3661
3661
|
workspace: true,
|
|
3662
3662
|
...options,
|
|
@@ -3675,15 +3675,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
3675
3675
|
return result;
|
|
3676
3676
|
};
|
|
3677
3677
|
async function generatePackageJson2(options) {
|
|
3678
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
3678
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkUMFK4QJKjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
3679
3679
|
writeDebug(" \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
3680
3680
|
const stopwatch = getStopwatch("Write package.json file");
|
|
3681
|
-
const packageJsonPath =
|
|
3681
|
+
const packageJsonPath = _chunkUMFK4QJKjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
3682
3682
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
3683
3683
|
throw new Error("Cannot find package.json configuration");
|
|
3684
3684
|
}
|
|
3685
3685
|
const packageJsonFile = await _promises2.default.readFile(
|
|
3686
|
-
|
|
3686
|
+
_chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
3687
3687
|
options.workspaceConfig.workspaceRoot,
|
|
3688
3688
|
options.projectRoot,
|
|
3689
3689
|
"package.json"
|
|
@@ -3745,7 +3745,7 @@ async function generatePackageJson2(options) {
|
|
|
3745
3745
|
},
|
|
3746
3746
|
packageJson.exports
|
|
3747
3747
|
);
|
|
3748
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
3748
|
+
await _devkit.writeJsonFile.call(void 0, _chunkUMFK4QJKjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
3749
3749
|
stopwatch();
|
|
3750
3750
|
}
|
|
3751
3751
|
return options;
|
|
@@ -3878,7 +3878,7 @@ var executor_default9 = withRunExecutor(
|
|
|
3878
3878
|
);
|
|
3879
3879
|
|
|
3880
3880
|
// ../workspace-tools/src/executors/typia/executor.ts
|
|
3881
|
-
|
|
3881
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3882
3882
|
var _fsextra = require('fs-extra');
|
|
3883
3883
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
3884
3884
|
async function typiaExecutorFn(options, _, config) {
|
|
@@ -3918,7 +3918,7 @@ var executor_default10 = withRunExecutor(
|
|
|
3918
3918
|
);
|
|
3919
3919
|
|
|
3920
3920
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
3921
|
-
|
|
3921
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
3922
3922
|
|
|
3923
3923
|
|
|
3924
3924
|
async function unbuildExecutorFn(options, context, config) {
|
|
@@ -3939,7 +3939,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3939
3939
|
);
|
|
3940
3940
|
}
|
|
3941
3941
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3942
|
-
fsCache: config.skipCache ? false :
|
|
3942
|
+
fsCache: config.skipCache ? false : _chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
3943
3943
|
config.workspaceRoot,
|
|
3944
3944
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3945
3945
|
"jiti"
|
|
@@ -3961,7 +3961,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3961
3961
|
{
|
|
3962
3962
|
stubOptions: {
|
|
3963
3963
|
jiti: {
|
|
3964
|
-
fsCache: config.skipCache ? false :
|
|
3964
|
+
fsCache: config.skipCache ? false : _chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
3965
3965
|
config.workspaceRoot,
|
|
3966
3966
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3967
3967
|
"jiti"
|
|
@@ -4010,10 +4010,10 @@ var executor_default11 = withRunExecutor(
|
|
|
4010
4010
|
);
|
|
4011
4011
|
|
|
4012
4012
|
// ../workspace-tools/generators.ts
|
|
4013
|
-
|
|
4013
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
4014
4014
|
|
|
4015
4015
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
4016
|
-
|
|
4016
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
4017
4017
|
|
|
4018
4018
|
|
|
4019
4019
|
|
|
@@ -4022,7 +4022,7 @@ _chunk5T4Z2WICjs.init_cjs_shims.call(void 0, );
|
|
|
4022
4022
|
|
|
4023
4023
|
|
|
4024
4024
|
// ../workspace-tools/src/base/base-generator.ts
|
|
4025
|
-
|
|
4025
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
4026
4026
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
4027
4027
|
skipReadingConfig: false
|
|
4028
4028
|
}) => async (tree, _options) => {
|
|
@@ -4109,7 +4109,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
4109
4109
|
};
|
|
4110
4110
|
|
|
4111
4111
|
// ../workspace-tools/src/base/typescript-library-generator.ts
|
|
4112
|
-
|
|
4112
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
4113
4113
|
|
|
4114
4114
|
|
|
4115
4115
|
|
|
@@ -4131,7 +4131,7 @@ var _init = require('@nx/js/src/generators/init/init'); var _init2 = _interopReq
|
|
|
4131
4131
|
var _generator = require('@nx/js/src/generators/setup-verdaccio/generator'); var _generator2 = _interopRequireDefault(_generator);
|
|
4132
4132
|
|
|
4133
4133
|
// ../workspace-tools/src/utils/versions.ts
|
|
4134
|
-
|
|
4134
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
4135
4135
|
var typesNodeVersion = "20.9.0";
|
|
4136
4136
|
var nxVersion = "^18.0.4";
|
|
4137
4137
|
var nodeVersion = "20.11.0";
|
|
@@ -4164,16 +4164,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4164
4164
|
const projectConfig = {
|
|
4165
4165
|
root: normalized.directory,
|
|
4166
4166
|
projectType: "library",
|
|
4167
|
-
sourceRoot:
|
|
4167
|
+
sourceRoot: _chunkUMFK4QJKjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
4168
4168
|
targets: {
|
|
4169
4169
|
build: {
|
|
4170
4170
|
executor: options.buildExecutor,
|
|
4171
4171
|
outputs: ["{options.outputPath}"],
|
|
4172
4172
|
options: {
|
|
4173
|
-
entry: [
|
|
4173
|
+
entry: [_chunkUMFK4QJKjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
|
|
4174
4174
|
outputPath: getOutputPath(normalized),
|
|
4175
|
-
tsconfig:
|
|
4176
|
-
project:
|
|
4175
|
+
tsconfig: _chunkUMFK4QJKjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
4176
|
+
project: _chunkUMFK4QJKjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
4177
4177
|
defaultConfiguration: "production",
|
|
4178
4178
|
platform: "neutral",
|
|
4179
4179
|
assets: [
|
|
@@ -4230,7 +4230,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4230
4230
|
if (!normalized.importPath) {
|
|
4231
4231
|
normalized.importPath = normalized.name;
|
|
4232
4232
|
}
|
|
4233
|
-
const packageJsonPath =
|
|
4233
|
+
const packageJsonPath = _chunkUMFK4QJKjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
4234
4234
|
if (tree.exists(packageJsonPath)) {
|
|
4235
4235
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
4236
4236
|
if (!normalized.importPath) {
|
|
@@ -4287,14 +4287,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4287
4287
|
}));
|
|
4288
4288
|
}
|
|
4289
4289
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
4290
|
-
|
|
4290
|
+
_chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
4291
4291
|
normalized.projectRoot,
|
|
4292
4292
|
"./src",
|
|
4293
4293
|
`index.${normalized.js ? "js" : "ts"}`
|
|
4294
4294
|
)
|
|
4295
4295
|
]);
|
|
4296
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
4297
|
-
|
|
4296
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkUMFK4QJKjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
4297
|
+
_chunkUMFK4QJKjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
4298
4298
|
]);
|
|
4299
4299
|
if (tree.exists("package.json")) {
|
|
4300
4300
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -4305,7 +4305,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4305
4305
|
description = packageJson.description;
|
|
4306
4306
|
}
|
|
4307
4307
|
}
|
|
4308
|
-
const tsconfigPath =
|
|
4308
|
+
const tsconfigPath = _chunkUMFK4QJKjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
4309
4309
|
if (tree.exists(tsconfigPath)) {
|
|
4310
4310
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
4311
4311
|
json.composite ??= true;
|
|
@@ -4333,7 +4333,7 @@ function getOutputPath(options) {
|
|
|
4333
4333
|
} else {
|
|
4334
4334
|
parts.push(options.projectRoot);
|
|
4335
4335
|
}
|
|
4336
|
-
return
|
|
4336
|
+
return _chunkUMFK4QJKjs.joinPaths.call(void 0, ...parts);
|
|
4337
4337
|
}
|
|
4338
4338
|
function createProjectTsConfigJson(tree, options) {
|
|
4339
4339
|
const tsconfig = {
|
|
@@ -4341,7 +4341,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
4341
4341
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _213 => _213.tsconfigOptions]), () => ( {})),
|
|
4342
4342
|
compilerOptions: {
|
|
4343
4343
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
4344
|
-
outDir:
|
|
4344
|
+
outDir: _chunkUMFK4QJKjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
4345
4345
|
noEmit: true,
|
|
4346
4346
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _214 => _214.tsconfigOptions, 'optionalAccess', _215 => _215.compilerOptions]), () => ( {}))
|
|
4347
4347
|
},
|
|
@@ -4359,7 +4359,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
4359
4359
|
"src/**/*.test.ts"
|
|
4360
4360
|
]
|
|
4361
4361
|
};
|
|
4362
|
-
_devkit.writeJson.call(void 0, tree,
|
|
4362
|
+
_devkit.writeJson.call(void 0, tree, _chunkUMFK4QJKjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
4363
4363
|
}
|
|
4364
4364
|
async function normalizeOptions(tree, options, config) {
|
|
4365
4365
|
let importPath = options.importPath;
|
|
@@ -4424,7 +4424,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
4424
4424
|
|
|
4425
4425
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
4426
4426
|
async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
4427
|
-
const filesDir =
|
|
4427
|
+
const filesDir = _chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
4428
4428
|
__dirname,
|
|
4429
4429
|
"src",
|
|
4430
4430
|
"generators",
|
|
@@ -4504,7 +4504,7 @@ var generator_default = withRunGenerator(
|
|
|
4504
4504
|
);
|
|
4505
4505
|
|
|
4506
4506
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
4507
|
-
|
|
4507
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
4508
4508
|
|
|
4509
4509
|
var _zod2 = require('zod'); var z2 = _interopRequireWildcard(_zod2);
|
|
4510
4510
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
@@ -4561,7 +4561,7 @@ var generator_default2 = withRunGenerator(
|
|
|
4561
4561
|
);
|
|
4562
4562
|
|
|
4563
4563
|
// ../workspace-tools/src/generators/init/init.ts
|
|
4564
|
-
|
|
4564
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
4565
4565
|
|
|
4566
4566
|
|
|
4567
4567
|
|
|
@@ -4589,7 +4589,7 @@ async function initGenerator(tree, schema) {
|
|
|
4589
4589
|
}
|
|
4590
4590
|
|
|
4591
4591
|
// ../workspace-tools/src/generators/neutral-library/generator.ts
|
|
4592
|
-
|
|
4592
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
4593
4593
|
|
|
4594
4594
|
|
|
4595
4595
|
|
|
@@ -4597,7 +4597,7 @@ _chunk5T4Z2WICjs.init_cjs_shims.call(void 0, );
|
|
|
4597
4597
|
|
|
4598
4598
|
|
|
4599
4599
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
4600
|
-
const filesDir =
|
|
4600
|
+
const filesDir = _chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
4601
4601
|
__dirname,
|
|
4602
4602
|
"src",
|
|
4603
4603
|
"generators",
|
|
@@ -4649,7 +4649,7 @@ var generator_default3 = withRunGenerator(
|
|
|
4649
4649
|
);
|
|
4650
4650
|
|
|
4651
4651
|
// ../workspace-tools/src/generators/node-library/generator.ts
|
|
4652
|
-
|
|
4652
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
4653
4653
|
|
|
4654
4654
|
|
|
4655
4655
|
|
|
@@ -4657,7 +4657,7 @@ _chunk5T4Z2WICjs.init_cjs_shims.call(void 0, );
|
|
|
4657
4657
|
|
|
4658
4658
|
|
|
4659
4659
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
4660
|
-
const filesDir =
|
|
4660
|
+
const filesDir = _chunkUMFK4QJKjs.joinPaths.call(void 0,
|
|
4661
4661
|
__dirname,
|
|
4662
4662
|
"src",
|
|
4663
4663
|
"generators",
|
|
@@ -4711,7 +4711,7 @@ var generator_default4 = withRunGenerator(
|
|
|
4711
4711
|
);
|
|
4712
4712
|
|
|
4713
4713
|
// ../workspace-tools/src/generators/preset/generator.ts
|
|
4714
|
-
|
|
4714
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
4715
4715
|
|
|
4716
4716
|
|
|
4717
4717
|
|
|
@@ -4950,10 +4950,10 @@ var generator_default5 = withRunGenerator(
|
|
|
4950
4950
|
);
|
|
4951
4951
|
|
|
4952
4952
|
// ../workspace-tools/src/base/index.ts
|
|
4953
|
-
|
|
4953
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
4954
4954
|
|
|
4955
4955
|
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
4956
|
-
|
|
4956
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
4957
4957
|
var _untyped = require('untyped');
|
|
4958
4958
|
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4959
4959
|
$schema: {
|
|
@@ -4972,7 +4972,7 @@ var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4972
4972
|
});
|
|
4973
4973
|
|
|
4974
4974
|
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
4975
|
-
|
|
4975
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
4976
4976
|
|
|
4977
4977
|
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4978
4978
|
$schema: {
|
|
@@ -4990,7 +4990,7 @@ var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4990
4990
|
});
|
|
4991
4991
|
|
|
4992
4992
|
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
4993
|
-
|
|
4993
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
4994
4994
|
|
|
4995
4995
|
var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4996
4996
|
...base_executor_untyped_default,
|
|
@@ -5063,7 +5063,7 @@ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void
|
|
|
5063
5063
|
});
|
|
5064
5064
|
|
|
5065
5065
|
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
5066
|
-
|
|
5066
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
5067
5067
|
|
|
5068
5068
|
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5069
5069
|
...base_executor_untyped_default,
|
|
@@ -5215,7 +5215,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
5215
5215
|
});
|
|
5216
5216
|
|
|
5217
5217
|
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
5218
|
-
|
|
5218
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
5219
5219
|
|
|
5220
5220
|
var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5221
5221
|
...base_generator_untyped_default,
|
|
@@ -5321,45 +5321,45 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
|
|
|
5321
5321
|
});
|
|
5322
5322
|
|
|
5323
5323
|
// ../workspace-tools/src/release/index.ts
|
|
5324
|
-
|
|
5324
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
5325
5325
|
|
|
5326
5326
|
// ../workspace-tools/src/release/js-version-actions.ts
|
|
5327
|
-
|
|
5327
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
5328
5328
|
var _versionactionsjs = require('@nx/js/src/release/version-actions.js'); var _versionactionsjs2 = _interopRequireDefault(_versionactionsjs);
|
|
5329
5329
|
|
|
5330
5330
|
// ../workspace-tools/src/release/rust-version-actions.ts
|
|
5331
|
-
|
|
5331
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
5332
5332
|
|
|
5333
5333
|
|
|
5334
5334
|
|
|
5335
5335
|
var _release = require('nx/release');
|
|
5336
5336
|
|
|
5337
5337
|
// ../workspace-tools/src/utils/registry-helpers.ts
|
|
5338
|
-
|
|
5338
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
5339
5339
|
|
|
5340
5340
|
|
|
5341
5341
|
// ../workspace-tools/src/types.ts
|
|
5342
|
-
|
|
5342
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
5343
5343
|
|
|
5344
5344
|
// ../package-constants/src/types.ts
|
|
5345
|
-
|
|
5345
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
5346
5346
|
|
|
5347
5347
|
// ../workspace-tools/src/utils/index.ts
|
|
5348
|
-
|
|
5348
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
5349
5349
|
|
|
5350
5350
|
// ../workspace-tools/src/utils/apply-workspace-tokens.ts
|
|
5351
|
-
|
|
5351
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
5352
5352
|
|
|
5353
5353
|
// ../workspace-tools/src/utils/create-cli-options.ts
|
|
5354
|
-
|
|
5354
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
5355
5355
|
|
|
5356
5356
|
|
|
5357
5357
|
// ../workspace-tools/src/utils/get-project-configurations.ts
|
|
5358
|
-
|
|
5358
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
5359
5359
|
var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
|
|
5360
5360
|
|
|
5361
5361
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
5362
|
-
|
|
5362
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
5363
5363
|
|
|
5364
5364
|
|
|
5365
5365
|
|
|
@@ -5387,10 +5387,253 @@ var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE
|
|
|
5387
5387
|
var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
|
|
5388
5388
|
|
|
5389
5389
|
// ../workspace-tools/src/utils/nx-json.ts
|
|
5390
|
-
|
|
5390
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
5391
|
+
|
|
5392
|
+
// ../workspace-tools/config/recommended.json
|
|
5393
|
+
var recommended_default = {
|
|
5394
|
+
$schema: "https://cdn.jsdelivr.net/npm/nx/schemas/nx-schema.json",
|
|
5395
|
+
extends: "nx/presets/npm.json",
|
|
5396
|
+
namedInputs: {
|
|
5397
|
+
allProjectFiles: ["sharedGlobals", "{projectRoot}/**/*"],
|
|
5398
|
+
default: ["sharedGlobals", "{projectRoot}/**/*"],
|
|
5399
|
+
sharedGlobals: [
|
|
5400
|
+
"{workspaceRoot}/.github/**/*",
|
|
5401
|
+
"{workspaceRoot}/assets/**/*",
|
|
5402
|
+
"{workspaceRoot}/tsconfig.json",
|
|
5403
|
+
"{workspaceRoot}/tsconfig.base.json",
|
|
5404
|
+
"{workspaceRoot}/.npm@(rc|ignore)",
|
|
5405
|
+
"{workspaceRoot}/package.json",
|
|
5406
|
+
"{workspaceRoot}/{pnpm-workspace,pnpm-lock,package-lock,yarn-lock}.@(yaml|yml)",
|
|
5407
|
+
"{workspaceRoot}/bun.lockb",
|
|
5408
|
+
"{workspaceRoot}/LICENSE",
|
|
5409
|
+
"{workspaceRoot}/.git@(attributes|ignore)",
|
|
5410
|
+
"{workspaceRoot}/{nx.json,.nxignore}",
|
|
5411
|
+
"{workspaceRoot}/storm-workspace{,.*}.@(json|yaml|toml)",
|
|
5412
|
+
"{workspaceRoot}/.storm-workspace/config{,.*}.@(json|yaml|toml)",
|
|
5413
|
+
"{workspaceRoot}/storm-workspace.config.[jt]s",
|
|
5414
|
+
"{workspaceRoot}/.storm-workspace/config{,.*}.[jt]s",
|
|
5415
|
+
"{workspaceRoot}/devenv.@(lock|nix|yaml)",
|
|
5416
|
+
"{workspaceRoot}/{flake,shell,devShell}.nix",
|
|
5417
|
+
"{workspaceRoot}/.envrc",
|
|
5418
|
+
"{workspaceRoot}/.env{,.local,.*}"
|
|
5419
|
+
],
|
|
5420
|
+
production: [
|
|
5421
|
+
"{projectRoot}/**/*",
|
|
5422
|
+
"!{projectRoot}/{tools,scripts}/**/*",
|
|
5423
|
+
"!{projectRoot}/node_modules/**/*",
|
|
5424
|
+
"!{projectRoot}/{api-extractor,tsdoc,typedoc}.json",
|
|
5425
|
+
"!{projectRoot}/.eslint-doc-generatorrc.@(js|json)",
|
|
5426
|
+
"!{projectRoot}/.storybook/**/*",
|
|
5427
|
+
"!{projectRoot}/tsconfig.storybook.json",
|
|
5428
|
+
"!{projectRoot}/{jest.config,vitest.config}.@(js|cjs|mjs|ts|cts|mts)",
|
|
5429
|
+
"!{projectRoot}/tsconfig.spec.json",
|
|
5430
|
+
"!{projectRoot}/{src/,}test-setup.[jt]s",
|
|
5431
|
+
"!{projectRoot}/.eslintignore",
|
|
5432
|
+
"!{projectRoot}/.eslintrc.@(json|cjs)",
|
|
5433
|
+
"!{projectRoot}/eslint.config.@(js|cjs|mjs|ts|cts|mts|json)",
|
|
5434
|
+
"!{projectRoot}/vitest.config.@(js|cjs|mjs|ts|cts|mts|json)",
|
|
5435
|
+
"!{projectRoot}/biome.@(toml|json)",
|
|
5436
|
+
"!{projectRoot}/lefthook.@(yaml|yml|json)",
|
|
5437
|
+
"!{projectRoot}/.markdownlint.json",
|
|
5438
|
+
"!{projectRoot}/.markdownlint-cli2.@(js|cjs|mjs|ts|cts|mts|json)",
|
|
5439
|
+
"!{projectRoot}/.prettier@(rc|ignore)",
|
|
5440
|
+
"!{projectRoot}/prettier.config.@(js|cjs|mjs|ts|cts|mts|json)",
|
|
5441
|
+
"!{projectRoot}/docs/**/*",
|
|
5442
|
+
"!{projectRoot}/tests/**/*",
|
|
5443
|
+
"!{projectRoot}/.next/**/*",
|
|
5444
|
+
"!{projectRoot}/.rolldown/**/*",
|
|
5445
|
+
"!{projectRoot}/.vite/**/*",
|
|
5446
|
+
"!{projectRoot}/.powerlines/**/*",
|
|
5447
|
+
"!{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
|
|
5448
|
+
"!{projectRoot}/{benches,e2e,tests,testing}/**/*",
|
|
5449
|
+
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)"
|
|
5450
|
+
],
|
|
5451
|
+
testing: [
|
|
5452
|
+
"sharedGlobals",
|
|
5453
|
+
"{workspaceRoot}/{jest.config,jest.preset,vitest.config,vitest.preset,vitest.workspace}.@(js|cjs|mjs|ts|cts|mts)",
|
|
5454
|
+
"{workspaceRoot}/{benches,e2e,tests,testing}/**/*",
|
|
5455
|
+
"{workspaceRoot}/coverage/**/*",
|
|
5456
|
+
"{projectRoot}/{project.json,README.md,CHANGELOG.md}",
|
|
5457
|
+
"{projectRoot}/.env{,.*}",
|
|
5458
|
+
"{projectRoot}/{jest.config,vitest.config}.@(js|cjs|mjs|ts|cts|mts)",
|
|
5459
|
+
"{projectRoot}/tsconfig.spec.json",
|
|
5460
|
+
"{projectRoot}/{src/,}test-setup.[jt]s",
|
|
5461
|
+
"{projectRoot}/{benches,e2e,tests,testing}/**/*",
|
|
5462
|
+
"{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
|
5463
|
+
"{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)"
|
|
5464
|
+
],
|
|
5465
|
+
linting: [
|
|
5466
|
+
"sharedGlobals",
|
|
5467
|
+
"{workspaceRoot}/.eslintignore",
|
|
5468
|
+
"{workspaceRoot}/.eslintrc.@(js|cjs|mjs|ts|cts|mts|json)",
|
|
5469
|
+
"{workspaceRoot}/eslint.config.@(js|cjs|mjs|ts|cts|mts)",
|
|
5470
|
+
"{workspaceRoot}/.oxlintrc.@(json|jsonc)",
|
|
5471
|
+
"{workspaceRoot}/oxlint.config.@(js|cjs|mjs|ts|cts|mts)",
|
|
5472
|
+
"{workspaceRoot}/.oxfmtrc.@(json|jsonc)",
|
|
5473
|
+
"{workspaceRoot}/oxfmt.config.@(js|cjs|mjs|ts|cts|mts)",
|
|
5474
|
+
"{workspaceRoot}/biome.@(toml|json)",
|
|
5475
|
+
"{workspaceRoot}/lefthook.@(yaml|yml|json)",
|
|
5476
|
+
"{workspaceRoot}/.markdownlint.json",
|
|
5477
|
+
"{workspaceRoot}/.markdownlint-cli2.@(js|cjs|mjs|ts|cts|mts|json)",
|
|
5478
|
+
"{workspaceRoot}/.prettier@(rc|ignore)",
|
|
5479
|
+
"{workspaceRoot}/prettier.config.@(js|cjs|mjs|ts|cts|mts)",
|
|
5480
|
+
"{projectRoot}/{project.json,README.md,CHANGELOG.md}",
|
|
5481
|
+
"{projectRoot}/.env{,.*}",
|
|
5482
|
+
"{projectRoot}/.eslintignore",
|
|
5483
|
+
"{projectRoot}/.eslintrc.@(js|cjs|mjs|ts|cts|mts|json)",
|
|
5484
|
+
"{projectRoot}/eslint.config.@(js|cjs|mjs|ts|cts|mts)",
|
|
5485
|
+
"{projectRoot}/.oxlintrc.@(json|jsonc)",
|
|
5486
|
+
"{projectRoot}/oxlint.config.@(js|cjs|mjs|ts|cts|mts)",
|
|
5487
|
+
"{projectRoot}/.oxfmtrc.@(json|jsonc)",
|
|
5488
|
+
"{projectRoot}/oxfmt.config.@(js|cjs|mjs|ts|cts|mts)",
|
|
5489
|
+
"{projectRoot}/biome.@(toml|json)",
|
|
5490
|
+
"{projectRoot}/lefthook.@(yaml|yml|json)",
|
|
5491
|
+
"{projectRoot}/.markdownlint.json",
|
|
5492
|
+
"{projectRoot}/.markdownlint-cli2.@(js|cjs|mjs|ts|cts|mts|json)",
|
|
5493
|
+
"{projectRoot}/.prettier@(rc|ignore)",
|
|
5494
|
+
"{projectRoot}/prettier.config.@(js|cjs|mjs|ts|cts|mts)"
|
|
5495
|
+
],
|
|
5496
|
+
documentation: [
|
|
5497
|
+
"sharedGlobals",
|
|
5498
|
+
"{workspaceRoot}/{api-extractor,tsdoc,typedoc}.json",
|
|
5499
|
+
"{workspaceRoot}/.eslint-doc-generatorrc.@(js|json)",
|
|
5500
|
+
"{workspaceRoot}/contentlayer.config.ts",
|
|
5501
|
+
"{workspaceRoot}/*.@(md|mdx)",
|
|
5502
|
+
"{workspaceRoot}/docs/**/*",
|
|
5503
|
+
"{workspaceRoot}/.storybook/**/*",
|
|
5504
|
+
"{projectRoot}/{project.json,README.md,CHANGELOG.md}",
|
|
5505
|
+
"{projectRoot}/.env{,.local}",
|
|
5506
|
+
"{projectRoot}/{api-extractor,tsdoc,typedoc}.json",
|
|
5507
|
+
"{projectRoot}/.eslint-doc-generatorrc.@(js|json)",
|
|
5508
|
+
"{projectRoot}/contentlayer.config.ts",
|
|
5509
|
+
"{projectRoot}/.storybook/**/*",
|
|
5510
|
+
"{projectRoot}/tsconfig.storybook.json",
|
|
5511
|
+
"{projectRoot}/docs/**/*",
|
|
5512
|
+
"{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
|
|
5513
|
+
"!{projectRoot}/{benches,e2e,tests,testing}/**/*",
|
|
5514
|
+
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
|
5515
|
+
"!{projectRoot}/tsconfig.spec.json"
|
|
5516
|
+
],
|
|
5517
|
+
rust: [
|
|
5518
|
+
"sharedGlobals",
|
|
5519
|
+
"{workspaceRoot}/Cargo.toml",
|
|
5520
|
+
"{workspaceRoot}/Cargo.lock",
|
|
5521
|
+
"{workspaceRoot}/.cargo/config.toml",
|
|
5522
|
+
"{workspaceRoot}/rust-toolchain",
|
|
5523
|
+
"{workspaceRoot}/rustfmt.toml",
|
|
5524
|
+
"{workspaceRoot}/deny.toml",
|
|
5525
|
+
"{projectRoot}/Cargo.toml",
|
|
5526
|
+
"{projectRoot}/.cargo/config.toml",
|
|
5527
|
+
{
|
|
5528
|
+
runtime: "node -p '`${process.platform}_${process.arch}`'"
|
|
5529
|
+
},
|
|
5530
|
+
"{projectRoot}/{project.json,CHANGELOG.md}",
|
|
5531
|
+
"{projectRoot}/.env{,.local}",
|
|
5532
|
+
"{projectRoot}/**/*.rs",
|
|
5533
|
+
"{projectRoot}/**/*.@(proto|acid|acidic|prisma)",
|
|
5534
|
+
"{projectRoot}/src/**/*.@(json|jsonc|yaml|yml|toml)",
|
|
5535
|
+
"!{projectRoot}/README.md",
|
|
5536
|
+
"!{projectRoot}/docs/**/*",
|
|
5537
|
+
"!{projectRoot}/{benches,e2e,tests,testing}/**/*"
|
|
5538
|
+
],
|
|
5539
|
+
typescript: [
|
|
5540
|
+
"sharedGlobals",
|
|
5541
|
+
"!{projectRoot}/tsconfig.@(spec|storybook).json",
|
|
5542
|
+
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
|
|
5543
|
+
"!{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
|
|
5544
|
+
"!{projectRoot}/node_modules/**/*",
|
|
5545
|
+
"!{projectRoot}/{benches,e2e,tests,testing}/**/*",
|
|
5546
|
+
"{projectRoot}/package.json",
|
|
5547
|
+
"{projectRoot}/tsconfig.json",
|
|
5548
|
+
"{projectRoot}/tsconfig.*.json",
|
|
5549
|
+
"{projectRoot}/{project.json,README.md,CHANGELOG.md}",
|
|
5550
|
+
"{projectRoot}/.env{,.*}",
|
|
5551
|
+
"{projectRoot}/docs/**/*",
|
|
5552
|
+
"{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
|
|
5553
|
+
"{projectRoot}/**/*.@(proto|acid|acidic|prisma)",
|
|
5554
|
+
"{projectRoot}/src/**/*.@(cts|mts|ts|tsx|graphql|gql|js|cjs|mjs|jsx|json|jsonc|yaml|yml|toml|md|mdx)",
|
|
5555
|
+
"{projectRoot}/{build,tsup,contentlayer,vite}.*.[jt]s?(x)",
|
|
5556
|
+
"{projectRoot}/{bin,tools,helpers,scripts}/**/*"
|
|
5557
|
+
]
|
|
5558
|
+
},
|
|
5559
|
+
targetDefaults: {
|
|
5560
|
+
clean: {
|
|
5561
|
+
inputs: ["{workspaceRoot}/dist/{projectRoot}", "{projectRoot}/dist"],
|
|
5562
|
+
outputs: ["{workspaceRoot}/dist/{projectRoot}", "{projectRoot}/dist"],
|
|
5563
|
+
dependsOn: ["^clean"],
|
|
5564
|
+
executor: "nx:run-commands",
|
|
5565
|
+
options: {
|
|
5566
|
+
commands: [
|
|
5567
|
+
"pnpm exec rimraf --glob {projectRoot}/dist",
|
|
5568
|
+
"pnpm exec rimraf dist/{projectRoot}"
|
|
5569
|
+
]
|
|
5570
|
+
}
|
|
5571
|
+
},
|
|
5572
|
+
"nx-release-publish": {
|
|
5573
|
+
dependsOn: ["build", "^nx-release-publish"]
|
|
5574
|
+
}
|
|
5575
|
+
},
|
|
5576
|
+
release: {
|
|
5577
|
+
groups: {
|
|
5578
|
+
packages: {
|
|
5579
|
+
projects: ["packages/**"],
|
|
5580
|
+
projectsRelationship: "independent",
|
|
5581
|
+
changelog: {
|
|
5582
|
+
createRelease: "github",
|
|
5583
|
+
entryWhenNoChanges: false
|
|
5584
|
+
},
|
|
5585
|
+
version: {
|
|
5586
|
+
currentVersionResolver: "git-tag",
|
|
5587
|
+
specifierSource: "conventional-commits",
|
|
5588
|
+
manifestRootsToUpdate: [
|
|
5589
|
+
"{projectRoot}",
|
|
5590
|
+
{
|
|
5591
|
+
path: "dist/{projectRoot}",
|
|
5592
|
+
preserveLocalDependencyProtocols: false
|
|
5593
|
+
}
|
|
5594
|
+
]
|
|
5595
|
+
},
|
|
5596
|
+
releaseTag: {
|
|
5597
|
+
pattern: "{projectName}@{version}"
|
|
5598
|
+
}
|
|
5599
|
+
}
|
|
5600
|
+
}
|
|
5601
|
+
},
|
|
5602
|
+
plugins: [
|
|
5603
|
+
"@storm-software/workspace-tools/plugins/typescript",
|
|
5604
|
+
"@storm-software/workspace-tools/plugins/typescript/tsdown",
|
|
5605
|
+
"@storm-software/workspace-tools/plugins/typescript/untyped",
|
|
5606
|
+
{
|
|
5607
|
+
plugin: "@nx/vitest",
|
|
5608
|
+
options: {
|
|
5609
|
+
testTargetName: "test",
|
|
5610
|
+
ciTargetName: "test-ci",
|
|
5611
|
+
testMode: "watch"
|
|
5612
|
+
}
|
|
5613
|
+
}
|
|
5614
|
+
],
|
|
5615
|
+
parallel: 5,
|
|
5616
|
+
defaultBase: "main",
|
|
5617
|
+
useDaemonProcess: true,
|
|
5618
|
+
useInferencePlugins: true
|
|
5619
|
+
};
|
|
5620
|
+
|
|
5621
|
+
// ../workspace-tools/src/utils/nx-json.ts
|
|
5622
|
+
var NAMED_INPUTS = {
|
|
5623
|
+
allProjectFiles: recommended_default.namedInputs.allProjectFiles,
|
|
5624
|
+
default: recommended_default.namedInputs.default,
|
|
5625
|
+
sharedGlobals: recommended_default.namedInputs.sharedGlobals,
|
|
5626
|
+
production: recommended_default.namedInputs.production,
|
|
5627
|
+
testing: recommended_default.namedInputs.testing,
|
|
5628
|
+
linting: recommended_default.namedInputs.linting,
|
|
5629
|
+
documentation: recommended_default.namedInputs.documentation,
|
|
5630
|
+
rust: recommended_default.namedInputs.rust,
|
|
5631
|
+
typescript: recommended_default.namedInputs.typescript
|
|
5632
|
+
};
|
|
5633
|
+
var RELEASE = recommended_default.release;
|
|
5391
5634
|
|
|
5392
5635
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
5393
|
-
|
|
5636
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
5394
5637
|
|
|
5395
5638
|
|
|
5396
5639
|
|
|
@@ -5399,7 +5642,7 @@ _chunk5T4Z2WICjs.init_cjs_shims.call(void 0, );
|
|
|
5399
5642
|
|
|
5400
5643
|
|
|
5401
5644
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
5402
|
-
|
|
5645
|
+
_chunkFLXQ23LRjs.init_cjs_shims.call(void 0, );
|
|
5403
5646
|
var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
|
|
5404
5647
|
|
|
5405
5648
|
// src/generators/init/generator.ts
|