@storm-software/projen 0.21.295 → 0.21.297
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +1 -1
- package/dist/{chunk-I37Q7FVY.mjs → chunk-2BRDLJ27.mjs} +3 -6
- package/dist/{chunk-NJF5ZJZS.mjs → chunk-3NAL2DGW.mjs} +1 -1
- package/dist/{chunk-F7BN2TNG.mjs → chunk-4ZRME7GX.mjs} +1 -1
- package/dist/{chunk-N3RNQQ6M.js → chunk-CB47RORS.js} +2 -2
- package/dist/{chunk-EOWKH2H4.mjs → chunk-IH3SBOOH.mjs} +2 -2
- package/dist/chunk-TC3OXYIA.js +6 -0
- package/dist/{chunk-L5ZULTKU.mjs → chunk-VLTEJM5U.mjs} +1 -1
- package/dist/{chunk-QQOYOKK6.js → chunk-W3Y2DCBY.js} +3 -3
- package/dist/{chunk-XKSS65AG.js → chunk-XJCGIWZC.js} +2 -2
- package/dist/{chunk-I6KWHY3V.js → chunk-ZGGCPWWP.js} +181 -184
- 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 +7 -7
- package/dist/chunk-ZHF26DAD.js +0 -6
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkXJCGIWZCjs = require('./chunk-XJCGIWZC.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkCB47RORSjs = require('./chunk-CB47RORS.js');
|
|
10
10
|
|
|
11
11
|
// src/generators/init/generator.ts
|
|
12
|
-
|
|
12
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -18,28 +18,28 @@ _chunkN3RNQQ6Mjs.init_cjs_shims.call(void 0, );
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
|
|
20
20
|
// ../workspace-tools/index.ts
|
|
21
|
-
|
|
21
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
22
22
|
|
|
23
23
|
// ../workspace-tools/executors.ts
|
|
24
|
-
|
|
24
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
25
25
|
|
|
26
26
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
27
|
-
|
|
27
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
28
28
|
|
|
29
29
|
// ../workspace-tools/src/base/base-executor.ts
|
|
30
|
-
|
|
30
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
31
31
|
|
|
32
32
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
33
|
-
|
|
33
|
+
_chunkCB47RORSjs.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
|
+
_chunkCB47RORSjs.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
|
+
_chunkCB47RORSjs.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
|
+
_chunkCB47RORSjs.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
|
+
_chunkCB47RORSjs.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
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
174
174
|
|
|
175
175
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
176
|
-
|
|
176
|
+
_chunkCB47RORSjs.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
|
+
_chunkCB47RORSjs.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
|
+
_chunkCB47RORSjs.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
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
436
436
|
|
|
437
437
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
438
|
-
|
|
438
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
439
439
|
|
|
440
440
|
// ../config-tools/src/utilities/find-up.ts
|
|
441
|
-
|
|
441
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
442
442
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
443
443
|
var _path = require('path'); var path2 = _interopRequireWildcard(_path);
|
|
444
444
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
@@ -507,11 +507,11 @@ var rootDirectories = [
|
|
|
507
507
|
];
|
|
508
508
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
509
509
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
510
|
-
return
|
|
510
|
+
return _chunkXJCGIWZCjs.correctPaths.call(void 0,
|
|
511
511
|
_nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH))
|
|
512
512
|
);
|
|
513
513
|
}
|
|
514
|
-
return
|
|
514
|
+
return _chunkXJCGIWZCjs.correctPaths.call(void 0,
|
|
515
515
|
findFolderUp(
|
|
516
516
|
_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())),
|
|
517
517
|
rootFiles,
|
|
@@ -606,13 +606,13 @@ var applyWorkspaceTokens = async (options, tokenParams, tokenizerFn) => {
|
|
|
606
606
|
};
|
|
607
607
|
|
|
608
608
|
// ../config-tools/src/utilities/get-default-config.ts
|
|
609
|
-
|
|
609
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
610
610
|
|
|
611
611
|
// ../config/src/index.ts
|
|
612
|
-
|
|
612
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
613
613
|
|
|
614
614
|
// ../config/src/constants.ts
|
|
615
|
-
|
|
615
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
616
616
|
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
617
617
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
618
618
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
@@ -631,10 +631,10 @@ var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
|
631
631
|
var STORM_DEFAULT_BANNER_ALT = "The workspace's banner image";
|
|
632
632
|
|
|
633
633
|
// ../config/src/define-config.ts
|
|
634
|
-
|
|
634
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
635
635
|
|
|
636
636
|
// ../config/src/schema.ts
|
|
637
|
-
|
|
637
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
638
638
|
var _mini = require('zod/v4/mini'); var z = _interopRequireWildcard(_mini);
|
|
639
639
|
var schemaRegistry = z.registry();
|
|
640
640
|
var colorSchema = z.string().check(
|
|
@@ -1204,7 +1204,7 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
1204
1204
|
});
|
|
1205
1205
|
|
|
1206
1206
|
// ../config/src/types.ts
|
|
1207
|
-
|
|
1207
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
1208
1208
|
var COLOR_KEYS = [
|
|
1209
1209
|
"dark",
|
|
1210
1210
|
"light",
|
|
@@ -1238,7 +1238,7 @@ async function getPackageJsonConfig(root) {
|
|
|
1238
1238
|
const workspaceRoot2 = findWorkspaceRoot(root);
|
|
1239
1239
|
if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot2, "package.json"))) {
|
|
1240
1240
|
const file = await _promises.readFile.call(void 0,
|
|
1241
|
-
|
|
1241
|
+
_chunkXJCGIWZCjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
1242
1242
|
"utf8"
|
|
1243
1243
|
);
|
|
1244
1244
|
if (file) {
|
|
@@ -1312,7 +1312,7 @@ function applyDefaultConfig(config) {
|
|
|
1312
1312
|
}
|
|
1313
1313
|
|
|
1314
1314
|
// ../config-tools/src/utilities/toml.ts
|
|
1315
|
-
|
|
1315
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
1316
1316
|
var _jtoml = require('@ltd/j-toml'); var _jtoml2 = _interopRequireDefault(_jtoml);
|
|
1317
1317
|
function parseCargoToml(cargoString) {
|
|
1318
1318
|
if (!cargoString) {
|
|
@@ -1334,7 +1334,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1334
1334
|
envName: _optionalChain([fileName, 'optionalAccess', _38 => _38.toUpperCase, 'call', _39 => _39()]),
|
|
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 : _chunkXJCGIWZCjs.joinPaths.call(void 0,
|
|
1338
1338
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1339
1339
|
"jiti"
|
|
1340
1340
|
)
|
|
@@ -1348,7 +1348,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1348
1348
|
envName: _optionalChain([fileName, 'optionalAccess', _40 => _40.toUpperCase, 'call', _41 => _41()]),
|
|
1349
1349
|
jitiOptions: {
|
|
1350
1350
|
debug: false,
|
|
1351
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1351
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkXJCGIWZCjs.joinPaths.call(void 0,
|
|
1352
1352
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1353
1353
|
"jiti"
|
|
1354
1354
|
)
|
|
@@ -1400,12 +1400,12 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
1400
1400
|
};
|
|
1401
1401
|
|
|
1402
1402
|
// ../config-tools/src/create-storm-config.ts
|
|
1403
|
-
|
|
1403
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
1404
1404
|
|
|
1405
1405
|
|
|
1406
1406
|
|
|
1407
1407
|
// ../config-tools/src/env/get-env.ts
|
|
1408
|
-
|
|
1408
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
1409
1409
|
var getExtensionEnv = (extensionName) => {
|
|
1410
1410
|
const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
|
|
1411
1411
|
return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
|
|
@@ -1467,15 +1467,15 @@ var getConfigEnv = () => {
|
|
|
1467
1467
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
1468
1468
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
1469
1469
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
1470
|
-
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ?
|
|
1471
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
1470
|
+
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ? _chunkXJCGIWZCjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_CONFIG_FILE`]) : void 0,
|
|
1471
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkXJCGIWZCjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
1472
1472
|
directories: {
|
|
1473
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
1474
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
1475
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
1476
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
1477
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
1478
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
1473
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkXJCGIWZCjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkXJCGIWZCjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
1474
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkXJCGIWZCjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkXJCGIWZCjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
1475
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkXJCGIWZCjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkXJCGIWZCjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
1476
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkXJCGIWZCjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkXJCGIWZCjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
1477
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkXJCGIWZCjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkXJCGIWZCjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
1478
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkXJCGIWZCjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkXJCGIWZCjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
|
|
1479
1479
|
},
|
|
1480
1480
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
1481
1481
|
mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -1622,7 +1622,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1622
1622
|
};
|
|
1623
1623
|
|
|
1624
1624
|
// ../config-tools/src/env/set-env.ts
|
|
1625
|
-
|
|
1625
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
1626
1626
|
var setExtensionEnv = (extensionName, extension) => {
|
|
1627
1627
|
for (const key of Object.keys(_nullishCoalesce(extension, () => ( {})))) {
|
|
1628
1628
|
if (extension[key]) {
|
|
@@ -1770,42 +1770,42 @@ var setConfigEnv = (config) => {
|
|
|
1770
1770
|
process.env.LANG = config.locale ? `${config.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
1771
1771
|
}
|
|
1772
1772
|
if (config.configFile) {
|
|
1773
|
-
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] =
|
|
1773
|
+
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] = _chunkXJCGIWZCjs.correctPaths.call(void 0,
|
|
1774
1774
|
config.configFile
|
|
1775
1775
|
);
|
|
1776
1776
|
}
|
|
1777
1777
|
if (config.workspaceRoot) {
|
|
1778
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
1779
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
1780
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
1778
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkXJCGIWZCjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1779
|
+
process.env.NX_WORKSPACE_ROOT = _chunkXJCGIWZCjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1780
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkXJCGIWZCjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1781
1781
|
}
|
|
1782
1782
|
if (config.directories) {
|
|
1783
1783
|
if (!config.skipCache && config.directories.cache) {
|
|
1784
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
1784
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkXJCGIWZCjs.correctPaths.call(void 0,
|
|
1785
1785
|
config.directories.cache
|
|
1786
1786
|
);
|
|
1787
1787
|
process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
|
|
1788
1788
|
}
|
|
1789
1789
|
if (config.directories.data) {
|
|
1790
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
1790
|
+
process.env[`${prefix}DATA_DIR`] = _chunkXJCGIWZCjs.correctPaths.call(void 0, config.directories.data);
|
|
1791
1791
|
process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
|
|
1792
1792
|
}
|
|
1793
1793
|
if (config.directories.config) {
|
|
1794
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
1794
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkXJCGIWZCjs.correctPaths.call(void 0,
|
|
1795
1795
|
config.directories.config
|
|
1796
1796
|
);
|
|
1797
1797
|
process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
|
|
1798
1798
|
}
|
|
1799
1799
|
if (config.directories.temp) {
|
|
1800
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
1800
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkXJCGIWZCjs.correctPaths.call(void 0, config.directories.temp);
|
|
1801
1801
|
process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
|
|
1802
1802
|
}
|
|
1803
1803
|
if (config.directories.log) {
|
|
1804
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
1804
|
+
process.env[`${prefix}LOG_DIR`] = _chunkXJCGIWZCjs.correctPaths.call(void 0, config.directories.log);
|
|
1805
1805
|
process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
|
|
1806
1806
|
}
|
|
1807
1807
|
if (config.directories.build) {
|
|
1808
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
1808
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkXJCGIWZCjs.correctPaths.call(void 0,
|
|
1809
1809
|
config.directories.build
|
|
1810
1810
|
);
|
|
1811
1811
|
process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
|
|
@@ -2033,7 +2033,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot2, s
|
|
|
2033
2033
|
defaultConfig
|
|
2034
2034
|
);
|
|
2035
2035
|
if (!configInput.variant) {
|
|
2036
|
-
configInput.variant = _fs.existsSync.call(void 0,
|
|
2036
|
+
configInput.variant = _fs.existsSync.call(void 0, _chunkXJCGIWZCjs.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkXJCGIWZCjs.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkXJCGIWZCjs.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkXJCGIWZCjs.joinPaths.call(void 0, _workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
|
|
2037
2037
|
}
|
|
2038
2038
|
try {
|
|
2039
2039
|
const parseResult = await Promise.resolve(
|
|
@@ -2103,7 +2103,7 @@ ${formatLogMessage(config)}`,
|
|
|
2103
2103
|
};
|
|
2104
2104
|
|
|
2105
2105
|
// ../config-tools/src/get-config.ts
|
|
2106
|
-
|
|
2106
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2107
2107
|
function getConfig(workspaceRoot2, skipLogs = false) {
|
|
2108
2108
|
return loadStormWorkspaceConfig(workspaceRoot2, skipLogs);
|
|
2109
2109
|
}
|
|
@@ -2241,7 +2241,7 @@ var _isFunction2 = (value) => {
|
|
|
2241
2241
|
};
|
|
2242
2242
|
|
|
2243
2243
|
// ../workspace-tools/src/utils/cargo.ts
|
|
2244
|
-
|
|
2244
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2245
2245
|
|
|
2246
2246
|
|
|
2247
2247
|
|
|
@@ -2391,7 +2391,7 @@ var executor_default = withRunExecutor(
|
|
|
2391
2391
|
);
|
|
2392
2392
|
|
|
2393
2393
|
// ../workspace-tools/src/executors/cargo-check/executor.ts
|
|
2394
|
-
|
|
2394
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2395
2395
|
async function cargoCheckExecutor(options, context) {
|
|
2396
2396
|
const command = buildCargoCommand("check", options, context);
|
|
2397
2397
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2411,7 +2411,7 @@ var executor_default2 = withRunExecutor(
|
|
|
2411
2411
|
);
|
|
2412
2412
|
|
|
2413
2413
|
// ../workspace-tools/src/executors/cargo-clippy/executor.ts
|
|
2414
|
-
|
|
2414
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2415
2415
|
async function cargoClippyExecutor(options, context) {
|
|
2416
2416
|
const command = buildCargoCommand("clippy", options, context);
|
|
2417
2417
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2432,7 +2432,7 @@ var executor_default3 = withRunExecutor(
|
|
|
2432
2432
|
);
|
|
2433
2433
|
|
|
2434
2434
|
// ../workspace-tools/src/executors/cargo-doc/executor.ts
|
|
2435
|
-
|
|
2435
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2436
2436
|
async function cargoDocExecutor(options, context) {
|
|
2437
2437
|
const opts = { ...options };
|
|
2438
2438
|
opts["no-deps"] = opts.noDeps;
|
|
@@ -2462,7 +2462,7 @@ var executor_default4 = withRunExecutor(
|
|
|
2462
2462
|
);
|
|
2463
2463
|
|
|
2464
2464
|
// ../workspace-tools/src/executors/cargo-format/executor.ts
|
|
2465
|
-
|
|
2465
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2466
2466
|
async function cargoFormatExecutor(options, context) {
|
|
2467
2467
|
const command = buildCargoCommand("fmt", options, context);
|
|
2468
2468
|
return await cargoCommand(context.root, ...command);
|
|
@@ -2483,7 +2483,7 @@ var executor_default5 = withRunExecutor(
|
|
|
2483
2483
|
);
|
|
2484
2484
|
|
|
2485
2485
|
// ../workspace-tools/src/executors/cargo-publish/executor.ts
|
|
2486
|
-
|
|
2486
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2487
2487
|
|
|
2488
2488
|
|
|
2489
2489
|
|
|
@@ -2491,7 +2491,7 @@ var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
|
2491
2491
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
2492
2492
|
|
|
2493
2493
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
2494
|
-
|
|
2494
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2495
2495
|
var _jiti = require('jiti');
|
|
2496
2496
|
async function esbuildExecutorFn(options, context, config) {
|
|
2497
2497
|
writeInfo("\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
@@ -2501,7 +2501,7 @@ async function esbuildExecutorFn(options, context, config) {
|
|
|
2501
2501
|
);
|
|
2502
2502
|
}
|
|
2503
2503
|
const jiti = _jiti.createJiti.call(void 0, _optionalChain([config, 'optionalAccess', _114 => _114.workspaceRoot]) || process.cwd(), {
|
|
2504
|
-
fsCache: _optionalChain([config, 'optionalAccess', _115 => _115.skipCache]) ? false :
|
|
2504
|
+
fsCache: _optionalChain([config, 'optionalAccess', _115 => _115.skipCache]) ? false : _chunkXJCGIWZCjs.joinPaths.call(void 0,
|
|
2505
2505
|
_optionalChain([config, 'optionalAccess', _116 => _116.workspaceRoot]) || process.cwd(),
|
|
2506
2506
|
_optionalChain([config, 'optionalAccess', _117 => _117.directories, 'optionalAccess', _118 => _118.cache]) || "node_modules/.cache/storm",
|
|
2507
2507
|
"jiti"
|
|
@@ -2541,12 +2541,12 @@ var executor_default6 = withRunExecutor(
|
|
|
2541
2541
|
);
|
|
2542
2542
|
|
|
2543
2543
|
// ../workspace-tools/src/executors/napi/executor.ts
|
|
2544
|
-
|
|
2544
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2545
2545
|
|
|
2546
2546
|
var _fileutils = require('nx/src/utils/fileutils');
|
|
2547
2547
|
async function napiExecutor(options, context, config) {
|
|
2548
2548
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
2549
|
-
fsCache: config.skipCache ? false :
|
|
2549
|
+
fsCache: config.skipCache ? false : _chunkXJCGIWZCjs.joinPaths.call(void 0,
|
|
2550
2550
|
config.workspaceRoot,
|
|
2551
2551
|
config.directories.cache || "node_modules/.cache/storm",
|
|
2552
2552
|
"jiti"
|
|
@@ -2562,52 +2562,52 @@ async function napiExecutor(options, context, config) {
|
|
|
2562
2562
|
);
|
|
2563
2563
|
}
|
|
2564
2564
|
const projectRoot = _optionalChain([context, 'access', _130 => _130.projectGraph, 'optionalAccess', _131 => _131.nodes, 'access', _132 => _132[_nullishCoalesce(context.projectName, () => ( ""))], 'optionalAccess', _133 => _133.data, 'access', _134 => _134.root]);
|
|
2565
|
-
const packageJson =
|
|
2565
|
+
const packageJson = _chunkXJCGIWZCjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
|
|
2566
2566
|
if (!_fileutils.fileExists.call(void 0, packageJson)) {
|
|
2567
2567
|
throw new Error(`Could not find package.json at ${packageJson}`);
|
|
2568
2568
|
}
|
|
2569
2569
|
const napi = new NapiCli();
|
|
2570
2570
|
const normalizedOptions = { ...options };
|
|
2571
2571
|
const metadata = cargoMetadata();
|
|
2572
|
-
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _135 => _135.target_directory]) ||
|
|
2572
|
+
normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _135 => _135.target_directory]) || _chunkXJCGIWZCjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
|
|
2573
2573
|
normalizedOptions.outputDir = options.outputPath;
|
|
2574
2574
|
normalizedOptions.packageJsonPath ??= packageJson;
|
|
2575
2575
|
if (options.cwd) {
|
|
2576
|
-
normalizedOptions.cwd =
|
|
2576
|
+
normalizedOptions.cwd = _chunkXJCGIWZCjs.correctPaths.call(void 0, options.cwd);
|
|
2577
2577
|
} else {
|
|
2578
|
-
const absoluteProjectRoot =
|
|
2579
|
-
|
|
2578
|
+
const absoluteProjectRoot = _chunkXJCGIWZCjs.correctPaths.call(void 0,
|
|
2579
|
+
_chunkXJCGIWZCjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
|
|
2580
2580
|
);
|
|
2581
2581
|
normalizedOptions.cwd = absoluteProjectRoot;
|
|
2582
2582
|
if (normalizedOptions.outputDir) {
|
|
2583
|
-
normalizedOptions.outputDir =
|
|
2583
|
+
normalizedOptions.outputDir = _chunkXJCGIWZCjs.relative.call(void 0,
|
|
2584
2584
|
normalizedOptions.cwd,
|
|
2585
|
-
|
|
2586
|
-
|
|
2585
|
+
_chunkXJCGIWZCjs.correctPaths.call(void 0,
|
|
2586
|
+
_chunkXJCGIWZCjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkXJCGIWZCjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
|
|
2587
2587
|
)
|
|
2588
2588
|
);
|
|
2589
2589
|
}
|
|
2590
2590
|
if (normalizedOptions.packageJsonPath) {
|
|
2591
|
-
normalizedOptions.packageJsonPath =
|
|
2591
|
+
normalizedOptions.packageJsonPath = _chunkXJCGIWZCjs.relative.call(void 0,
|
|
2592
2592
|
normalizedOptions.cwd,
|
|
2593
|
-
|
|
2594
|
-
|
|
2593
|
+
_chunkXJCGIWZCjs.correctPaths.call(void 0,
|
|
2594
|
+
_chunkXJCGIWZCjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkXJCGIWZCjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
|
|
2595
2595
|
)
|
|
2596
2596
|
);
|
|
2597
2597
|
}
|
|
2598
2598
|
if (normalizedOptions.configPath) {
|
|
2599
|
-
normalizedOptions.configPath =
|
|
2599
|
+
normalizedOptions.configPath = _chunkXJCGIWZCjs.relative.call(void 0,
|
|
2600
2600
|
normalizedOptions.cwd,
|
|
2601
|
-
|
|
2602
|
-
|
|
2601
|
+
_chunkXJCGIWZCjs.correctPaths.call(void 0,
|
|
2602
|
+
_chunkXJCGIWZCjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkXJCGIWZCjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
|
|
2603
2603
|
)
|
|
2604
2604
|
);
|
|
2605
2605
|
}
|
|
2606
2606
|
if (normalizedOptions.manifestPath) {
|
|
2607
|
-
normalizedOptions.manifestPath =
|
|
2607
|
+
normalizedOptions.manifestPath = _chunkXJCGIWZCjs.relative.call(void 0,
|
|
2608
2608
|
normalizedOptions.cwd,
|
|
2609
|
-
|
|
2610
|
-
|
|
2609
|
+
_chunkXJCGIWZCjs.correctPaths.call(void 0,
|
|
2610
|
+
_chunkXJCGIWZCjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkXJCGIWZCjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
|
|
2611
2611
|
)
|
|
2612
2612
|
);
|
|
2613
2613
|
}
|
|
@@ -2650,18 +2650,18 @@ var executor_default7 = withRunExecutor(
|
|
|
2650
2650
|
);
|
|
2651
2651
|
|
|
2652
2652
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
2653
|
-
|
|
2653
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2654
2654
|
|
|
2655
2655
|
|
|
2656
2656
|
|
|
2657
2657
|
var _prettier = require('prettier');
|
|
2658
2658
|
|
|
2659
2659
|
// ../workspace-tools/src/utils/github.ts
|
|
2660
|
-
|
|
2660
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2661
2661
|
|
|
2662
2662
|
|
|
2663
2663
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
2664
|
-
|
|
2664
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2665
2665
|
|
|
2666
2666
|
|
|
2667
2667
|
|
|
@@ -2673,10 +2673,10 @@ _chunkN3RNQQ6Mjs.init_cjs_shims.call(void 0, );
|
|
|
2673
2673
|
|
|
2674
2674
|
|
|
2675
2675
|
// ../workspace-tools/src/utils/project-tags.ts
|
|
2676
|
-
|
|
2676
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2677
2677
|
|
|
2678
2678
|
// ../package-constants/src/tags.ts
|
|
2679
|
-
|
|
2679
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2680
2680
|
var ProjectTagConstants = {
|
|
2681
2681
|
Language: {
|
|
2682
2682
|
TAG_ID: "language",
|
|
@@ -2752,7 +2752,7 @@ var addProjectTag = (project, variant, value, options = {
|
|
|
2752
2752
|
};
|
|
2753
2753
|
|
|
2754
2754
|
// ../workspace-tools/src/utils/package-manager.ts
|
|
2755
|
-
|
|
2755
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2756
2756
|
|
|
2757
2757
|
|
|
2758
2758
|
|
|
@@ -2762,7 +2762,7 @@ _chunkN3RNQQ6Mjs.init_cjs_shims.call(void 0, );
|
|
|
2762
2762
|
var LARGE_BUFFER2 = 1024 * 1e6;
|
|
2763
2763
|
|
|
2764
2764
|
// ../workspace-tools/src/executors/size-limit/executor.ts
|
|
2765
|
-
|
|
2765
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2766
2766
|
|
|
2767
2767
|
var _esbuild = require('@size-limit/esbuild'); var _esbuild2 = _interopRequireDefault(_esbuild);
|
|
2768
2768
|
var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
|
|
@@ -2804,10 +2804,10 @@ var executor_default8 = withRunExecutor(
|
|
|
2804
2804
|
);
|
|
2805
2805
|
|
|
2806
2806
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
2807
|
-
|
|
2807
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2808
2808
|
|
|
2809
2809
|
// ../tsdown/src/build.ts
|
|
2810
|
-
|
|
2810
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2811
2811
|
|
|
2812
2812
|
|
|
2813
2813
|
|
|
@@ -2815,44 +2815,44 @@ _chunkN3RNQQ6Mjs.init_cjs_shims.call(void 0, );
|
|
|
2815
2815
|
|
|
2816
2816
|
|
|
2817
2817
|
// ../build-tools/src/index.ts
|
|
2818
|
-
|
|
2818
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2819
2819
|
|
|
2820
2820
|
// ../build-tools/src/config.ts
|
|
2821
|
-
|
|
2821
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2822
2822
|
var DEFAULT_ENVIRONMENT = "production";
|
|
2823
2823
|
var DEFAULT_TARGET = "esnext";
|
|
2824
2824
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
2825
2825
|
|
|
2826
2826
|
// ../build-tools/src/plugins/index.ts
|
|
2827
|
-
|
|
2827
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2828
2828
|
|
|
2829
2829
|
// ../build-tools/src/plugins/analyze.ts
|
|
2830
|
-
|
|
2830
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2831
2831
|
|
|
2832
2832
|
// ../build-tools/src/plugins/swc.ts
|
|
2833
|
-
|
|
2833
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2834
2834
|
var _core = require('@swc/core');
|
|
2835
2835
|
|
|
2836
2836
|
// ../build-tools/src/plugins/ts-resolve.ts
|
|
2837
|
-
|
|
2837
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2838
2838
|
|
|
2839
2839
|
var _module = require('module');
|
|
2840
2840
|
|
|
2841
2841
|
var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_resolve2);
|
|
2842
2842
|
|
|
2843
2843
|
// ../build-tools/src/plugins/type-definitions.ts
|
|
2844
|
-
|
|
2844
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2845
2845
|
|
|
2846
2846
|
|
|
2847
2847
|
|
|
2848
2848
|
// ../build-tools/src/types.ts
|
|
2849
|
-
|
|
2849
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2850
2850
|
|
|
2851
2851
|
// ../build-tools/src/utilities/index.ts
|
|
2852
|
-
|
|
2852
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2853
2853
|
|
|
2854
2854
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
2855
|
-
|
|
2855
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2856
2856
|
var _internal = require('@nx/js/internal');
|
|
2857
2857
|
var _glob = require('glob');
|
|
2858
2858
|
|
|
@@ -2884,7 +2884,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
2884
2884
|
}
|
|
2885
2885
|
writeTrace(
|
|
2886
2886
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
2887
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
2887
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkXJCGIWZCjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
2888
2888
|
config
|
|
2889
2889
|
);
|
|
2890
2890
|
const assetHandler = new (0, _internal.CopyAssetsHandler)({
|
|
@@ -2897,17 +2897,17 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
2897
2897
|
writeTrace("Completed copying assets to the output directory", config);
|
|
2898
2898
|
if (includeSrc === true) {
|
|
2899
2899
|
writeDebug(
|
|
2900
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
2900
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkXJCGIWZCjs.joinPaths.call(void 0,
|
|
2901
2901
|
outputPath,
|
|
2902
2902
|
"src"
|
|
2903
2903
|
)}`,
|
|
2904
2904
|
config
|
|
2905
2905
|
);
|
|
2906
2906
|
const files = await _glob.glob.call(void 0, [
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2907
|
+
_chunkXJCGIWZCjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
2908
|
+
_chunkXJCGIWZCjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
2909
|
+
_chunkXJCGIWZCjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
2910
|
+
_chunkXJCGIWZCjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
2911
2911
|
]);
|
|
2912
2912
|
await Promise.allSettled(
|
|
2913
2913
|
files.map(
|
|
@@ -2925,7 +2925,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
2925
2925
|
};
|
|
2926
2926
|
|
|
2927
2927
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
2928
|
-
|
|
2928
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
2929
2929
|
|
|
2930
2930
|
|
|
2931
2931
|
|
|
@@ -2963,7 +2963,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2963
2963
|
)) {
|
|
2964
2964
|
const projectNode = project.node;
|
|
2965
2965
|
if (projectNode.data.root) {
|
|
2966
|
-
const projectPackageJsonPath =
|
|
2966
|
+
const projectPackageJsonPath = _chunkXJCGIWZCjs.joinPaths.call(void 0,
|
|
2967
2967
|
workspaceRoot2,
|
|
2968
2968
|
projectNode.data.root,
|
|
2969
2969
|
"package.json"
|
|
@@ -2985,7 +2985,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2985
2985
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
2986
2986
|
);
|
|
2987
2987
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
2988
|
-
|
|
2988
|
+
_chunkXJCGIWZCjs.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
2989
2989
|
"utf8"
|
|
2990
2990
|
);
|
|
2991
2991
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -2998,7 +2998,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
2998
2998
|
}
|
|
2999
2999
|
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _155 => _155.projects, 'optionalAccess', _156 => _156[projectName2], 'access', _157 => _157.implicitDependencies, 'optionalAccess', _158 => _158.reduce, 'call', _159 => _159((ret, dep) => {
|
|
3000
3000
|
if (_optionalChain([projectConfigurations, 'access', _160 => _160.projects, 'optionalAccess', _161 => _161[dep]])) {
|
|
3001
|
-
const depPackageJsonPath =
|
|
3001
|
+
const depPackageJsonPath = _chunkXJCGIWZCjs.joinPaths.call(void 0,
|
|
3002
3002
|
workspaceRoot2,
|
|
3003
3003
|
projectConfigurations.projects[dep].root,
|
|
3004
3004
|
"package.json"
|
|
@@ -3036,7 +3036,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
|
|
|
3036
3036
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
3037
3037
|
const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
|
|
3038
3038
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
3039
|
-
|
|
3039
|
+
_chunkXJCGIWZCjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
|
|
3040
3040
|
"utf8"
|
|
3041
3041
|
);
|
|
3042
3042
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -3047,7 +3047,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
3047
3047
|
if (distSrc.startsWith("/")) {
|
|
3048
3048
|
distSrc = distSrc.substring(1);
|
|
3049
3049
|
}
|
|
3050
|
-
packageJson.source ??= `${
|
|
3050
|
+
packageJson.source ??= `${_chunkXJCGIWZCjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
3051
3051
|
}
|
|
3052
3052
|
packageJson.files ??= ["dist/**/*"];
|
|
3053
3053
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -3072,7 +3072,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
3072
3072
|
packageJson.contributors = [packageJson.author];
|
|
3073
3073
|
}
|
|
3074
3074
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
3075
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
3075
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkXJCGIWZCjs.joinPaths.call(void 0, "packages", projectName);
|
|
3076
3076
|
return packageJson;
|
|
3077
3077
|
};
|
|
3078
3078
|
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
@@ -3097,11 +3097,11 @@ var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
|
3097
3097
|
};
|
|
3098
3098
|
|
|
3099
3099
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
3100
|
-
|
|
3100
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
3101
3101
|
|
|
3102
3102
|
|
|
3103
3103
|
// ../build-tools/src/utilities/get-env.ts
|
|
3104
|
-
|
|
3104
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
3105
3105
|
var getEnv = (builder, options) => {
|
|
3106
3106
|
return {
|
|
3107
3107
|
STORM_BUILD: builder,
|
|
@@ -3116,24 +3116,21 @@ var getEnv = (builder, options) => {
|
|
|
3116
3116
|
};
|
|
3117
3117
|
|
|
3118
3118
|
// ../build-tools/src/utilities/get-file-banner.ts
|
|
3119
|
-
|
|
3119
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
3120
3120
|
|
|
3121
3121
|
// ../build-tools/src/utilities/get-out-extension.ts
|
|
3122
|
-
|
|
3122
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
3123
3123
|
|
|
3124
3124
|
// ../build-tools/src/utilities/get-project-deps.ts
|
|
3125
|
-
|
|
3125
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
3126
3126
|
|
|
3127
3127
|
// ../build-tools/src/utilities/read-nx-config.ts
|
|
3128
|
-
|
|
3128
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
3129
3129
|
|
|
3130
3130
|
|
|
3131
3131
|
|
|
3132
3132
|
// ../build-tools/src/utilities/task-graph.ts
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3133
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
3137
3134
|
var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
3138
3135
|
|
|
3139
3136
|
// ../tsdown/src/build.ts
|
|
@@ -3143,14 +3140,14 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
|
3143
3140
|
var _tsdown = require('tsdown');
|
|
3144
3141
|
|
|
3145
3142
|
// ../tsdown/src/clean.ts
|
|
3146
|
-
|
|
3143
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
3147
3144
|
|
|
3148
3145
|
async function cleanDirectories(name = "TSDown", directory, config) {
|
|
3149
3146
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
3150
3147
|
}
|
|
3151
3148
|
|
|
3152
3149
|
// ../tsdown/src/config.ts
|
|
3153
|
-
|
|
3150
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
3154
3151
|
function getDefaultOptions(config) {
|
|
3155
3152
|
return {
|
|
3156
3153
|
entry: ["./src/*.ts"],
|
|
@@ -3193,7 +3190,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3193
3190
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
3194
3191
|
exitOnError: true
|
|
3195
3192
|
});
|
|
3196
|
-
const projectJsonPath =
|
|
3193
|
+
const projectJsonPath = _chunkXJCGIWZCjs.joinPaths.call(void 0,
|
|
3197
3194
|
workspaceRoot2,
|
|
3198
3195
|
options.projectRoot,
|
|
3199
3196
|
"project.json"
|
|
@@ -3210,7 +3207,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3210
3207
|
"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."
|
|
3211
3208
|
);
|
|
3212
3209
|
}
|
|
3213
|
-
const packageJsonPath =
|
|
3210
|
+
const packageJsonPath = _chunkXJCGIWZCjs.joinPaths.call(void 0,
|
|
3214
3211
|
workspaceRoot2,
|
|
3215
3212
|
options.projectRoot,
|
|
3216
3213
|
"package.json"
|
|
@@ -3219,13 +3216,13 @@ var resolveOptions = async (userOptions) => {
|
|
|
3219
3216
|
throw new Error("Cannot find package.json configuration");
|
|
3220
3217
|
}
|
|
3221
3218
|
const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
|
|
3222
|
-
const sourceRoot = projectJson.sourceRoot ||
|
|
3219
|
+
const sourceRoot = projectJson.sourceRoot || _chunkXJCGIWZCjs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
3223
3220
|
const result = {
|
|
3224
3221
|
name: projectName,
|
|
3225
3222
|
mode: "production",
|
|
3226
3223
|
target: DEFAULT_TARGET,
|
|
3227
3224
|
generatePackageJson: true,
|
|
3228
|
-
outDir:
|
|
3225
|
+
outDir: _chunkXJCGIWZCjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
3229
3226
|
minify: !debug,
|
|
3230
3227
|
plugins: [],
|
|
3231
3228
|
assets: [],
|
|
@@ -3236,12 +3233,12 @@ var resolveOptions = async (userOptions) => {
|
|
|
3236
3233
|
clean: false,
|
|
3237
3234
|
fixedExtension: true,
|
|
3238
3235
|
nodeProtocol: true,
|
|
3239
|
-
tsconfig:
|
|
3236
|
+
tsconfig: _chunkXJCGIWZCjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
|
|
3240
3237
|
debug,
|
|
3241
3238
|
sourceRoot,
|
|
3242
3239
|
cwd: workspaceConfig.workspaceRoot,
|
|
3243
3240
|
entry: {
|
|
3244
|
-
["index"]:
|
|
3241
|
+
["index"]: _chunkXJCGIWZCjs.joinPaths.call(void 0, sourceRoot, "index.ts")
|
|
3245
3242
|
},
|
|
3246
3243
|
workspace: true,
|
|
3247
3244
|
...options,
|
|
@@ -3260,15 +3257,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
3260
3257
|
return result;
|
|
3261
3258
|
};
|
|
3262
3259
|
async function generatePackageJson(options) {
|
|
3263
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
3260
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkXJCGIWZCjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
3264
3261
|
writeDebug(" \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
3265
3262
|
const stopwatch = getStopwatch("Write package.json file");
|
|
3266
|
-
const packageJsonPath =
|
|
3263
|
+
const packageJsonPath = _chunkXJCGIWZCjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
3267
3264
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
3268
3265
|
throw new Error("Cannot find package.json configuration");
|
|
3269
3266
|
}
|
|
3270
3267
|
const packageJsonFile = await _promises2.default.readFile(
|
|
3271
|
-
|
|
3268
|
+
_chunkXJCGIWZCjs.joinPaths.call(void 0,
|
|
3272
3269
|
options.workspaceConfig.workspaceRoot,
|
|
3273
3270
|
options.projectRoot,
|
|
3274
3271
|
"package.json"
|
|
@@ -3330,7 +3327,7 @@ async function generatePackageJson(options) {
|
|
|
3330
3327
|
},
|
|
3331
3328
|
packageJson.exports
|
|
3332
3329
|
);
|
|
3333
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
3330
|
+
await _devkit.writeJsonFile.call(void 0, _chunkXJCGIWZCjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
3334
3331
|
stopwatch();
|
|
3335
3332
|
}
|
|
3336
3333
|
return options;
|
|
@@ -3463,7 +3460,7 @@ var executor_default9 = withRunExecutor(
|
|
|
3463
3460
|
);
|
|
3464
3461
|
|
|
3465
3462
|
// ../workspace-tools/src/executors/typia/executor.ts
|
|
3466
|
-
|
|
3463
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
3467
3464
|
var _fsextra = require('fs-extra');
|
|
3468
3465
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
3469
3466
|
async function typiaExecutorFn(options, _, config) {
|
|
@@ -3503,7 +3500,7 @@ var executor_default10 = withRunExecutor(
|
|
|
3503
3500
|
);
|
|
3504
3501
|
|
|
3505
3502
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
3506
|
-
|
|
3503
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
3507
3504
|
|
|
3508
3505
|
|
|
3509
3506
|
async function unbuildExecutorFn(options, context, config) {
|
|
@@ -3524,7 +3521,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3524
3521
|
);
|
|
3525
3522
|
}
|
|
3526
3523
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3527
|
-
fsCache: config.skipCache ? false :
|
|
3524
|
+
fsCache: config.skipCache ? false : _chunkXJCGIWZCjs.joinPaths.call(void 0,
|
|
3528
3525
|
config.workspaceRoot,
|
|
3529
3526
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3530
3527
|
"jiti"
|
|
@@ -3546,7 +3543,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3546
3543
|
{
|
|
3547
3544
|
stubOptions: {
|
|
3548
3545
|
jiti: {
|
|
3549
|
-
fsCache: config.skipCache ? false :
|
|
3546
|
+
fsCache: config.skipCache ? false : _chunkXJCGIWZCjs.joinPaths.call(void 0,
|
|
3550
3547
|
config.workspaceRoot,
|
|
3551
3548
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3552
3549
|
"jiti"
|
|
@@ -3595,10 +3592,10 @@ var executor_default11 = withRunExecutor(
|
|
|
3595
3592
|
);
|
|
3596
3593
|
|
|
3597
3594
|
// ../workspace-tools/generators.ts
|
|
3598
|
-
|
|
3595
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
3599
3596
|
|
|
3600
3597
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
3601
|
-
|
|
3598
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
3602
3599
|
|
|
3603
3600
|
|
|
3604
3601
|
|
|
@@ -3607,7 +3604,7 @@ _chunkN3RNQQ6Mjs.init_cjs_shims.call(void 0, );
|
|
|
3607
3604
|
|
|
3608
3605
|
|
|
3609
3606
|
// ../workspace-tools/src/base/base-generator.ts
|
|
3610
|
-
|
|
3607
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
3611
3608
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
3612
3609
|
skipReadingConfig: false
|
|
3613
3610
|
}) => async (tree, _options) => {
|
|
@@ -3694,7 +3691,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
3694
3691
|
};
|
|
3695
3692
|
|
|
3696
3693
|
// ../workspace-tools/src/base/typescript-library-generator.ts
|
|
3697
|
-
|
|
3694
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
3698
3695
|
|
|
3699
3696
|
|
|
3700
3697
|
|
|
@@ -3714,7 +3711,7 @@ var _internal3 = require('@nx/devkit/internal');
|
|
|
3714
3711
|
var _js = require('@nx/js');
|
|
3715
3712
|
|
|
3716
3713
|
// ../workspace-tools/src/utils/versions.ts
|
|
3717
|
-
|
|
3714
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
3718
3715
|
var typesNodeVersion = "20.9.0";
|
|
3719
3716
|
var nxVersion = "^18.0.4";
|
|
3720
3717
|
var nodeVersion = "20.11.0";
|
|
@@ -3747,16 +3744,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3747
3744
|
const projectConfig = {
|
|
3748
3745
|
root: normalized.directory,
|
|
3749
3746
|
projectType: "library",
|
|
3750
|
-
sourceRoot:
|
|
3747
|
+
sourceRoot: _chunkXJCGIWZCjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
3751
3748
|
targets: {
|
|
3752
3749
|
build: {
|
|
3753
3750
|
executor: options.buildExecutor,
|
|
3754
3751
|
outputs: ["{options.outputPath}"],
|
|
3755
3752
|
options: {
|
|
3756
|
-
entry: [
|
|
3753
|
+
entry: [_chunkXJCGIWZCjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
|
|
3757
3754
|
outputPath: getOutputPath(normalized),
|
|
3758
|
-
tsconfig:
|
|
3759
|
-
project:
|
|
3755
|
+
tsconfig: _chunkXJCGIWZCjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
3756
|
+
project: _chunkXJCGIWZCjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
3760
3757
|
defaultConfiguration: "production",
|
|
3761
3758
|
platform: "neutral",
|
|
3762
3759
|
assets: [
|
|
@@ -3813,7 +3810,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3813
3810
|
if (!normalized.importPath) {
|
|
3814
3811
|
normalized.importPath = normalized.name;
|
|
3815
3812
|
}
|
|
3816
|
-
const packageJsonPath =
|
|
3813
|
+
const packageJsonPath = _chunkXJCGIWZCjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
3817
3814
|
if (tree.exists(packageJsonPath)) {
|
|
3818
3815
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
3819
3816
|
if (!normalized.importPath) {
|
|
@@ -3899,14 +3896,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3899
3896
|
});
|
|
3900
3897
|
}
|
|
3901
3898
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
3902
|
-
|
|
3899
|
+
_chunkXJCGIWZCjs.joinPaths.call(void 0,
|
|
3903
3900
|
normalized.projectRoot,
|
|
3904
3901
|
"./src",
|
|
3905
3902
|
`index.${normalized.js ? "js" : "ts"}`
|
|
3906
3903
|
)
|
|
3907
3904
|
]);
|
|
3908
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
3909
|
-
|
|
3905
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkXJCGIWZCjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
3906
|
+
_chunkXJCGIWZCjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
3910
3907
|
]);
|
|
3911
3908
|
if (tree.exists("package.json")) {
|
|
3912
3909
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -3917,7 +3914,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3917
3914
|
description = packageJson.description;
|
|
3918
3915
|
}
|
|
3919
3916
|
}
|
|
3920
|
-
const tsconfigPath =
|
|
3917
|
+
const tsconfigPath = _chunkXJCGIWZCjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
3921
3918
|
if (tree.exists(tsconfigPath)) {
|
|
3922
3919
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
3923
3920
|
json.composite ??= true;
|
|
@@ -3945,7 +3942,7 @@ function getOutputPath(options) {
|
|
|
3945
3942
|
} else {
|
|
3946
3943
|
parts.push(options.projectRoot);
|
|
3947
3944
|
}
|
|
3948
|
-
return
|
|
3945
|
+
return _chunkXJCGIWZCjs.joinPaths.call(void 0, ...parts);
|
|
3949
3946
|
}
|
|
3950
3947
|
function createProjectTsConfigJson(tree, options) {
|
|
3951
3948
|
const tsconfig = {
|
|
@@ -3953,7 +3950,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
3953
3950
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _223 => _223.tsconfigOptions]), () => ( {})),
|
|
3954
3951
|
compilerOptions: {
|
|
3955
3952
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
3956
|
-
outDir:
|
|
3953
|
+
outDir: _chunkXJCGIWZCjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
3957
3954
|
noEmit: true,
|
|
3958
3955
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _224 => _224.tsconfigOptions, 'optionalAccess', _225 => _225.compilerOptions]), () => ( {}))
|
|
3959
3956
|
},
|
|
@@ -3971,7 +3968,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
3971
3968
|
"src/**/*.test.ts"
|
|
3972
3969
|
]
|
|
3973
3970
|
};
|
|
3974
|
-
_devkit.writeJson.call(void 0, tree,
|
|
3971
|
+
_devkit.writeJson.call(void 0, tree, _chunkXJCGIWZCjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
3975
3972
|
}
|
|
3976
3973
|
async function normalizeOptions(tree, options, config) {
|
|
3977
3974
|
let importPath = options.importPath;
|
|
@@ -4036,7 +4033,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
4036
4033
|
|
|
4037
4034
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
4038
4035
|
async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
4039
|
-
const filesDir =
|
|
4036
|
+
const filesDir = _chunkXJCGIWZCjs.joinPaths.call(void 0,
|
|
4040
4037
|
__dirname,
|
|
4041
4038
|
"src",
|
|
4042
4039
|
"generators",
|
|
@@ -4116,7 +4113,7 @@ var generator_default = withRunGenerator(
|
|
|
4116
4113
|
);
|
|
4117
4114
|
|
|
4118
4115
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
4119
|
-
|
|
4116
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
4120
4117
|
|
|
4121
4118
|
var _zod2 = require('zod'); var z2 = _interopRequireWildcard(_zod2);
|
|
4122
4119
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
@@ -4173,7 +4170,7 @@ var generator_default2 = withRunGenerator(
|
|
|
4173
4170
|
);
|
|
4174
4171
|
|
|
4175
4172
|
// ../workspace-tools/src/generators/init/init.ts
|
|
4176
|
-
|
|
4173
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
4177
4174
|
|
|
4178
4175
|
|
|
4179
4176
|
|
|
@@ -4201,7 +4198,7 @@ async function initGenerator(tree, schema) {
|
|
|
4201
4198
|
}
|
|
4202
4199
|
|
|
4203
4200
|
// ../workspace-tools/src/generators/neutral-library/generator.ts
|
|
4204
|
-
|
|
4201
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
4205
4202
|
|
|
4206
4203
|
|
|
4207
4204
|
|
|
@@ -4209,7 +4206,7 @@ _chunkN3RNQQ6Mjs.init_cjs_shims.call(void 0, );
|
|
|
4209
4206
|
|
|
4210
4207
|
|
|
4211
4208
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
4212
|
-
const filesDir =
|
|
4209
|
+
const filesDir = _chunkXJCGIWZCjs.joinPaths.call(void 0,
|
|
4213
4210
|
__dirname,
|
|
4214
4211
|
"src",
|
|
4215
4212
|
"generators",
|
|
@@ -4261,7 +4258,7 @@ var generator_default3 = withRunGenerator(
|
|
|
4261
4258
|
);
|
|
4262
4259
|
|
|
4263
4260
|
// ../workspace-tools/src/generators/node-library/generator.ts
|
|
4264
|
-
|
|
4261
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
4265
4262
|
|
|
4266
4263
|
|
|
4267
4264
|
|
|
@@ -4269,7 +4266,7 @@ _chunkN3RNQQ6Mjs.init_cjs_shims.call(void 0, );
|
|
|
4269
4266
|
|
|
4270
4267
|
|
|
4271
4268
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
4272
|
-
const filesDir =
|
|
4269
|
+
const filesDir = _chunkXJCGIWZCjs.joinPaths.call(void 0,
|
|
4273
4270
|
__dirname,
|
|
4274
4271
|
"src",
|
|
4275
4272
|
"generators",
|
|
@@ -4323,7 +4320,7 @@ var generator_default4 = withRunGenerator(
|
|
|
4323
4320
|
);
|
|
4324
4321
|
|
|
4325
4322
|
// ../workspace-tools/src/generators/preset/generator.ts
|
|
4326
|
-
|
|
4323
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
4327
4324
|
|
|
4328
4325
|
|
|
4329
4326
|
|
|
@@ -4336,7 +4333,7 @@ _chunkN3RNQQ6Mjs.init_cjs_shims.call(void 0, );
|
|
|
4336
4333
|
|
|
4337
4334
|
|
|
4338
4335
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
4339
|
-
|
|
4336
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
4340
4337
|
|
|
4341
4338
|
|
|
4342
4339
|
|
|
@@ -4611,10 +4608,10 @@ var generator_default5 = withRunGenerator(
|
|
|
4611
4608
|
);
|
|
4612
4609
|
|
|
4613
4610
|
// ../workspace-tools/src/base/index.ts
|
|
4614
|
-
|
|
4611
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
4615
4612
|
|
|
4616
4613
|
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
4617
|
-
|
|
4614
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
4618
4615
|
var _untyped = require('untyped');
|
|
4619
4616
|
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4620
4617
|
$schema: {
|
|
@@ -4633,7 +4630,7 @@ var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4633
4630
|
});
|
|
4634
4631
|
|
|
4635
4632
|
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
4636
|
-
|
|
4633
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
4637
4634
|
|
|
4638
4635
|
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4639
4636
|
$schema: {
|
|
@@ -4651,7 +4648,7 @@ var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4651
4648
|
});
|
|
4652
4649
|
|
|
4653
4650
|
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
4654
|
-
|
|
4651
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
4655
4652
|
|
|
4656
4653
|
var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4657
4654
|
...base_executor_untyped_default,
|
|
@@ -4724,7 +4721,7 @@ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void
|
|
|
4724
4721
|
});
|
|
4725
4722
|
|
|
4726
4723
|
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
4727
|
-
|
|
4724
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
4728
4725
|
|
|
4729
4726
|
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4730
4727
|
...base_executor_untyped_default,
|
|
@@ -4876,7 +4873,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
4876
4873
|
});
|
|
4877
4874
|
|
|
4878
4875
|
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
4879
|
-
|
|
4876
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
4880
4877
|
|
|
4881
4878
|
var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4882
4879
|
...base_generator_untyped_default,
|
|
@@ -4982,45 +4979,45 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
|
|
|
4982
4979
|
});
|
|
4983
4980
|
|
|
4984
4981
|
// ../workspace-tools/src/release/index.ts
|
|
4985
|
-
|
|
4982
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
4986
4983
|
|
|
4987
4984
|
// ../workspace-tools/src/release/js-version-actions.ts
|
|
4988
|
-
|
|
4985
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
4989
4986
|
var _versionactions = require('@nx/js/src/release/version-actions'); var _versionactions2 = _interopRequireDefault(_versionactions);
|
|
4990
4987
|
|
|
4991
4988
|
// ../workspace-tools/src/release/rust-version-actions.ts
|
|
4992
|
-
|
|
4989
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
4993
4990
|
|
|
4994
4991
|
|
|
4995
4992
|
|
|
4996
4993
|
var _release = require('nx/release');
|
|
4997
4994
|
|
|
4998
4995
|
// ../workspace-tools/src/utils/registry-helpers.ts
|
|
4999
|
-
|
|
4996
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
5000
4997
|
|
|
5001
4998
|
|
|
5002
4999
|
// ../workspace-tools/src/types.ts
|
|
5003
|
-
|
|
5000
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
5004
5001
|
|
|
5005
5002
|
// ../package-constants/src/types.ts
|
|
5006
|
-
|
|
5003
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
5007
5004
|
|
|
5008
5005
|
// ../workspace-tools/src/utils/index.ts
|
|
5009
|
-
|
|
5006
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
5010
5007
|
|
|
5011
5008
|
// ../workspace-tools/src/utils/apply-workspace-tokens.ts
|
|
5012
|
-
|
|
5009
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
5013
5010
|
|
|
5014
5011
|
// ../workspace-tools/src/utils/create-cli-options.ts
|
|
5015
|
-
|
|
5012
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
5016
5013
|
|
|
5017
5014
|
|
|
5018
5015
|
// ../workspace-tools/src/utils/get-project-configurations.ts
|
|
5019
|
-
|
|
5016
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
5020
5017
|
var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
|
|
5021
5018
|
|
|
5022
5019
|
// ../workspace-tools/src/utils/nx-json.ts
|
|
5023
|
-
|
|
5020
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
5024
5021
|
|
|
5025
5022
|
// ../workspace-tools/config/recommended.json
|
|
5026
5023
|
var recommended_default = {
|
|
@@ -5269,7 +5266,7 @@ var NAMED_INPUTS = {
|
|
|
5269
5266
|
var RELEASE = recommended_default.release;
|
|
5270
5267
|
|
|
5271
5268
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
5272
|
-
|
|
5269
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
5273
5270
|
|
|
5274
5271
|
|
|
5275
5272
|
|
|
@@ -5278,7 +5275,7 @@ _chunkN3RNQQ6Mjs.init_cjs_shims.call(void 0, );
|
|
|
5278
5275
|
|
|
5279
5276
|
|
|
5280
5277
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
5281
|
-
|
|
5278
|
+
_chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
5282
5279
|
var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
|
|
5283
5280
|
|
|
5284
5281
|
// src/generators/init/generator.ts
|