@storm-software/projen 0.21.297 → 0.21.298
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 +8 -0
- package/README.md +1 -1
- package/dist/{chunk-4ZRME7GX.mjs → chunk-6IWOPND7.mjs} +1 -1
- package/dist/{chunk-IH3SBOOH.mjs → chunk-ASNY6DQK.mjs} +2 -2
- package/dist/chunk-LAQ4ZRXD.js +6 -0
- package/dist/{chunk-2BRDLJ27.mjs → chunk-MDCKEFN6.mjs} +2 -2
- package/dist/{chunk-ZGGCPWWP.js → chunk-MRQPH4TS.js} +181 -181
- package/dist/{chunk-VLTEJM5U.mjs → chunk-OROHDN6K.mjs} +1 -1
- package/dist/{chunk-CB47RORS.js → chunk-QJLTPXN3.js} +2 -2
- package/dist/{chunk-W3Y2DCBY.js → chunk-RIEN43PK.js} +3 -3
- package/dist/{chunk-3NAL2DGW.mjs → chunk-RTVWGBRW.mjs} +1 -1
- package/dist/{chunk-XJCGIWZC.js → chunk-VHJJFFIX.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 +5 -5
- package/dist/chunk-TC3OXYIA.js +0 -6
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkVHJJFFIXjs = require('./chunk-VHJJFFIX.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkQJLTPXN3js = require('./chunk-QJLTPXN3.js');
|
|
10
10
|
|
|
11
11
|
// src/generators/init/generator.ts
|
|
12
|
-
|
|
12
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -18,28 +18,28 @@ _chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
|
18
18
|
var _devkit = require('@nx/devkit');
|
|
19
19
|
|
|
20
20
|
// ../workspace-tools/index.ts
|
|
21
|
-
|
|
21
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
22
22
|
|
|
23
23
|
// ../workspace-tools/executors.ts
|
|
24
|
-
|
|
24
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
25
25
|
|
|
26
26
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
27
|
-
|
|
27
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
28
28
|
|
|
29
29
|
// ../workspace-tools/src/base/base-executor.ts
|
|
30
|
-
|
|
30
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
31
31
|
|
|
32
32
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
33
|
-
|
|
33
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
174
174
|
|
|
175
175
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
176
|
-
|
|
176
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
436
436
|
|
|
437
437
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
438
|
-
|
|
438
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
439
439
|
|
|
440
440
|
// ../config-tools/src/utilities/find-up.ts
|
|
441
|
-
|
|
441
|
+
_chunkQJLTPXN3js.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 _chunkVHJJFFIXjs.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 _chunkVHJJFFIXjs.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
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
610
610
|
|
|
611
611
|
// ../config/src/index.ts
|
|
612
|
-
|
|
612
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
613
613
|
|
|
614
614
|
// ../config/src/constants.ts
|
|
615
|
-
|
|
615
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
635
635
|
|
|
636
636
|
// ../config/src/schema.ts
|
|
637
|
-
|
|
637
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkVHJJFFIXjs.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
|
+
_chunkQJLTPXN3js.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 : _chunkVHJJFFIXjs.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 : _chunkVHJJFFIXjs.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
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
1404
1404
|
|
|
1405
1405
|
|
|
1406
1406
|
|
|
1407
1407
|
// ../config-tools/src/env/get-env.ts
|
|
1408
|
-
|
|
1408
|
+
_chunkQJLTPXN3js.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`] ? _chunkVHJJFFIXjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_CONFIG_FILE`]) : void 0,
|
|
1471
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkVHJJFFIXjs.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`] ? _chunkVHJJFFIXjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkVHJJFFIXjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
1474
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkVHJJFFIXjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkVHJJFFIXjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
1475
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkVHJJFFIXjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkVHJJFFIXjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
1476
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkVHJJFFIXjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkVHJJFFIXjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
1477
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkVHJJFFIXjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkVHJJFFIXjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
1478
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkVHJJFFIXjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkVHJJFFIXjs.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
|
+
_chunkQJLTPXN3js.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`] = _chunkVHJJFFIXjs.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`] = _chunkVHJJFFIXjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1779
|
+
process.env.NX_WORKSPACE_ROOT = _chunkVHJJFFIXjs.correctPaths.call(void 0, config.workspaceRoot);
|
|
1780
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkVHJJFFIXjs.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`] = _chunkVHJJFFIXjs.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`] = _chunkVHJJFFIXjs.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`] = _chunkVHJJFFIXjs.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`] = _chunkVHJJFFIXjs.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`] = _chunkVHJJFFIXjs.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`] = _chunkVHJJFFIXjs.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, _chunkVHJJFFIXjs.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkVHJJFFIXjs.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkVHJJFFIXjs.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkVHJJFFIXjs.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.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 : _chunkVHJJFFIXjs.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
|
+
_chunkQJLTPXN3js.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 : _chunkVHJJFFIXjs.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 = _chunkVHJJFFIXjs.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]) || _chunkVHJJFFIXjs.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 = _chunkVHJJFFIXjs.correctPaths.call(void 0, options.cwd);
|
|
2577
2577
|
} else {
|
|
2578
|
-
const absoluteProjectRoot =
|
|
2579
|
-
|
|
2578
|
+
const absoluteProjectRoot = _chunkVHJJFFIXjs.correctPaths.call(void 0,
|
|
2579
|
+
_chunkVHJJFFIXjs.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 = _chunkVHJJFFIXjs.relative.call(void 0,
|
|
2584
2584
|
normalizedOptions.cwd,
|
|
2585
|
-
|
|
2586
|
-
|
|
2585
|
+
_chunkVHJJFFIXjs.correctPaths.call(void 0,
|
|
2586
|
+
_chunkVHJJFFIXjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkVHJJFFIXjs.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 = _chunkVHJJFFIXjs.relative.call(void 0,
|
|
2592
2592
|
normalizedOptions.cwd,
|
|
2593
|
-
|
|
2594
|
-
|
|
2593
|
+
_chunkVHJJFFIXjs.correctPaths.call(void 0,
|
|
2594
|
+
_chunkVHJJFFIXjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkVHJJFFIXjs.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 = _chunkVHJJFFIXjs.relative.call(void 0,
|
|
2600
2600
|
normalizedOptions.cwd,
|
|
2601
|
-
|
|
2602
|
-
|
|
2601
|
+
_chunkVHJJFFIXjs.correctPaths.call(void 0,
|
|
2602
|
+
_chunkVHJJFFIXjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkVHJJFFIXjs.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 = _chunkVHJJFFIXjs.relative.call(void 0,
|
|
2608
2608
|
normalizedOptions.cwd,
|
|
2609
|
-
|
|
2610
|
-
|
|
2609
|
+
_chunkVHJJFFIXjs.correctPaths.call(void 0,
|
|
2610
|
+
_chunkVHJJFFIXjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkVHJJFFIXjs.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
2661
2661
|
|
|
2662
2662
|
|
|
2663
2663
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
2664
|
-
|
|
2664
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
2665
2665
|
|
|
2666
2666
|
|
|
2667
2667
|
|
|
@@ -2673,10 +2673,10 @@ _chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
|
2673
2673
|
|
|
2674
2674
|
|
|
2675
2675
|
// ../workspace-tools/src/utils/project-tags.ts
|
|
2676
|
-
|
|
2676
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
2677
2677
|
|
|
2678
2678
|
// ../package-constants/src/tags.ts
|
|
2679
|
-
|
|
2679
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
2756
2756
|
|
|
2757
2757
|
|
|
2758
2758
|
|
|
@@ -2762,7 +2762,7 @@ _chunkCB47RORSjs.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
2808
2808
|
|
|
2809
2809
|
// ../tsdown/src/build.ts
|
|
2810
|
-
|
|
2810
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
2811
2811
|
|
|
2812
2812
|
|
|
2813
2813
|
|
|
@@ -2815,44 +2815,44 @@ _chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
|
2815
2815
|
|
|
2816
2816
|
|
|
2817
2817
|
// ../build-tools/src/index.ts
|
|
2818
|
-
|
|
2818
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
2819
2819
|
|
|
2820
2820
|
// ../build-tools/src/config.ts
|
|
2821
|
-
|
|
2821
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
2828
2828
|
|
|
2829
2829
|
// ../build-tools/src/plugins/analyze.ts
|
|
2830
|
-
|
|
2830
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
2831
2831
|
|
|
2832
2832
|
// ../build-tools/src/plugins/swc.ts
|
|
2833
|
-
|
|
2833
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.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
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
2845
2845
|
|
|
2846
2846
|
|
|
2847
2847
|
|
|
2848
2848
|
// ../build-tools/src/types.ts
|
|
2849
|
-
|
|
2849
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
2850
2850
|
|
|
2851
2851
|
// ../build-tools/src/utilities/index.ts
|
|
2852
|
-
|
|
2852
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
2853
2853
|
|
|
2854
2854
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
2855
|
-
|
|
2855
|
+
_chunkQJLTPXN3js.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} -> ${_chunkVHJJFFIXjs.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: ${_chunkVHJJFFIXjs.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
|
+
_chunkVHJJFFIXjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
2908
|
+
_chunkVHJJFFIXjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
2909
|
+
_chunkVHJJFFIXjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
|
|
2910
|
+
_chunkVHJJFFIXjs.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
|
+
_chunkQJLTPXN3js.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 = _chunkVHJJFFIXjs.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
|
+
_chunkVHJJFFIXjs.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 = _chunkVHJJFFIXjs.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
|
+
_chunkVHJJFFIXjs.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 ??= `${_chunkVHJJFFIXjs.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 : _chunkVHJJFFIXjs.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
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
3101
3101
|
|
|
3102
3102
|
|
|
3103
3103
|
// ../build-tools/src/utilities/get-env.ts
|
|
3104
|
-
|
|
3104
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
3105
3105
|
var getEnv = (builder, options) => {
|
|
3106
3106
|
return {
|
|
3107
3107
|
STORM_BUILD: builder,
|
|
@@ -3116,21 +3116,21 @@ var getEnv = (builder, options) => {
|
|
|
3116
3116
|
};
|
|
3117
3117
|
|
|
3118
3118
|
// ../build-tools/src/utilities/get-file-banner.ts
|
|
3119
|
-
|
|
3119
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
3120
3120
|
|
|
3121
3121
|
// ../build-tools/src/utilities/get-out-extension.ts
|
|
3122
|
-
|
|
3122
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
3123
3123
|
|
|
3124
3124
|
// ../build-tools/src/utilities/get-project-deps.ts
|
|
3125
|
-
|
|
3125
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
3126
3126
|
|
|
3127
3127
|
// ../build-tools/src/utilities/read-nx-config.ts
|
|
3128
|
-
|
|
3128
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
3129
3129
|
|
|
3130
3130
|
|
|
3131
3131
|
|
|
3132
3132
|
// ../build-tools/src/utilities/task-graph.ts
|
|
3133
|
-
|
|
3133
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
3134
3134
|
var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
3135
3135
|
|
|
3136
3136
|
// ../tsdown/src/build.ts
|
|
@@ -3140,14 +3140,14 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
|
|
|
3140
3140
|
var _tsdown = require('tsdown');
|
|
3141
3141
|
|
|
3142
3142
|
// ../tsdown/src/clean.ts
|
|
3143
|
-
|
|
3143
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
3144
3144
|
|
|
3145
3145
|
async function cleanDirectories(name = "TSDown", directory, config) {
|
|
3146
3146
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
3147
3147
|
}
|
|
3148
3148
|
|
|
3149
3149
|
// ../tsdown/src/config.ts
|
|
3150
|
-
|
|
3150
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
3151
3151
|
function getDefaultOptions(config) {
|
|
3152
3152
|
return {
|
|
3153
3153
|
entry: ["./src/*.ts"],
|
|
@@ -3190,7 +3190,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3190
3190
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
3191
3191
|
exitOnError: true
|
|
3192
3192
|
});
|
|
3193
|
-
const projectJsonPath =
|
|
3193
|
+
const projectJsonPath = _chunkVHJJFFIXjs.joinPaths.call(void 0,
|
|
3194
3194
|
workspaceRoot2,
|
|
3195
3195
|
options.projectRoot,
|
|
3196
3196
|
"project.json"
|
|
@@ -3207,7 +3207,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3207
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."
|
|
3208
3208
|
);
|
|
3209
3209
|
}
|
|
3210
|
-
const packageJsonPath =
|
|
3210
|
+
const packageJsonPath = _chunkVHJJFFIXjs.joinPaths.call(void 0,
|
|
3211
3211
|
workspaceRoot2,
|
|
3212
3212
|
options.projectRoot,
|
|
3213
3213
|
"package.json"
|
|
@@ -3216,13 +3216,13 @@ var resolveOptions = async (userOptions) => {
|
|
|
3216
3216
|
throw new Error("Cannot find package.json configuration");
|
|
3217
3217
|
}
|
|
3218
3218
|
const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
|
|
3219
|
-
const sourceRoot = projectJson.sourceRoot ||
|
|
3219
|
+
const sourceRoot = projectJson.sourceRoot || _chunkVHJJFFIXjs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
3220
3220
|
const result = {
|
|
3221
3221
|
name: projectName,
|
|
3222
3222
|
mode: "production",
|
|
3223
3223
|
target: DEFAULT_TARGET,
|
|
3224
3224
|
generatePackageJson: true,
|
|
3225
|
-
outDir:
|
|
3225
|
+
outDir: _chunkVHJJFFIXjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
3226
3226
|
minify: !debug,
|
|
3227
3227
|
plugins: [],
|
|
3228
3228
|
assets: [],
|
|
@@ -3233,12 +3233,12 @@ var resolveOptions = async (userOptions) => {
|
|
|
3233
3233
|
clean: false,
|
|
3234
3234
|
fixedExtension: true,
|
|
3235
3235
|
nodeProtocol: true,
|
|
3236
|
-
tsconfig:
|
|
3236
|
+
tsconfig: _chunkVHJJFFIXjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
|
|
3237
3237
|
debug,
|
|
3238
3238
|
sourceRoot,
|
|
3239
3239
|
cwd: workspaceConfig.workspaceRoot,
|
|
3240
3240
|
entry: {
|
|
3241
|
-
["index"]:
|
|
3241
|
+
["index"]: _chunkVHJJFFIXjs.joinPaths.call(void 0, sourceRoot, "index.ts")
|
|
3242
3242
|
},
|
|
3243
3243
|
workspace: true,
|
|
3244
3244
|
...options,
|
|
@@ -3257,15 +3257,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
3257
3257
|
return result;
|
|
3258
3258
|
};
|
|
3259
3259
|
async function generatePackageJson(options) {
|
|
3260
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
3260
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkVHJJFFIXjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
3261
3261
|
writeDebug(" \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
3262
3262
|
const stopwatch = getStopwatch("Write package.json file");
|
|
3263
|
-
const packageJsonPath =
|
|
3263
|
+
const packageJsonPath = _chunkVHJJFFIXjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
3264
3264
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
3265
3265
|
throw new Error("Cannot find package.json configuration");
|
|
3266
3266
|
}
|
|
3267
3267
|
const packageJsonFile = await _promises2.default.readFile(
|
|
3268
|
-
|
|
3268
|
+
_chunkVHJJFFIXjs.joinPaths.call(void 0,
|
|
3269
3269
|
options.workspaceConfig.workspaceRoot,
|
|
3270
3270
|
options.projectRoot,
|
|
3271
3271
|
"package.json"
|
|
@@ -3327,7 +3327,7 @@ async function generatePackageJson(options) {
|
|
|
3327
3327
|
},
|
|
3328
3328
|
packageJson.exports
|
|
3329
3329
|
);
|
|
3330
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
3330
|
+
await _devkit.writeJsonFile.call(void 0, _chunkVHJJFFIXjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
3331
3331
|
stopwatch();
|
|
3332
3332
|
}
|
|
3333
3333
|
return options;
|
|
@@ -3460,7 +3460,7 @@ var executor_default9 = withRunExecutor(
|
|
|
3460
3460
|
);
|
|
3461
3461
|
|
|
3462
3462
|
// ../workspace-tools/src/executors/typia/executor.ts
|
|
3463
|
-
|
|
3463
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
3464
3464
|
var _fsextra = require('fs-extra');
|
|
3465
3465
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
3466
3466
|
async function typiaExecutorFn(options, _, config) {
|
|
@@ -3500,7 +3500,7 @@ var executor_default10 = withRunExecutor(
|
|
|
3500
3500
|
);
|
|
3501
3501
|
|
|
3502
3502
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
3503
|
-
|
|
3503
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
3504
3504
|
|
|
3505
3505
|
|
|
3506
3506
|
async function unbuildExecutorFn(options, context, config) {
|
|
@@ -3521,7 +3521,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3521
3521
|
);
|
|
3522
3522
|
}
|
|
3523
3523
|
const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
|
|
3524
|
-
fsCache: config.skipCache ? false :
|
|
3524
|
+
fsCache: config.skipCache ? false : _chunkVHJJFFIXjs.joinPaths.call(void 0,
|
|
3525
3525
|
config.workspaceRoot,
|
|
3526
3526
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3527
3527
|
"jiti"
|
|
@@ -3543,7 +3543,7 @@ async function unbuildExecutorFn(options, context, config) {
|
|
|
3543
3543
|
{
|
|
3544
3544
|
stubOptions: {
|
|
3545
3545
|
jiti: {
|
|
3546
|
-
fsCache: config.skipCache ? false :
|
|
3546
|
+
fsCache: config.skipCache ? false : _chunkVHJJFFIXjs.joinPaths.call(void 0,
|
|
3547
3547
|
config.workspaceRoot,
|
|
3548
3548
|
config.directories.cache || "node_modules/.cache/storm",
|
|
3549
3549
|
"jiti"
|
|
@@ -3592,10 +3592,10 @@ var executor_default11 = withRunExecutor(
|
|
|
3592
3592
|
);
|
|
3593
3593
|
|
|
3594
3594
|
// ../workspace-tools/generators.ts
|
|
3595
|
-
|
|
3595
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
3596
3596
|
|
|
3597
3597
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
3598
|
-
|
|
3598
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
3599
3599
|
|
|
3600
3600
|
|
|
3601
3601
|
|
|
@@ -3604,7 +3604,7 @@ _chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
|
3604
3604
|
|
|
3605
3605
|
|
|
3606
3606
|
// ../workspace-tools/src/base/base-generator.ts
|
|
3607
|
-
|
|
3607
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
3608
3608
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
3609
3609
|
skipReadingConfig: false
|
|
3610
3610
|
}) => async (tree, _options) => {
|
|
@@ -3691,7 +3691,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
3691
3691
|
};
|
|
3692
3692
|
|
|
3693
3693
|
// ../workspace-tools/src/base/typescript-library-generator.ts
|
|
3694
|
-
|
|
3694
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
3695
3695
|
|
|
3696
3696
|
|
|
3697
3697
|
|
|
@@ -3711,7 +3711,7 @@ var _internal3 = require('@nx/devkit/internal');
|
|
|
3711
3711
|
var _js = require('@nx/js');
|
|
3712
3712
|
|
|
3713
3713
|
// ../workspace-tools/src/utils/versions.ts
|
|
3714
|
-
|
|
3714
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
3715
3715
|
var typesNodeVersion = "20.9.0";
|
|
3716
3716
|
var nxVersion = "^18.0.4";
|
|
3717
3717
|
var nodeVersion = "20.11.0";
|
|
@@ -3744,16 +3744,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3744
3744
|
const projectConfig = {
|
|
3745
3745
|
root: normalized.directory,
|
|
3746
3746
|
projectType: "library",
|
|
3747
|
-
sourceRoot:
|
|
3747
|
+
sourceRoot: _chunkVHJJFFIXjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
3748
3748
|
targets: {
|
|
3749
3749
|
build: {
|
|
3750
3750
|
executor: options.buildExecutor,
|
|
3751
3751
|
outputs: ["{options.outputPath}"],
|
|
3752
3752
|
options: {
|
|
3753
|
-
entry: [
|
|
3753
|
+
entry: [_chunkVHJJFFIXjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
|
|
3754
3754
|
outputPath: getOutputPath(normalized),
|
|
3755
|
-
tsconfig:
|
|
3756
|
-
project:
|
|
3755
|
+
tsconfig: _chunkVHJJFFIXjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
3756
|
+
project: _chunkVHJJFFIXjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
3757
3757
|
defaultConfiguration: "production",
|
|
3758
3758
|
platform: "neutral",
|
|
3759
3759
|
assets: [
|
|
@@ -3810,7 +3810,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3810
3810
|
if (!normalized.importPath) {
|
|
3811
3811
|
normalized.importPath = normalized.name;
|
|
3812
3812
|
}
|
|
3813
|
-
const packageJsonPath =
|
|
3813
|
+
const packageJsonPath = _chunkVHJJFFIXjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
3814
3814
|
if (tree.exists(packageJsonPath)) {
|
|
3815
3815
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
3816
3816
|
if (!normalized.importPath) {
|
|
@@ -3896,14 +3896,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3896
3896
|
});
|
|
3897
3897
|
}
|
|
3898
3898
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
3899
|
-
|
|
3899
|
+
_chunkVHJJFFIXjs.joinPaths.call(void 0,
|
|
3900
3900
|
normalized.projectRoot,
|
|
3901
3901
|
"./src",
|
|
3902
3902
|
`index.${normalized.js ? "js" : "ts"}`
|
|
3903
3903
|
)
|
|
3904
3904
|
]);
|
|
3905
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
3906
|
-
|
|
3905
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkVHJJFFIXjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
3906
|
+
_chunkVHJJFFIXjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
3907
3907
|
]);
|
|
3908
3908
|
if (tree.exists("package.json")) {
|
|
3909
3909
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -3914,7 +3914,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
|
|
|
3914
3914
|
description = packageJson.description;
|
|
3915
3915
|
}
|
|
3916
3916
|
}
|
|
3917
|
-
const tsconfigPath =
|
|
3917
|
+
const tsconfigPath = _chunkVHJJFFIXjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
3918
3918
|
if (tree.exists(tsconfigPath)) {
|
|
3919
3919
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
3920
3920
|
json.composite ??= true;
|
|
@@ -3942,7 +3942,7 @@ function getOutputPath(options) {
|
|
|
3942
3942
|
} else {
|
|
3943
3943
|
parts.push(options.projectRoot);
|
|
3944
3944
|
}
|
|
3945
|
-
return
|
|
3945
|
+
return _chunkVHJJFFIXjs.joinPaths.call(void 0, ...parts);
|
|
3946
3946
|
}
|
|
3947
3947
|
function createProjectTsConfigJson(tree, options) {
|
|
3948
3948
|
const tsconfig = {
|
|
@@ -3950,7 +3950,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
3950
3950
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _223 => _223.tsconfigOptions]), () => ( {})),
|
|
3951
3951
|
compilerOptions: {
|
|
3952
3952
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
3953
|
-
outDir:
|
|
3953
|
+
outDir: _chunkVHJJFFIXjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
3954
3954
|
noEmit: true,
|
|
3955
3955
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _224 => _224.tsconfigOptions, 'optionalAccess', _225 => _225.compilerOptions]), () => ( {}))
|
|
3956
3956
|
},
|
|
@@ -3968,7 +3968,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
3968
3968
|
"src/**/*.test.ts"
|
|
3969
3969
|
]
|
|
3970
3970
|
};
|
|
3971
|
-
_devkit.writeJson.call(void 0, tree,
|
|
3971
|
+
_devkit.writeJson.call(void 0, tree, _chunkVHJJFFIXjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
3972
3972
|
}
|
|
3973
3973
|
async function normalizeOptions(tree, options, config) {
|
|
3974
3974
|
let importPath = options.importPath;
|
|
@@ -4033,7 +4033,7 @@ async function normalizeOptions(tree, options, config) {
|
|
|
4033
4033
|
|
|
4034
4034
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
4035
4035
|
async function browserLibraryGeneratorFn(tree, schema, config) {
|
|
4036
|
-
const filesDir =
|
|
4036
|
+
const filesDir = _chunkVHJJFFIXjs.joinPaths.call(void 0,
|
|
4037
4037
|
__dirname,
|
|
4038
4038
|
"src",
|
|
4039
4039
|
"generators",
|
|
@@ -4113,7 +4113,7 @@ var generator_default = withRunGenerator(
|
|
|
4113
4113
|
);
|
|
4114
4114
|
|
|
4115
4115
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
4116
|
-
|
|
4116
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
4117
4117
|
|
|
4118
4118
|
var _zod2 = require('zod'); var z2 = _interopRequireWildcard(_zod2);
|
|
4119
4119
|
async function configSchemaGeneratorFn(tree, options, config) {
|
|
@@ -4170,7 +4170,7 @@ var generator_default2 = withRunGenerator(
|
|
|
4170
4170
|
);
|
|
4171
4171
|
|
|
4172
4172
|
// ../workspace-tools/src/generators/init/init.ts
|
|
4173
|
-
|
|
4173
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
4174
4174
|
|
|
4175
4175
|
|
|
4176
4176
|
|
|
@@ -4198,7 +4198,7 @@ async function initGenerator(tree, schema) {
|
|
|
4198
4198
|
}
|
|
4199
4199
|
|
|
4200
4200
|
// ../workspace-tools/src/generators/neutral-library/generator.ts
|
|
4201
|
-
|
|
4201
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
4202
4202
|
|
|
4203
4203
|
|
|
4204
4204
|
|
|
@@ -4206,7 +4206,7 @@ _chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
|
4206
4206
|
|
|
4207
4207
|
|
|
4208
4208
|
async function neutralLibraryGeneratorFn(tree, schema, config) {
|
|
4209
|
-
const filesDir =
|
|
4209
|
+
const filesDir = _chunkVHJJFFIXjs.joinPaths.call(void 0,
|
|
4210
4210
|
__dirname,
|
|
4211
4211
|
"src",
|
|
4212
4212
|
"generators",
|
|
@@ -4258,7 +4258,7 @@ var generator_default3 = withRunGenerator(
|
|
|
4258
4258
|
);
|
|
4259
4259
|
|
|
4260
4260
|
// ../workspace-tools/src/generators/node-library/generator.ts
|
|
4261
|
-
|
|
4261
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
4262
4262
|
|
|
4263
4263
|
|
|
4264
4264
|
|
|
@@ -4266,7 +4266,7 @@ _chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
|
4266
4266
|
|
|
4267
4267
|
|
|
4268
4268
|
async function nodeLibraryGeneratorFn(tree, schema, config) {
|
|
4269
|
-
const filesDir =
|
|
4269
|
+
const filesDir = _chunkVHJJFFIXjs.joinPaths.call(void 0,
|
|
4270
4270
|
__dirname,
|
|
4271
4271
|
"src",
|
|
4272
4272
|
"generators",
|
|
@@ -4320,7 +4320,7 @@ var generator_default4 = withRunGenerator(
|
|
|
4320
4320
|
);
|
|
4321
4321
|
|
|
4322
4322
|
// ../workspace-tools/src/generators/preset/generator.ts
|
|
4323
|
-
|
|
4323
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
4324
4324
|
|
|
4325
4325
|
|
|
4326
4326
|
|
|
@@ -4333,7 +4333,7 @@ _chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
|
4333
4333
|
|
|
4334
4334
|
|
|
4335
4335
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
4336
|
-
|
|
4336
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
4337
4337
|
|
|
4338
4338
|
|
|
4339
4339
|
|
|
@@ -4608,10 +4608,10 @@ var generator_default5 = withRunGenerator(
|
|
|
4608
4608
|
);
|
|
4609
4609
|
|
|
4610
4610
|
// ../workspace-tools/src/base/index.ts
|
|
4611
|
-
|
|
4611
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
4612
4612
|
|
|
4613
4613
|
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
4614
|
-
|
|
4614
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
4615
4615
|
var _untyped = require('untyped');
|
|
4616
4616
|
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4617
4617
|
$schema: {
|
|
@@ -4630,7 +4630,7 @@ var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4630
4630
|
});
|
|
4631
4631
|
|
|
4632
4632
|
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
4633
|
-
|
|
4633
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
4634
4634
|
|
|
4635
4635
|
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4636
4636
|
$schema: {
|
|
@@ -4648,7 +4648,7 @@ var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
4648
4648
|
});
|
|
4649
4649
|
|
|
4650
4650
|
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
4651
|
-
|
|
4651
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
4652
4652
|
|
|
4653
4653
|
var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4654
4654
|
...base_executor_untyped_default,
|
|
@@ -4721,7 +4721,7 @@ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void
|
|
|
4721
4721
|
});
|
|
4722
4722
|
|
|
4723
4723
|
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
4724
|
-
|
|
4724
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
4725
4725
|
|
|
4726
4726
|
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4727
4727
|
...base_executor_untyped_default,
|
|
@@ -4873,7 +4873,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
4873
4873
|
});
|
|
4874
4874
|
|
|
4875
4875
|
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
4876
|
-
|
|
4876
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
4877
4877
|
|
|
4878
4878
|
var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
4879
4879
|
...base_generator_untyped_default,
|
|
@@ -4979,45 +4979,45 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
|
|
|
4979
4979
|
});
|
|
4980
4980
|
|
|
4981
4981
|
// ../workspace-tools/src/release/index.ts
|
|
4982
|
-
|
|
4982
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
4983
4983
|
|
|
4984
4984
|
// ../workspace-tools/src/release/js-version-actions.ts
|
|
4985
|
-
|
|
4985
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
4986
4986
|
var _versionactions = require('@nx/js/src/release/version-actions'); var _versionactions2 = _interopRequireDefault(_versionactions);
|
|
4987
4987
|
|
|
4988
4988
|
// ../workspace-tools/src/release/rust-version-actions.ts
|
|
4989
|
-
|
|
4989
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
4990
4990
|
|
|
4991
4991
|
|
|
4992
4992
|
|
|
4993
4993
|
var _release = require('nx/release');
|
|
4994
4994
|
|
|
4995
4995
|
// ../workspace-tools/src/utils/registry-helpers.ts
|
|
4996
|
-
|
|
4996
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
4997
4997
|
|
|
4998
4998
|
|
|
4999
4999
|
// ../workspace-tools/src/types.ts
|
|
5000
|
-
|
|
5000
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
5001
5001
|
|
|
5002
5002
|
// ../package-constants/src/types.ts
|
|
5003
|
-
|
|
5003
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
5004
5004
|
|
|
5005
5005
|
// ../workspace-tools/src/utils/index.ts
|
|
5006
|
-
|
|
5006
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
5007
5007
|
|
|
5008
5008
|
// ../workspace-tools/src/utils/apply-workspace-tokens.ts
|
|
5009
|
-
|
|
5009
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
5010
5010
|
|
|
5011
5011
|
// ../workspace-tools/src/utils/create-cli-options.ts
|
|
5012
|
-
|
|
5012
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
5013
5013
|
|
|
5014
5014
|
|
|
5015
5015
|
// ../workspace-tools/src/utils/get-project-configurations.ts
|
|
5016
|
-
|
|
5016
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
5017
5017
|
var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
|
|
5018
5018
|
|
|
5019
5019
|
// ../workspace-tools/src/utils/nx-json.ts
|
|
5020
|
-
|
|
5020
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
5021
5021
|
|
|
5022
5022
|
// ../workspace-tools/config/recommended.json
|
|
5023
5023
|
var recommended_default = {
|
|
@@ -5266,7 +5266,7 @@ var NAMED_INPUTS = {
|
|
|
5266
5266
|
var RELEASE = recommended_default.release;
|
|
5267
5267
|
|
|
5268
5268
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
5269
|
-
|
|
5269
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
5270
5270
|
|
|
5271
5271
|
|
|
5272
5272
|
|
|
@@ -5275,7 +5275,7 @@ _chunkCB47RORSjs.init_cjs_shims.call(void 0, );
|
|
|
5275
5275
|
|
|
5276
5276
|
|
|
5277
5277
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
5278
|
-
|
|
5278
|
+
_chunkQJLTPXN3js.init_cjs_shims.call(void 0, );
|
|
5279
5279
|
var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
|
|
5280
5280
|
|
|
5281
5281
|
// src/generators/init/generator.ts
|