@storm-software/projen 0.20.12 → 0.20.13
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 +7 -0
- package/README.md +1 -1
- package/dist/{chunk-UNNE4KW4.js → chunk-4HCLY4LI.js} +182 -182
- package/dist/{chunk-ATD6I4O5.mjs → chunk-AFWAD22Q.mjs} +1 -1
- package/dist/{chunk-KIRRDW67.js → chunk-B7W5YQBN.js} +3 -3
- package/dist/{chunk-5W2STSVO.js → chunk-HIYOMEE3.js} +2 -2
- package/dist/{chunk-ARQAZUI7.js → chunk-HZ7RJVKL.js} +2 -2
- package/dist/{chunk-LPZRVIAG.mjs → chunk-LGYVWZIM.mjs} +2 -2
- package/dist/{chunk-UYKARK2K.mjs → chunk-RNZLXULX.mjs} +1 -1
- package/dist/chunk-RQQJKGYS.js +6 -0
- package/dist/{chunk-FHELPZ7U.mjs → chunk-ULAURI32.mjs} +2 -2
- package/dist/{chunk-VJSAEZKT.mjs → chunk-YJ22A5AT.mjs} +1 -1
- package/dist/generators.js +5 -5
- package/dist/generators.mjs +4 -4
- package/dist/index.js +10 -10
- package/dist/index.mjs +5 -5
- package/dist/src/components/index.js +3 -3
- package/dist/src/components/index.mjs +2 -2
- package/dist/src/components/nx-workspace.js +4 -4
- package/dist/src/components/nx-workspace.mjs +2 -2
- package/dist/src/generators/init/generator.js +4 -4
- package/dist/src/generators/init/generator.mjs +3 -3
- package/dist/tsup.config.js +2 -2
- package/dist/tsup.config.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-7IXF56VE.js +0 -6
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkHZ7RJVKLjs = require('./chunk-HZ7RJVKL.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkHIYOMEE3js = require('./chunk-HIYOMEE3.js');
|
|
8
8
|
|
|
9
9
|
// src/generators/init/generator.ts
|
|
10
|
-
|
|
10
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -16,27 +16,27 @@ _chunk5W2STSVOjs.init_cjs_shims.call(void 0, );
|
|
|
16
16
|
var _devkit = require('@nx/devkit');
|
|
17
17
|
|
|
18
18
|
// ../workspace-tools/index.ts
|
|
19
|
-
|
|
19
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
20
20
|
|
|
21
21
|
// ../workspace-tools/executors.ts
|
|
22
|
-
|
|
22
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
23
23
|
|
|
24
24
|
// ../workspace-tools/src/executors/cargo-build/executor.ts
|
|
25
|
-
|
|
25
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
26
26
|
|
|
27
27
|
// ../workspace-tools/src/base/base-executor.ts
|
|
28
|
-
|
|
28
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
29
29
|
|
|
30
30
|
// ../config-tools/src/config-file/get-config-file.ts
|
|
31
|
-
|
|
31
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
32
32
|
var _c12 = require('c12');
|
|
33
33
|
var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
|
|
34
34
|
|
|
35
35
|
// ../config-tools/src/logger/console.ts
|
|
36
|
-
|
|
36
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
37
37
|
|
|
38
38
|
// ../config-tools/src/types.ts
|
|
39
|
-
|
|
39
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
40
40
|
var LogLevel = {
|
|
41
41
|
SILENT: 0,
|
|
42
42
|
FATAL: 10,
|
|
@@ -61,7 +61,7 @@ var LogLevelLabel = {
|
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
// ../config-tools/src/utilities/colors.ts
|
|
64
|
-
|
|
64
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
65
65
|
var DEFAULT_COLOR_CONFIG = {
|
|
66
66
|
light: {
|
|
67
67
|
background: "#fafafa",
|
|
@@ -98,7 +98,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
98
98
|
};
|
|
99
99
|
|
|
100
100
|
// ../config-tools/src/logger/chalk.ts
|
|
101
|
-
|
|
101
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
102
102
|
var _chalk2 = require('chalk'); var _chalk3 = _interopRequireDefault(_chalk2);
|
|
103
103
|
var chalkDefault = {
|
|
104
104
|
hex: (_) => (message) => message,
|
|
@@ -132,10 +132,10 @@ var getChalk = () => {
|
|
|
132
132
|
};
|
|
133
133
|
|
|
134
134
|
// ../config-tools/src/logger/console-icons.ts
|
|
135
|
-
|
|
135
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
136
136
|
|
|
137
137
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
138
|
-
|
|
138
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
139
139
|
function isUnicodeSupported() {
|
|
140
140
|
if (process.platform !== "win32") {
|
|
141
141
|
return process.env.TERM !== "linux";
|
|
@@ -160,13 +160,13 @@ var CONSOLE_ICONS = {
|
|
|
160
160
|
};
|
|
161
161
|
|
|
162
162
|
// ../config-tools/src/logger/format-timestamp.ts
|
|
163
|
-
|
|
163
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
164
164
|
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
165
165
|
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
166
166
|
};
|
|
167
167
|
|
|
168
168
|
// ../config-tools/src/logger/get-log-level.ts
|
|
169
|
-
|
|
169
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
170
170
|
var getLogLevel = (label) => {
|
|
171
171
|
switch (label) {
|
|
172
172
|
case "all":
|
|
@@ -342,13 +342,13 @@ var _isFunction = (value) => {
|
|
|
342
342
|
};
|
|
343
343
|
|
|
344
344
|
// ../config-tools/src/utilities/apply-workspace-tokens.ts
|
|
345
|
-
|
|
345
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
346
346
|
|
|
347
347
|
// ../config-tools/src/utilities/find-workspace-root.ts
|
|
348
|
-
|
|
348
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
349
349
|
|
|
350
350
|
// ../config-tools/src/utilities/find-up.ts
|
|
351
|
-
|
|
351
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
352
352
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
353
353
|
var _path = require('path'); var path2 = _interopRequireWildcard(_path);
|
|
354
354
|
var MAX_PATH_SEARCH_DEPTH = 30;
|
|
@@ -417,11 +417,11 @@ var rootDirectories = [
|
|
|
417
417
|
];
|
|
418
418
|
function findWorkspaceRootSafe(pathInsideMonorepo) {
|
|
419
419
|
if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
|
|
420
|
-
return
|
|
420
|
+
return _chunkHZ7RJVKLjs.correctPaths.call(void 0,
|
|
421
421
|
_nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH))
|
|
422
422
|
);
|
|
423
423
|
}
|
|
424
|
-
return
|
|
424
|
+
return _chunkHZ7RJVKLjs.correctPaths.call(void 0,
|
|
425
425
|
findFolderUp(
|
|
426
426
|
_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())),
|
|
427
427
|
rootFiles,
|
|
@@ -516,13 +516,13 @@ var applyWorkspaceTokens = async (options, tokenParams, tokenizerFn) => {
|
|
|
516
516
|
};
|
|
517
517
|
|
|
518
518
|
// ../config-tools/src/utilities/get-default-config.ts
|
|
519
|
-
|
|
519
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
520
520
|
|
|
521
521
|
// ../config/src/index.ts
|
|
522
|
-
|
|
522
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
523
523
|
|
|
524
524
|
// ../config/src/constants.ts
|
|
525
|
-
|
|
525
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
526
526
|
var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
|
|
527
527
|
var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
|
|
528
528
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
@@ -541,10 +541,10 @@ var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
|
541
541
|
var STORM_DEFAULT_BANNER_ALT = "The workspace's banner image";
|
|
542
542
|
|
|
543
543
|
// ../config/src/define-config.ts
|
|
544
|
-
|
|
544
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
545
545
|
|
|
546
546
|
// ../config/src/schema.ts
|
|
547
|
-
|
|
547
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
548
548
|
var _mini = require('zod/mini'); var z = _interopRequireWildcard(_mini);
|
|
549
549
|
var schemaRegistry = z.registry();
|
|
550
550
|
var colorSchema = z.string().check(
|
|
@@ -1099,7 +1099,7 @@ schemaRegistry.add(extensionsSchema, {
|
|
|
1099
1099
|
});
|
|
1100
1100
|
|
|
1101
1101
|
// ../config/src/types.ts
|
|
1102
|
-
|
|
1102
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
1103
1103
|
var COLOR_KEYS = [
|
|
1104
1104
|
"dark",
|
|
1105
1105
|
"light",
|
|
@@ -1132,7 +1132,7 @@ async function getPackageJsonConfig(root) {
|
|
|
1132
1132
|
const workspaceRoot3 = findWorkspaceRoot(root);
|
|
1133
1133
|
if (_fs.existsSync.call(void 0, _path.join.call(void 0, workspaceRoot3, "package.json"))) {
|
|
1134
1134
|
const file = await _promises.readFile.call(void 0,
|
|
1135
|
-
|
|
1135
|
+
_chunkHZ7RJVKLjs.joinPaths.call(void 0, workspaceRoot3, "package.json"),
|
|
1136
1136
|
"utf8"
|
|
1137
1137
|
);
|
|
1138
1138
|
if (file) {
|
|
@@ -1216,7 +1216,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1216
1216
|
envName: _optionalChain([fileName, 'optionalAccess', _34 => _34.toUpperCase, 'call', _35 => _35()]),
|
|
1217
1217
|
jitiOptions: {
|
|
1218
1218
|
debug: false,
|
|
1219
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1219
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
1220
1220
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1221
1221
|
"jiti"
|
|
1222
1222
|
)
|
|
@@ -1230,7 +1230,7 @@ var getConfigFileByName = async (fileName, filePath, options = {}) => {
|
|
|
1230
1230
|
envName: _optionalChain([fileName, 'optionalAccess', _36 => _36.toUpperCase, 'call', _37 => _37()]),
|
|
1231
1231
|
jitiOptions: {
|
|
1232
1232
|
debug: false,
|
|
1233
|
-
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false :
|
|
1233
|
+
fsCache: process.env.STORM_SKIP_CACHE === "true" ? false : _chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
1234
1234
|
process.env.STORM_CACHE_DIR || "node_modules/.cache/storm",
|
|
1235
1235
|
"jiti"
|
|
1236
1236
|
)
|
|
@@ -1282,12 +1282,12 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
1282
1282
|
};
|
|
1283
1283
|
|
|
1284
1284
|
// ../config-tools/src/create-storm-config.ts
|
|
1285
|
-
|
|
1285
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
1286
1286
|
|
|
1287
1287
|
|
|
1288
1288
|
|
|
1289
1289
|
// ../config-tools/src/env/get-env.ts
|
|
1290
|
-
|
|
1290
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
1291
1291
|
var getExtensionEnv = (extensionName) => {
|
|
1292
1292
|
const prefix = `STORM_EXTENSION_${extensionName.toUpperCase()}_`;
|
|
1293
1293
|
return Object.keys(process.env).filter((key) => key.startsWith(prefix)).reduce((ret, key) => {
|
|
@@ -1349,15 +1349,15 @@ var getConfigEnv = () => {
|
|
|
1349
1349
|
support: process.env[`${prefix}SUPPORT`] || void 0,
|
|
1350
1350
|
timezone: process.env[`${prefix}TIMEZONE`] || process.env.TZ || void 0,
|
|
1351
1351
|
locale: process.env[`${prefix}LOCALE`] || process.env.LOCALE || void 0,
|
|
1352
|
-
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ?
|
|
1353
|
-
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ?
|
|
1352
|
+
configFile: process.env[`${prefix}WORKSPACE_CONFIG_FILE`] ? _chunkHZ7RJVKLjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_CONFIG_FILE`]) : void 0,
|
|
1353
|
+
workspaceRoot: process.env[`${prefix}WORKSPACE_ROOT`] ? _chunkHZ7RJVKLjs.correctPaths.call(void 0, process.env[`${prefix}WORKSPACE_ROOT`]) : void 0,
|
|
1354
1354
|
directories: {
|
|
1355
|
-
cache: process.env[`${prefix}CACHE_DIR`] ?
|
|
1356
|
-
data: process.env[`${prefix}DATA_DIR`] ?
|
|
1357
|
-
config: process.env[`${prefix}CONFIG_DIR`] ?
|
|
1358
|
-
temp: process.env[`${prefix}TEMP_DIR`] ?
|
|
1359
|
-
log: process.env[`${prefix}LOG_DIR`] ?
|
|
1360
|
-
build: process.env[`${prefix}BUILD_DIR`] ?
|
|
1355
|
+
cache: process.env[`${prefix}CACHE_DIR`] ? _chunkHZ7RJVKLjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIR`]) : process.env[`${prefix}CACHE_DIRECTORY`] ? _chunkHZ7RJVKLjs.correctPaths.call(void 0, process.env[`${prefix}CACHE_DIRECTORY`]) : void 0,
|
|
1356
|
+
data: process.env[`${prefix}DATA_DIR`] ? _chunkHZ7RJVKLjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIR`]) : process.env[`${prefix}DATA_DIRECTORY`] ? _chunkHZ7RJVKLjs.correctPaths.call(void 0, process.env[`${prefix}DATA_DIRECTORY`]) : void 0,
|
|
1357
|
+
config: process.env[`${prefix}CONFIG_DIR`] ? _chunkHZ7RJVKLjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIR`]) : process.env[`${prefix}CONFIG_DIRECTORY`] ? _chunkHZ7RJVKLjs.correctPaths.call(void 0, process.env[`${prefix}CONFIG_DIRECTORY`]) : void 0,
|
|
1358
|
+
temp: process.env[`${prefix}TEMP_DIR`] ? _chunkHZ7RJVKLjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIR`]) : process.env[`${prefix}TEMP_DIRECTORY`] ? _chunkHZ7RJVKLjs.correctPaths.call(void 0, process.env[`${prefix}TEMP_DIRECTORY`]) : void 0,
|
|
1359
|
+
log: process.env[`${prefix}LOG_DIR`] ? _chunkHZ7RJVKLjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIR`]) : process.env[`${prefix}LOG_DIRECTORY`] ? _chunkHZ7RJVKLjs.correctPaths.call(void 0, process.env[`${prefix}LOG_DIRECTORY`]) : void 0,
|
|
1360
|
+
build: process.env[`${prefix}BUILD_DIR`] ? _chunkHZ7RJVKLjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIR`]) : process.env[`${prefix}BUILD_DIRECTORY`] ? _chunkHZ7RJVKLjs.correctPaths.call(void 0, process.env[`${prefix}BUILD_DIRECTORY`]) : void 0
|
|
1361
1361
|
},
|
|
1362
1362
|
skipCache: process.env[`${prefix}SKIP_CACHE`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CACHE`]) : void 0,
|
|
1363
1363
|
mode: (_nullishCoalesce(_nullishCoalesce(process.env[`${prefix}MODE`], () => ( process.env.NODE_ENV)), () => ( process.env.ENVIRONMENT))) || void 0,
|
|
@@ -1500,7 +1500,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1500
1500
|
};
|
|
1501
1501
|
|
|
1502
1502
|
// ../config-tools/src/env/set-env.ts
|
|
1503
|
-
|
|
1503
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
1504
1504
|
var setExtensionEnv = (extensionName, extension) => {
|
|
1505
1505
|
for (const key of Object.keys(_nullishCoalesce(extension, () => ( {})))) {
|
|
1506
1506
|
if (extension[key]) {
|
|
@@ -1648,42 +1648,42 @@ var setConfigEnv = (config5) => {
|
|
|
1648
1648
|
process.env.LANG = config5.locale ? `${config5.locale.replaceAll("-", "_")}.UTF-8` : "en_US.UTF-8";
|
|
1649
1649
|
}
|
|
1650
1650
|
if (config5.configFile) {
|
|
1651
|
-
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] =
|
|
1651
|
+
process.env[`${prefix}WORKSPACE_CONFIG_FILE`] = _chunkHZ7RJVKLjs.correctPaths.call(void 0,
|
|
1652
1652
|
config5.configFile
|
|
1653
1653
|
);
|
|
1654
1654
|
}
|
|
1655
1655
|
if (config5.workspaceRoot) {
|
|
1656
|
-
process.env[`${prefix}WORKSPACE_ROOT`] =
|
|
1657
|
-
process.env.NX_WORKSPACE_ROOT =
|
|
1658
|
-
process.env.NX_WORKSPACE_ROOT_PATH =
|
|
1656
|
+
process.env[`${prefix}WORKSPACE_ROOT`] = _chunkHZ7RJVKLjs.correctPaths.call(void 0, config5.workspaceRoot);
|
|
1657
|
+
process.env.NX_WORKSPACE_ROOT = _chunkHZ7RJVKLjs.correctPaths.call(void 0, config5.workspaceRoot);
|
|
1658
|
+
process.env.NX_WORKSPACE_ROOT_PATH = _chunkHZ7RJVKLjs.correctPaths.call(void 0, config5.workspaceRoot);
|
|
1659
1659
|
}
|
|
1660
1660
|
if (config5.directories) {
|
|
1661
1661
|
if (!config5.skipCache && config5.directories.cache) {
|
|
1662
|
-
process.env[`${prefix}CACHE_DIR`] =
|
|
1662
|
+
process.env[`${prefix}CACHE_DIR`] = _chunkHZ7RJVKLjs.correctPaths.call(void 0,
|
|
1663
1663
|
config5.directories.cache
|
|
1664
1664
|
);
|
|
1665
1665
|
process.env[`${prefix}CACHE_DIRECTORY`] = process.env[`${prefix}CACHE_DIR`];
|
|
1666
1666
|
}
|
|
1667
1667
|
if (config5.directories.data) {
|
|
1668
|
-
process.env[`${prefix}DATA_DIR`] =
|
|
1668
|
+
process.env[`${prefix}DATA_DIR`] = _chunkHZ7RJVKLjs.correctPaths.call(void 0, config5.directories.data);
|
|
1669
1669
|
process.env[`${prefix}DATA_DIRECTORY`] = process.env[`${prefix}DATA_DIR`];
|
|
1670
1670
|
}
|
|
1671
1671
|
if (config5.directories.config) {
|
|
1672
|
-
process.env[`${prefix}CONFIG_DIR`] =
|
|
1672
|
+
process.env[`${prefix}CONFIG_DIR`] = _chunkHZ7RJVKLjs.correctPaths.call(void 0,
|
|
1673
1673
|
config5.directories.config
|
|
1674
1674
|
);
|
|
1675
1675
|
process.env[`${prefix}CONFIG_DIRECTORY`] = process.env[`${prefix}CONFIG_DIR`];
|
|
1676
1676
|
}
|
|
1677
1677
|
if (config5.directories.temp) {
|
|
1678
|
-
process.env[`${prefix}TEMP_DIR`] =
|
|
1678
|
+
process.env[`${prefix}TEMP_DIR`] = _chunkHZ7RJVKLjs.correctPaths.call(void 0, config5.directories.temp);
|
|
1679
1679
|
process.env[`${prefix}TEMP_DIRECTORY`] = process.env[`${prefix}TEMP_DIR`];
|
|
1680
1680
|
}
|
|
1681
1681
|
if (config5.directories.log) {
|
|
1682
|
-
process.env[`${prefix}LOG_DIR`] =
|
|
1682
|
+
process.env[`${prefix}LOG_DIR`] = _chunkHZ7RJVKLjs.correctPaths.call(void 0, config5.directories.log);
|
|
1683
1683
|
process.env[`${prefix}LOG_DIRECTORY`] = process.env[`${prefix}LOG_DIR`];
|
|
1684
1684
|
}
|
|
1685
1685
|
if (config5.directories.build) {
|
|
1686
|
-
process.env[`${prefix}BUILD_DIR`] =
|
|
1686
|
+
process.env[`${prefix}BUILD_DIR`] = _chunkHZ7RJVKLjs.correctPaths.call(void 0,
|
|
1687
1687
|
config5.directories.build
|
|
1688
1688
|
);
|
|
1689
1689
|
process.env[`${prefix}BUILD_DIRECTORY`] = process.env[`${prefix}BUILD_DIR`];
|
|
@@ -1899,7 +1899,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot3, s
|
|
|
1899
1899
|
defaultConfig
|
|
1900
1900
|
);
|
|
1901
1901
|
if (!configInput.variant) {
|
|
1902
|
-
configInput.variant = _fs.existsSync.call(void 0,
|
|
1902
|
+
configInput.variant = _fs.existsSync.call(void 0, _chunkHZ7RJVKLjs.joinPaths.call(void 0, _workspaceRoot, "nx.json")) || _fs.existsSync.call(void 0, _chunkHZ7RJVKLjs.joinPaths.call(void 0, _workspaceRoot, ".nx")) || _fs.existsSync.call(void 0, _chunkHZ7RJVKLjs.joinPaths.call(void 0, _workspaceRoot, "lerna.json")) || _fs.existsSync.call(void 0, _chunkHZ7RJVKLjs.joinPaths.call(void 0, _workspaceRoot, "turbo.json")) ? "monorepo" : "minimal";
|
|
1903
1903
|
}
|
|
1904
1904
|
try {
|
|
1905
1905
|
result = applyDefaultConfig(
|
|
@@ -1965,7 +1965,7 @@ ${formatLogMessage(config5)}`,
|
|
|
1965
1965
|
};
|
|
1966
1966
|
|
|
1967
1967
|
// ../config-tools/src/get-config.ts
|
|
1968
|
-
|
|
1968
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
1969
1969
|
function getConfig(workspaceRoot3, skipLogs = false) {
|
|
1970
1970
|
return loadStormWorkspaceConfig(workspaceRoot3, skipLogs);
|
|
1971
1971
|
}
|
|
@@ -2100,7 +2100,7 @@ var _isFunction2 = (value) => {
|
|
|
2100
2100
|
};
|
|
2101
2101
|
|
|
2102
2102
|
// ../workspace-tools/src/utils/cargo.ts
|
|
2103
|
-
|
|
2103
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2104
2104
|
|
|
2105
2105
|
|
|
2106
2106
|
|
|
@@ -2238,7 +2238,7 @@ var executor_default = withRunExecutor(
|
|
|
2238
2238
|
);
|
|
2239
2239
|
|
|
2240
2240
|
// ../workspace-tools/src/executors/cargo-check/executor.ts
|
|
2241
|
-
|
|
2241
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2242
2242
|
async function cargoCheckExecutor(options, context) {
|
|
2243
2243
|
const command = buildCargoCommand("check", options, context);
|
|
2244
2244
|
return await cargoCommand(...command);
|
|
@@ -2258,7 +2258,7 @@ var executor_default2 = withRunExecutor(
|
|
|
2258
2258
|
);
|
|
2259
2259
|
|
|
2260
2260
|
// ../workspace-tools/src/executors/cargo-clippy/executor.ts
|
|
2261
|
-
|
|
2261
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2262
2262
|
async function cargoClippyExecutor(options, context) {
|
|
2263
2263
|
const command = buildCargoCommand("clippy", options, context);
|
|
2264
2264
|
return await cargoCommand(...command);
|
|
@@ -2279,7 +2279,7 @@ var executor_default3 = withRunExecutor(
|
|
|
2279
2279
|
);
|
|
2280
2280
|
|
|
2281
2281
|
// ../workspace-tools/src/executors/cargo-doc/executor.ts
|
|
2282
|
-
|
|
2282
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2283
2283
|
async function cargoDocExecutor(options, context) {
|
|
2284
2284
|
const opts = { ...options };
|
|
2285
2285
|
opts["no-deps"] = opts.noDeps;
|
|
@@ -2309,7 +2309,7 @@ var executor_default4 = withRunExecutor(
|
|
|
2309
2309
|
);
|
|
2310
2310
|
|
|
2311
2311
|
// ../workspace-tools/src/executors/cargo-format/executor.ts
|
|
2312
|
-
|
|
2312
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2313
2313
|
async function cargoFormatExecutor(options, context) {
|
|
2314
2314
|
const command = buildCargoCommand("fmt", options, context);
|
|
2315
2315
|
return await cargoCommand(...command);
|
|
@@ -2330,7 +2330,7 @@ var executor_default5 = withRunExecutor(
|
|
|
2330
2330
|
);
|
|
2331
2331
|
|
|
2332
2332
|
// ../workspace-tools/src/executors/cargo-publish/executor.ts
|
|
2333
|
-
|
|
2333
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2334
2334
|
|
|
2335
2335
|
|
|
2336
2336
|
|
|
@@ -2338,19 +2338,19 @@ var _https = require('https'); var _https2 = _interopRequireDefault(_https);
|
|
|
2338
2338
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
2339
2339
|
|
|
2340
2340
|
// ../workspace-tools/src/executors/esbuild/executor.ts
|
|
2341
|
-
|
|
2341
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2342
2342
|
|
|
2343
2343
|
// ../esbuild/src/build.ts
|
|
2344
|
-
|
|
2344
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2345
2345
|
|
|
2346
2346
|
// ../esbuild/src/assets.ts
|
|
2347
|
-
|
|
2347
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2348
2348
|
|
|
2349
2349
|
// ../build-tools/src/index.ts
|
|
2350
|
-
|
|
2350
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2351
2351
|
|
|
2352
2352
|
// ../build-tools/src/config.ts
|
|
2353
|
-
|
|
2353
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2354
2354
|
var DEFAULT_COMPILED_BANNER = `/*****************************************
|
|
2355
2355
|
*
|
|
2356
2356
|
* \u26A1 Built by Storm Software
|
|
@@ -2362,35 +2362,35 @@ var DEFAULT_TARGET = "esnext";
|
|
|
2362
2362
|
var DEFAULT_ORGANIZATION = "storm-software";
|
|
2363
2363
|
|
|
2364
2364
|
// ../build-tools/src/plugins/index.ts
|
|
2365
|
-
|
|
2365
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2366
2366
|
|
|
2367
2367
|
// ../build-tools/src/plugins/analyze.ts
|
|
2368
|
-
|
|
2368
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2369
2369
|
|
|
2370
2370
|
// ../build-tools/src/plugins/swc.ts
|
|
2371
|
-
|
|
2371
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2372
2372
|
var _core = require('@swc/core');
|
|
2373
2373
|
|
|
2374
2374
|
// ../build-tools/src/plugins/ts-resolve.ts
|
|
2375
|
-
|
|
2375
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2376
2376
|
|
|
2377
2377
|
var _module = require('module');
|
|
2378
2378
|
|
|
2379
2379
|
var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_resolve2);
|
|
2380
2380
|
|
|
2381
2381
|
// ../build-tools/src/plugins/type-definitions.ts
|
|
2382
|
-
|
|
2382
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2383
2383
|
|
|
2384
2384
|
|
|
2385
2385
|
|
|
2386
2386
|
// ../build-tools/src/types.ts
|
|
2387
|
-
|
|
2387
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2388
2388
|
|
|
2389
2389
|
// ../build-tools/src/utilities/index.ts
|
|
2390
|
-
|
|
2390
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2391
2391
|
|
|
2392
2392
|
// ../build-tools/src/utilities/copy-assets.ts
|
|
2393
|
-
|
|
2393
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2394
2394
|
var _copyassetshandler = require('@nx/js/src/utils/assets/copy-assets-handler');
|
|
2395
2395
|
var _glob = require('glob');
|
|
2396
2396
|
|
|
@@ -2422,7 +2422,7 @@ var copyAssets = async (config5, assets, outputPath, projectRoot, sourceRoot, ge
|
|
|
2422
2422
|
}
|
|
2423
2423
|
writeTrace(
|
|
2424
2424
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
2425
|
-
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${
|
|
2425
|
+
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkHZ7RJVKLjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
2426
2426
|
config5
|
|
2427
2427
|
);
|
|
2428
2428
|
const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
|
|
@@ -2435,17 +2435,17 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
2435
2435
|
writeTrace("Completed copying assets to the output directory", config5);
|
|
2436
2436
|
if (includeSrc === true) {
|
|
2437
2437
|
writeDebug(
|
|
2438
|
-
`\u{1F4DD} Adding banner and writing source files: ${
|
|
2438
|
+
`\u{1F4DD} Adding banner and writing source files: ${_chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
2439
2439
|
outputPath,
|
|
2440
2440
|
"src"
|
|
2441
2441
|
)}`,
|
|
2442
2442
|
config5
|
|
2443
2443
|
);
|
|
2444
2444
|
const files = await _glob.glob.call(void 0, [
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2445
|
+
_chunkHZ7RJVKLjs.joinPaths.call(void 0, config5.workspaceRoot, outputPath, "src/**/*.ts"),
|
|
2446
|
+
_chunkHZ7RJVKLjs.joinPaths.call(void 0, config5.workspaceRoot, outputPath, "src/**/*.tsx"),
|
|
2447
|
+
_chunkHZ7RJVKLjs.joinPaths.call(void 0, config5.workspaceRoot, outputPath, "src/**/*.js"),
|
|
2448
|
+
_chunkHZ7RJVKLjs.joinPaths.call(void 0, config5.workspaceRoot, outputPath, "src/**/*.jsx")
|
|
2449
2449
|
]);
|
|
2450
2450
|
await Promise.allSettled(
|
|
2451
2451
|
files.map(
|
|
@@ -2463,7 +2463,7 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
|
|
|
2463
2463
|
};
|
|
2464
2464
|
|
|
2465
2465
|
// ../build-tools/src/utilities/generate-package-json.ts
|
|
2466
|
-
|
|
2466
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2467
2467
|
var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
|
|
2468
2468
|
|
|
2469
2469
|
|
|
@@ -2501,7 +2501,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
2501
2501
|
)) {
|
|
2502
2502
|
const projectNode = project.node;
|
|
2503
2503
|
if (projectNode.data.root) {
|
|
2504
|
-
const projectPackageJsonPath =
|
|
2504
|
+
const projectPackageJsonPath = _chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
2505
2505
|
workspaceRoot3,
|
|
2506
2506
|
projectNode.data.root,
|
|
2507
2507
|
"package.json"
|
|
@@ -2523,7 +2523,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
2523
2523
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
2524
2524
|
);
|
|
2525
2525
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
2526
|
-
|
|
2526
|
+
_chunkHZ7RJVKLjs.joinPaths.call(void 0, projectRoot, "project.json"),
|
|
2527
2527
|
"utf8"
|
|
2528
2528
|
);
|
|
2529
2529
|
const projectJson = JSON.parse(projectJsonFile);
|
|
@@ -2536,7 +2536,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
2536
2536
|
}
|
|
2537
2537
|
const implicitDependencies = _optionalChain([projectConfigurations, 'access', _97 => _97.projects, 'optionalAccess', _98 => _98[projectName2], 'access', _99 => _99.implicitDependencies, 'optionalAccess', _100 => _100.reduce, 'call', _101 => _101((ret, dep) => {
|
|
2538
2538
|
if (_optionalChain([projectConfigurations, 'access', _102 => _102.projects, 'optionalAccess', _103 => _103[dep]])) {
|
|
2539
|
-
const depPackageJsonPath =
|
|
2539
|
+
const depPackageJsonPath = _chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
2540
2540
|
workspaceRoot3,
|
|
2541
2541
|
projectConfigurations.projects[dep].root,
|
|
2542
2542
|
"package.json"
|
|
@@ -2574,7 +2574,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
|
|
|
2574
2574
|
var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
|
|
2575
2575
|
const workspaceRoot3 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : findWorkspaceRoot();
|
|
2576
2576
|
const workspacePackageJsonContent = await _promises.readFile.call(void 0,
|
|
2577
|
-
|
|
2577
|
+
_chunkHZ7RJVKLjs.joinPaths.call(void 0, workspaceRoot3, "package.json"),
|
|
2578
2578
|
"utf8"
|
|
2579
2579
|
);
|
|
2580
2580
|
const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
|
|
@@ -2585,7 +2585,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
2585
2585
|
if (distSrc.startsWith("/")) {
|
|
2586
2586
|
distSrc = distSrc.substring(1);
|
|
2587
2587
|
}
|
|
2588
|
-
packageJson.source ??= `${
|
|
2588
|
+
packageJson.source ??= `${_chunkHZ7RJVKLjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
|
|
2589
2589
|
}
|
|
2590
2590
|
packageJson.files ??= ["dist/**/*"];
|
|
2591
2591
|
if (includeSrc === true && !packageJson.files.includes("src")) {
|
|
@@ -2610,7 +2610,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
|
|
|
2610
2610
|
packageJson.contributors = [packageJson.author];
|
|
2611
2611
|
}
|
|
2612
2612
|
packageJson.repository ??= workspacePackageJson.repository;
|
|
2613
|
-
packageJson.repository.directory ??= projectRoot ? projectRoot :
|
|
2613
|
+
packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkHZ7RJVKLjs.joinPaths.call(void 0, "packages", projectName);
|
|
2614
2614
|
return packageJson;
|
|
2615
2615
|
};
|
|
2616
2616
|
var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
@@ -2635,11 +2635,11 @@ var addPackageJsonExport = (file, type = "module", sourceRoot) => {
|
|
|
2635
2635
|
};
|
|
2636
2636
|
|
|
2637
2637
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
2638
|
-
|
|
2638
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2639
2639
|
|
|
2640
2640
|
|
|
2641
2641
|
// ../build-tools/src/utilities/get-env.ts
|
|
2642
|
-
|
|
2642
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2643
2643
|
var getEnv = (builder, options) => {
|
|
2644
2644
|
return {
|
|
2645
2645
|
STORM_BUILD: builder,
|
|
@@ -2654,21 +2654,21 @@ var getEnv = (builder, options) => {
|
|
|
2654
2654
|
};
|
|
2655
2655
|
|
|
2656
2656
|
// ../build-tools/src/utilities/get-file-banner.ts
|
|
2657
|
-
|
|
2657
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2658
2658
|
|
|
2659
2659
|
// ../build-tools/src/utilities/get-out-extension.ts
|
|
2660
|
-
|
|
2660
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2661
2661
|
|
|
2662
2662
|
// ../build-tools/src/utilities/get-project-deps.ts
|
|
2663
|
-
|
|
2663
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2664
2664
|
|
|
2665
2665
|
// ../build-tools/src/utilities/read-nx-config.ts
|
|
2666
|
-
|
|
2666
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2667
2667
|
|
|
2668
2668
|
|
|
2669
2669
|
|
|
2670
2670
|
// ../build-tools/src/utilities/task-graph.ts
|
|
2671
|
-
|
|
2671
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2672
2672
|
|
|
2673
2673
|
|
|
2674
2674
|
|
|
@@ -2697,14 +2697,14 @@ async function copyBuildAssets(context) {
|
|
|
2697
2697
|
}
|
|
2698
2698
|
|
|
2699
2699
|
// ../esbuild/src/clean.ts
|
|
2700
|
-
|
|
2700
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2701
2701
|
|
|
2702
2702
|
async function cleanDirectories(directory) {
|
|
2703
2703
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
2704
2704
|
}
|
|
2705
2705
|
|
|
2706
2706
|
// ../esbuild/src/context.ts
|
|
2707
|
-
|
|
2707
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2708
2708
|
|
|
2709
2709
|
|
|
2710
2710
|
|
|
@@ -2715,7 +2715,7 @@ _chunk5W2STSVOjs.init_cjs_shims.call(void 0, );
|
|
|
2715
2715
|
var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
2716
2716
|
|
|
2717
2717
|
// ../esbuild/src/config.ts
|
|
2718
|
-
|
|
2718
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2719
2719
|
var DEFAULT_BUILD_OPTIONS = {
|
|
2720
2720
|
platform: "node",
|
|
2721
2721
|
target: "node22",
|
|
@@ -2773,7 +2773,7 @@ async function resolveContext(userOptions) {
|
|
|
2773
2773
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
2774
2774
|
exitOnError: true
|
|
2775
2775
|
});
|
|
2776
|
-
const projectJsonPath =
|
|
2776
|
+
const projectJsonPath = _chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
2777
2777
|
workspaceRoot3.dir,
|
|
2778
2778
|
projectRoot,
|
|
2779
2779
|
"project.json"
|
|
@@ -2792,7 +2792,7 @@ async function resolveContext(userOptions) {
|
|
|
2792
2792
|
}
|
|
2793
2793
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
2794
2794
|
options.name ??= projectName;
|
|
2795
|
-
const packageJsonPath =
|
|
2795
|
+
const packageJsonPath = _chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
2796
2796
|
workspaceRoot3.dir,
|
|
2797
2797
|
options.projectRoot,
|
|
2798
2798
|
"package.json"
|
|
@@ -2804,7 +2804,7 @@ async function resolveContext(userOptions) {
|
|
|
2804
2804
|
const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
|
|
2805
2805
|
const resolvedOptions = {
|
|
2806
2806
|
...options,
|
|
2807
|
-
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig :
|
|
2807
|
+
tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkHZ7RJVKLjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "tsconfig.json"),
|
|
2808
2808
|
metafile: userOptions.mode === "development",
|
|
2809
2809
|
clean: false,
|
|
2810
2810
|
env,
|
|
@@ -2829,8 +2829,8 @@ async function resolveContext(userOptions) {
|
|
|
2829
2829
|
projectConfigurations,
|
|
2830
2830
|
projectName,
|
|
2831
2831
|
projectGraph,
|
|
2832
|
-
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot ||
|
|
2833
|
-
outputPath: resolvedOptions.outputPath ||
|
|
2832
|
+
sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkHZ7RJVKLjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
|
|
2833
|
+
outputPath: resolvedOptions.outputPath || _chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
2834
2834
|
workspaceConfig.workspaceRoot,
|
|
2835
2835
|
"dist",
|
|
2836
2836
|
resolvedOptions.projectRoot
|
|
@@ -2850,15 +2850,15 @@ ${formatLogMessage(context.options)}`,
|
|
|
2850
2850
|
}
|
|
2851
2851
|
|
|
2852
2852
|
// ../esbuild/src/package-json.ts
|
|
2853
|
-
|
|
2853
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2854
2854
|
|
|
2855
2855
|
|
|
2856
2856
|
|
|
2857
2857
|
async function generatePackageJson(context) {
|
|
2858
|
-
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
2858
|
+
if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkHZ7RJVKLjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
|
|
2859
2859
|
writeDebug(" \u270D\uFE0F Writing package.json file", context.workspaceConfig);
|
|
2860
2860
|
const stopwatch = getStopwatch("Write package.json file");
|
|
2861
|
-
const packageJsonPath =
|
|
2861
|
+
const packageJsonPath = _chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
2862
2862
|
context.options.projectRoot,
|
|
2863
2863
|
"project.json"
|
|
2864
2864
|
);
|
|
@@ -2866,7 +2866,7 @@ async function generatePackageJson(context) {
|
|
|
2866
2866
|
throw new Error("Cannot find package.json configuration");
|
|
2867
2867
|
}
|
|
2868
2868
|
const packageJsonFile = await _promises2.default.readFile(
|
|
2869
|
-
|
|
2869
|
+
_chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
2870
2870
|
context.workspaceConfig.workspaceRoot,
|
|
2871
2871
|
context.options.projectRoot,
|
|
2872
2872
|
"package.json"
|
|
@@ -2972,7 +2972,7 @@ async function generatePackageJson(context) {
|
|
|
2972
2972
|
}
|
|
2973
2973
|
}
|
|
2974
2974
|
await _devkit.writeJsonFile.call(void 0,
|
|
2975
|
-
|
|
2975
|
+
_chunkHZ7RJVKLjs.joinPaths.call(void 0, context.outputPath, "package.json"),
|
|
2976
2976
|
packageJson
|
|
2977
2977
|
);
|
|
2978
2978
|
stopwatch();
|
|
@@ -2981,7 +2981,7 @@ async function generatePackageJson(context) {
|
|
|
2981
2981
|
}
|
|
2982
2982
|
|
|
2983
2983
|
// ../esbuild/src/tsup.ts
|
|
2984
|
-
|
|
2984
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
2985
2985
|
var _tsup = require('tsup');
|
|
2986
2986
|
async function executeTsup(context) {
|
|
2987
2987
|
writeDebug(
|
|
@@ -2991,7 +2991,7 @@ async function executeTsup(context) {
|
|
|
2991
2991
|
const stopwatch = getStopwatch(`${context.options.name} build`);
|
|
2992
2992
|
await _tsup.build.call(void 0, {
|
|
2993
2993
|
...context.options,
|
|
2994
|
-
outDir: context.options.distDir ?
|
|
2994
|
+
outDir: context.options.distDir ? _chunkHZ7RJVKLjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
|
|
2995
2995
|
workspaceConfig: context.workspaceConfig
|
|
2996
2996
|
});
|
|
2997
2997
|
stopwatch();
|
|
@@ -3101,17 +3101,17 @@ var executor_default6 = withRunExecutor(
|
|
|
3101
3101
|
);
|
|
3102
3102
|
|
|
3103
3103
|
// ../workspace-tools/src/executors/npm-publish/executor.ts
|
|
3104
|
-
|
|
3104
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3105
3105
|
|
|
3106
3106
|
// ../npm-tools/src/helpers/get-registry.ts
|
|
3107
|
-
|
|
3107
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3108
3108
|
|
|
3109
3109
|
|
|
3110
3110
|
// ../npm-tools/src/constants.ts
|
|
3111
|
-
|
|
3111
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3112
3112
|
|
|
3113
3113
|
// ../pnpm-tools/src/helpers/replace-deps-aliases.ts
|
|
3114
|
-
|
|
3114
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3115
3115
|
|
|
3116
3116
|
|
|
3117
3117
|
|
|
@@ -3121,17 +3121,17 @@ _chunk5W2STSVOjs.init_cjs_shims.call(void 0, );
|
|
|
3121
3121
|
var _prettier = require('prettier');
|
|
3122
3122
|
|
|
3123
3123
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
3124
|
-
|
|
3124
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3125
3125
|
|
|
3126
3126
|
// ../npm-tools/src/helpers/get-version.ts
|
|
3127
|
-
|
|
3127
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3128
3128
|
|
|
3129
3129
|
|
|
3130
3130
|
// ../pnpm-tools/src/helpers/catalog.ts
|
|
3131
3131
|
var _semver = require('semver');
|
|
3132
3132
|
|
|
3133
3133
|
// ../pnpm-tools/src/helpers/pnpm-workspace.ts
|
|
3134
|
-
|
|
3134
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3135
3135
|
|
|
3136
3136
|
|
|
3137
3137
|
var _yaml = require('yaml');
|
|
@@ -3142,7 +3142,7 @@ var _yaml = require('yaml');
|
|
|
3142
3142
|
|
|
3143
3143
|
|
|
3144
3144
|
// ../workspace-tools/src/utils/package-helpers.ts
|
|
3145
|
-
|
|
3145
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3146
3146
|
|
|
3147
3147
|
|
|
3148
3148
|
|
|
@@ -3154,7 +3154,7 @@ _chunk5W2STSVOjs.init_cjs_shims.call(void 0, );
|
|
|
3154
3154
|
|
|
3155
3155
|
|
|
3156
3156
|
// ../workspace-tools/src/utils/project-tags.ts
|
|
3157
|
-
|
|
3157
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3158
3158
|
var ProjectTagConstants = {
|
|
3159
3159
|
Language: {
|
|
3160
3160
|
TAG_ID: "language",
|
|
@@ -3218,7 +3218,7 @@ var addProjectTag = (project, variant, value, options = {
|
|
|
3218
3218
|
var LARGE_BUFFER2 = 1024 * 1e6;
|
|
3219
3219
|
|
|
3220
3220
|
// ../workspace-tools/src/executors/size-limit/executor.ts
|
|
3221
|
-
|
|
3221
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3222
3222
|
|
|
3223
3223
|
var _esbuild = require('@size-limit/esbuild'); var _esbuild2 = _interopRequireDefault(_esbuild);
|
|
3224
3224
|
var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _interopRequireDefault(_esbuildwhy);
|
|
@@ -3260,10 +3260,10 @@ var executor_default7 = withRunExecutor(
|
|
|
3260
3260
|
);
|
|
3261
3261
|
|
|
3262
3262
|
// ../workspace-tools/src/executors/tsdown/executor.ts
|
|
3263
|
-
|
|
3263
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3264
3264
|
|
|
3265
3265
|
// ../tsdown/src/build.ts
|
|
3266
|
-
|
|
3266
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3267
3267
|
|
|
3268
3268
|
|
|
3269
3269
|
|
|
@@ -3275,14 +3275,14 @@ _chunk5W2STSVOjs.init_cjs_shims.call(void 0, );
|
|
|
3275
3275
|
var _tsdown = require('tsdown');
|
|
3276
3276
|
|
|
3277
3277
|
// ../tsdown/src/clean.ts
|
|
3278
|
-
|
|
3278
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3279
3279
|
|
|
3280
3280
|
async function cleanDirectories2(name = "TSDown", directory, config5) {
|
|
3281
3281
|
await _promises.rm.call(void 0, directory, { recursive: true, force: true });
|
|
3282
3282
|
}
|
|
3283
3283
|
|
|
3284
3284
|
// ../tsdown/src/config.ts
|
|
3285
|
-
|
|
3285
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3286
3286
|
function getDefaultOptions(config5) {
|
|
3287
3287
|
return {
|
|
3288
3288
|
entry: ["./src/*.ts"],
|
|
@@ -3325,7 +3325,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3325
3325
|
const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
|
|
3326
3326
|
exitOnError: true
|
|
3327
3327
|
});
|
|
3328
|
-
const projectJsonPath =
|
|
3328
|
+
const projectJsonPath = _chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
3329
3329
|
workspaceRoot3,
|
|
3330
3330
|
options.projectRoot,
|
|
3331
3331
|
"project.json"
|
|
@@ -3342,7 +3342,7 @@ var resolveOptions = async (userOptions) => {
|
|
|
3342
3342
|
"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."
|
|
3343
3343
|
);
|
|
3344
3344
|
}
|
|
3345
|
-
const packageJsonPath =
|
|
3345
|
+
const packageJsonPath = _chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
3346
3346
|
workspaceRoot3,
|
|
3347
3347
|
options.projectRoot,
|
|
3348
3348
|
"package.json"
|
|
@@ -3351,13 +3351,13 @@ var resolveOptions = async (userOptions) => {
|
|
|
3351
3351
|
throw new Error("Cannot find package.json configuration");
|
|
3352
3352
|
}
|
|
3353
3353
|
const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
|
|
3354
|
-
const sourceRoot = projectJson.sourceRoot ||
|
|
3354
|
+
const sourceRoot = projectJson.sourceRoot || _chunkHZ7RJVKLjs.joinPaths.call(void 0, options.projectRoot, "src");
|
|
3355
3355
|
const result = {
|
|
3356
3356
|
name: projectName,
|
|
3357
3357
|
mode: "production",
|
|
3358
3358
|
target: DEFAULT_TARGET,
|
|
3359
3359
|
generatePackageJson: true,
|
|
3360
|
-
outDir:
|
|
3360
|
+
outDir: _chunkHZ7RJVKLjs.joinPaths.call(void 0, "dist", options.projectRoot),
|
|
3361
3361
|
minify: !debug,
|
|
3362
3362
|
plugins: [],
|
|
3363
3363
|
assets: [],
|
|
@@ -3369,12 +3369,12 @@ var resolveOptions = async (userOptions) => {
|
|
|
3369
3369
|
clean: false,
|
|
3370
3370
|
fixedExtension: true,
|
|
3371
3371
|
nodeProtocol: true,
|
|
3372
|
-
tsconfig:
|
|
3372
|
+
tsconfig: _chunkHZ7RJVKLjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
|
|
3373
3373
|
debug,
|
|
3374
3374
|
sourceRoot,
|
|
3375
3375
|
cwd: workspaceConfig.workspaceRoot,
|
|
3376
3376
|
entry: {
|
|
3377
|
-
["index"]:
|
|
3377
|
+
["index"]: _chunkHZ7RJVKLjs.joinPaths.call(void 0, sourceRoot, "index.ts")
|
|
3378
3378
|
},
|
|
3379
3379
|
workspace: true,
|
|
3380
3380
|
...options,
|
|
@@ -3393,15 +3393,15 @@ var resolveOptions = async (userOptions) => {
|
|
|
3393
3393
|
return result;
|
|
3394
3394
|
};
|
|
3395
3395
|
async function generatePackageJson2(options) {
|
|
3396
|
-
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0,
|
|
3396
|
+
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkHZ7RJVKLjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
|
|
3397
3397
|
writeDebug(" \u270D\uFE0F Writing package.json file", options.workspaceConfig);
|
|
3398
3398
|
const stopwatch = getStopwatch("Write package.json file");
|
|
3399
|
-
const packageJsonPath =
|
|
3399
|
+
const packageJsonPath = _chunkHZ7RJVKLjs.joinPaths.call(void 0, options.projectRoot, "project.json");
|
|
3400
3400
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
3401
3401
|
throw new Error("Cannot find package.json configuration");
|
|
3402
3402
|
}
|
|
3403
3403
|
const packageJsonFile = await _promises2.default.readFile(
|
|
3404
|
-
|
|
3404
|
+
_chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
3405
3405
|
options.workspaceConfig.workspaceRoot,
|
|
3406
3406
|
options.projectRoot,
|
|
3407
3407
|
"package.json"
|
|
@@ -3463,7 +3463,7 @@ async function generatePackageJson2(options) {
|
|
|
3463
3463
|
},
|
|
3464
3464
|
packageJson.exports
|
|
3465
3465
|
);
|
|
3466
|
-
await _devkit.writeJsonFile.call(void 0,
|
|
3466
|
+
await _devkit.writeJsonFile.call(void 0, _chunkHZ7RJVKLjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
|
|
3467
3467
|
stopwatch();
|
|
3468
3468
|
}
|
|
3469
3469
|
return options;
|
|
@@ -3596,7 +3596,7 @@ var executor_default8 = withRunExecutor(
|
|
|
3596
3596
|
);
|
|
3597
3597
|
|
|
3598
3598
|
// ../workspace-tools/src/executors/typia/executor.ts
|
|
3599
|
-
|
|
3599
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3600
3600
|
var _fsextra = require('fs-extra');
|
|
3601
3601
|
var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
|
|
3602
3602
|
async function typiaExecutorFn(options, _, config5) {
|
|
@@ -3636,7 +3636,7 @@ var executor_default9 = withRunExecutor(
|
|
|
3636
3636
|
);
|
|
3637
3637
|
|
|
3638
3638
|
// ../workspace-tools/src/executors/unbuild/executor.ts
|
|
3639
|
-
|
|
3639
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3640
3640
|
|
|
3641
3641
|
var _jiti = require('jiti');
|
|
3642
3642
|
async function unbuildExecutorFn(options, context, config5) {
|
|
@@ -3657,7 +3657,7 @@ async function unbuildExecutorFn(options, context, config5) {
|
|
|
3657
3657
|
);
|
|
3658
3658
|
}
|
|
3659
3659
|
const jiti = _jiti.createJiti.call(void 0, config5.workspaceRoot, {
|
|
3660
|
-
fsCache: config5.skipCache ? false :
|
|
3660
|
+
fsCache: config5.skipCache ? false : _chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
3661
3661
|
config5.workspaceRoot,
|
|
3662
3662
|
config5.directories.cache || "node_modules/.cache/storm",
|
|
3663
3663
|
"jiti"
|
|
@@ -3679,7 +3679,7 @@ async function unbuildExecutorFn(options, context, config5) {
|
|
|
3679
3679
|
{
|
|
3680
3680
|
stubOptions: {
|
|
3681
3681
|
jiti: {
|
|
3682
|
-
fsCache: config5.skipCache ? false :
|
|
3682
|
+
fsCache: config5.skipCache ? false : _chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
3683
3683
|
config5.workspaceRoot,
|
|
3684
3684
|
config5.directories.cache || "node_modules/.cache/storm",
|
|
3685
3685
|
"jiti"
|
|
@@ -3728,10 +3728,10 @@ var executor_default10 = withRunExecutor(
|
|
|
3728
3728
|
);
|
|
3729
3729
|
|
|
3730
3730
|
// ../workspace-tools/generators.ts
|
|
3731
|
-
|
|
3731
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3732
3732
|
|
|
3733
3733
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
3734
|
-
|
|
3734
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3735
3735
|
|
|
3736
3736
|
|
|
3737
3737
|
|
|
@@ -3740,7 +3740,7 @@ _chunk5W2STSVOjs.init_cjs_shims.call(void 0, );
|
|
|
3740
3740
|
|
|
3741
3741
|
|
|
3742
3742
|
// ../workspace-tools/src/base/base-generator.ts
|
|
3743
|
-
|
|
3743
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3744
3744
|
var withRunGenerator = (name, generatorFn, generatorOptions = {
|
|
3745
3745
|
skipReadingConfig: false
|
|
3746
3746
|
}) => async (tree, _options) => {
|
|
@@ -3824,7 +3824,7 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
|
|
|
3824
3824
|
};
|
|
3825
3825
|
|
|
3826
3826
|
// ../workspace-tools/src/base/typescript-library-generator.ts
|
|
3827
|
-
|
|
3827
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3828
3828
|
|
|
3829
3829
|
|
|
3830
3830
|
|
|
@@ -3846,7 +3846,7 @@ var _init = require('@nx/js/src/generators/init/init'); var _init2 = _interopReq
|
|
|
3846
3846
|
var _generator = require('@nx/js/src/generators/setup-verdaccio/generator'); var _generator2 = _interopRequireDefault(_generator);
|
|
3847
3847
|
|
|
3848
3848
|
// ../workspace-tools/src/utils/versions.ts
|
|
3849
|
-
|
|
3849
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
3850
3850
|
var typesNodeVersion = "20.9.0";
|
|
3851
3851
|
var nxVersion = "^18.0.4";
|
|
3852
3852
|
var nodeVersion = "20.11.0";
|
|
@@ -3879,16 +3879,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config5) {
|
|
|
3879
3879
|
const projectConfig = {
|
|
3880
3880
|
root: normalized.directory,
|
|
3881
3881
|
projectType: "library",
|
|
3882
|
-
sourceRoot:
|
|
3882
|
+
sourceRoot: _chunkHZ7RJVKLjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
|
|
3883
3883
|
targets: {
|
|
3884
3884
|
build: {
|
|
3885
3885
|
executor: options.buildExecutor,
|
|
3886
3886
|
outputs: ["{options.outputPath}"],
|
|
3887
3887
|
options: {
|
|
3888
|
-
entry: [
|
|
3888
|
+
entry: [_chunkHZ7RJVKLjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
|
|
3889
3889
|
outputPath: getOutputPath(normalized),
|
|
3890
|
-
tsconfig:
|
|
3891
|
-
project:
|
|
3890
|
+
tsconfig: _chunkHZ7RJVKLjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
|
|
3891
|
+
project: _chunkHZ7RJVKLjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
|
|
3892
3892
|
defaultConfiguration: "production",
|
|
3893
3893
|
platform: "neutral",
|
|
3894
3894
|
assets: [
|
|
@@ -3945,7 +3945,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config5) {
|
|
|
3945
3945
|
if (!normalized.importPath) {
|
|
3946
3946
|
normalized.importPath = normalized.name;
|
|
3947
3947
|
}
|
|
3948
|
-
const packageJsonPath =
|
|
3948
|
+
const packageJsonPath = _chunkHZ7RJVKLjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
|
|
3949
3949
|
if (tree.exists(packageJsonPath)) {
|
|
3950
3950
|
_devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
|
|
3951
3951
|
if (!normalized.importPath) {
|
|
@@ -4002,14 +4002,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config5) {
|
|
|
4002
4002
|
}));
|
|
4003
4003
|
}
|
|
4004
4004
|
_js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
|
|
4005
|
-
|
|
4005
|
+
_chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
4006
4006
|
normalized.projectRoot,
|
|
4007
4007
|
"./src",
|
|
4008
4008
|
`index.${normalized.js ? "js" : "ts"}`
|
|
4009
4009
|
)
|
|
4010
4010
|
]);
|
|
4011
|
-
_js.addTsConfigPath.call(void 0, tree,
|
|
4012
|
-
|
|
4011
|
+
_js.addTsConfigPath.call(void 0, tree, _chunkHZ7RJVKLjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
|
|
4012
|
+
_chunkHZ7RJVKLjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
|
|
4013
4013
|
]);
|
|
4014
4014
|
if (tree.exists("package.json")) {
|
|
4015
4015
|
const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
|
|
@@ -4020,7 +4020,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config5) {
|
|
|
4020
4020
|
description = packageJson.description;
|
|
4021
4021
|
}
|
|
4022
4022
|
}
|
|
4023
|
-
const tsconfigPath =
|
|
4023
|
+
const tsconfigPath = _chunkHZ7RJVKLjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
|
|
4024
4024
|
if (tree.exists(tsconfigPath)) {
|
|
4025
4025
|
_devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
|
|
4026
4026
|
json.composite ??= true;
|
|
@@ -4048,7 +4048,7 @@ function getOutputPath(options) {
|
|
|
4048
4048
|
} else {
|
|
4049
4049
|
parts.push(options.projectRoot);
|
|
4050
4050
|
}
|
|
4051
|
-
return
|
|
4051
|
+
return _chunkHZ7RJVKLjs.joinPaths.call(void 0, ...parts);
|
|
4052
4052
|
}
|
|
4053
4053
|
function createProjectTsConfigJson(tree, options) {
|
|
4054
4054
|
const tsconfig = {
|
|
@@ -4056,7 +4056,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
4056
4056
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _200 => _200.tsconfigOptions]), () => ( {})),
|
|
4057
4057
|
compilerOptions: {
|
|
4058
4058
|
...options.rootProject ? _js.tsConfigBaseOptions : {},
|
|
4059
|
-
outDir:
|
|
4059
|
+
outDir: _chunkHZ7RJVKLjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
|
|
4060
4060
|
noEmit: true,
|
|
4061
4061
|
..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _201 => _201.tsconfigOptions, 'optionalAccess', _202 => _202.compilerOptions]), () => ( {}))
|
|
4062
4062
|
},
|
|
@@ -4074,7 +4074,7 @@ function createProjectTsConfigJson(tree, options) {
|
|
|
4074
4074
|
"src/**/*.test.ts"
|
|
4075
4075
|
]
|
|
4076
4076
|
};
|
|
4077
|
-
_devkit.writeJson.call(void 0, tree,
|
|
4077
|
+
_devkit.writeJson.call(void 0, tree, _chunkHZ7RJVKLjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
|
|
4078
4078
|
}
|
|
4079
4079
|
async function normalizeOptions(tree, options, config5) {
|
|
4080
4080
|
let importPath = options.importPath;
|
|
@@ -4139,7 +4139,7 @@ async function normalizeOptions(tree, options, config5) {
|
|
|
4139
4139
|
|
|
4140
4140
|
// ../workspace-tools/src/generators/browser-library/generator.ts
|
|
4141
4141
|
async function browserLibraryGeneratorFn(tree, schema, config5) {
|
|
4142
|
-
const filesDir =
|
|
4142
|
+
const filesDir = _chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
4143
4143
|
__dirname,
|
|
4144
4144
|
"src",
|
|
4145
4145
|
"generators",
|
|
@@ -4219,7 +4219,7 @@ var generator_default = withRunGenerator(
|
|
|
4219
4219
|
);
|
|
4220
4220
|
|
|
4221
4221
|
// ../workspace-tools/src/generators/config-schema/generator.ts
|
|
4222
|
-
|
|
4222
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
4223
4223
|
|
|
4224
4224
|
var _zod = require('zod'); var z2 = _interopRequireWildcard(_zod);
|
|
4225
4225
|
async function configSchemaGeneratorFn(tree, options, config5) {
|
|
@@ -4276,7 +4276,7 @@ var generator_default2 = withRunGenerator(
|
|
|
4276
4276
|
);
|
|
4277
4277
|
|
|
4278
4278
|
// ../workspace-tools/src/generators/init/init.ts
|
|
4279
|
-
|
|
4279
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
4280
4280
|
|
|
4281
4281
|
|
|
4282
4282
|
|
|
@@ -4304,7 +4304,7 @@ async function initGenerator(tree, schema) {
|
|
|
4304
4304
|
}
|
|
4305
4305
|
|
|
4306
4306
|
// ../workspace-tools/src/generators/neutral-library/generator.ts
|
|
4307
|
-
|
|
4307
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
4308
4308
|
|
|
4309
4309
|
|
|
4310
4310
|
|
|
@@ -4312,7 +4312,7 @@ _chunk5W2STSVOjs.init_cjs_shims.call(void 0, );
|
|
|
4312
4312
|
|
|
4313
4313
|
|
|
4314
4314
|
async function neutralLibraryGeneratorFn(tree, schema, config5) {
|
|
4315
|
-
const filesDir =
|
|
4315
|
+
const filesDir = _chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
4316
4316
|
__dirname,
|
|
4317
4317
|
"src",
|
|
4318
4318
|
"generators",
|
|
@@ -4364,7 +4364,7 @@ var generator_default3 = withRunGenerator(
|
|
|
4364
4364
|
);
|
|
4365
4365
|
|
|
4366
4366
|
// ../workspace-tools/src/generators/node-library/generator.ts
|
|
4367
|
-
|
|
4367
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
4368
4368
|
|
|
4369
4369
|
|
|
4370
4370
|
|
|
@@ -4372,7 +4372,7 @@ _chunk5W2STSVOjs.init_cjs_shims.call(void 0, );
|
|
|
4372
4372
|
|
|
4373
4373
|
|
|
4374
4374
|
async function nodeLibraryGeneratorFn(tree, schema, config5) {
|
|
4375
|
-
const filesDir =
|
|
4375
|
+
const filesDir = _chunkHZ7RJVKLjs.joinPaths.call(void 0,
|
|
4376
4376
|
__dirname,
|
|
4377
4377
|
"src",
|
|
4378
4378
|
"generators",
|
|
@@ -4426,7 +4426,7 @@ var generator_default4 = withRunGenerator(
|
|
|
4426
4426
|
);
|
|
4427
4427
|
|
|
4428
4428
|
// ../workspace-tools/src/generators/preset/generator.ts
|
|
4429
|
-
|
|
4429
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
4430
4430
|
|
|
4431
4431
|
|
|
4432
4432
|
|
|
@@ -4665,7 +4665,7 @@ var generator_default5 = withRunGenerator(
|
|
|
4665
4665
|
);
|
|
4666
4666
|
|
|
4667
4667
|
// ../workspace-tools/src/generators/release-version/generator.ts
|
|
4668
|
-
|
|
4668
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
4669
4669
|
|
|
4670
4670
|
|
|
4671
4671
|
|
|
@@ -4678,19 +4678,19 @@ var _resolvelocalpackagedependencies = require('@nx/js/src/generators/release-ve
|
|
|
4678
4678
|
var _updatelockfile = require('@nx/js/src/release/utils/update-lock-file');
|
|
4679
4679
|
|
|
4680
4680
|
// ../git-tools/dist/release/config.js
|
|
4681
|
-
|
|
4681
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
4682
4682
|
|
|
4683
4683
|
// ../git-tools/dist/chunk-YCEUZFMU.js
|
|
4684
|
-
|
|
4684
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
4685
4685
|
|
|
4686
4686
|
// ../git-tools/dist/chunk-JCEVFJCA.js
|
|
4687
|
-
|
|
4687
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
4688
4688
|
|
|
4689
4689
|
// ../git-tools/dist/chunk-KZRVQ5RZ.js
|
|
4690
|
-
|
|
4690
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
4691
4691
|
|
|
4692
4692
|
// ../git-tools/dist/chunk-5XU2KBM6.js
|
|
4693
|
-
|
|
4693
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
4694
4694
|
var DEFAULT_COMMIT_PROMPT_MESSAGES = {
|
|
4695
4695
|
skip: "press enter to skip",
|
|
4696
4696
|
max: "must be %d chars at most",
|
|
@@ -4702,7 +4702,7 @@ var DEFAULT_COMMIT_PROMPT_MESSAGES = {
|
|
|
4702
4702
|
};
|
|
4703
4703
|
|
|
4704
4704
|
// ../git-tools/dist/chunk-3GGWHKRP.js
|
|
4705
|
-
|
|
4705
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
4706
4706
|
var DEFAULT_COMMIT_TYPES = {
|
|
4707
4707
|
/* --- Bumps version when selected --- */
|
|
4708
4708
|
"chore": {
|
|
@@ -5076,10 +5076,10 @@ var _utils = require('nx/src/tasks-runner/utils');
|
|
|
5076
5076
|
|
|
5077
5077
|
|
|
5078
5078
|
// ../workspace-tools/src/base/index.ts
|
|
5079
|
-
|
|
5079
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
5080
5080
|
|
|
5081
5081
|
// ../workspace-tools/src/base/base-executor.untyped.ts
|
|
5082
|
-
|
|
5082
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
5083
5083
|
var _untyped = require('untyped');
|
|
5084
5084
|
var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5085
5085
|
$schema: {
|
|
@@ -5099,7 +5099,7 @@ var base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
5099
5099
|
});
|
|
5100
5100
|
|
|
5101
5101
|
// ../workspace-tools/src/base/base-generator.untyped.ts
|
|
5102
|
-
|
|
5102
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
5103
5103
|
|
|
5104
5104
|
var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5105
5105
|
$schema: {
|
|
@@ -5117,7 +5117,7 @@ var base_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
|
5117
5117
|
});
|
|
5118
5118
|
|
|
5119
5119
|
// ../workspace-tools/src/base/cargo-base-executor.untyped.ts
|
|
5120
|
-
|
|
5120
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
5121
5121
|
|
|
5122
5122
|
var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5123
5123
|
...base_executor_untyped_default,
|
|
@@ -5190,7 +5190,7 @@ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void
|
|
|
5190
5190
|
});
|
|
5191
5191
|
|
|
5192
5192
|
// ../workspace-tools/src/base/typescript-build-executor.untyped.ts
|
|
5193
|
-
|
|
5193
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
5194
5194
|
|
|
5195
5195
|
var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5196
5196
|
...base_executor_untyped_default,
|
|
@@ -5342,7 +5342,7 @@ var typescript_build_executor_untyped_default = _untyped.defineUntypedSchema.cal
|
|
|
5342
5342
|
});
|
|
5343
5343
|
|
|
5344
5344
|
// ../workspace-tools/src/base/typescript-library-generator.untyped.ts
|
|
5345
|
-
|
|
5345
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
5346
5346
|
|
|
5347
5347
|
var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
|
|
5348
5348
|
...base_generator_untyped_default,
|
|
@@ -5448,24 +5448,24 @@ var typescript_library_generator_untyped_default = _untyped.defineUntypedSchema.
|
|
|
5448
5448
|
});
|
|
5449
5449
|
|
|
5450
5450
|
// ../workspace-tools/src/types.ts
|
|
5451
|
-
|
|
5451
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
5452
5452
|
|
|
5453
5453
|
// ../workspace-tools/src/utils/index.ts
|
|
5454
|
-
|
|
5454
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
5455
5455
|
|
|
5456
5456
|
// ../workspace-tools/src/utils/apply-workspace-tokens.ts
|
|
5457
|
-
|
|
5457
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
5458
5458
|
|
|
5459
5459
|
// ../workspace-tools/src/utils/create-cli-options.ts
|
|
5460
|
-
|
|
5460
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
5461
5461
|
|
|
5462
5462
|
|
|
5463
5463
|
// ../workspace-tools/src/utils/get-project-configurations.ts
|
|
5464
|
-
|
|
5464
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
5465
5465
|
var _retrieveworkspacefiles = require('nx/src/project-graph/utils/retrieve-workspace-files');
|
|
5466
5466
|
|
|
5467
5467
|
// ../workspace-tools/src/utils/lock-file.ts
|
|
5468
|
-
|
|
5468
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
5469
5469
|
|
|
5470
5470
|
|
|
5471
5471
|
|
|
@@ -5493,10 +5493,10 @@ var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE
|
|
|
5493
5493
|
var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
|
|
5494
5494
|
|
|
5495
5495
|
// ../workspace-tools/src/utils/nx-json.ts
|
|
5496
|
-
|
|
5496
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
5497
5497
|
|
|
5498
5498
|
// ../workspace-tools/src/utils/plugin-helpers.ts
|
|
5499
|
-
|
|
5499
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
5500
5500
|
|
|
5501
5501
|
|
|
5502
5502
|
|
|
@@ -5505,7 +5505,7 @@ _chunk5W2STSVOjs.init_cjs_shims.call(void 0, );
|
|
|
5505
5505
|
|
|
5506
5506
|
|
|
5507
5507
|
// ../workspace-tools/src/utils/typia-transform.ts
|
|
5508
|
-
|
|
5508
|
+
_chunkHIYOMEE3js.init_cjs_shims.call(void 0, );
|
|
5509
5509
|
var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
|
|
5510
5510
|
|
|
5511
5511
|
// src/generators/init/generator.ts
|