@storm-software/projen 0.21.89 → 0.21.91
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/dist/{chunk-WAS4YKMW.js → chunk-37OPEH22.js} +199 -199
- package/dist/{chunk-F3HSPG2H.mjs → chunk-A6T7QMR2.mjs} +1 -1
- package/dist/{chunk-7SRMURME.mjs → chunk-AN5DLI6Y.mjs} +2 -2
- package/dist/{chunk-DJZBKK2X.js → chunk-I6PKJ3JK.js} +3 -3
- package/dist/{chunk-LMAXMHBU.js → chunk-J374Y5WW.js} +2 -2
- package/dist/{chunk-2EQMICE3.mjs → chunk-KGALNF6O.mjs} +1 -1
- package/dist/{chunk-B4DWEYDF.mjs → chunk-TKORQFOF.mjs} +2 -2
- package/dist/chunk-VZXNP7OX.js +6 -0
- package/dist/{chunk-I6K44E7U.mjs → chunk-YBTQMLIQ.mjs} +1 -1
- package/dist/{chunk-OMQGQKIF.js → chunk-ZI6QQV6I.js} +2 -2
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +4 -4
- package/dist/index.js +10 -10
- package/dist/index.mjs +5 -5
- package/dist/src/components/index.js +3 -3
- package/dist/src/components/index.mjs +2 -2
- package/dist/src/components/nx-workspace.js +4 -4
- package/dist/src/components/nx-workspace.mjs +2 -2
- package/dist/src/generators/init/generator.js +4 -4
- package/dist/src/generators/init/generator.mjs +3 -3
- package/dist/tsup.config.js +2 -2
- package/dist/tsup.config.mjs +1 -1
- package/package.json +10 -10
- package/dist/chunk-KJ37M6QV.js +0 -6
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkJ374Y5WWjs = require('./chunk-J374Y5WW.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkZI6QQV6Ijs = require('./chunk-ZI6QQV6I.js');
|
|
10
10
|
|
|
11
11
|
// src/generators/init/generator.ts
|
|
12
|
-
|
|
12
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -18,28 +18,28 @@ _chunkOMQGQKIFjs.init_cjs_shims.call(void 0, );
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
|
|
20
20
|
// ../workspace-tools/index.ts
|
|
21
|
-
|
|
21
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
22
22
|
|
|
23
23
|
// ../workspace-tools/executors.ts
|
|
24
|
-
|
|
24
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
25
25
|
|
|
26
26
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
27
|
-
|
|
27
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
28
28
|
|
|
29
29
|
// ../workspace-tools/src/base/base-executor.ts
|
|
30
|
-
|
|
30
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
31
31
|
|
|
32
32
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
33
|
-
|
|
33
|
+
_chunkZI6QQV6Ijs.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
|
+
_chunkZI6QQV6Ijs.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
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
43
43
|
var LogLevel = {
|
|
44
44
|
SILENT: 0,
|
|
45
45
|
FATAL: 10,
|
|
@@ -64,7 +64,7 @@ var LogLevelLabel = {
|
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
// ../config-tools/src/utilities/colors.ts
|
|
67
|
-
|
|
67
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
68
68
|
var DEFAULT_COLOR_CONFIG = {
|
|
69
69
|
light: {
|
|
70
70
|
background: "#fafafa",
|
|
@@ -132,7 +132,7 @@ function getColor(key, config) {
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
// ../config-tools/src/logger/chalk.ts
|
|
135
|
-
|
|
135
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
136
136
|
var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
|
|
137
137
|
var chalkDefault = {
|
|
138
138
|
hex: (_) => (message) => message,
|
|
@@ -166,10 +166,10 @@ var getChalk = () => {
|
|
|
166
166
|
};
|
|
167
167
|
|
|
168
168
|
// ../config-tools/src/logger/console-icons.ts
|
|
169
|
-
|
|
169
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
170
170
|
|
|
171
171
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
172
|
-
|
|
172
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
173
173
|
function isUnicodeSupported() {
|
|
174
174
|
if (process.platform !== "win32") {
|
|
175
175
|
return process.env.TERM !== "linux";
|
|
@@ -194,13 +194,13 @@ var CONSOLE_ICONS = {
|
|
|
194
194
|
};
|
|
195
195
|
|
|
196
196
|
// ../config-tools/src/logger/format-timestamp.ts
|
|
197
|
-
|
|
197
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
198
198
|
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
199
199
|
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
200
200
|
};
|
|
201
201
|
|
|
202
202
|
// ../config-tools/src/logger/get-log-level.ts
|
|
203
|
-
|
|
203
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
204
204
|
var getLogLevel = (label) => {
|
|
205
205
|
switch (label) {
|
|
206
206
|
case "all":
|
|
@@ -406,13 +406,13 @@ var _isFunction = (value) => {
|
|
|
406
406
|
var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
|
|
407
407
|
|
|
408
408
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
409
|
-
|
|
409
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
410
410
|
|
|
411
411
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
412
|
-
|
|
412
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
413
413
|
|
|
414
414
|
// ../config-tools/src/utilities/find-up.ts
|
|
415
|
-
|
|
415
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
416
416
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
417
417
|
var _path = require('path'); var path2 = _interopRequireWildcard(_path);
|
|
418
418
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
@@ -479,11 +479,11 @@ var rootDirectories = [
|
|
|
479
479
|
];
|
|
480
480
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
481
481
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
482
|
-
return
|
|
482
|
+
return _chunkJ374Y5WWjs.correctPaths.call(void 0,
|
|
483
483
|
_nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH))
|
|
484
484
|
);
|
|
485
485
|
}
|
|
486
|
-
return
|
|
486
|
+
return _chunkJ374Y5WWjs.correctPaths.call(void 0,
|
|
487
487
|
findFolderUp(
|
|
488
488
|
_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())),
|
|
489
489
|
rootFiles,
|
|
@@ -578,13 +578,13 @@ var applyWorkspaceTokens = async (options, tokenParams, tokenizerFn) => {
|
|
|
578
578
|
};
|
|
579
579
|
|
|
580
580
|
// ../config-tools/src/utilities/get-default-config.ts
|
|
581
|
-
|
|
581
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
582
582
|
|
|
583
583
|
// ../config/src/index.ts
|
|
584
|
-
|
|
584
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
585
585
|
|
|
586
586
|
// ../config/src/constants.ts
|
|
587
|
-
|
|
587
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
588
588
|
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
589
589
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
590
590
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
@@ -603,10 +603,10 @@ var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
|
603
603
|
var STORM_DEFAULT_BANNER_ALT = "The workspace's banner image";
|
|
604
604
|
|
|
605
605
|
// ../config/src/define-config.ts
|
|
606
|
-
|
|
606
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
607
607
|
|
|
608
608
|
// ../config/src/schema.ts
|
|
609
|
-
|
|
609
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
610
610
|
var _mini = require('zod/mini'); var z = _interopRequireWildcard(_mini);
|
|
611
611
|
var schemaRegistry = z.registry();
|
|
612
612
|
var colorSchema = z.string().check(
|
|
@@ -1168,7 +1168,7 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
1168
1168
|
});
|
|
1169
1169
|
|
|
1170
1170
|
// ../config/src/types.ts
|
|
1171
|
-
|
|
1171
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
1172
1172
|
var COLOR_KEYS = [
|
|
1173
1173
|
"dark",
|
|
1174
1174
|
"light",
|
|
@@ -1201,7 +1201,7 @@ async function getPackageJsonConfig(root) {
|
|
|
1201
1201
|
const workspaceRoot2 = findWorkspaceRoot(root);
|
|
1202
1202
|
if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot2, "package.json"))) {
|
|
1203
1203
|
const file = await _promises.readFile.call(void 0,
|
|
1204
|
-
|
|
1204
|
+
_chunkJ374Y5WWjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
1205
1205
|
"utf8"
|
|
1206
1206
|
);
|
|
1207
1207
|
if (file) {
|
|
@@ -1285,7 +1285,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1285
1285
|
envName: _optionalChain([fileName, 'optionalAccess', _38 => _38.toUpperCase, 'call', _39 => _39()]),
|
|
1286
1286
|
jitiOptions: {
|
|
1287
1287
|
debug: false,
|
|
1288
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1288
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
1289
1289
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1290
1290
|
"jiti"
|
|
1291
1291
|
)
|
|
@@ -1299,7 +1299,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1299
1299
|
envName: _optionalChain([fileName, 'optionalAccess', _40 => _40.toUpperCase, 'call', _41 => _41()]),
|
|
1300
1300
|
jitiOptions: {
|
|
1301
1301
|
debug: false,
|
|
1302
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1302
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
1303
1303
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1304
1304
|
"jiti"
|
|
1305
1305
|
)
|
|
@@ -1351,12 +1351,12 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
1351
1351
|
};
|
|
1352
1352
|
|
|
1353
1353
|
// ../config-tools/src/create-storm-config.ts
|
|
1354
|
-
|
|
1354
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
1355
1355
|
|
|
1356
1356
|
|
|
1357
1357
|
|
|
1358
1358
|
// ../config-tools/src/env/get-env.ts
|
|
1359
|
-
|
|
1359
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
1360
1360
|
var getExtensionEnv = (extensionName) => {
|
|
1361
1361
|
const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
|
|
1362
1362
|
return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
|
|
@@ -1418,15 +1418,15 @@ var getConfigEnv = () => {
|
|
|
1418
1418
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
1419
1419
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
1420
1420
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
1421
|
-
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ?
|
|
1422
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
1421
|
+
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ? _chunkJ374Y5WWjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_CONFIG_FILE`]) : void 0,
|
|
1422
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkJ374Y5WWjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
1423
1423
|
directories: {
|
|
1424
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
1425
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
1426
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
1427
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
1428
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
1429
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
1424
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkJ374Y5WWjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkJ374Y5WWjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
1425
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkJ374Y5WWjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkJ374Y5WWjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
1426
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkJ374Y5WWjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkJ374Y5WWjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
1427
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkJ374Y5WWjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkJ374Y5WWjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
1428
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkJ374Y5WWjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkJ374Y5WWjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
1429
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkJ374Y5WWjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkJ374Y5WWjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
|
|
1430
1430
|
},
|
|
1431
1431
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
1432
1432
|
mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -1571,7 +1571,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1571
1571
|
};
|
|
1572
1572
|
|
|
1573
1573
|
// ../config-tools/src/env/set-env.ts
|
|
1574
|
-
|
|
1574
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
1575
1575
|
var setExtensionEnv = (extensionName, extension) => {
|
|
1576
1576
|
for (const key of Object.keys(_nullishCoalesce(extension, () => ( {})))) {
|
|
1577
1577
|
if (extension[key]) {
|
|
@@ -1719,42 +1719,42 @@ var setConfigEnv = (config) => {
|
|
|
1719
1719
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
1720
1720
|
}
|
|
1721
1721
|
if (config.configFile) {
|
|
1722
|
-
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] =
|
|
1722
|
+
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] = _chunkJ374Y5WWjs.correctPaths.call(void 0,
|
|
1723
1723
|
config.configFile
|
|
1724
1724
|
);
|
|
1725
1725
|
}
|
|
1726
1726
|
if (config.workspaceRoot) {
|
|
1727
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
1728
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
1729
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
1727
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkJ374Y5WWjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1728
|
+
process.env.NX_WORKSPACE_ROOT = _chunkJ374Y5WWjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1729
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkJ374Y5WWjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1730
1730
|
}
|
|
1731
1731
|
if (config.directories) {
|
|
1732
1732
|
if (!config.skipCache && config.directories.cache) {
|
|
1733
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
1733
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkJ374Y5WWjs.correctPaths.call(void 0,
|
|
1734
1734
|
config.directories.cache
|
|
1735
1735
|
);
|
|
1736
1736
|
process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
|
|
1737
1737
|
}
|
|
1738
1738
|
if (config.directories.data) {
|
|
1739
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
1739
|
+
process.env[`${prefix}DATA_DIR`] = _chunkJ374Y5WWjs.correctPaths.call(void 0, config.directories.data);
|
|
1740
1740
|
process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
|
|
1741
1741
|
}
|
|
1742
1742
|
if (config.directories.config) {
|
|
1743
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
1743
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkJ374Y5WWjs.correctPaths.call(void 0,
|
|
1744
1744
|
config.directories.config
|
|
1745
1745
|
);
|
|
1746
1746
|
process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
|
|
1747
1747
|
}
|
|
1748
1748
|
if (config.directories.temp) {
|
|
1749
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
1749
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkJ374Y5WWjs.correctPaths.call(void 0, config.directories.temp);
|
|
1750
1750
|
process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
|
|
1751
1751
|
}
|
|
1752
1752
|
if (config.directories.log) {
|
|
1753
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
1753
|
+
process.env[`${prefix}LOG_DIR`] = _chunkJ374Y5WWjs.correctPaths.call(void 0, config.directories.log);
|
|
1754
1754
|
process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
|
|
1755
1755
|
}
|
|
1756
1756
|
if (config.directories.build) {
|
|
1757
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
1757
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkJ374Y5WWjs.correctPaths.call(void 0,
|
|
1758
1758
|
config.directories.build
|
|
1759
1759
|
);
|
|
1760
1760
|
process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
|
|
@@ -1976,7 +1976,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot2, s
|
|
|
1976
1976
|
defaultConfig
|
|
1977
1977
|
);
|
|
1978
1978
|
if (!configInput.variant) {
|
|
1979
|
-
configInput.variant = _fs.existsSync.call(void 0,
|
|
1979
|
+
configInput.variant = _fs.existsSync.call(void 0, _chunkJ374Y5WWjs.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkJ374Y5WWjs.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkJ374Y5WWjs.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkJ374Y5WWjs.joinPaths.call(void 0, _workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
|
|
1980
1980
|
}
|
|
1981
1981
|
try {
|
|
1982
1982
|
result = applyDefaultConfig(
|
|
@@ -2042,7 +2042,7 @@ ${formatLogMessage(config)}`,
|
|
|
2042
2042
|
};
|
|
2043
2043
|
|
|
2044
2044
|
// ../config-tools/src/get-config.ts
|
|
2045
|
-
|
|
2045
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2046
2046
|
function getConfig(workspaceRoot2, skipLogs = false) {
|
|
2047
2047
|
return loadStormWorkspaceConfig(workspaceRoot2, skipLogs);
|
|
2048
2048
|
}
|
|
@@ -2180,7 +2180,7 @@ var _isFunction2 = (value) => {
|
|
|
2180
2180
|
};
|
|
2181
2181
|
|
|
2182
2182
|
// ../workspace-tools/src/utils/cargo.ts
|
|
2183
|
-
|
|
2183
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2184
2184
|
|
|
2185
2185
|
|
|
2186
2186
|
|
|
@@ -2318,7 +2318,7 @@ var executor_default = withRunExecutor(
|
|
|
2318
2318
|
);
|
|
2319
2319
|
|
|
2320
2320
|
// ../workspace-tools/src/executors/cargo-check/executor.ts
|
|
2321
|
-
|
|
2321
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2322
2322
|
async function cargoCheckExecutor(options, context) {
|
|
2323
2323
|
const command = buildCargoCommand("check", options, context);
|
|
2324
2324
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2338,7 +2338,7 @@ var executor_default2 = withRunExecutor(
|
|
|
2338
2338
|
);
|
|
2339
2339
|
|
|
2340
2340
|
// ../workspace-tools/src/executors/cargo-clippy/executor.ts
|
|
2341
|
-
|
|
2341
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2342
2342
|
async function cargoClippyExecutor(options, context) {
|
|
2343
2343
|
const command = buildCargoCommand("clippy", options, context);
|
|
2344
2344
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2359,7 +2359,7 @@ var executor_default3 = withRunExecutor(
|
|
|
2359
2359
|
);
|
|
2360
2360
|
|
|
2361
2361
|
// ../workspace-tools/src/executors/cargo-doc/executor.ts
|
|
2362
|
-
|
|
2362
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2363
2363
|
async function cargoDocExecutor(options, context) {
|
|
2364
2364
|
const opts = { ...options };
|
|
2365
2365
|
opts["no-deps"] = opts.noDeps;
|
|
@@ -2389,7 +2389,7 @@ var executor_default4 = withRunExecutor(
|
|
|
2389
2389
|
);
|
|
2390
2390
|
|
|
2391
2391
|
// ../workspace-tools/src/executors/cargo-format/executor.ts
|
|
2392
|
-
|
|
2392
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2393
2393
|
async function cargoFormatExecutor(options, context) {
|
|
2394
2394
|
const command = buildCargoCommand("fmt", options, context);
|
|
2395
2395
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2410,7 +2410,7 @@ var executor_default5 = withRunExecutor(
|
|
|
2410
2410
|
);
|
|
2411
2411
|
|
|
2412
2412
|
// ../workspace-tools/src/executors/cargo-publish/executor.ts
|
|
2413
|
-
|
|
2413
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2414
2414
|
|
|
2415
2415
|
|
|
2416
2416
|
|
|
@@ -2418,19 +2418,19 @@ var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
|
2418
2418
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
2419
2419
|
|
|
2420
2420
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
2421
|
-
|
|
2421
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2422
2422
|
|
|
2423
2423
|
// ../esbuild/src/build.ts
|
|
2424
|
-
|
|
2424
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2425
2425
|
|
|
2426
2426
|
// ../esbuild/src/assets.ts
|
|
2427
|
-
|
|
2427
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2428
2428
|
|
|
2429
2429
|
// ../build-tools/src/index.ts
|
|
2430
|
-
|
|
2430
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2431
2431
|
|
|
2432
2432
|
// ../build-tools/src/config.ts
|
|
2433
|
-
|
|
2433
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2434
2434
|
var DEFAULT_JS_BANNER = `
|
|
2435
2435
|
// ---------------------------------------
|
|
2436
2436
|
// \u{1F5F2} Built by Storm Software
|
|
@@ -2446,35 +2446,35 @@ var DEFAULT_TARGET = "esnext";
|
|
|
2446
2446
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
2447
2447
|
|
|
2448
2448
|
// ../build-tools/src/plugins/index.ts
|
|
2449
|
-
|
|
2449
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2450
2450
|
|
|
2451
2451
|
// ../build-tools/src/plugins/analyze.ts
|
|
2452
|
-
|
|
2452
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2453
2453
|
|
|
2454
2454
|
// ../build-tools/src/plugins/swc.ts
|
|
2455
|
-
|
|
2455
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2456
2456
|
var _core = require('@swc/core');
|
|
2457
2457
|
|
|
2458
2458
|
// ../build-tools/src/plugins/ts-resolve.ts
|
|
2459
|
-
|
|
2459
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2460
2460
|
|
|
2461
2461
|
var _module = require('module');
|
|
2462
2462
|
|
|
2463
2463
|
var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_resolve2);
|
|
2464
2464
|
|
|
2465
2465
|
// ../build-tools/src/plugins/type-definitions.ts
|
|
2466
|
-
|
|
2466
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2467
2467
|
|
|
2468
2468
|
|
|
2469
2469
|
|
|
2470
2470
|
// ../build-tools/src/types.ts
|
|
2471
|
-
|
|
2471
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2472
2472
|
|
|
2473
2473
|
// ../build-tools/src/utilities/index.ts
|
|
2474
|
-
|
|
2474
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2475
2475
|
|
|
2476
2476
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
2477
|
-
|
|
2477
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2478
2478
|
var _copyassetshandler = require('@nx/js/src/utils/assets/copy-assets-handler');
|
|
2479
2479
|
var _glob = require('glob');
|
|
2480
2480
|
|
|
@@ -2506,7 +2506,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
2506
2506
|
}
|
|
2507
2507
|
writeTrace(
|
|
2508
2508
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
2509
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
2509
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkJ374Y5WWjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
2510
2510
|
config
|
|
2511
2511
|
);
|
|
2512
2512
|
const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
|
|
@@ -2519,17 +2519,17 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
2519
2519
|
writeTrace("Completed copying assets to the output directory", config);
|
|
2520
2520
|
if (includeSrc === true) {
|
|
2521
2521
|
writeDebug(
|
|
2522
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
2522
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
2523
2523
|
outputPath,
|
|
2524
2524
|
"src"
|
|
2525
2525
|
)}`,
|
|
2526
2526
|
config
|
|
2527
2527
|
);
|
|
2528
2528
|
const files = await _glob.glob.call(void 0, [
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2529
|
+
_chunkJ374Y5WWjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
2530
|
+
_chunkJ374Y5WWjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
2531
|
+
_chunkJ374Y5WWjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
2532
|
+
_chunkJ374Y5WWjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
2533
2533
|
]);
|
|
2534
2534
|
await Promise.allSettled(
|
|
2535
2535
|
files.map(
|
|
@@ -2547,7 +2547,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
2547
2547
|
};
|
|
2548
2548
|
|
|
2549
2549
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
2550
|
-
|
|
2550
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2551
2551
|
var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
|
|
2552
2552
|
|
|
2553
2553
|
|
|
@@ -2585,7 +2585,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2585
2585
|
)) {
|
|
2586
2586
|
const projectNode = project.node;
|
|
2587
2587
|
if (projectNode.data.root) {
|
|
2588
|
-
const projectPackageJsonPath =
|
|
2588
|
+
const projectPackageJsonPath = _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
2589
2589
|
workspaceRoot2,
|
|
2590
2590
|
projectNode.data.root,
|
|
2591
2591
|
"package.json"
|
|
@@ -2607,7 +2607,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2607
2607
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
2608
2608
|
);
|
|
2609
2609
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
2610
|
-
|
|
2610
|
+
_chunkJ374Y5WWjs.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
2611
2611
|
"utf8"
|
|
2612
2612
|
);
|
|
2613
2613
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -2620,7 +2620,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2620
2620
|
}
|
|
2621
2621
|
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) => {
|
|
2622
2622
|
if (_optionalChain([projectConfigurations, 'access', _106 => _106.projects, 'optionalAccess', _107 => _107[dep]])) {
|
|
2623
|
-
const depPackageJsonPath =
|
|
2623
|
+
const depPackageJsonPath = _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
2624
2624
|
workspaceRoot2,
|
|
2625
2625
|
projectConfigurations.projects[dep].root,
|
|
2626
2626
|
"package.json"
|
|
@@ -2658,7 +2658,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2658
2658
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
2659
2659
|
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
|
|
2660
2660
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
2661
|
-
|
|
2661
|
+
_chunkJ374Y5WWjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
2662
2662
|
"utf8"
|
|
2663
2663
|
);
|
|
2664
2664
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -2669,7 +2669,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
2669
2669
|
if (distSrc.startsWith("/")) {
|
|
2670
2670
|
distSrc = distSrc.substring(1);
|
|
2671
2671
|
}
|
|
2672
|
-
packageJson.source ??= `${
|
|
2672
|
+
packageJson.source ??= `${_chunkJ374Y5WWjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
2673
2673
|
}
|
|
2674
2674
|
packageJson.files ??= ["dist/**/*"];
|
|
2675
2675
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -2694,7 +2694,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
2694
2694
|
packageJson.contributors = [packageJson.author];
|
|
2695
2695
|
}
|
|
2696
2696
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
2697
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
2697
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkJ374Y5WWjs.joinPaths.call(void 0, "packages", projectName);
|
|
2698
2698
|
return packageJson;
|
|
2699
2699
|
};
|
|
2700
2700
|
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
@@ -2719,11 +2719,11 @@ var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
|
2719
2719
|
};
|
|
2720
2720
|
|
|
2721
2721
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
2722
|
-
|
|
2722
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2723
2723
|
|
|
2724
2724
|
|
|
2725
2725
|
// ../build-tools/src/utilities/get-env.ts
|
|
2726
|
-
|
|
2726
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2727
2727
|
var getEnv = (builder, options) => {
|
|
2728
2728
|
return {
|
|
2729
2729
|
STORM_BUILD: builder,
|
|
@@ -2738,21 +2738,21 @@ var getEnv = (builder, options) => {
|
|
|
2738
2738
|
};
|
|
2739
2739
|
|
|
2740
2740
|
// ../build-tools/src/utilities/get-file-banner.ts
|
|
2741
|
-
|
|
2741
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2742
2742
|
|
|
2743
2743
|
// ../build-tools/src/utilities/get-out-extension.ts
|
|
2744
|
-
|
|
2744
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2745
2745
|
|
|
2746
2746
|
// ../build-tools/src/utilities/get-project-deps.ts
|
|
2747
|
-
|
|
2747
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2748
2748
|
|
|
2749
2749
|
// ../build-tools/src/utilities/read-nx-config.ts
|
|
2750
|
-
|
|
2750
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2751
2751
|
|
|
2752
2752
|
|
|
2753
2753
|
|
|
2754
2754
|
// ../build-tools/src/utilities/task-graph.ts
|
|
2755
|
-
|
|
2755
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2756
2756
|
|
|
2757
2757
|
|
|
2758
2758
|
|
|
@@ -2781,14 +2781,14 @@ async function copyBuildAssets(context) {
|
|
|
2781
2781
|
}
|
|
2782
2782
|
|
|
2783
2783
|
// ../esbuild/src/clean.ts
|
|
2784
|
-
|
|
2784
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2785
2785
|
|
|
2786
2786
|
async function cleanDirectories(directory) {
|
|
2787
2787
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
2788
2788
|
}
|
|
2789
2789
|
|
|
2790
2790
|
// ../esbuild/src/context.ts
|
|
2791
|
-
|
|
2791
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2792
2792
|
|
|
2793
2793
|
|
|
2794
2794
|
|
|
@@ -2799,7 +2799,7 @@ _chunkOMQGQKIFjs.init_cjs_shims.call(void 0, );
|
|
|
2799
2799
|
var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
2800
2800
|
|
|
2801
2801
|
// ../esbuild/src/config.ts
|
|
2802
|
-
|
|
2802
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2803
2803
|
var DEFAULT_BUILD_OPTIONS = {
|
|
2804
2804
|
platform: "node",
|
|
2805
2805
|
target: "node22",
|
|
@@ -2857,7 +2857,7 @@ async function resolveContext(userOptions) {
|
|
|
2857
2857
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
2858
2858
|
exitOnError: true
|
|
2859
2859
|
});
|
|
2860
|
-
const projectJsonPath =
|
|
2860
|
+
const projectJsonPath = _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
2861
2861
|
workspaceRoot2.dir,
|
|
2862
2862
|
projectRoot,
|
|
2863
2863
|
"project.json"
|
|
@@ -2876,7 +2876,7 @@ async function resolveContext(userOptions) {
|
|
|
2876
2876
|
}
|
|
2877
2877
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
2878
2878
|
options.name ??= projectName;
|
|
2879
|
-
const packageJsonPath =
|
|
2879
|
+
const packageJsonPath = _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
2880
2880
|
workspaceRoot2.dir,
|
|
2881
2881
|
options.projectRoot,
|
|
2882
2882
|
"package.json"
|
|
@@ -2888,7 +2888,7 @@ async function resolveContext(userOptions) {
|
|
|
2888
2888
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
2889
2889
|
const resolvedOptions = {
|
|
2890
2890
|
...options,
|
|
2891
|
-
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig :
|
|
2891
|
+
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkJ374Y5WWjs.joinPaths.call(void 0, workspaceRoot2.dir, projectRoot, "tsconfig.json"),
|
|
2892
2892
|
metafile: userOptions.mode === "development",
|
|
2893
2893
|
clean: false,
|
|
2894
2894
|
env,
|
|
@@ -2913,8 +2913,8 @@ async function resolveContext(userOptions) {
|
|
|
2913
2913
|
projectConfigurations,
|
|
2914
2914
|
projectName,
|
|
2915
2915
|
projectGraph,
|
|
2916
|
-
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot ||
|
|
2917
|
-
outputPath: resolvedOptions.outputPath ||
|
|
2916
|
+
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkJ374Y5WWjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
|
|
2917
|
+
outputPath: resolvedOptions.outputPath || _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
2918
2918
|
workspaceConfig.workspaceRoot,
|
|
2919
2919
|
"dist",
|
|
2920
2920
|
resolvedOptions.projectRoot
|
|
@@ -2934,15 +2934,15 @@ ${formatLogMessage(context.options)}`,
|
|
|
2934
2934
|
}
|
|
2935
2935
|
|
|
2936
2936
|
// ../esbuild/src/package-json.ts
|
|
2937
|
-
|
|
2937
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
2938
2938
|
|
|
2939
2939
|
|
|
2940
2940
|
|
|
2941
2941
|
async function generatePackageJson(context) {
|
|
2942
|
-
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
2942
|
+
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkJ374Y5WWjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
2943
2943
|
writeDebug(" \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
2944
2944
|
const stopwatch = getStopwatch("Write package.json file");
|
|
2945
|
-
const packageJsonPath =
|
|
2945
|
+
const packageJsonPath = _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
2946
2946
|
context.options.projectRoot,
|
|
2947
2947
|
"project.json"
|
|
2948
2948
|
);
|
|
@@ -2950,7 +2950,7 @@ async function generatePackageJson(context) {
|
|
|
2950
2950
|
throw new Error("Cannot find package.json configuration");
|
|
2951
2951
|
}
|
|
2952
2952
|
const packageJsonFile = await _promises2.default.readFile(
|
|
2953
|
-
|
|
2953
|
+
_chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
2954
2954
|
context.workspaceConfig.workspaceRoot,
|
|
2955
2955
|
context.options.projectRoot,
|
|
2956
2956
|
"package.json"
|
|
@@ -3056,7 +3056,7 @@ async function generatePackageJson(context) {
|
|
|
3056
3056
|
}
|
|
3057
3057
|
}
|
|
3058
3058
|
await _devkit.writeJsonFile.call(void 0,
|
|
3059
|
-
|
|
3059
|
+
_chunkJ374Y5WWjs.joinPaths.call(void 0, context.outputPath, "package.json"),
|
|
3060
3060
|
packageJson
|
|
3061
3061
|
);
|
|
3062
3062
|
stopwatch();
|
|
@@ -3065,10 +3065,10 @@ async function generatePackageJson(context) {
|
|
|
3065
3065
|
}
|
|
3066
3066
|
|
|
3067
3067
|
// ../esbuild/src/tsup.ts
|
|
3068
|
-
|
|
3068
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3069
3069
|
|
|
3070
3070
|
// ../tsup/src/index.ts
|
|
3071
|
-
|
|
3071
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3072
3072
|
var _tsup = require('tsup');
|
|
3073
3073
|
async function build(options) {
|
|
3074
3074
|
if (!options.silent) {
|
|
@@ -3093,7 +3093,7 @@ async function executeTsup(context) {
|
|
|
3093
3093
|
const stopwatch = getStopwatch(`${context.options.name} build`);
|
|
3094
3094
|
await build({
|
|
3095
3095
|
...context.options,
|
|
3096
|
-
outDir: context.options.distDir ?
|
|
3096
|
+
outDir: context.options.distDir ? _chunkJ374Y5WWjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
3097
3097
|
workspaceConfig: context.workspaceConfig
|
|
3098
3098
|
});
|
|
3099
3099
|
stopwatch();
|
|
@@ -3203,12 +3203,12 @@ var executor_default6 = withRunExecutor(
|
|
|
3203
3203
|
);
|
|
3204
3204
|
|
|
3205
3205
|
// ../workspace-tools/src/executors/napi/executor.ts
|
|
3206
|
-
|
|
3206
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3207
3207
|
var _jiti = require('jiti');
|
|
3208
3208
|
var _fileutils = require('nx/src/utils/fileutils');
|
|
3209
3209
|
async function napiExecutor(options, context, config) {
|
|
3210
3210
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3211
|
-
fsCache: config.skipCache ? false :
|
|
3211
|
+
fsCache: config.skipCache ? false : _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
3212
3212
|
config.workspaceRoot,
|
|
3213
3213
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3214
3214
|
"jiti"
|
|
@@ -3224,53 +3224,53 @@ async function napiExecutor(options, context, config) {
|
|
|
3224
3224
|
);
|
|
3225
3225
|
}
|
|
3226
3226
|
const projectRoot = _optionalChain([context, 'access', _149 => _149.projectGraph, 'optionalAccess', _150 => _150.nodes, 'access', _151 => _151[_nullishCoalesce(context.projectName, () => ( ""))], 'access', _152 => _152.data, 'access', _153 => _153.root]);
|
|
3227
|
-
const packageJson =
|
|
3227
|
+
const packageJson = _chunkJ374Y5WWjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
3228
3228
|
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
3229
3229
|
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
3230
3230
|
}
|
|
3231
3231
|
const napi = new NapiCli();
|
|
3232
3232
|
const normalizedOptions = { ...options };
|
|
3233
3233
|
const metadata = cargoMetadata();
|
|
3234
|
-
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _154 => _154.target_directory]) ||
|
|
3234
|
+
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _154 => _154.target_directory]) || _chunkJ374Y5WWjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
|
|
3235
3235
|
normalizedOptions.outputDir = options.outputPath;
|
|
3236
3236
|
normalizedOptions.packageJsonPath = options.packageJsonPath || packageJson;
|
|
3237
3237
|
if (options.cwd) {
|
|
3238
|
-
normalizedOptions.cwd =
|
|
3238
|
+
normalizedOptions.cwd = _chunkJ374Y5WWjs.correctPaths.call(void 0, options.cwd);
|
|
3239
3239
|
} else {
|
|
3240
|
-
normalizedOptions.cwd =
|
|
3241
|
-
const absoluteProjectRoot =
|
|
3240
|
+
normalizedOptions.cwd = _chunkJ374Y5WWjs.correctPaths.call(void 0, projectRoot);
|
|
3241
|
+
const absoluteProjectRoot = _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
3242
3242
|
config.workspaceRoot,
|
|
3243
3243
|
projectRoot || "."
|
|
3244
3244
|
);
|
|
3245
3245
|
if (normalizedOptions.outputDir) {
|
|
3246
|
-
normalizedOptions.outputDir =
|
|
3246
|
+
normalizedOptions.outputDir = _chunkJ374Y5WWjs.relative.call(void 0,
|
|
3247
3247
|
absoluteProjectRoot,
|
|
3248
|
-
|
|
3249
|
-
|
|
3248
|
+
_chunkJ374Y5WWjs.correctPaths.call(void 0,
|
|
3249
|
+
_chunkJ374Y5WWjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkJ374Y5WWjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
|
|
3250
3250
|
)
|
|
3251
3251
|
);
|
|
3252
3252
|
}
|
|
3253
3253
|
if (normalizedOptions.packageJsonPath) {
|
|
3254
|
-
normalizedOptions.packageJsonPath =
|
|
3254
|
+
normalizedOptions.packageJsonPath = _chunkJ374Y5WWjs.relative.call(void 0,
|
|
3255
3255
|
absoluteProjectRoot,
|
|
3256
|
-
|
|
3257
|
-
|
|
3256
|
+
_chunkJ374Y5WWjs.correctPaths.call(void 0,
|
|
3257
|
+
_chunkJ374Y5WWjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkJ374Y5WWjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
3258
3258
|
)
|
|
3259
3259
|
);
|
|
3260
3260
|
}
|
|
3261
3261
|
if (normalizedOptions.configPath) {
|
|
3262
|
-
normalizedOptions.configPath =
|
|
3262
|
+
normalizedOptions.configPath = _chunkJ374Y5WWjs.relative.call(void 0,
|
|
3263
3263
|
absoluteProjectRoot,
|
|
3264
|
-
|
|
3265
|
-
|
|
3264
|
+
_chunkJ374Y5WWjs.correctPaths.call(void 0,
|
|
3265
|
+
_chunkJ374Y5WWjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkJ374Y5WWjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
|
|
3266
3266
|
)
|
|
3267
3267
|
);
|
|
3268
3268
|
}
|
|
3269
3269
|
if (normalizedOptions.manifestPath) {
|
|
3270
|
-
normalizedOptions.manifestPath =
|
|
3270
|
+
normalizedOptions.manifestPath = _chunkJ374Y5WWjs.relative.call(void 0,
|
|
3271
3271
|
absoluteProjectRoot,
|
|
3272
|
-
|
|
3273
|
-
|
|
3272
|
+
_chunkJ374Y5WWjs.correctPaths.call(void 0,
|
|
3273
|
+
_chunkJ374Y5WWjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkJ374Y5WWjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
|
|
3274
3274
|
)
|
|
3275
3275
|
);
|
|
3276
3276
|
}
|
|
@@ -3303,17 +3303,17 @@ var executor_default7 = withRunExecutor(
|
|
|
3303
3303
|
);
|
|
3304
3304
|
|
|
3305
3305
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
3306
|
-
|
|
3306
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3307
3307
|
|
|
3308
3308
|
// ../npm-tools/src/helpers/get-registry.ts
|
|
3309
|
-
|
|
3309
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3310
3310
|
|
|
3311
3311
|
|
|
3312
3312
|
// ../npm-tools/src/constants.ts
|
|
3313
|
-
|
|
3313
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3314
3314
|
|
|
3315
3315
|
// ../pnpm-tools/src/helpers/replace-deps-aliases.ts
|
|
3316
|
-
|
|
3316
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3317
3317
|
|
|
3318
3318
|
|
|
3319
3319
|
|
|
@@ -3323,17 +3323,17 @@ _chunkOMQGQKIFjs.init_cjs_shims.call(void 0, );
|
|
|
3323
3323
|
var _prettier = require('prettier');
|
|
3324
3324
|
|
|
3325
3325
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
3326
|
-
|
|
3326
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3327
3327
|
|
|
3328
3328
|
// ../npm-tools/src/helpers/get-version.ts
|
|
3329
|
-
|
|
3329
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3330
3330
|
|
|
3331
3331
|
|
|
3332
3332
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
3333
3333
|
var _semver = require('semver');
|
|
3334
3334
|
|
|
3335
3335
|
// ../pnpm-tools/src/helpers/pnpm-workspace.ts
|
|
3336
|
-
|
|
3336
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3337
3337
|
|
|
3338
3338
|
|
|
3339
3339
|
var _yaml = require('yaml');
|
|
@@ -3344,7 +3344,7 @@ var _yaml = require('yaml');
|
|
|
3344
3344
|
|
|
3345
3345
|
|
|
3346
3346
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
3347
|
-
|
|
3347
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3348
3348
|
|
|
3349
3349
|
|
|
3350
3350
|
|
|
@@ -3356,7 +3356,7 @@ _chunkOMQGQKIFjs.init_cjs_shims.call(void 0, );
|
|
|
3356
3356
|
|
|
3357
3357
|
|
|
3358
3358
|
// ../workspace-tools/src/utils/project-tags.ts
|
|
3359
|
-
|
|
3359
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3360
3360
|
var ProjectTagConstants = {
|
|
3361
3361
|
Language: {
|
|
3362
3362
|
TAG_ID: "language",
|
|
@@ -3433,7 +3433,7 @@ var addProjectTag = (project, variant, value, options = {
|
|
|
3433
3433
|
var LARGE_BUFFER2 = 1024 * 1e6;
|
|
3434
3434
|
|
|
3435
3435
|
// ../workspace-tools/src/executors/size-limit/executor.ts
|
|
3436
|
-
|
|
3436
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3437
3437
|
|
|
3438
3438
|
var _esbuild = require('@size-limit/esbuild'); var _esbuild2 = _interopRequireDefault(_esbuild);
|
|
3439
3439
|
var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
|
|
@@ -3475,10 +3475,10 @@ var executor_default8 = withRunExecutor(
|
|
|
3475
3475
|
);
|
|
3476
3476
|
|
|
3477
3477
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
3478
|
-
|
|
3478
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3479
3479
|
|
|
3480
3480
|
// ../tsdown/src/build.ts
|
|
3481
|
-
|
|
3481
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3482
3482
|
|
|
3483
3483
|
|
|
3484
3484
|
|
|
@@ -3490,14 +3490,14 @@ _chunkOMQGQKIFjs.init_cjs_shims.call(void 0, );
|
|
|
3490
3490
|
var _tsdown = require('tsdown');
|
|
3491
3491
|
|
|
3492
3492
|
// ../tsdown/src/clean.ts
|
|
3493
|
-
|
|
3493
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3494
3494
|
|
|
3495
3495
|
async function cleanDirectories2(name = "TSDown", directory, config) {
|
|
3496
3496
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
3497
3497
|
}
|
|
3498
3498
|
|
|
3499
3499
|
// ../tsdown/src/config.ts
|
|
3500
|
-
|
|
3500
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3501
3501
|
function getDefaultOptions(config) {
|
|
3502
3502
|
return {
|
|
3503
3503
|
entry: ["./src/*.ts"],
|
|
@@ -3540,7 +3540,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3540
3540
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
3541
3541
|
exitOnError: true
|
|
3542
3542
|
});
|
|
3543
|
-
const projectJsonPath =
|
|
3543
|
+
const projectJsonPath = _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
3544
3544
|
workspaceRoot2,
|
|
3545
3545
|
options.projectRoot,
|
|
3546
3546
|
"project.json"
|
|
@@ -3557,7 +3557,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3557
3557
|
"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."
|
|
3558
3558
|
);
|
|
3559
3559
|
}
|
|
3560
|
-
const packageJsonPath =
|
|
3560
|
+
const packageJsonPath = _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
3561
3561
|
workspaceRoot2,
|
|
3562
3562
|
options.projectRoot,
|
|
3563
3563
|
"package.json"
|
|
@@ -3566,13 +3566,13 @@ var resolveOptions = async (userOptions) => {
|
|
|
3566
3566
|
throw new Error("Cannot find package.json configuration");
|
|
3567
3567
|
}
|
|
3568
3568
|
const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
|
|
3569
|
-
const sourceRoot = projectJson.sourceRoot ||
|
|
3569
|
+
const sourceRoot = projectJson.sourceRoot || _chunkJ374Y5WWjs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
3570
3570
|
const result = {
|
|
3571
3571
|
name: projectName,
|
|
3572
3572
|
mode: "production",
|
|
3573
3573
|
target: DEFAULT_TARGET,
|
|
3574
3574
|
generatePackageJson: true,
|
|
3575
|
-
outDir:
|
|
3575
|
+
outDir: _chunkJ374Y5WWjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
3576
3576
|
minify: !debug,
|
|
3577
3577
|
plugins: [],
|
|
3578
3578
|
assets: [],
|
|
@@ -3584,12 +3584,12 @@ var resolveOptions = async (userOptions) => {
|
|
|
3584
3584
|
clean: false,
|
|
3585
3585
|
fixedExtension: true,
|
|
3586
3586
|
nodeProtocol: true,
|
|
3587
|
-
tsconfig:
|
|
3587
|
+
tsconfig: _chunkJ374Y5WWjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
|
|
3588
3588
|
debug,
|
|
3589
3589
|
sourceRoot,
|
|
3590
3590
|
cwd: workspaceConfig.workspaceRoot,
|
|
3591
3591
|
entry: {
|
|
3592
|
-
["index"]:
|
|
3592
|
+
["index"]: _chunkJ374Y5WWjs.joinPaths.call(void 0, sourceRoot, "index.ts")
|
|
3593
3593
|
},
|
|
3594
3594
|
workspace: true,
|
|
3595
3595
|
...options,
|
|
@@ -3608,15 +3608,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
3608
3608
|
return result;
|
|
3609
3609
|
};
|
|
3610
3610
|
async function generatePackageJson2(options) {
|
|
3611
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
3611
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkJ374Y5WWjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
3612
3612
|
writeDebug(" \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
3613
3613
|
const stopwatch = getStopwatch("Write package.json file");
|
|
3614
|
-
const packageJsonPath =
|
|
3614
|
+
const packageJsonPath = _chunkJ374Y5WWjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
3615
3615
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
3616
3616
|
throw new Error("Cannot find package.json configuration");
|
|
3617
3617
|
}
|
|
3618
3618
|
const packageJsonFile = await _promises2.default.readFile(
|
|
3619
|
-
|
|
3619
|
+
_chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
3620
3620
|
options.workspaceConfig.workspaceRoot,
|
|
3621
3621
|
options.projectRoot,
|
|
3622
3622
|
"package.json"
|
|
@@ -3678,7 +3678,7 @@ async function generatePackageJson2(options) {
|
|
|
3678
3678
|
},
|
|
3679
3679
|
packageJson.exports
|
|
3680
3680
|
);
|
|
3681
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
3681
|
+
await _devkit.writeJsonFile.call(void 0, _chunkJ374Y5WWjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
3682
3682
|
stopwatch();
|
|
3683
3683
|
}
|
|
3684
3684
|
return options;
|
|
@@ -3811,7 +3811,7 @@ var executor_default9 = withRunExecutor(
|
|
|
3811
3811
|
);
|
|
3812
3812
|
|
|
3813
3813
|
// ../workspace-tools/src/executors/typia/executor.ts
|
|
3814
|
-
|
|
3814
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3815
3815
|
var _fsextra = require('fs-extra');
|
|
3816
3816
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
3817
3817
|
async function typiaExecutorFn(options, _, config) {
|
|
@@ -3851,7 +3851,7 @@ var executor_default10 = withRunExecutor(
|
|
|
3851
3851
|
);
|
|
3852
3852
|
|
|
3853
3853
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
3854
|
-
|
|
3854
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3855
3855
|
|
|
3856
3856
|
|
|
3857
3857
|
async function unbuildExecutorFn(options, context, config) {
|
|
@@ -3872,7 +3872,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3872
3872
|
);
|
|
3873
3873
|
}
|
|
3874
3874
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3875
|
-
fsCache: config.skipCache ? false :
|
|
3875
|
+
fsCache: config.skipCache ? false : _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
3876
3876
|
config.workspaceRoot,
|
|
3877
3877
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3878
3878
|
"jiti"
|
|
@@ -3894,7 +3894,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3894
3894
|
{
|
|
3895
3895
|
stubOptions: {
|
|
3896
3896
|
jiti: {
|
|
3897
|
-
fsCache: config.skipCache ? false :
|
|
3897
|
+
fsCache: config.skipCache ? false : _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
3898
3898
|
config.workspaceRoot,
|
|
3899
3899
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3900
3900
|
"jiti"
|
|
@@ -3943,10 +3943,10 @@ var executor_default11 = withRunExecutor(
|
|
|
3943
3943
|
);
|
|
3944
3944
|
|
|
3945
3945
|
// ../workspace-tools/generators.ts
|
|
3946
|
-
|
|
3946
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3947
3947
|
|
|
3948
3948
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
3949
|
-
|
|
3949
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3950
3950
|
|
|
3951
3951
|
|
|
3952
3952
|
|
|
@@ -3955,7 +3955,7 @@ _chunkOMQGQKIFjs.init_cjs_shims.call(void 0, );
|
|
|
3955
3955
|
|
|
3956
3956
|
|
|
3957
3957
|
// ../workspace-tools/src/base/base-generator.ts
|
|
3958
|
-
|
|
3958
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
3959
3959
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
3960
3960
|
skipReadingConfig: false
|
|
3961
3961
|
}) => async (tree, _options) => {
|
|
@@ -4042,7 +4042,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
4042
4042
|
};
|
|
4043
4043
|
|
|
4044
4044
|
// ../workspace-tools/src/base/typescript-library-generator.ts
|
|
4045
|
-
|
|
4045
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
4046
4046
|
|
|
4047
4047
|
|
|
4048
4048
|
|
|
@@ -4064,7 +4064,7 @@ var _init = require('@nx/js/src/generators/init/init'); var _init2 = _interopReq
|
|
|
4064
4064
|
var _generator = require('@nx/js/src/generators/setup-verdaccio/generator'); var _generator2 = _interopRequireDefault(_generator);
|
|
4065
4065
|
|
|
4066
4066
|
// ../workspace-tools/src/utils/versions.ts
|
|
4067
|
-
|
|
4067
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
4068
4068
|
var typesNodeVersion = "20.9.0";
|
|
4069
4069
|
var nxVersion = "^18.0.4";
|
|
4070
4070
|
var nodeVersion = "20.11.0";
|
|
@@ -4097,16 +4097,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4097
4097
|
const projectConfig = {
|
|
4098
4098
|
root: normalized.directory,
|
|
4099
4099
|
projectType: "library",
|
|
4100
|
-
sourceRoot:
|
|
4100
|
+
sourceRoot: _chunkJ374Y5WWjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
4101
4101
|
targets: {
|
|
4102
4102
|
build: {
|
|
4103
4103
|
executor: options.buildExecutor,
|
|
4104
4104
|
outputs: ["{options.outputPath}"],
|
|
4105
4105
|
options: {
|
|
4106
|
-
entry: [
|
|
4106
|
+
entry: [_chunkJ374Y5WWjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
|
|
4107
4107
|
outputPath: getOutputPath(normalized),
|
|
4108
|
-
tsconfig:
|
|
4109
|
-
project:
|
|
4108
|
+
tsconfig: _chunkJ374Y5WWjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
4109
|
+
project: _chunkJ374Y5WWjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
4110
4110
|
defaultConfiguration: "production",
|
|
4111
4111
|
platform: "neutral",
|
|
4112
4112
|
assets: [
|
|
@@ -4163,7 +4163,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4163
4163
|
if (!normalized.importPath) {
|
|
4164
4164
|
normalized.importPath = normalized.name;
|
|
4165
4165
|
}
|
|
4166
|
-
const packageJsonPath =
|
|
4166
|
+
const packageJsonPath = _chunkJ374Y5WWjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
4167
4167
|
if (tree.exists(packageJsonPath)) {
|
|
4168
4168
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
4169
4169
|
if (!normalized.importPath) {
|
|
@@ -4220,14 +4220,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4220
4220
|
}));
|
|
4221
4221
|
}
|
|
4222
4222
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
4223
|
-
|
|
4223
|
+
_chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
4224
4224
|
normalized.projectRoot,
|
|
4225
4225
|
"./src",
|
|
4226
4226
|
`index.${normalized.js ? "js" : "ts"}`
|
|
4227
4227
|
)
|
|
4228
4228
|
]);
|
|
4229
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
4230
|
-
|
|
4229
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkJ374Y5WWjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
4230
|
+
_chunkJ374Y5WWjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
4231
4231
|
]);
|
|
4232
4232
|
if (tree.exists("package.json")) {
|
|
4233
4233
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -4238,7 +4238,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
4238
4238
|
description = packageJson.description;
|
|
4239
4239
|
}
|
|
4240
4240
|
}
|
|
4241
|
-
const tsconfigPath =
|
|
4241
|
+
const tsconfigPath = _chunkJ374Y5WWjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
4242
4242
|
if (tree.exists(tsconfigPath)) {
|
|
4243
4243
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
4244
4244
|
json.composite ??= true;
|
|
@@ -4266,7 +4266,7 @@ function getOutputPath(options) {
|
|
|
4266
4266
|
} else {
|
|
4267
4267
|
parts.push(options.projectRoot);
|
|
4268
4268
|
}
|
|
4269
|
-
return
|
|
4269
|
+
return _chunkJ374Y5WWjs.joinPaths.call(void 0, ...parts);
|
|
4270
4270
|
}
|
|
4271
4271
|
function createProjectTsConfigJson(tree, options) {
|
|
4272
4272
|
const tsconfig = {
|
|
@@ -4274,7 +4274,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
4274
4274
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _213 => _213.tsconfigOptions]), () => ( {})),
|
|
4275
4275
|
compilerOptions: {
|
|
4276
4276
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
4277
|
-
outDir:
|
|
4277
|
+
outDir: _chunkJ374Y5WWjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
4278
4278
|
noEmit: true,
|
|
4279
4279
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _214 => _214.tsconfigOptions, 'optionalAccess', _215 => _215.compilerOptions]), () => ( {}))
|
|
4280
4280
|
},
|
|
@@ -4292,7 +4292,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
4292
4292
|
"src/**/*.test.ts"
|
|
4293
4293
|
]
|
|
4294
4294
|
};
|
|
4295
|
-
_devkit.writeJson.call(void 0, tree,
|
|
4295
|
+
_devkit.writeJson.call(void 0, tree, _chunkJ374Y5WWjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
4296
4296
|
}
|
|
4297
4297
|
async function normalizeOptions(tree, options, config) {
|
|
4298
4298
|
let importPath = options.importPath;
|
|
@@ -4357,7 +4357,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
4357
4357
|
|
|
4358
4358
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
4359
4359
|
async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
4360
|
-
const filesDir =
|
|
4360
|
+
const filesDir = _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
4361
4361
|
__dirname,
|
|
4362
4362
|
"src",
|
|
4363
4363
|
"generators",
|
|
@@ -4437,7 +4437,7 @@ var generator_default = withRunGenerator(
|
|
|
4437
4437
|
);
|
|
4438
4438
|
|
|
4439
4439
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
4440
|
-
|
|
4440
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
4441
4441
|
|
|
4442
4442
|
var _zod = require('zod'); var z2 = _interopRequireWildcard(_zod);
|
|
4443
4443
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
@@ -4494,7 +4494,7 @@ var generator_default2 = withRunGenerator(
|
|
|
4494
4494
|
);
|
|
4495
4495
|
|
|
4496
4496
|
// ../workspace-tools/src/generators/init/init.ts
|
|
4497
|
-
|
|
4497
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
4498
4498
|
|
|
4499
4499
|
|
|
4500
4500
|
|
|
@@ -4522,7 +4522,7 @@ async function initGenerator(tree, schema) {
|
|
|
4522
4522
|
}
|
|
4523
4523
|
|
|
4524
4524
|
// ../workspace-tools/src/generators/neutral-library/generator.ts
|
|
4525
|
-
|
|
4525
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
4526
4526
|
|
|
4527
4527
|
|
|
4528
4528
|
|
|
@@ -4530,7 +4530,7 @@ _chunkOMQGQKIFjs.init_cjs_shims.call(void 0, );
|
|
|
4530
4530
|
|
|
4531
4531
|
|
|
4532
4532
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
4533
|
-
const filesDir =
|
|
4533
|
+
const filesDir = _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
4534
4534
|
__dirname,
|
|
4535
4535
|
"src",
|
|
4536
4536
|
"generators",
|
|
@@ -4582,7 +4582,7 @@ var generator_default3 = withRunGenerator(
|
|
|
4582
4582
|
);
|
|
4583
4583
|
|
|
4584
4584
|
// ../workspace-tools/src/generators/node-library/generator.ts
|
|
4585
|
-
|
|
4585
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
4586
4586
|
|
|
4587
4587
|
|
|
4588
4588
|
|
|
@@ -4590,7 +4590,7 @@ _chunkOMQGQKIFjs.init_cjs_shims.call(void 0, );
|
|
|
4590
4590
|
|
|
4591
4591
|
|
|
4592
4592
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
4593
|
-
const filesDir =
|
|
4593
|
+
const filesDir = _chunkJ374Y5WWjs.joinPaths.call(void 0,
|
|
4594
4594
|
__dirname,
|
|
4595
4595
|
"src",
|
|
4596
4596
|
"generators",
|
|
@@ -4644,7 +4644,7 @@ var generator_default4 = withRunGenerator(
|
|
|
4644
4644
|
);
|
|
4645
4645
|
|
|
4646
4646
|
// ../workspace-tools/src/generators/preset/generator.ts
|
|
4647
|
-
|
|
4647
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
4648
4648
|
|
|
4649
4649
|
|
|
4650
4650
|
|
|
@@ -4883,10 +4883,10 @@ var generator_default5 = withRunGenerator(
|
|
|
4883
4883
|
);
|
|
4884
4884
|
|
|
4885
4885
|
// ../workspace-tools/src/base/index.ts
|
|
4886
|
-
|
|
4886
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
4887
4887
|
|
|
4888
4888
|
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
4889
|
-
|
|
4889
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
4890
4890
|
var _untyped = require('untyped');
|
|
4891
4891
|
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4892
4892
|
$schema: {
|
|
@@ -4906,7 +4906,7 @@ var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4906
4906
|
});
|
|
4907
4907
|
|
|
4908
4908
|
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
4909
|
-
|
|
4909
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
4910
4910
|
|
|
4911
4911
|
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4912
4912
|
$schema: {
|
|
@@ -4924,7 +4924,7 @@ var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4924
4924
|
});
|
|
4925
4925
|
|
|
4926
4926
|
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
4927
|
-
|
|
4927
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
4928
4928
|
|
|
4929
4929
|
var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4930
4930
|
...base_executor_untyped_default,
|
|
@@ -4997,7 +4997,7 @@ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void
|
|
|
4997
4997
|
});
|
|
4998
4998
|
|
|
4999
4999
|
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
5000
|
-
|
|
5000
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
5001
5001
|
|
|
5002
5002
|
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5003
5003
|
...base_executor_untyped_default,
|
|
@@ -5149,7 +5149,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
5149
5149
|
});
|
|
5150
5150
|
|
|
5151
5151
|
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
5152
|
-
|
|
5152
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
5153
5153
|
|
|
5154
5154
|
var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5155
5155
|
...base_generator_untyped_default,
|
|
@@ -5255,42 +5255,42 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
|
|
|
5255
5255
|
});
|
|
5256
5256
|
|
|
5257
5257
|
// ../workspace-tools/src/release/index.ts
|
|
5258
|
-
|
|
5258
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
5259
5259
|
|
|
5260
5260
|
// ../workspace-tools/src/release/js-version-actions.ts
|
|
5261
|
-
|
|
5261
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
5262
5262
|
var _versionactionsjs = require('@nx/js/src/release/version-actions.js'); var _versionactionsjs2 = _interopRequireDefault(_versionactionsjs);
|
|
5263
5263
|
|
|
5264
5264
|
// ../workspace-tools/src/release/rust-version-actions.ts
|
|
5265
|
-
|
|
5265
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
5266
5266
|
|
|
5267
5267
|
|
|
5268
5268
|
|
|
5269
5269
|
var _release = require('nx/release');
|
|
5270
5270
|
|
|
5271
5271
|
// ../workspace-tools/src/utils/registry-helpers.ts
|
|
5272
|
-
|
|
5272
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
5273
5273
|
|
|
5274
5274
|
|
|
5275
5275
|
// ../workspace-tools/src/types.ts
|
|
5276
|
-
|
|
5276
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
5277
5277
|
|
|
5278
5278
|
// ../workspace-tools/src/utils/index.ts
|
|
5279
|
-
|
|
5279
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
5280
5280
|
|
|
5281
5281
|
// ../workspace-tools/src/utils/apply-workspace-tokens.ts
|
|
5282
|
-
|
|
5282
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
5283
5283
|
|
|
5284
5284
|
// ../workspace-tools/src/utils/create-cli-options.ts
|
|
5285
|
-
|
|
5285
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
5286
5286
|
|
|
5287
5287
|
|
|
5288
5288
|
// ../workspace-tools/src/utils/get-project-configurations.ts
|
|
5289
|
-
|
|
5289
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
5290
5290
|
var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
|
|
5291
5291
|
|
|
5292
5292
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
5293
|
-
|
|
5293
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
5294
5294
|
|
|
5295
5295
|
|
|
5296
5296
|
|
|
@@ -5318,10 +5318,10 @@ var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE
|
|
|
5318
5318
|
var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
|
|
5319
5319
|
|
|
5320
5320
|
// ../workspace-tools/src/utils/nx-json.ts
|
|
5321
|
-
|
|
5321
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
5322
5322
|
|
|
5323
5323
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
5324
|
-
|
|
5324
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
5325
5325
|
|
|
5326
5326
|
|
|
5327
5327
|
|
|
@@ -5330,7 +5330,7 @@ _chunkOMQGQKIFjs.init_cjs_shims.call(void 0, );
|
|
|
5330
5330
|
|
|
5331
5331
|
|
|
5332
5332
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
5333
|
-
|
|
5333
|
+
_chunkZI6QQV6Ijs.init_cjs_shims.call(void 0, );
|
|
5334
5334
|
var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
|
|
5335
5335
|
|
|
5336
5336
|
// src/generators/init/generator.ts
|