@storm-software/workspace-tools 1.60.23 → 1.62.0
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 +29 -0
- package/README.md +2 -2
- package/index.js +475 -575
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +136 -128
- package/src/executors/npm-publish/executor.js +6 -0
- package/src/executors/tsup/executor.js +158 -157
- package/src/executors/tsup/schema.d.ts +2 -2
- package/src/executors/tsup/schema.json +7 -23
- package/src/executors/tsup-browser/executor.js +158 -155
- package/src/executors/tsup-neutral/executor.js +158 -155
- package/src/executors/tsup-node/executor.js +158 -155
- package/src/executors/typia/executor.js +33 -31
- package/src/generators/browser-library/generator.js +125 -120
- package/src/generators/config-schema/generator.js +29 -28
- package/src/generators/neutral-library/generator.js +125 -120
- package/src/generators/node-library/generator.js +125 -120
- package/src/generators/preset/generator.js +24 -25
- package/src/generators/release-version/generator.js +59 -47
- package/src/utils/index.js +299 -403
package/index.js
CHANGED
|
@@ -79,7 +79,7 @@ var init_find_workspace_root = __esm({
|
|
|
79
79
|
"packages/config-tools/src/utilities/find-workspace-root.ts"() {
|
|
80
80
|
init_find_up();
|
|
81
81
|
rootFiles = [
|
|
82
|
-
"
|
|
82
|
+
"storm.json",
|
|
83
83
|
"storm.config.js",
|
|
84
84
|
"storm.config.ts",
|
|
85
85
|
".storm.json",
|
|
@@ -87,6 +87,7 @@ var init_find_workspace_root = __esm({
|
|
|
87
87
|
".storm.yml",
|
|
88
88
|
".storm.js",
|
|
89
89
|
".storm.ts",
|
|
90
|
+
"lerna.json",
|
|
90
91
|
"nx.json",
|
|
91
92
|
"turbo.json",
|
|
92
93
|
"npm-workspace.json",
|
|
@@ -145,7 +146,7 @@ var require_universalify = __commonJS({
|
|
|
145
146
|
// node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js
|
|
146
147
|
var require_polyfills = __commonJS({
|
|
147
148
|
"node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js"(exports2, module2) {
|
|
148
|
-
var
|
|
149
|
+
var constants = require("constants");
|
|
149
150
|
var origCwd = process.cwd;
|
|
150
151
|
var cwd = null;
|
|
151
152
|
var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform;
|
|
@@ -170,7 +171,7 @@ var require_polyfills = __commonJS({
|
|
|
170
171
|
var chdir;
|
|
171
172
|
module2.exports = patch;
|
|
172
173
|
function patch(fs7) {
|
|
173
|
-
if (
|
|
174
|
+
if (constants.hasOwnProperty("O_SYMLINK") && process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)) {
|
|
174
175
|
patchLchmod(fs7);
|
|
175
176
|
}
|
|
176
177
|
if (!fs7.lutimes) {
|
|
@@ -277,7 +278,7 @@ var require_polyfills = __commonJS({
|
|
|
277
278
|
fs8.lchmod = function(path15, mode, callback) {
|
|
278
279
|
fs8.open(
|
|
279
280
|
path15,
|
|
280
|
-
|
|
281
|
+
constants.O_WRONLY | constants.O_SYMLINK,
|
|
281
282
|
mode,
|
|
282
283
|
function(err, fd) {
|
|
283
284
|
if (err) {
|
|
@@ -295,7 +296,7 @@ var require_polyfills = __commonJS({
|
|
|
295
296
|
);
|
|
296
297
|
};
|
|
297
298
|
fs8.lchmodSync = function(path15, mode) {
|
|
298
|
-
var fd = fs8.openSync(path15,
|
|
299
|
+
var fd = fs8.openSync(path15, constants.O_WRONLY | constants.O_SYMLINK, mode);
|
|
299
300
|
var threw = true;
|
|
300
301
|
var ret;
|
|
301
302
|
try {
|
|
@@ -315,9 +316,9 @@ var require_polyfills = __commonJS({
|
|
|
315
316
|
};
|
|
316
317
|
}
|
|
317
318
|
function patchLutimes(fs8) {
|
|
318
|
-
if (
|
|
319
|
+
if (constants.hasOwnProperty("O_SYMLINK") && fs8.futimes) {
|
|
319
320
|
fs8.lutimes = function(path15, at8, mt9, cb) {
|
|
320
|
-
fs8.open(path15,
|
|
321
|
+
fs8.open(path15, constants.O_SYMLINK, function(er7, fd) {
|
|
321
322
|
if (er7) {
|
|
322
323
|
if (cb)
|
|
323
324
|
cb(er7);
|
|
@@ -332,7 +333,7 @@ var require_polyfills = __commonJS({
|
|
|
332
333
|
});
|
|
333
334
|
};
|
|
334
335
|
fs8.lutimesSync = function(path15, at8, mt9) {
|
|
335
|
-
var fd = fs8.openSync(path15,
|
|
336
|
+
var fd = fs8.openSync(path15, constants.O_SYMLINK);
|
|
336
337
|
var ret;
|
|
337
338
|
var threw = true;
|
|
338
339
|
try {
|
|
@@ -2038,7 +2039,7 @@ var require_jsonfile = __commonJS({
|
|
|
2038
2039
|
return obj;
|
|
2039
2040
|
}
|
|
2040
2041
|
var readFile3 = universalify.fromPromise(_readFile);
|
|
2041
|
-
function
|
|
2042
|
+
function readFileSync3(file, options8 = {}) {
|
|
2042
2043
|
if (typeof options8 === "string") {
|
|
2043
2044
|
options8 = { encoding: options8 };
|
|
2044
2045
|
}
|
|
@@ -2063,16 +2064,16 @@ var require_jsonfile = __commonJS({
|
|
|
2063
2064
|
await universalify.fromCallback(fs7.writeFile)(file, str2, options8);
|
|
2064
2065
|
}
|
|
2065
2066
|
var writeFile2 = universalify.fromPromise(_writeFile);
|
|
2066
|
-
function
|
|
2067
|
+
function writeFileSync2(file, obj, options8 = {}) {
|
|
2067
2068
|
const fs7 = options8.fs || _fs;
|
|
2068
2069
|
const str2 = stringify(obj, options8);
|
|
2069
2070
|
return fs7.writeFileSync(file, str2, options8);
|
|
2070
2071
|
}
|
|
2071
2072
|
var jsonfile = {
|
|
2072
2073
|
readFile: readFile3,
|
|
2073
|
-
readFileSync:
|
|
2074
|
+
readFileSync: readFileSync3,
|
|
2074
2075
|
writeFile: writeFile2,
|
|
2075
|
-
writeFileSync:
|
|
2076
|
+
writeFileSync: writeFileSync2
|
|
2076
2077
|
};
|
|
2077
2078
|
module2.exports = jsonfile;
|
|
2078
2079
|
}
|
|
@@ -4053,20 +4054,20 @@ var require_supports_color = __commonJS({
|
|
|
4053
4054
|
var os6 = require("os");
|
|
4054
4055
|
var tty2 = require("tty");
|
|
4055
4056
|
var hasFlag2 = require_has_flag();
|
|
4056
|
-
var { env:
|
|
4057
|
+
var { env: env2 } = process;
|
|
4057
4058
|
var forceColor;
|
|
4058
4059
|
if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false") || hasFlag2("color=never")) {
|
|
4059
4060
|
forceColor = 0;
|
|
4060
4061
|
} else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
|
|
4061
4062
|
forceColor = 1;
|
|
4062
4063
|
}
|
|
4063
|
-
if ("FORCE_COLOR" in
|
|
4064
|
-
if (
|
|
4064
|
+
if ("FORCE_COLOR" in env2) {
|
|
4065
|
+
if (env2.FORCE_COLOR === "true") {
|
|
4065
4066
|
forceColor = 1;
|
|
4066
|
-
} else if (
|
|
4067
|
+
} else if (env2.FORCE_COLOR === "false") {
|
|
4067
4068
|
forceColor = 0;
|
|
4068
4069
|
} else {
|
|
4069
|
-
forceColor =
|
|
4070
|
+
forceColor = env2.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env2.FORCE_COLOR, 10), 3);
|
|
4070
4071
|
}
|
|
4071
4072
|
}
|
|
4072
4073
|
function translateLevel2(level) {
|
|
@@ -4094,7 +4095,7 @@ var require_supports_color = __commonJS({
|
|
|
4094
4095
|
return 0;
|
|
4095
4096
|
}
|
|
4096
4097
|
const min = forceColor || 0;
|
|
4097
|
-
if (
|
|
4098
|
+
if (env2.TERM === "dumb") {
|
|
4098
4099
|
return min;
|
|
4099
4100
|
}
|
|
4100
4101
|
if (process.platform === "win32") {
|
|
@@ -4104,34 +4105,34 @@ var require_supports_color = __commonJS({
|
|
|
4104
4105
|
}
|
|
4105
4106
|
return 1;
|
|
4106
4107
|
}
|
|
4107
|
-
if ("CI" in
|
|
4108
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign2) => sign2 in
|
|
4108
|
+
if ("CI" in env2) {
|
|
4109
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign2) => sign2 in env2) || env2.CI_NAME === "codeship") {
|
|
4109
4110
|
return 1;
|
|
4110
4111
|
}
|
|
4111
4112
|
return min;
|
|
4112
4113
|
}
|
|
4113
|
-
if ("TEAMCITY_VERSION" in
|
|
4114
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(
|
|
4114
|
+
if ("TEAMCITY_VERSION" in env2) {
|
|
4115
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
|
|
4115
4116
|
}
|
|
4116
|
-
if (
|
|
4117
|
+
if (env2.COLORTERM === "truecolor") {
|
|
4117
4118
|
return 3;
|
|
4118
4119
|
}
|
|
4119
|
-
if ("TERM_PROGRAM" in
|
|
4120
|
-
const version = parseInt((
|
|
4121
|
-
switch (
|
|
4120
|
+
if ("TERM_PROGRAM" in env2) {
|
|
4121
|
+
const version = parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
4122
|
+
switch (env2.TERM_PROGRAM) {
|
|
4122
4123
|
case "iTerm.app":
|
|
4123
4124
|
return version >= 3 ? 3 : 2;
|
|
4124
4125
|
case "Apple_Terminal":
|
|
4125
4126
|
return 2;
|
|
4126
4127
|
}
|
|
4127
4128
|
}
|
|
4128
|
-
if (/-256(color)?$/i.test(
|
|
4129
|
+
if (/-256(color)?$/i.test(env2.TERM)) {
|
|
4129
4130
|
return 2;
|
|
4130
4131
|
}
|
|
4131
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(
|
|
4132
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
|
|
4132
4133
|
return 1;
|
|
4133
4134
|
}
|
|
4134
|
-
if ("COLORTERM" in
|
|
4135
|
+
if ("COLORTERM" in env2) {
|
|
4135
4136
|
return 1;
|
|
4136
4137
|
}
|
|
4137
4138
|
return min;
|
|
@@ -7891,7 +7892,7 @@ var require_util2 = __commonJS({
|
|
|
7891
7892
|
return path15;
|
|
7892
7893
|
}
|
|
7893
7894
|
exports2.normalize = normalize2;
|
|
7894
|
-
function
|
|
7895
|
+
function join7(aRoot, aPath) {
|
|
7895
7896
|
if (aRoot === "") {
|
|
7896
7897
|
aRoot = ".";
|
|
7897
7898
|
}
|
|
@@ -7923,7 +7924,7 @@ var require_util2 = __commonJS({
|
|
|
7923
7924
|
}
|
|
7924
7925
|
return joined;
|
|
7925
7926
|
}
|
|
7926
|
-
exports2.join =
|
|
7927
|
+
exports2.join = join7;
|
|
7927
7928
|
exports2.isAbsolute = function(aPath) {
|
|
7928
7929
|
return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
|
|
7929
7930
|
};
|
|
@@ -8096,7 +8097,7 @@ var require_util2 = __commonJS({
|
|
|
8096
8097
|
parsed.path = parsed.path.substring(0, index + 1);
|
|
8097
8098
|
}
|
|
8098
8099
|
}
|
|
8099
|
-
sourceURL =
|
|
8100
|
+
sourceURL = join7(urlGenerate(parsed), sourceURL);
|
|
8100
8101
|
}
|
|
8101
8102
|
return normalize2(sourceURL);
|
|
8102
8103
|
}
|
|
@@ -106391,12 +106392,12 @@ ${lanes.join("\n")}
|
|
|
106391
106392
|
}
|
|
106392
106393
|
return { decorators };
|
|
106393
106394
|
}
|
|
106394
|
-
function walkUpLexicalEnvironments2(
|
|
106395
|
-
while (
|
|
106396
|
-
const result = cb(
|
|
106395
|
+
function walkUpLexicalEnvironments2(env2, cb) {
|
|
106396
|
+
while (env2) {
|
|
106397
|
+
const result = cb(env2);
|
|
106397
106398
|
if (result !== void 0)
|
|
106398
106399
|
return result;
|
|
106399
|
-
|
|
106400
|
+
env2 = env2.previous;
|
|
106400
106401
|
}
|
|
106401
106402
|
}
|
|
106402
106403
|
function newPrivateEnvironment2(data) {
|
|
@@ -106415,8 +106416,8 @@ ${lanes.join("\n")}
|
|
|
106415
106416
|
privateEnv.identifiers.set(name.escapedText, entry);
|
|
106416
106417
|
}
|
|
106417
106418
|
}
|
|
106418
|
-
function accessPrivateIdentifier2(
|
|
106419
|
-
return walkUpLexicalEnvironments2(
|
|
106419
|
+
function accessPrivateIdentifier2(env2, name) {
|
|
106420
|
+
return walkUpLexicalEnvironments2(env2, (env22) => getPrivateIdentifier2(env22.privateEnv, name));
|
|
106420
106421
|
}
|
|
106421
106422
|
var IdentifierNameMap2, IdentifierNameMultiMap2;
|
|
106422
106423
|
var init_utilities3 = __esm2({
|
|
@@ -210641,7 +210642,7 @@ var require_env_paths = __commonJS({
|
|
|
210641
210642
|
var os6 = require("os");
|
|
210642
210643
|
var homedir = os6.homedir();
|
|
210643
210644
|
var tmpdir = os6.tmpdir();
|
|
210644
|
-
var { env:
|
|
210645
|
+
var { env: env2 } = process;
|
|
210645
210646
|
var macos = (name) => {
|
|
210646
210647
|
const library = path15.join(homedir, "Library");
|
|
210647
210648
|
return {
|
|
@@ -210653,8 +210654,8 @@ var require_env_paths = __commonJS({
|
|
|
210653
210654
|
};
|
|
210654
210655
|
};
|
|
210655
210656
|
var windows = (name) => {
|
|
210656
|
-
const appData =
|
|
210657
|
-
const localAppData =
|
|
210657
|
+
const appData = env2.APPDATA || path15.join(homedir, "AppData", "Roaming");
|
|
210658
|
+
const localAppData = env2.LOCALAPPDATA || path15.join(homedir, "AppData", "Local");
|
|
210658
210659
|
return {
|
|
210659
210660
|
// Data/config/cache/log are invented by me as Windows isn't opinionated about this
|
|
210660
210661
|
data: path15.join(localAppData, name, "Data"),
|
|
@@ -210667,11 +210668,11 @@ var require_env_paths = __commonJS({
|
|
|
210667
210668
|
var linux = (name) => {
|
|
210668
210669
|
const username = path15.basename(homedir);
|
|
210669
210670
|
return {
|
|
210670
|
-
data: path15.join(
|
|
210671
|
-
config: path15.join(
|
|
210672
|
-
cache: path15.join(
|
|
210671
|
+
data: path15.join(env2.XDG_DATA_HOME || path15.join(homedir, ".local", "share"), name),
|
|
210672
|
+
config: path15.join(env2.XDG_CONFIG_HOME || path15.join(homedir, ".config"), name),
|
|
210673
|
+
cache: path15.join(env2.XDG_CACHE_HOME || path15.join(homedir, ".cache"), name),
|
|
210673
210674
|
// https://wiki.debian.org/XDGBaseDirectorySpecification#state
|
|
210674
|
-
log: path15.join(
|
|
210675
|
+
log: path15.join(env2.XDG_STATE_HOME || path15.join(homedir, ".local", "state"), name),
|
|
210675
210676
|
temp: path15.join(tmpdir, username, name)
|
|
210676
210677
|
};
|
|
210677
210678
|
};
|
|
@@ -211472,25 +211473,23 @@ var init_get_config_file = __esm({
|
|
|
211472
211473
|
} : { config: {}, filepath: jsonPath, isEmpty };
|
|
211473
211474
|
};
|
|
211474
211475
|
getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
211475
|
-
const workspacePath = filePath ? filePath :
|
|
211476
|
-
|
|
211477
|
-
|
|
211478
|
-
|
|
211479
|
-
|
|
211480
|
-
|
|
211481
|
-
|
|
211482
|
-
|
|
211483
|
-
|
|
211484
|
-
|
|
211485
|
-
|
|
211486
|
-
|
|
211487
|
-
|
|
211488
|
-
|
|
211489
|
-
|
|
211490
|
-
|
|
211491
|
-
|
|
211492
|
-
break;
|
|
211493
|
-
}
|
|
211476
|
+
const workspacePath = filePath ? filePath : findWorkspaceRoot(filePath);
|
|
211477
|
+
if (!defaultExplorer) {
|
|
211478
|
+
defaultExplorer = await getConfigFileExplorer("storm");
|
|
211479
|
+
}
|
|
211480
|
+
let cosmiconfigResult = null;
|
|
211481
|
+
if (defaultExplorer) {
|
|
211482
|
+
cosmiconfigResult = await defaultExplorer.search(workspacePath);
|
|
211483
|
+
}
|
|
211484
|
+
if ((!cosmiconfigResult || cosmiconfigResult.isEmpty) && additionalFileNames.length > 0) {
|
|
211485
|
+
for (const additionalFileName of additionalFileNames) {
|
|
211486
|
+
cosmiconfigResult = await getJsonConfigFile(additionalFileName, workspacePath);
|
|
211487
|
+
if (cosmiconfigResult && !cosmiconfigResult.isEmpty) {
|
|
211488
|
+
break;
|
|
211489
|
+
}
|
|
211490
|
+
cosmiconfigResult = await getConfigFileByName(additionalFileName, workspacePath);
|
|
211491
|
+
if (cosmiconfigResult && !cosmiconfigResult.isEmpty) {
|
|
211492
|
+
break;
|
|
211494
211493
|
}
|
|
211495
211494
|
}
|
|
211496
211495
|
}
|
|
@@ -215471,7 +215470,7 @@ var init_get_log_level = __esm({
|
|
|
215471
215470
|
return LogLevel.INFO;
|
|
215472
215471
|
}
|
|
215473
215472
|
};
|
|
215474
|
-
getLogLevelLabel = (logLevel) => {
|
|
215473
|
+
getLogLevelLabel = (logLevel = LogLevel.INFO) => {
|
|
215475
215474
|
if (logLevel >= LogLevel.ALL) {
|
|
215476
215475
|
return LogLevelLabel.ALL;
|
|
215477
215476
|
}
|
|
@@ -215797,14 +215796,14 @@ var init_set_env = __esm({
|
|
|
215797
215796
|
if (extension[key2]) {
|
|
215798
215797
|
const result = key2?.replace(
|
|
215799
215798
|
/([A-Z])+/g,
|
|
215800
|
-
(input) => input ? input[0]
|
|
215799
|
+
(input) => input ? input[0]?.toUpperCase() + input.slice(1) : ""
|
|
215801
215800
|
).split(/(?=[A-Z])|[\.\-\s_]/).map((x5) => x5.toLowerCase()) ?? [];
|
|
215802
215801
|
let extensionKey;
|
|
215803
215802
|
if (result.length === 0) {
|
|
215804
215803
|
return;
|
|
215805
215804
|
}
|
|
215806
215805
|
if (result.length === 1) {
|
|
215807
|
-
extensionKey = result[0]
|
|
215806
|
+
extensionKey = result[0]?.toUpperCase() ?? "";
|
|
215808
215807
|
} else {
|
|
215809
215808
|
extensionKey = result.reduce((ret, part) => {
|
|
215810
215809
|
return `${ret}_${part.toLowerCase()}`;
|
|
@@ -216499,7 +216498,7 @@ function __classPrivateFieldIn(state, receiver) {
|
|
|
216499
216498
|
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
216500
216499
|
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
216501
216500
|
}
|
|
216502
|
-
function __addDisposableResource(
|
|
216501
|
+
function __addDisposableResource(env2, value, async) {
|
|
216503
216502
|
if (value !== null && value !== void 0) {
|
|
216504
216503
|
if (typeof value !== "object" && typeof value !== "function")
|
|
216505
216504
|
throw new TypeError("Object expected.");
|
|
@@ -216516,20 +216515,20 @@ function __addDisposableResource(env3, value, async) {
|
|
|
216516
216515
|
}
|
|
216517
216516
|
if (typeof dispose !== "function")
|
|
216518
216517
|
throw new TypeError("Object not disposable.");
|
|
216519
|
-
|
|
216518
|
+
env2.stack.push({ value, dispose, async });
|
|
216520
216519
|
} else if (async) {
|
|
216521
|
-
|
|
216520
|
+
env2.stack.push({ async: true });
|
|
216522
216521
|
}
|
|
216523
216522
|
return value;
|
|
216524
216523
|
}
|
|
216525
|
-
function __disposeResources(
|
|
216524
|
+
function __disposeResources(env2) {
|
|
216526
216525
|
function fail(e3) {
|
|
216527
|
-
|
|
216528
|
-
|
|
216526
|
+
env2.error = env2.hasError ? new _SuppressedError(e3, env2.error, "An error was suppressed during disposal.") : e3;
|
|
216527
|
+
env2.hasError = true;
|
|
216529
216528
|
}
|
|
216530
216529
|
function next() {
|
|
216531
|
-
while (
|
|
216532
|
-
var rec =
|
|
216530
|
+
while (env2.stack.length) {
|
|
216531
|
+
var rec = env2.stack.pop();
|
|
216533
216532
|
try {
|
|
216534
216533
|
var result = rec.dispose && rec.dispose.call(rec.value);
|
|
216535
216534
|
if (rec.async)
|
|
@@ -216541,8 +216540,8 @@ function __disposeResources(env3) {
|
|
|
216541
216540
|
fail(e3);
|
|
216542
216541
|
}
|
|
216543
216542
|
}
|
|
216544
|
-
if (
|
|
216545
|
-
throw
|
|
216543
|
+
if (env2.hasError)
|
|
216544
|
+
throw env2.error;
|
|
216546
216545
|
}
|
|
216547
216546
|
return next();
|
|
216548
216547
|
}
|
|
@@ -318106,7 +318105,7 @@ var init_prettier = __esm({
|
|
|
318106
318105
|
require_parse2 = __commonJS2({
|
|
318107
318106
|
"node_modules/picomatch/lib/parse.js"(exports2, module2) {
|
|
318108
318107
|
"use strict";
|
|
318109
|
-
var
|
|
318108
|
+
var constants = require_constants2();
|
|
318110
318109
|
var utils2 = require_utils22();
|
|
318111
318110
|
var {
|
|
318112
318111
|
MAX_LENGTH,
|
|
@@ -318114,7 +318113,7 @@ var init_prettier = __esm({
|
|
|
318114
318113
|
REGEX_NON_SPECIAL_CHARS,
|
|
318115
318114
|
REGEX_SPECIAL_CHARS_BACKREF,
|
|
318116
318115
|
REPLACEMENTS
|
|
318117
|
-
} =
|
|
318116
|
+
} = constants;
|
|
318118
318117
|
var expandRange = (args, options8) => {
|
|
318119
318118
|
if (typeof options8.expandRange === "function") {
|
|
318120
318119
|
return options8.expandRange(...args, options8);
|
|
@@ -318146,8 +318145,8 @@ var init_prettier = __esm({
|
|
|
318146
318145
|
const tokens = [bos];
|
|
318147
318146
|
const capture = opts.capture ? "" : "?:";
|
|
318148
318147
|
const win322 = utils2.isWindows(options8);
|
|
318149
|
-
const PLATFORM_CHARS =
|
|
318150
|
-
const EXTGLOB_CHARS =
|
|
318148
|
+
const PLATFORM_CHARS = constants.globChars(win322);
|
|
318149
|
+
const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS);
|
|
318151
318150
|
const {
|
|
318152
318151
|
DOT_LITERAL,
|
|
318153
318152
|
PLUS_LITERAL,
|
|
@@ -318829,7 +318828,7 @@ var init_prettier = __esm({
|
|
|
318829
318828
|
NO_DOTS_SLASH,
|
|
318830
318829
|
STAR,
|
|
318831
318830
|
START_ANCHOR
|
|
318832
|
-
} =
|
|
318831
|
+
} = constants.globChars(win322);
|
|
318833
318832
|
const nodot = opts.dot ? NO_DOTS : NO_DOT;
|
|
318834
318833
|
const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
|
|
318835
318834
|
const capture = opts.capture ? "" : "?:";
|
|
@@ -318889,7 +318888,7 @@ var init_prettier = __esm({
|
|
|
318889
318888
|
var scan = require_scan();
|
|
318890
318889
|
var parse6 = require_parse2();
|
|
318891
318890
|
var utils2 = require_utils22();
|
|
318892
|
-
var
|
|
318891
|
+
var constants = require_constants2();
|
|
318893
318892
|
var isObject3 = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
318894
318893
|
var picomatch = (glob2, options8, returnState = false) => {
|
|
318895
318894
|
if (Array.isArray(glob2)) {
|
|
@@ -319020,7 +319019,7 @@ var init_prettier = __esm({
|
|
|
319020
319019
|
return /$^/;
|
|
319021
319020
|
}
|
|
319022
319021
|
};
|
|
319023
|
-
picomatch.constants =
|
|
319022
|
+
picomatch.constants = constants;
|
|
319024
319023
|
module2.exports = picomatch;
|
|
319025
319024
|
}
|
|
319026
319025
|
});
|
|
@@ -324285,7 +324284,7 @@ var init_prettier = __esm({
|
|
|
324285
324284
|
"node_modules/ci-info/index.js"(exports2) {
|
|
324286
324285
|
"use strict";
|
|
324287
324286
|
var vendors = require_vendors();
|
|
324288
|
-
var
|
|
324287
|
+
var env2 = process.env;
|
|
324289
324288
|
Object.defineProperty(exports2, "_vendors", {
|
|
324290
324289
|
value: vendors.map(function(v5) {
|
|
324291
324290
|
return v5.constant;
|
|
@@ -324305,14 +324304,14 @@ var init_prettier = __esm({
|
|
|
324305
324304
|
exports2.name = vendor.name;
|
|
324306
324305
|
switch (typeof vendor.pr) {
|
|
324307
324306
|
case "string":
|
|
324308
|
-
exports2.isPR = !!
|
|
324307
|
+
exports2.isPR = !!env2[vendor.pr];
|
|
324309
324308
|
break;
|
|
324310
324309
|
case "object":
|
|
324311
324310
|
if ("env" in vendor.pr) {
|
|
324312
|
-
exports2.isPR = vendor.pr.env in
|
|
324311
|
+
exports2.isPR = vendor.pr.env in env2 && env2[vendor.pr.env] !== vendor.pr.ne;
|
|
324313
324312
|
} else if ("any" in vendor.pr) {
|
|
324314
324313
|
exports2.isPR = vendor.pr.any.some(function(key2) {
|
|
324315
|
-
return !!
|
|
324314
|
+
return !!env2[key2];
|
|
324316
324315
|
});
|
|
324317
324316
|
} else {
|
|
324318
324317
|
exports2.isPR = checkEnv(vendor.pr);
|
|
@@ -324322,30 +324321,30 @@ var init_prettier = __esm({
|
|
|
324322
324321
|
exports2.isPR = null;
|
|
324323
324322
|
}
|
|
324324
324323
|
});
|
|
324325
|
-
exports2.isCI = !!(
|
|
324326
|
-
(
|
|
324327
|
-
|
|
324328
|
-
|
|
324329
|
-
|
|
324330
|
-
|
|
324331
|
-
|
|
324332
|
-
|
|
324333
|
-
|
|
324334
|
-
|
|
324324
|
+
exports2.isCI = !!(env2.CI !== "false" && // Bypass all checks if CI env is explicitly set to 'false'
|
|
324325
|
+
(env2.BUILD_ID || // Jenkins, Cloudbees
|
|
324326
|
+
env2.BUILD_NUMBER || // Jenkins, TeamCity
|
|
324327
|
+
env2.CI || // Travis CI, CircleCI, Cirrus CI, Gitlab CI, Appveyor, CodeShip, dsari
|
|
324328
|
+
env2.CI_APP_ID || // Appflow
|
|
324329
|
+
env2.CI_BUILD_ID || // Appflow
|
|
324330
|
+
env2.CI_BUILD_NUMBER || // Appflow
|
|
324331
|
+
env2.CI_NAME || // Codeship and others
|
|
324332
|
+
env2.CONTINUOUS_INTEGRATION || // Travis CI, Cirrus CI
|
|
324333
|
+
env2.RUN_ID || // TaskCluster, dsari
|
|
324335
324334
|
exports2.name || false));
|
|
324336
324335
|
function checkEnv(obj) {
|
|
324337
324336
|
if (typeof obj === "string")
|
|
324338
|
-
return !!
|
|
324337
|
+
return !!env2[obj];
|
|
324339
324338
|
if ("env" in obj) {
|
|
324340
|
-
return
|
|
324339
|
+
return env2[obj.env] && env2[obj.env].includes(obj.includes);
|
|
324341
324340
|
}
|
|
324342
324341
|
if ("any" in obj) {
|
|
324343
324342
|
return obj.any.some(function(k6) {
|
|
324344
|
-
return !!
|
|
324343
|
+
return !!env2[k6];
|
|
324345
324344
|
});
|
|
324346
324345
|
}
|
|
324347
324346
|
return Object.keys(obj).every(function(k6) {
|
|
324348
|
-
return
|
|
324347
|
+
return env2[k6] === obj[k6];
|
|
324349
324348
|
});
|
|
324350
324349
|
}
|
|
324351
324350
|
}
|
|
@@ -327340,15 +327339,15 @@ var init_prettier = __esm({
|
|
|
327340
327339
|
"use strict";
|
|
327341
327340
|
var os22 = __require("os");
|
|
327342
327341
|
var hasFlag2 = require_has_flag2();
|
|
327343
|
-
var
|
|
327342
|
+
var env2 = process.env;
|
|
327344
327343
|
var forceColor;
|
|
327345
327344
|
if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false")) {
|
|
327346
327345
|
forceColor = false;
|
|
327347
327346
|
} else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
|
|
327348
327347
|
forceColor = true;
|
|
327349
327348
|
}
|
|
327350
|
-
if ("FORCE_COLOR" in
|
|
327351
|
-
forceColor =
|
|
327349
|
+
if ("FORCE_COLOR" in env2) {
|
|
327350
|
+
forceColor = env2.FORCE_COLOR.length === 0 || parseInt(env2.FORCE_COLOR, 10) !== 0;
|
|
327352
327351
|
}
|
|
327353
327352
|
function translateLevel2(level) {
|
|
327354
327353
|
if (level === 0) {
|
|
@@ -327382,37 +327381,37 @@ var init_prettier = __esm({
|
|
|
327382
327381
|
}
|
|
327383
327382
|
return 1;
|
|
327384
327383
|
}
|
|
327385
|
-
if ("CI" in
|
|
327386
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign2) => sign2 in
|
|
327384
|
+
if ("CI" in env2) {
|
|
327385
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign2) => sign2 in env2) || env2.CI_NAME === "codeship") {
|
|
327387
327386
|
return 1;
|
|
327388
327387
|
}
|
|
327389
327388
|
return min;
|
|
327390
327389
|
}
|
|
327391
|
-
if ("TEAMCITY_VERSION" in
|
|
327392
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(
|
|
327390
|
+
if ("TEAMCITY_VERSION" in env2) {
|
|
327391
|
+
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
|
|
327393
327392
|
}
|
|
327394
|
-
if (
|
|
327393
|
+
if (env2.COLORTERM === "truecolor") {
|
|
327395
327394
|
return 3;
|
|
327396
327395
|
}
|
|
327397
|
-
if ("TERM_PROGRAM" in
|
|
327398
|
-
const version = parseInt((
|
|
327399
|
-
switch (
|
|
327396
|
+
if ("TERM_PROGRAM" in env2) {
|
|
327397
|
+
const version = parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
327398
|
+
switch (env2.TERM_PROGRAM) {
|
|
327400
327399
|
case "iTerm.app":
|
|
327401
327400
|
return version >= 3 ? 3 : 2;
|
|
327402
327401
|
case "Apple_Terminal":
|
|
327403
327402
|
return 2;
|
|
327404
327403
|
}
|
|
327405
327404
|
}
|
|
327406
|
-
if (/-256(color)?$/i.test(
|
|
327405
|
+
if (/-256(color)?$/i.test(env2.TERM)) {
|
|
327407
327406
|
return 2;
|
|
327408
327407
|
}
|
|
327409
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(
|
|
327408
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
|
|
327410
327409
|
return 1;
|
|
327411
327410
|
}
|
|
327412
|
-
if ("COLORTERM" in
|
|
327411
|
+
if ("COLORTERM" in env2) {
|
|
327413
327412
|
return 1;
|
|
327414
327413
|
}
|
|
327415
|
-
if (
|
|
327414
|
+
if (env2.TERM === "dumb") {
|
|
327416
327415
|
return min;
|
|
327417
327416
|
}
|
|
327418
327417
|
return min;
|
|
@@ -332951,7 +332950,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
|
332951
332950
|
var hardline3 = [hardlineWithoutBreakParent3, breakParent3];
|
|
332952
332951
|
var literalline2 = [literallineWithoutBreakParent2, breakParent3];
|
|
332953
332952
|
var cursor3 = { type: DOC_TYPE_CURSOR3 };
|
|
332954
|
-
function
|
|
332953
|
+
function join7(separator, docs) {
|
|
332955
332954
|
assertDoc3(separator);
|
|
332956
332955
|
assertDocArray3(docs);
|
|
332957
332956
|
const parts = [];
|
|
@@ -333349,7 +333348,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
|
333349
333348
|
return mapDoc3(doc, (currentDoc) => cleanDocFn3(currentDoc));
|
|
333350
333349
|
}
|
|
333351
333350
|
function replaceEndOfLine2(doc, replacement = literalline2) {
|
|
333352
|
-
return mapDoc3(doc, (currentDoc) => typeof currentDoc === "string" ?
|
|
333351
|
+
return mapDoc3(doc, (currentDoc) => typeof currentDoc === "string" ? join7(replacement, currentDoc.split("\n")) : currentDoc);
|
|
333353
333352
|
}
|
|
333354
333353
|
function canBreakFn2(doc) {
|
|
333355
333354
|
if (doc.type === DOC_TYPE_LINE3) {
|
|
@@ -333924,7 +333923,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
|
333924
333923
|
};
|
|
333925
333924
|
}
|
|
333926
333925
|
var builders2 = {
|
|
333927
|
-
join:
|
|
333926
|
+
join: join7,
|
|
333928
333927
|
line: line3,
|
|
333929
333928
|
softline: softline2,
|
|
333930
333929
|
hardline: hardline3,
|
|
@@ -338077,7 +338076,7 @@ var require_subset = __commonJS({
|
|
|
338077
338076
|
var require_semver3 = __commonJS({
|
|
338078
338077
|
"node_modules/.pnpm/semver@7.5.4/node_modules/semver/index.js"(exports2, module2) {
|
|
338079
338078
|
var internalRe = require_re2();
|
|
338080
|
-
var
|
|
338079
|
+
var constants = require_constants5();
|
|
338081
338080
|
var SemVer = require_semver2();
|
|
338082
338081
|
var identifiers = require_identifiers2();
|
|
338083
338082
|
var parse6 = require_parse3();
|
|
@@ -338159,8 +338158,8 @@ var require_semver3 = __commonJS({
|
|
|
338159
338158
|
re: internalRe.re,
|
|
338160
338159
|
src: internalRe.src,
|
|
338161
338160
|
tokens: internalRe.t,
|
|
338162
|
-
SEMVER_SPEC_VERSION:
|
|
338163
|
-
RELEASE_TYPES:
|
|
338161
|
+
SEMVER_SPEC_VERSION: constants.SEMVER_SPEC_VERSION,
|
|
338162
|
+
RELEASE_TYPES: constants.RELEASE_TYPES,
|
|
338164
338163
|
compareIdentifiers: identifiers.compareIdentifiers,
|
|
338165
338164
|
rcompareIdentifiers: identifiers.rcompareIdentifiers
|
|
338166
338165
|
};
|
|
@@ -342839,11 +342838,11 @@ var require_codegen = __commonJS({
|
|
|
342839
342838
|
const rhs = this.rhs === void 0 ? "" : ` = ${this.rhs}`;
|
|
342840
342839
|
return `${varKind} ${this.name}${rhs};` + _n6;
|
|
342841
342840
|
}
|
|
342842
|
-
optimizeNames(names3,
|
|
342841
|
+
optimizeNames(names3, constants) {
|
|
342843
342842
|
if (!names3[this.name.str])
|
|
342844
342843
|
return;
|
|
342845
342844
|
if (this.rhs)
|
|
342846
|
-
this.rhs = optimizeExpr(this.rhs, names3,
|
|
342845
|
+
this.rhs = optimizeExpr(this.rhs, names3, constants);
|
|
342847
342846
|
return this;
|
|
342848
342847
|
}
|
|
342849
342848
|
get names() {
|
|
@@ -342860,10 +342859,10 @@ var require_codegen = __commonJS({
|
|
|
342860
342859
|
render({ _n: _n6 }) {
|
|
342861
342860
|
return `${this.lhs} = ${this.rhs};` + _n6;
|
|
342862
342861
|
}
|
|
342863
|
-
optimizeNames(names3,
|
|
342862
|
+
optimizeNames(names3, constants) {
|
|
342864
342863
|
if (this.lhs instanceof code_1.Name && !names3[this.lhs.str] && !this.sideEffects)
|
|
342865
342864
|
return;
|
|
342866
|
-
this.rhs = optimizeExpr(this.rhs, names3,
|
|
342865
|
+
this.rhs = optimizeExpr(this.rhs, names3, constants);
|
|
342867
342866
|
return this;
|
|
342868
342867
|
}
|
|
342869
342868
|
get names() {
|
|
@@ -342924,8 +342923,8 @@ var require_codegen = __commonJS({
|
|
|
342924
342923
|
optimizeNodes() {
|
|
342925
342924
|
return `${this.code}` ? this : void 0;
|
|
342926
342925
|
}
|
|
342927
|
-
optimizeNames(names3,
|
|
342928
|
-
this.code = optimizeExpr(this.code, names3,
|
|
342926
|
+
optimizeNames(names3, constants) {
|
|
342927
|
+
this.code = optimizeExpr(this.code, names3, constants);
|
|
342929
342928
|
return this;
|
|
342930
342929
|
}
|
|
342931
342930
|
get names() {
|
|
@@ -342954,12 +342953,12 @@ var require_codegen = __commonJS({
|
|
|
342954
342953
|
}
|
|
342955
342954
|
return nodes.length > 0 ? this : void 0;
|
|
342956
342955
|
}
|
|
342957
|
-
optimizeNames(names3,
|
|
342956
|
+
optimizeNames(names3, constants) {
|
|
342958
342957
|
const { nodes } = this;
|
|
342959
342958
|
let i3 = nodes.length;
|
|
342960
342959
|
while (i3--) {
|
|
342961
342960
|
const n = nodes[i3];
|
|
342962
|
-
if (n.optimizeNames(names3,
|
|
342961
|
+
if (n.optimizeNames(names3, constants))
|
|
342963
342962
|
continue;
|
|
342964
342963
|
subtractNames(names3, n.names);
|
|
342965
342964
|
nodes.splice(i3, 1);
|
|
@@ -343012,12 +343011,12 @@ var require_codegen = __commonJS({
|
|
|
343012
343011
|
return void 0;
|
|
343013
343012
|
return this;
|
|
343014
343013
|
}
|
|
343015
|
-
optimizeNames(names3,
|
|
343014
|
+
optimizeNames(names3, constants) {
|
|
343016
343015
|
var _a3;
|
|
343017
|
-
this.else = (_a3 = this.else) === null || _a3 === void 0 ? void 0 : _a3.optimizeNames(names3,
|
|
343018
|
-
if (!(super.optimizeNames(names3,
|
|
343016
|
+
this.else = (_a3 = this.else) === null || _a3 === void 0 ? void 0 : _a3.optimizeNames(names3, constants);
|
|
343017
|
+
if (!(super.optimizeNames(names3, constants) || this.else))
|
|
343019
343018
|
return;
|
|
343020
|
-
this.condition = optimizeExpr(this.condition, names3,
|
|
343019
|
+
this.condition = optimizeExpr(this.condition, names3, constants);
|
|
343021
343020
|
return this;
|
|
343022
343021
|
}
|
|
343023
343022
|
get names() {
|
|
@@ -343040,10 +343039,10 @@ var require_codegen = __commonJS({
|
|
|
343040
343039
|
render(opts) {
|
|
343041
343040
|
return `for(${this.iteration})` + super.render(opts);
|
|
343042
343041
|
}
|
|
343043
|
-
optimizeNames(names3,
|
|
343044
|
-
if (!super.optimizeNames(names3,
|
|
343042
|
+
optimizeNames(names3, constants) {
|
|
343043
|
+
if (!super.optimizeNames(names3, constants))
|
|
343045
343044
|
return;
|
|
343046
|
-
this.iteration = optimizeExpr(this.iteration, names3,
|
|
343045
|
+
this.iteration = optimizeExpr(this.iteration, names3, constants);
|
|
343047
343046
|
return this;
|
|
343048
343047
|
}
|
|
343049
343048
|
get names() {
|
|
@@ -343079,10 +343078,10 @@ var require_codegen = __commonJS({
|
|
|
343079
343078
|
render(opts) {
|
|
343080
343079
|
return `for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})` + super.render(opts);
|
|
343081
343080
|
}
|
|
343082
|
-
optimizeNames(names3,
|
|
343083
|
-
if (!super.optimizeNames(names3,
|
|
343081
|
+
optimizeNames(names3, constants) {
|
|
343082
|
+
if (!super.optimizeNames(names3, constants))
|
|
343084
343083
|
return;
|
|
343085
|
-
this.iterable = optimizeExpr(this.iterable, names3,
|
|
343084
|
+
this.iterable = optimizeExpr(this.iterable, names3, constants);
|
|
343086
343085
|
return this;
|
|
343087
343086
|
}
|
|
343088
343087
|
get names() {
|
|
@@ -343124,11 +343123,11 @@ var require_codegen = __commonJS({
|
|
|
343124
343123
|
(_b = this.finally) === null || _b === void 0 ? void 0 : _b.optimizeNodes();
|
|
343125
343124
|
return this;
|
|
343126
343125
|
}
|
|
343127
|
-
optimizeNames(names3,
|
|
343126
|
+
optimizeNames(names3, constants) {
|
|
343128
343127
|
var _a3, _b;
|
|
343129
|
-
super.optimizeNames(names3,
|
|
343130
|
-
(_a3 = this.catch) === null || _a3 === void 0 ? void 0 : _a3.optimizeNames(names3,
|
|
343131
|
-
(_b = this.finally) === null || _b === void 0 ? void 0 : _b.optimizeNames(names3,
|
|
343128
|
+
super.optimizeNames(names3, constants);
|
|
343129
|
+
(_a3 = this.catch) === null || _a3 === void 0 ? void 0 : _a3.optimizeNames(names3, constants);
|
|
343130
|
+
(_b = this.finally) === null || _b === void 0 ? void 0 : _b.optimizeNames(names3, constants);
|
|
343132
343131
|
return this;
|
|
343133
343132
|
}
|
|
343134
343133
|
get names() {
|
|
@@ -343429,7 +343428,7 @@ var require_codegen = __commonJS({
|
|
|
343429
343428
|
function addExprNames(names3, from) {
|
|
343430
343429
|
return from instanceof code_1._CodeOrName ? addNames(names3, from.names) : names3;
|
|
343431
343430
|
}
|
|
343432
|
-
function optimizeExpr(expr, names3,
|
|
343431
|
+
function optimizeExpr(expr, names3, constants) {
|
|
343433
343432
|
if (expr instanceof code_1.Name)
|
|
343434
343433
|
return replaceName(expr);
|
|
343435
343434
|
if (!canOptimize(expr))
|
|
@@ -343444,14 +343443,14 @@ var require_codegen = __commonJS({
|
|
|
343444
343443
|
return items;
|
|
343445
343444
|
}, []));
|
|
343446
343445
|
function replaceName(n) {
|
|
343447
|
-
const c4 =
|
|
343446
|
+
const c4 = constants[n.str];
|
|
343448
343447
|
if (c4 === void 0 || names3[n.str] !== 1)
|
|
343449
343448
|
return n;
|
|
343450
343449
|
delete names3[n.str];
|
|
343451
343450
|
return c4;
|
|
343452
343451
|
}
|
|
343453
343452
|
function canOptimize(e3) {
|
|
343454
|
-
return e3 instanceof code_1._Code && e3._items.some((c4) => c4 instanceof code_1.Name && names3[c4.str] === 1 &&
|
|
343453
|
+
return e3 instanceof code_1._Code && e3._items.some((c4) => c4 instanceof code_1.Name && names3[c4.str] === 1 && constants[c4.str] !== void 0);
|
|
343455
343454
|
}
|
|
343456
343455
|
}
|
|
343457
343456
|
function subtractNames(names3, from) {
|
|
@@ -345305,20 +345304,20 @@ var require_compile2 = __commonJS({
|
|
|
345305
345304
|
var util_1 = require_util4();
|
|
345306
345305
|
var validate_1 = require_validate();
|
|
345307
345306
|
var SchemaEnv = class {
|
|
345308
|
-
constructor(
|
|
345307
|
+
constructor(env2) {
|
|
345309
345308
|
var _a3;
|
|
345310
345309
|
this.refs = {};
|
|
345311
345310
|
this.dynamicAnchors = {};
|
|
345312
345311
|
let schema2;
|
|
345313
|
-
if (typeof
|
|
345314
|
-
schema2 =
|
|
345315
|
-
this.schema =
|
|
345316
|
-
this.schemaId =
|
|
345317
|
-
this.root =
|
|
345318
|
-
this.baseId = (_a3 =
|
|
345319
|
-
this.schemaPath =
|
|
345320
|
-
this.localRefs =
|
|
345321
|
-
this.meta =
|
|
345312
|
+
if (typeof env2.schema == "object")
|
|
345313
|
+
schema2 = env2.schema;
|
|
345314
|
+
this.schema = env2.schema;
|
|
345315
|
+
this.schemaId = env2.schemaId;
|
|
345316
|
+
this.root = env2.root || this;
|
|
345317
|
+
this.baseId = (_a3 = env2.baseId) !== null && _a3 !== void 0 ? _a3 : (0, resolve_1.normalizeId)(schema2 === null || schema2 === void 0 ? void 0 : schema2[env2.schemaId || "$id"]);
|
|
345318
|
+
this.schemaPath = env2.schemaPath;
|
|
345319
|
+
this.localRefs = env2.localRefs;
|
|
345320
|
+
this.meta = env2.meta;
|
|
345322
345321
|
this.$async = schema2 === null || schema2 === void 0 ? void 0 : schema2.$async;
|
|
345323
345322
|
this.refs = {};
|
|
345324
345323
|
}
|
|
@@ -345501,15 +345500,15 @@ var require_compile2 = __commonJS({
|
|
|
345501
345500
|
baseId = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schId);
|
|
345502
345501
|
}
|
|
345503
345502
|
}
|
|
345504
|
-
let
|
|
345503
|
+
let env2;
|
|
345505
345504
|
if (typeof schema2 != "boolean" && schema2.$ref && !(0, util_1.schemaHasRulesButRef)(schema2, this.RULES)) {
|
|
345506
345505
|
const $ref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schema2.$ref);
|
|
345507
|
-
|
|
345506
|
+
env2 = resolveSchema.call(this, root2, $ref);
|
|
345508
345507
|
}
|
|
345509
345508
|
const { schemaId } = this.opts;
|
|
345510
|
-
|
|
345511
|
-
if (
|
|
345512
|
-
return
|
|
345509
|
+
env2 = env2 || new SchemaEnv({ schema: schema2, schemaId, root: root2, baseId });
|
|
345510
|
+
if (env2.schema !== env2.root.schema)
|
|
345511
|
+
return env2;
|
|
345513
345512
|
return void 0;
|
|
345514
345513
|
}
|
|
345515
345514
|
}
|
|
@@ -347224,8 +347223,8 @@ var require_ref = __commonJS({
|
|
|
347224
347223
|
schemaType: "string",
|
|
347225
347224
|
code(cxt) {
|
|
347226
347225
|
const { gen, schema: $ref, it: it6 } = cxt;
|
|
347227
|
-
const { baseId, schemaEnv:
|
|
347228
|
-
const { root: root2 } =
|
|
347226
|
+
const { baseId, schemaEnv: env2, validateName, opts, self: self2 } = it6;
|
|
347227
|
+
const { root: root2 } = env2;
|
|
347229
347228
|
if (($ref === "#" || $ref === "#/") && baseId === root2.baseId)
|
|
347230
347229
|
return callRootRef();
|
|
347231
347230
|
const schOrEnv = compile_1.resolveRef.call(self2, root2, baseId, $ref);
|
|
@@ -347235,8 +347234,8 @@ var require_ref = __commonJS({
|
|
|
347235
347234
|
return callValidate(schOrEnv);
|
|
347236
347235
|
return inlineRefSchema(schOrEnv);
|
|
347237
347236
|
function callRootRef() {
|
|
347238
|
-
if (
|
|
347239
|
-
return callRef(cxt, validateName,
|
|
347237
|
+
if (env2 === root2)
|
|
347238
|
+
return callRef(cxt, validateName, env2, env2.$async);
|
|
347240
347239
|
const rootName = gen.scopeValue("root", { ref: root2 });
|
|
347241
347240
|
return callRef(cxt, (0, codegen_1._)`${rootName}.validate`, root2, root2.$async);
|
|
347242
347241
|
}
|
|
@@ -347266,14 +347265,14 @@ var require_ref = __commonJS({
|
|
|
347266
347265
|
exports2.getValidate = getValidate;
|
|
347267
347266
|
function callRef(cxt, v5, sch, $async) {
|
|
347268
347267
|
const { gen, it: it6 } = cxt;
|
|
347269
|
-
const { allErrors, schemaEnv:
|
|
347268
|
+
const { allErrors, schemaEnv: env2, opts } = it6;
|
|
347270
347269
|
const passCxt = opts.passContext ? names_1.default.this : codegen_1.nil;
|
|
347271
347270
|
if ($async)
|
|
347272
347271
|
callAsyncRef();
|
|
347273
347272
|
else
|
|
347274
347273
|
callSyncRef();
|
|
347275
347274
|
function callAsyncRef() {
|
|
347276
|
-
if (!
|
|
347275
|
+
if (!env2.$async)
|
|
347277
347276
|
throw new Error("async schema referenced by sync schema");
|
|
347278
347277
|
const valid = gen.let("valid");
|
|
347279
347278
|
gen.try(() => {
|
|
@@ -359459,7 +359458,7 @@ var require_util5 = __commonJS({
|
|
|
359459
359458
|
return path15;
|
|
359460
359459
|
});
|
|
359461
359460
|
exports2.normalize = normalize2;
|
|
359462
|
-
function
|
|
359461
|
+
function join7(aRoot, aPath) {
|
|
359463
359462
|
if (aRoot === "") {
|
|
359464
359463
|
aRoot = ".";
|
|
359465
359464
|
}
|
|
@@ -359491,7 +359490,7 @@ var require_util5 = __commonJS({
|
|
|
359491
359490
|
}
|
|
359492
359491
|
return joined;
|
|
359493
359492
|
}
|
|
359494
|
-
exports2.join =
|
|
359493
|
+
exports2.join = join7;
|
|
359495
359494
|
exports2.isAbsolute = function(aPath) {
|
|
359496
359495
|
return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
|
|
359497
359496
|
};
|
|
@@ -359664,7 +359663,7 @@ var require_util5 = __commonJS({
|
|
|
359664
359663
|
parsed.path = parsed.path.substring(0, index + 1);
|
|
359665
359664
|
}
|
|
359666
359665
|
}
|
|
359667
|
-
sourceURL =
|
|
359666
|
+
sourceURL = join7(urlGenerate(parsed), sourceURL);
|
|
359668
359667
|
}
|
|
359669
359668
|
return normalize2(sourceURL);
|
|
359670
359669
|
}
|
|
@@ -363356,14 +363355,14 @@ var require_path2 = __commonJS({
|
|
|
363356
363355
|
return normalize2(path16.slice(0, endIndex));
|
|
363357
363356
|
}
|
|
363358
363357
|
exports2.dirname = dirname4;
|
|
363359
|
-
function
|
|
363358
|
+
function join7(p12, ...others) {
|
|
363360
363359
|
if (others.length > 0) {
|
|
363361
363360
|
return normalize2((p12 ? p12 + exports2.NormalizedSep : "") + others.join(exports2.NormalizedSep));
|
|
363362
363361
|
} else {
|
|
363363
363362
|
return p12;
|
|
363364
363363
|
}
|
|
363365
363364
|
}
|
|
363366
|
-
exports2.join =
|
|
363365
|
+
exports2.join = join7;
|
|
363367
363366
|
function isAbsolute(p4) {
|
|
363368
363367
|
return p4.startsWith(exports2.NormalizedSep);
|
|
363369
363368
|
}
|
|
@@ -363398,7 +363397,7 @@ var require_path2 = __commonJS({
|
|
|
363398
363397
|
if (isAbsolute(p22)) {
|
|
363399
363398
|
return p22;
|
|
363400
363399
|
} else {
|
|
363401
|
-
return
|
|
363400
|
+
return join7(p12, p22);
|
|
363402
363401
|
}
|
|
363403
363402
|
}
|
|
363404
363403
|
exports2.resolve = resolve3;
|
|
@@ -364810,7 +364809,7 @@ var require_scan3 = __commonJS({
|
|
|
364810
364809
|
var require_parse4 = __commonJS({
|
|
364811
364810
|
"node_modules/.pnpm/picomatch@4.0.1/node_modules/picomatch/lib/parse.js"(exports2, module2) {
|
|
364812
364811
|
"use strict";
|
|
364813
|
-
var
|
|
364812
|
+
var constants = require_constants6();
|
|
364814
364813
|
var utils2 = require_utils8();
|
|
364815
364814
|
var {
|
|
364816
364815
|
MAX_LENGTH,
|
|
@@ -364818,7 +364817,7 @@ var require_parse4 = __commonJS({
|
|
|
364818
364817
|
REGEX_NON_SPECIAL_CHARS,
|
|
364819
364818
|
REGEX_SPECIAL_CHARS_BACKREF,
|
|
364820
364819
|
REPLACEMENTS
|
|
364821
|
-
} =
|
|
364820
|
+
} = constants;
|
|
364822
364821
|
var expandRange = (args, options8) => {
|
|
364823
364822
|
if (typeof options8.expandRange === "function") {
|
|
364824
364823
|
return options8.expandRange(...args, options8);
|
|
@@ -364849,8 +364848,8 @@ var require_parse4 = __commonJS({
|
|
|
364849
364848
|
const bos = { type: "bos", value: "", output: opts.prepend || "" };
|
|
364850
364849
|
const tokens = [bos];
|
|
364851
364850
|
const capture = opts.capture ? "" : "?:";
|
|
364852
|
-
const PLATFORM_CHARS =
|
|
364853
|
-
const EXTGLOB_CHARS =
|
|
364851
|
+
const PLATFORM_CHARS = constants.globChars(opts.windows);
|
|
364852
|
+
const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS);
|
|
364854
364853
|
const {
|
|
364855
364854
|
DOT_LITERAL,
|
|
364856
364855
|
PLUS_LITERAL,
|
|
@@ -365528,7 +365527,7 @@ var require_parse4 = __commonJS({
|
|
|
365528
365527
|
NO_DOTS_SLASH,
|
|
365529
365528
|
STAR,
|
|
365530
365529
|
START_ANCHOR
|
|
365531
|
-
} =
|
|
365530
|
+
} = constants.globChars(opts.windows);
|
|
365532
365531
|
const nodot = opts.dot ? NO_DOTS : NO_DOT;
|
|
365533
365532
|
const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
|
|
365534
365533
|
const capture = opts.capture ? "" : "?:";
|
|
@@ -365589,7 +365588,7 @@ var require_picomatch3 = __commonJS({
|
|
|
365589
365588
|
var scan = require_scan3();
|
|
365590
365589
|
var parse6 = require_parse4();
|
|
365591
365590
|
var utils2 = require_utils8();
|
|
365592
|
-
var
|
|
365591
|
+
var constants = require_constants6();
|
|
365593
365592
|
var isObject3 = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
365594
365593
|
var picomatch = (glob2, options8, returnState = false) => {
|
|
365595
365594
|
if (Array.isArray(glob2)) {
|
|
@@ -365720,7 +365719,7 @@ var require_picomatch3 = __commonJS({
|
|
|
365720
365719
|
return /$^/;
|
|
365721
365720
|
}
|
|
365722
365721
|
};
|
|
365723
|
-
picomatch.constants =
|
|
365722
|
+
picomatch.constants = constants;
|
|
365724
365723
|
module2.exports = picomatch;
|
|
365725
365724
|
}
|
|
365726
365725
|
});
|
|
@@ -370796,7 +370795,7 @@ var require_scan4 = __commonJS({
|
|
|
370796
370795
|
var require_parse5 = __commonJS({
|
|
370797
370796
|
"node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js"(exports2, module2) {
|
|
370798
370797
|
"use strict";
|
|
370799
|
-
var
|
|
370798
|
+
var constants = require_constants7();
|
|
370800
370799
|
var utils2 = require_utils9();
|
|
370801
370800
|
var {
|
|
370802
370801
|
MAX_LENGTH,
|
|
@@ -370804,7 +370803,7 @@ var require_parse5 = __commonJS({
|
|
|
370804
370803
|
REGEX_NON_SPECIAL_CHARS,
|
|
370805
370804
|
REGEX_SPECIAL_CHARS_BACKREF,
|
|
370806
370805
|
REPLACEMENTS
|
|
370807
|
-
} =
|
|
370806
|
+
} = constants;
|
|
370808
370807
|
var expandRange = (args, options8) => {
|
|
370809
370808
|
if (typeof options8.expandRange === "function") {
|
|
370810
370809
|
return options8.expandRange(...args, options8);
|
|
@@ -370836,8 +370835,8 @@ var require_parse5 = __commonJS({
|
|
|
370836
370835
|
const tokens = [bos];
|
|
370837
370836
|
const capture = opts.capture ? "" : "?:";
|
|
370838
370837
|
const win322 = utils2.isWindows(options8);
|
|
370839
|
-
const PLATFORM_CHARS =
|
|
370840
|
-
const EXTGLOB_CHARS =
|
|
370838
|
+
const PLATFORM_CHARS = constants.globChars(win322);
|
|
370839
|
+
const EXTGLOB_CHARS = constants.extglobChars(PLATFORM_CHARS);
|
|
370841
370840
|
const {
|
|
370842
370841
|
DOT_LITERAL,
|
|
370843
370842
|
PLUS_LITERAL,
|
|
@@ -371519,7 +371518,7 @@ var require_parse5 = __commonJS({
|
|
|
371519
371518
|
NO_DOTS_SLASH,
|
|
371520
371519
|
STAR,
|
|
371521
371520
|
START_ANCHOR
|
|
371522
|
-
} =
|
|
371521
|
+
} = constants.globChars(win322);
|
|
371523
371522
|
const nodot = opts.dot ? NO_DOTS : NO_DOT;
|
|
371524
371523
|
const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT;
|
|
371525
371524
|
const capture = opts.capture ? "" : "?:";
|
|
@@ -371581,7 +371580,7 @@ var require_picomatch5 = __commonJS({
|
|
|
371581
371580
|
var scan = require_scan4();
|
|
371582
371581
|
var parse6 = require_parse5();
|
|
371583
371582
|
var utils2 = require_utils9();
|
|
371584
|
-
var
|
|
371583
|
+
var constants = require_constants7();
|
|
371585
371584
|
var isObject3 = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
371586
371585
|
var picomatch = (glob2, options8, returnState = false) => {
|
|
371587
371586
|
if (Array.isArray(glob2)) {
|
|
@@ -371712,7 +371711,7 @@ var require_picomatch5 = __commonJS({
|
|
|
371712
371711
|
return /$^/;
|
|
371713
371712
|
}
|
|
371714
371713
|
};
|
|
371715
|
-
picomatch.constants =
|
|
371714
|
+
picomatch.constants = constants;
|
|
371716
371715
|
module2.exports = picomatch;
|
|
371717
371716
|
}
|
|
371718
371717
|
});
|
|
@@ -379248,7 +379247,7 @@ var require_buffer_list = __commonJS({
|
|
|
379248
379247
|
}
|
|
379249
379248
|
}, {
|
|
379250
379249
|
key: "join",
|
|
379251
|
-
value: function
|
|
379250
|
+
value: function join7(s) {
|
|
379252
379251
|
if (this.length === 0)
|
|
379253
379252
|
return "";
|
|
379254
379253
|
var p4 = this.head;
|
|
@@ -391305,9 +391304,9 @@ var require_project_name_and_root_utils = __commonJS({
|
|
|
391305
391304
|
}
|
|
391306
391305
|
});
|
|
391307
391306
|
|
|
391308
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391307
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/package.json
|
|
391309
391308
|
var require_package4 = __commonJS({
|
|
391310
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391309
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/package.json"(exports2, module2) {
|
|
391311
391310
|
module2.exports = {
|
|
391312
391311
|
name: "@nx/js",
|
|
391313
391312
|
version: "18.0.4",
|
|
@@ -391387,9 +391386,9 @@ var require_package4 = __commonJS({
|
|
|
391387
391386
|
}
|
|
391388
391387
|
});
|
|
391389
391388
|
|
|
391390
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391389
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/versions.js
|
|
391391
391390
|
var require_versions2 = __commonJS({
|
|
391392
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391391
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/versions.js"(exports2) {
|
|
391393
391392
|
"use strict";
|
|
391394
391393
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
391395
391394
|
exports2.supportedTypescriptVersions = exports2.typescriptVersion = exports2.verdaccioVersion = exports2.typesNodeVersion = exports2.tsLibVersion = exports2.swcNodeVersion = exports2.swcHelpersVersion = exports2.swcCoreVersion = exports2.swcCliVersion = exports2.prettierVersion = exports2.esbuildVersion = exports2.nxVersion = void 0;
|
|
@@ -391408,9 +391407,9 @@ var require_versions2 = __commonJS({
|
|
|
391408
391407
|
}
|
|
391409
391408
|
});
|
|
391410
391409
|
|
|
391411
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391410
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/add-tslib-dependencies.js
|
|
391412
391411
|
var require_add_tslib_dependencies = __commonJS({
|
|
391413
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391412
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/add-tslib-dependencies.js"(exports2) {
|
|
391414
391413
|
"use strict";
|
|
391415
391414
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
391416
391415
|
exports2.addTsLibDependencies = void 0;
|
|
@@ -391425,9 +391424,9 @@ var require_add_tslib_dependencies = __commonJS({
|
|
|
391425
391424
|
}
|
|
391426
391425
|
});
|
|
391427
391426
|
|
|
391428
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391427
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/load-ts-transformers.js
|
|
391429
391428
|
var require_load_ts_transformers = __commonJS({
|
|
391430
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391429
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/load-ts-transformers.js"(exports2, module2) {
|
|
391431
391430
|
"use strict";
|
|
391432
391431
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
391433
391432
|
exports2.loadTsTransformers = void 0;
|
|
@@ -391492,9 +391491,9 @@ var require_load_ts_transformers = __commonJS({
|
|
|
391492
391491
|
}
|
|
391493
391492
|
});
|
|
391494
391493
|
|
|
391495
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391494
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/print-diagnostics.js
|
|
391496
391495
|
var require_print_diagnostics = __commonJS({
|
|
391497
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391496
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/print-diagnostics.js"(exports2) {
|
|
391498
391497
|
"use strict";
|
|
391499
391498
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
391500
391499
|
exports2.printDiagnostics = void 0;
|
|
@@ -391517,9 +391516,9 @@ var require_print_diagnostics = __commonJS({
|
|
|
391517
391516
|
}
|
|
391518
391517
|
});
|
|
391519
391518
|
|
|
391520
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391519
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/code-frames/identifiers.js
|
|
391521
391520
|
var require_identifiers3 = __commonJS({
|
|
391522
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391521
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/code-frames/identifiers.js"(exports2) {
|
|
391523
391522
|
"use strict";
|
|
391524
391523
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
391525
391524
|
exports2.isKeyword = exports2.isReservedWord = void 0;
|
|
@@ -391571,9 +391570,9 @@ var require_identifiers3 = __commonJS({
|
|
|
391571
391570
|
}
|
|
391572
391571
|
});
|
|
391573
391572
|
|
|
391574
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391573
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/code-frames/highlight.js
|
|
391575
391574
|
var require_highlight = __commonJS({
|
|
391576
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391575
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/code-frames/highlight.js"(exports2) {
|
|
391577
391576
|
"use strict";
|
|
391578
391577
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
391579
391578
|
exports2.highlight = void 0;
|
|
@@ -391638,9 +391637,9 @@ var require_highlight = __commonJS({
|
|
|
391638
391637
|
}
|
|
391639
391638
|
});
|
|
391640
391639
|
|
|
391641
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391640
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/ensure-typescript.js
|
|
391642
391641
|
var require_ensure_typescript = __commonJS({
|
|
391643
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391642
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/ensure-typescript.js"(exports2) {
|
|
391644
391643
|
"use strict";
|
|
391645
391644
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
391646
391645
|
exports2.ensureTypescript = void 0;
|
|
@@ -391653,9 +391652,9 @@ var require_ensure_typescript = __commonJS({
|
|
|
391653
391652
|
}
|
|
391654
391653
|
});
|
|
391655
391654
|
|
|
391656
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391655
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/ts-config.js
|
|
391657
391656
|
var require_ts_config = __commonJS({
|
|
391658
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391657
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/ts-config.js"(exports2) {
|
|
391659
391658
|
"use strict";
|
|
391660
391659
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
391661
391660
|
exports2.readTsConfigPaths = exports2.addTsConfigPath = exports2.getRootTsConfigFileName = exports2.getRootTsConfigPath = exports2.getRelativePathToRootTsConfig = exports2.getRootTsConfigPathInTree = exports2.readTsConfig = void 0;
|
|
@@ -391739,9 +391738,9 @@ var require_ts_config = __commonJS({
|
|
|
391739
391738
|
}
|
|
391740
391739
|
});
|
|
391741
391740
|
|
|
391742
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391741
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/run-type-check.js
|
|
391743
391742
|
var require_run_type_check = __commonJS({
|
|
391744
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391743
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/run-type-check.js"(exports2) {
|
|
391745
391744
|
"use strict";
|
|
391746
391745
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
391747
391746
|
exports2.getFormattedDiagnostic = exports2.runTypeCheck = exports2.runTypeCheckWatch = void 0;
|
|
@@ -391857,9 +391856,9 @@ var require_run_type_check = __commonJS({
|
|
|
391857
391856
|
}
|
|
391858
391857
|
});
|
|
391859
391858
|
|
|
391860
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391859
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/get-source-nodes.js
|
|
391861
391860
|
var require_get_source_nodes = __commonJS({
|
|
391862
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391861
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/get-source-nodes.js"(exports2) {
|
|
391863
391862
|
"use strict";
|
|
391864
391863
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
391865
391864
|
exports2.getSourceNodes = void 0;
|
|
@@ -391881,9 +391880,9 @@ var require_get_source_nodes = __commonJS({
|
|
|
391881
391880
|
}
|
|
391882
391881
|
});
|
|
391883
391882
|
|
|
391884
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391883
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/swc/get-swcrc-path.js
|
|
391885
391884
|
var require_get_swcrc_path = __commonJS({
|
|
391886
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391885
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/swc/get-swcrc-path.js"(exports2) {
|
|
391887
391886
|
"use strict";
|
|
391888
391887
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
391889
391888
|
exports2.getSwcrcPath = void 0;
|
|
@@ -391895,9 +391894,9 @@ var require_get_swcrc_path = __commonJS({
|
|
|
391895
391894
|
}
|
|
391896
391895
|
});
|
|
391897
391896
|
|
|
391898
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391897
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/compiler-helper-dependency.js
|
|
391899
391898
|
var require_compiler_helper_dependency = __commonJS({
|
|
391900
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391899
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/compiler-helper-dependency.js"(exports2) {
|
|
391901
391900
|
"use strict";
|
|
391902
391901
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
391903
391902
|
exports2.getHelperDependenciesFromProjectGraph = exports2.getHelperDependency = exports2.HelperDependency = void 0;
|
|
@@ -391996,9 +391995,9 @@ var require_compiler_helper_dependency = __commonJS({
|
|
|
391996
391995
|
}
|
|
391997
391996
|
});
|
|
391998
391997
|
|
|
391999
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
391998
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/create-ts-config.js
|
|
392000
391999
|
var require_create_ts_config = __commonJS({
|
|
392001
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
392000
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/create-ts-config.js"(exports2) {
|
|
392002
392001
|
"use strict";
|
|
392003
392002
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
392004
392003
|
exports2.extractTsConfigBase = exports2.tsConfigBaseOptions = void 0;
|
|
@@ -392048,9 +392047,9 @@ var require_create_ts_config = __commonJS({
|
|
|
392048
392047
|
}
|
|
392049
392048
|
});
|
|
392050
392049
|
|
|
392051
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
392050
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/ast-utils.js
|
|
392052
392051
|
var require_ast_utils = __commonJS({
|
|
392053
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
392052
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/typescript/ast-utils.js"(exports2) {
|
|
392054
392053
|
"use strict";
|
|
392055
392054
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
392056
392055
|
exports2.findNodes = exports2.findClass = exports2.addMethod = exports2.addParameterToConstructor = exports2.replaceNodeValue = exports2.getImport = exports2.addGlobal = exports2.insertImport = exports2.removeChange = exports2.replaceChange = exports2.insertChange = exports2.resolveModuleByImport = void 0;
|
|
@@ -392289,9 +392288,9 @@ ${opts.methodHeader} {}
|
|
|
392289
392288
|
}
|
|
392290
392289
|
});
|
|
392291
392290
|
|
|
392292
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
392291
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/watch-for-single-file-changes.js
|
|
392293
392292
|
var require_watch_for_single_file_changes = __commonJS({
|
|
392294
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
392293
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/watch-for-single-file-changes.js"(exports2) {
|
|
392295
392294
|
"use strict";
|
|
392296
392295
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
392297
392296
|
exports2.watchForSingleFileChanges = void 0;
|
|
@@ -392315,9 +392314,9 @@ var require_watch_for_single_file_changes = __commonJS({
|
|
|
392315
392314
|
}
|
|
392316
392315
|
});
|
|
392317
392316
|
|
|
392318
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
392317
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/get-main-file-dir.js
|
|
392319
392318
|
var require_get_main_file_dir = __commonJS({
|
|
392320
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
392319
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/get-main-file-dir.js"(exports2) {
|
|
392321
392320
|
"use strict";
|
|
392322
392321
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
392323
392322
|
exports2.getRelativeDirectoryToProjectRoot = void 0;
|
|
@@ -392332,9 +392331,9 @@ var require_get_main_file_dir = __commonJS({
|
|
|
392332
392331
|
}
|
|
392333
392332
|
});
|
|
392334
392333
|
|
|
392335
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
392334
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/package-json/update-package-json.js
|
|
392336
392335
|
var require_update_package_json = __commonJS({
|
|
392337
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
392336
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/package-json/update-package-json.js"(exports2) {
|
|
392338
392337
|
"use strict";
|
|
392339
392338
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
392340
392339
|
exports2.getUpdatedPackageJsonContent = exports2.getExports = exports2.updatePackageJson = void 0;
|
|
@@ -392492,9 +392491,9 @@ var require_update_package_json = __commonJS({
|
|
|
392492
392491
|
}
|
|
392493
392492
|
});
|
|
392494
392493
|
|
|
392495
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
392494
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/buildable-libs-utils.js
|
|
392496
392495
|
var require_buildable_libs_utils = __commonJS({
|
|
392497
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
392496
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/buildable-libs-utils.js"(exports2) {
|
|
392498
392497
|
"use strict";
|
|
392499
392498
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
392500
392499
|
exports2.updateBuildableProjectPackageJsonDependencies = exports2.updatePaths = exports2.findMissingBuildDependencies = exports2.checkDependentProjectsHaveBeenBuilt = exports2.createTmpTsConfig = exports2.computeCompilerOptionsPaths = exports2.calculateDependenciesFromTaskGraph = exports2.calculateProjectDependencies = exports2.calculateProjectBuildableDependencies = void 0;
|
|
@@ -392818,9 +392817,9 @@ var require_buildable_libs_utils = __commonJS({
|
|
|
392818
392817
|
}
|
|
392819
392818
|
});
|
|
392820
392819
|
|
|
392821
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
392820
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/check-dependencies.js
|
|
392822
392821
|
var require_check_dependencies = __commonJS({
|
|
392823
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
392822
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/check-dependencies.js"(exports2) {
|
|
392824
392823
|
"use strict";
|
|
392825
392824
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
392826
392825
|
exports2.checkDependencies = void 0;
|
|
@@ -392847,9 +392846,9 @@ var require_check_dependencies = __commonJS({
|
|
|
392847
392846
|
}
|
|
392848
392847
|
});
|
|
392849
392848
|
|
|
392850
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
392849
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/package-json/index.js
|
|
392851
392850
|
var require_package_json2 = __commonJS({
|
|
392852
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
392851
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/package-json/index.js"(exports2) {
|
|
392853
392852
|
"use strict";
|
|
392854
392853
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
392855
392854
|
exports2.copyPackageJson = void 0;
|
|
@@ -396974,9 +396973,9 @@ var require_out8 = __commonJS({
|
|
|
396974
396973
|
}
|
|
396975
396974
|
});
|
|
396976
396975
|
|
|
396977
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
396976
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/assets/copy-assets-handler.js
|
|
396978
396977
|
var require_copy_assets_handler = __commonJS({
|
|
396979
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
396978
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/assets/copy-assets-handler.js"(exports2) {
|
|
396980
396979
|
"use strict";
|
|
396981
396980
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
396982
396981
|
exports2.CopyAssetsHandler = exports2.defaultFileEventHandler = void 0;
|
|
@@ -397123,9 +397122,9 @@ var require_copy_assets_handler = __commonJS({
|
|
|
397123
397122
|
}
|
|
397124
397123
|
});
|
|
397125
397124
|
|
|
397126
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397125
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/assets/index.js
|
|
397127
397126
|
var require_assets = __commonJS({
|
|
397128
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397127
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/assets/index.js"(exports2) {
|
|
397129
397128
|
"use strict";
|
|
397130
397129
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
397131
397130
|
exports2.copyAssets = void 0;
|
|
@@ -397155,9 +397154,9 @@ var require_assets = __commonJS({
|
|
|
397155
397154
|
}
|
|
397156
397155
|
});
|
|
397157
397156
|
|
|
397158
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397157
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/package-json/create-entry-points.js
|
|
397159
397158
|
var require_create_entry_points = __commonJS({
|
|
397160
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397159
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/package-json/create-entry-points.js"(exports2) {
|
|
397161
397160
|
"use strict";
|
|
397162
397161
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
397163
397162
|
exports2.createEntryPoints = void 0;
|
|
@@ -397179,9 +397178,9 @@ var require_create_entry_points = __commonJS({
|
|
|
397179
397178
|
}
|
|
397180
397179
|
});
|
|
397181
397180
|
|
|
397182
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397181
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/minimal-publish-script.js
|
|
397183
397182
|
var require_minimal_publish_script = __commonJS({
|
|
397184
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397183
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/minimal-publish-script.js"(exports2) {
|
|
397185
397184
|
"use strict";
|
|
397186
397185
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
397187
397186
|
exports2.addMinimalPublishScript = void 0;
|
|
@@ -397259,9 +397258,9 @@ execSync(\`npm publish --access public --tag \${tag}\`);
|
|
|
397259
397258
|
}
|
|
397260
397259
|
});
|
|
397261
397260
|
|
|
397262
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397261
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/swc/add-swc-config.js
|
|
397263
397262
|
var require_add_swc_config = __commonJS({
|
|
397264
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397263
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/swc/add-swc-config.js"(exports2) {
|
|
397265
397264
|
"use strict";
|
|
397266
397265
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
397267
397266
|
exports2.addSwcConfig = exports2.defaultExclude = void 0;
|
|
@@ -397306,9 +397305,9 @@ var require_add_swc_config = __commonJS({
|
|
|
397306
397305
|
}
|
|
397307
397306
|
});
|
|
397308
397307
|
|
|
397309
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397308
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/swc/add-swc-dependencies.js
|
|
397310
397309
|
var require_add_swc_dependencies = __commonJS({
|
|
397311
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397310
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/swc/add-swc-dependencies.js"(exports2) {
|
|
397312
397311
|
"use strict";
|
|
397313
397312
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
397314
397313
|
exports2.addSwcRegisterDependencies = exports2.addSwcDependencies = void 0;
|
|
@@ -397354,9 +397353,9 @@ var require_semver4 = __commonJS({
|
|
|
397354
397353
|
}
|
|
397355
397354
|
});
|
|
397356
397355
|
|
|
397357
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397356
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/generators/init/init.js
|
|
397358
397357
|
var require_init = __commonJS({
|
|
397359
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397358
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/generators/init/init.js"(exports2) {
|
|
397360
397359
|
"use strict";
|
|
397361
397360
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
397362
397361
|
exports2.initGenerator = void 0;
|
|
@@ -397463,9 +397462,9 @@ var require_init = __commonJS({
|
|
|
397463
397462
|
}
|
|
397464
397463
|
});
|
|
397465
397464
|
|
|
397466
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397465
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/generators/setup-verdaccio/generator.js
|
|
397467
397466
|
var require_generator = __commonJS({
|
|
397468
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397467
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/generators/setup-verdaccio/generator.js"(exports2) {
|
|
397469
397468
|
"use strict";
|
|
397470
397469
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
397471
397470
|
exports2.setupVerdaccio = void 0;
|
|
@@ -397564,9 +397563,9 @@ var require_add_build_target_defaults = __commonJS({
|
|
|
397564
397563
|
}
|
|
397565
397564
|
});
|
|
397566
397565
|
|
|
397567
|
-
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397566
|
+
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/utils/flat-config.js
|
|
397568
397567
|
var require_flat_config = __commonJS({
|
|
397569
|
-
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397568
|
+
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/utils/flat-config.js"(exports2) {
|
|
397570
397569
|
"use strict";
|
|
397571
397570
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
397572
397571
|
exports2.useFlatConfig = void 0;
|
|
@@ -397577,9 +397576,9 @@ var require_flat_config = __commonJS({
|
|
|
397577
397576
|
}
|
|
397578
397577
|
});
|
|
397579
397578
|
|
|
397580
|
-
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397579
|
+
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/utils/flat-config/path-utils.js
|
|
397581
397580
|
var require_path_utils = __commonJS({
|
|
397582
|
-
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397581
|
+
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/utils/flat-config/path-utils.js"(exports2) {
|
|
397583
397582
|
"use strict";
|
|
397584
397583
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
397585
397584
|
exports2.mapFilePath = exports2.updateFiles = void 0;
|
|
@@ -397609,9 +397608,9 @@ var require_path_utils = __commonJS({
|
|
|
397609
397608
|
}
|
|
397610
397609
|
});
|
|
397611
397610
|
|
|
397612
|
-
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397611
|
+
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js
|
|
397613
397612
|
var require_ast_utils2 = __commonJS({
|
|
397614
|
-
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
397613
|
+
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/utils/flat-config/ast-utils.js"(exports2) {
|
|
397615
397614
|
"use strict";
|
|
397616
397615
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
397617
397616
|
exports2.generateAst = exports2.mapFilePaths = exports2.generateFlatOverride = exports2.generateRequire = exports2.stringifyNodeList = exports2.generatePluginExtendsElement = exports2.generateSpreadElement = exports2.createNodeList = exports2.addCompatToFlatConfig = exports2.addPluginsToExportsBlock = exports2.removeCompatExtends = exports2.removePlugin = exports2.addBlockToFlatConfigExport = exports2.addImportToFlatConfig = exports2.replaceOverride = exports2.hasOverride = exports2.removeOverridesFromLintConfig = void 0;
|
|
@@ -398068,9 +398067,9 @@ const compat = new FlatCompat({
|
|
|
398068
398067
|
}
|
|
398069
398068
|
});
|
|
398070
398069
|
|
|
398071
|
-
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
398070
|
+
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/utils/config-file.js
|
|
398072
398071
|
var require_config_file = __commonJS({
|
|
398073
|
-
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
398072
|
+
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/utils/config-file.js"(exports2) {
|
|
398074
398073
|
"use strict";
|
|
398075
398074
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
398076
398075
|
exports2.isFlatConfig = exports2.findBaseEslintFile = exports2.baseEsLintFlatConfigFile = exports2.baseEsLintConfigFile = exports2.ESLINT_CONFIG_FILENAMES = void 0;
|
|
@@ -398109,9 +398108,9 @@ var require_config_file = __commonJS({
|
|
|
398109
398108
|
}
|
|
398110
398109
|
});
|
|
398111
398110
|
|
|
398112
|
-
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
398111
|
+
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/utils/eslint-file.js
|
|
398113
398112
|
var require_eslint_file = __commonJS({
|
|
398114
|
-
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
398113
|
+
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/utils/eslint-file.js"(exports2) {
|
|
398115
398114
|
"use strict";
|
|
398116
398115
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
398117
398116
|
exports2.getPluginImport = exports2.addIgnoresToLintConfig = exports2.addPluginsToLintConfig = exports2.addExtendsToLintConfig = exports2.replaceOverridesInLintConfig = exports2.lintConfigHasOverride = exports2.updateOverrideInLintConfig = exports2.addOverrideToLintConfig = exports2.updateRelativePathsInConfig = exports2.isEslintConfigSupported = exports2.findEslintFile = void 0;
|
|
@@ -398376,9 +398375,9 @@ var require_eslint_file = __commonJS({
|
|
|
398376
398375
|
}
|
|
398377
398376
|
});
|
|
398378
398377
|
|
|
398379
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
398378
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/generators/library/library.js
|
|
398380
398379
|
var require_library = __commonJS({
|
|
398381
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
398380
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/generators/library/library.js"(exports2) {
|
|
398382
398381
|
"use strict";
|
|
398383
398382
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
398384
398383
|
exports2.addLint = exports2.libraryGeneratorInternal = exports2.libraryGenerator = void 0;
|
|
@@ -398933,9 +398932,9 @@ var require_library = __commonJS({
|
|
|
398933
398932
|
}
|
|
398934
398933
|
});
|
|
398935
398934
|
|
|
398936
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
398935
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/index.js
|
|
398937
398936
|
var require_src5 = __commonJS({
|
|
398938
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
398937
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/index.js"(exports2) {
|
|
398939
398938
|
"use strict";
|
|
398940
398939
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
398941
398940
|
exports2.createPackageJson = exports2.getLockFileName = exports2.createLockFile = exports2.initGenerator = exports2.libraryGenerator = void 0;
|
|
@@ -399600,8 +399599,8 @@ var require_build2 = __commonJS({
|
|
|
399600
399599
|
if (typeof envPrefix === "undefined")
|
|
399601
399600
|
return;
|
|
399602
399601
|
const prefix = typeof envPrefix === "string" ? envPrefix : "";
|
|
399603
|
-
const
|
|
399604
|
-
Object.keys(
|
|
399602
|
+
const env3 = mixin.env();
|
|
399603
|
+
Object.keys(env3).forEach(function(envVar) {
|
|
399605
399604
|
if (prefix === "" || envVar.lastIndexOf(prefix, 0) === 0) {
|
|
399606
399605
|
const keys = envVar.split("__").map(function(key2, i3) {
|
|
399607
399606
|
if (i3 === 0) {
|
|
@@ -399610,7 +399609,7 @@ var require_build2 = __commonJS({
|
|
|
399610
399609
|
return camelCase(key2);
|
|
399611
399610
|
});
|
|
399612
399611
|
if ((configOnly && flags.configs[keys.join(".")] || !configOnly) && !hasKey(argv2, keys)) {
|
|
399613
|
-
setArg(keys.join("."),
|
|
399612
|
+
setArg(keys.join("."), env3[envVar]);
|
|
399614
399613
|
}
|
|
399615
399614
|
}
|
|
399616
399615
|
});
|
|
@@ -399917,11 +399916,11 @@ var require_build2 = __commonJS({
|
|
|
399917
399916
|
throw Error(`yargs parser supports a minimum Node.js version of ${minNodeVersion}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`);
|
|
399918
399917
|
}
|
|
399919
399918
|
}
|
|
399920
|
-
var
|
|
399919
|
+
var env2 = process ? process.env : {};
|
|
399921
399920
|
var parser = new YargsParser({
|
|
399922
399921
|
cwd: process.cwd,
|
|
399923
399922
|
env: () => {
|
|
399924
|
-
return
|
|
399923
|
+
return env2;
|
|
399925
399924
|
},
|
|
399926
399925
|
format: util3.format,
|
|
399927
399926
|
normalize: path15.normalize,
|
|
@@ -400094,9 +400093,9 @@ var require_update_package_scripts = __commonJS({
|
|
|
400094
400093
|
}
|
|
400095
400094
|
});
|
|
400096
400095
|
|
|
400097
|
-
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400096
|
+
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/package.json
|
|
400098
400097
|
var require_package5 = __commonJS({
|
|
400099
|
-
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400098
|
+
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/package.json"(exports2, module2) {
|
|
400100
400099
|
module2.exports = {
|
|
400101
400100
|
name: "@nx/eslint",
|
|
400102
400101
|
version: "18.0.4",
|
|
@@ -400152,9 +400151,9 @@ var require_package5 = __commonJS({
|
|
|
400152
400151
|
}
|
|
400153
400152
|
});
|
|
400154
400153
|
|
|
400155
|
-
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400154
|
+
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/utils/versions.js
|
|
400156
400155
|
var require_versions3 = __commonJS({
|
|
400157
|
-
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400156
|
+
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/utils/versions.js"(exports2) {
|
|
400158
400157
|
"use strict";
|
|
400159
400158
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
400160
400159
|
exports2.typescriptESLintVersion = exports2.eslintConfigPrettierVersion = exports2.eslintrcVersion = exports2.eslintVersion = exports2.nxVersion = void 0;
|
|
@@ -400166,9 +400165,9 @@ var require_versions3 = __commonJS({
|
|
|
400166
400165
|
}
|
|
400167
400166
|
});
|
|
400168
400167
|
|
|
400169
|
-
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400168
|
+
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/plugins/plugin.js
|
|
400170
400169
|
var require_plugin = __commonJS({
|
|
400171
|
-
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400170
|
+
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/plugins/plugin.js"(exports2) {
|
|
400172
400171
|
"use strict";
|
|
400173
400172
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
400174
400173
|
exports2.createNodes = void 0;
|
|
@@ -400260,9 +400259,9 @@ var require_plugin = __commonJS({
|
|
|
400260
400259
|
}
|
|
400261
400260
|
});
|
|
400262
400261
|
|
|
400263
|
-
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400262
|
+
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/utils/plugin.js
|
|
400264
400263
|
var require_plugin2 = __commonJS({
|
|
400265
|
-
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400264
|
+
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/utils/plugin.js"(exports2) {
|
|
400266
400265
|
"use strict";
|
|
400267
400266
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
400268
400267
|
exports2.hasEslintPlugin = void 0;
|
|
@@ -400275,9 +400274,9 @@ var require_plugin2 = __commonJS({
|
|
|
400275
400274
|
}
|
|
400276
400275
|
});
|
|
400277
400276
|
|
|
400278
|
-
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400277
|
+
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/init/init.js
|
|
400279
400278
|
var require_init2 = __commonJS({
|
|
400280
|
-
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400279
|
+
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/init/init.js"(exports2) {
|
|
400281
400280
|
"use strict";
|
|
400282
400281
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
400283
400282
|
exports2.lintInitGenerator = exports2.initEsLint = void 0;
|
|
@@ -400369,9 +400368,9 @@ var require_init2 = __commonJS({
|
|
|
400369
400368
|
}
|
|
400370
400369
|
});
|
|
400371
400370
|
|
|
400372
|
-
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400371
|
+
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js
|
|
400373
400372
|
var require_global_eslint_config = __commonJS({
|
|
400374
|
-
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400373
|
+
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/init/global-eslint-config.js"(exports2) {
|
|
400375
400374
|
"use strict";
|
|
400376
400375
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
400377
400376
|
exports2.getGlobalFlatEslintConfiguration = exports2.getGlobalEsLintConfiguration = exports2.javaScriptOverride = exports2.typeScriptOverride = void 0;
|
|
@@ -400460,9 +400459,9 @@ var require_global_eslint_config = __commonJS({
|
|
|
400460
400459
|
}
|
|
400461
400460
|
});
|
|
400462
400461
|
|
|
400463
|
-
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400462
|
+
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/init/init-migration.js
|
|
400464
400463
|
var require_init_migration = __commonJS({
|
|
400465
|
-
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400464
|
+
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/init/init-migration.js"(exports2) {
|
|
400466
400465
|
"use strict";
|
|
400467
400466
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
400468
400467
|
exports2.findLintTarget = exports2.migrateConfigToMonorepoStyle = void 0;
|
|
@@ -400575,9 +400574,9 @@ var require_init_migration = __commonJS({
|
|
|
400575
400574
|
}
|
|
400576
400575
|
});
|
|
400577
400576
|
|
|
400578
|
-
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400577
|
+
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/lint-project/setup-root-eslint.js
|
|
400579
400578
|
var require_setup_root_eslint = __commonJS({
|
|
400580
|
-
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400579
|
+
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/lint-project/setup-root-eslint.js"(exports2) {
|
|
400581
400580
|
"use strict";
|
|
400582
400581
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
400583
400582
|
exports2.setupRootEsLint = void 0;
|
|
@@ -400615,9 +400614,9 @@ node_modules
|
|
|
400615
400614
|
}
|
|
400616
400615
|
});
|
|
400617
400616
|
|
|
400618
|
-
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400617
|
+
// node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/lint-project/lint-project.js
|
|
400619
400618
|
var require_lint_project = __commonJS({
|
|
400620
|
-
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
400619
|
+
"node_modules/.pnpm/@nx+eslint@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11._4fdftmierzjmwnebqy3vjx3xeu/node_modules/@nx/eslint/src/generators/lint-project/lint-project.js"(exports2) {
|
|
400621
400620
|
"use strict";
|
|
400622
400621
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
400623
400622
|
exports2.lintProjectGeneratorInternal = exports2.lintProjectGenerator = void 0;
|
|
@@ -400838,7 +400837,7 @@ var require_strip_it = __commonJS({
|
|
|
400838
400837
|
return this.nodes.length > 0 && this.nodes[0].protected === true;
|
|
400839
400838
|
}
|
|
400840
400839
|
};
|
|
400841
|
-
var
|
|
400840
|
+
var constants = {
|
|
400842
400841
|
ESCAPED_CHAR_REGEX: /^\\./,
|
|
400843
400842
|
QUOTED_STRING_REGEX: /^(['"`])((?:\\.|[^\1])+?)(\1)/,
|
|
400844
400843
|
NEWLINE_REGEX: /^\r*\n/,
|
|
@@ -400849,7 +400848,7 @@ var require_strip_it = __commonJS({
|
|
|
400849
400848
|
var parse6 = (input) => {
|
|
400850
400849
|
const cst = new TextBlock({ type: "root", nodes: [] });
|
|
400851
400850
|
const stack2 = [cst];
|
|
400852
|
-
const { ESCAPED_CHAR_REGEX, QUOTED_STRING_REGEX, NEWLINE_REGEX, BLOCK_CLOSE_REGEX, BLOCK_OPEN_REGEX, LINE_REGEX } =
|
|
400851
|
+
const { ESCAPED_CHAR_REGEX, QUOTED_STRING_REGEX, NEWLINE_REGEX, BLOCK_CLOSE_REGEX, BLOCK_OPEN_REGEX, LINE_REGEX } = constants;
|
|
400853
400852
|
let block = cst;
|
|
400854
400853
|
let remaining = input;
|
|
400855
400854
|
let token2;
|
|
@@ -401041,9 +401040,9 @@ var require_src6 = __commonJS({
|
|
|
401041
401040
|
}
|
|
401042
401041
|
});
|
|
401043
401042
|
|
|
401044
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
401043
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/executors/tsc/lib/get-custom-transformers-factory.js
|
|
401045
401044
|
var require_get_custom_transformers_factory = __commonJS({
|
|
401046
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
401045
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/executors/tsc/lib/get-custom-transformers-factory.js"(exports2) {
|
|
401047
401046
|
"use strict";
|
|
401048
401047
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
401049
401048
|
exports2.getCustomTrasformersFactory = void 0;
|
|
@@ -401060,9 +401059,9 @@ var require_get_custom_transformers_factory = __commonJS({
|
|
|
401060
401059
|
}
|
|
401061
401060
|
});
|
|
401062
401061
|
|
|
401063
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
401062
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/assets/assets.js
|
|
401064
401063
|
var require_assets2 = __commonJS({
|
|
401065
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
401064
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/utils/assets/assets.js"(exports2) {
|
|
401066
401065
|
"use strict";
|
|
401067
401066
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
401068
401067
|
exports2.assetGlobsToFiles = void 0;
|
|
@@ -401101,9 +401100,9 @@ var require_assets2 = __commonJS({
|
|
|
401101
401100
|
}
|
|
401102
401101
|
});
|
|
401103
401102
|
|
|
401104
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
401103
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/executors/tsc/lib/normalize-options.js
|
|
401105
401104
|
var require_normalize_options = __commonJS({
|
|
401106
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
401105
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/executors/tsc/lib/normalize-options.js"(exports2) {
|
|
401107
401106
|
"use strict";
|
|
401108
401107
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
401109
401108
|
exports2.normalizeOptions = void 0;
|
|
@@ -401138,9 +401137,9 @@ var require_normalize_options = __commonJS({
|
|
|
401138
401137
|
}
|
|
401139
401138
|
});
|
|
401140
401139
|
|
|
401141
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1.
|
|
401140
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/chunk-EPAEWGCP.js
|
|
401142
401141
|
var require_chunk_EPAEWGCP = __commonJS({
|
|
401143
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1.
|
|
401142
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/chunk-EPAEWGCP.js"(exports2) {
|
|
401144
401143
|
"use strict";
|
|
401145
401144
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
401146
401145
|
var version = "8.0.0";
|
|
@@ -402787,9 +402786,9 @@ var require_resolve_from2 = __commonJS({
|
|
|
402787
402786
|
}
|
|
402788
402787
|
});
|
|
402789
402788
|
|
|
402790
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1.
|
|
402789
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/chunk-GQ77QZBO.js
|
|
402791
402790
|
var require_chunk_GQ77QZBO = __commonJS({
|
|
402792
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1.
|
|
402791
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/chunk-GQ77QZBO.js"(exports2) {
|
|
402793
402792
|
"use strict";
|
|
402794
402793
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
402795
402794
|
function _interopRequireDefault(obj) {
|
|
@@ -402993,7 +402992,7 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
402993
402992
|
}
|
|
402994
402993
|
_fs2.default.mkdirSync(dirPath, { recursive: true });
|
|
402995
402994
|
const gitIgnorePath = _path2.default.join(options8.workspaceRoot, "tmp", ".tsup", ".gitignore");
|
|
402996
|
-
|
|
402995
|
+
writeFileSync2(gitIgnorePath, "**/*\n");
|
|
402997
402996
|
return dirPath;
|
|
402998
402997
|
}
|
|
402999
402998
|
var toObjectEntry = (entry) => {
|
|
@@ -403042,7 +403041,7 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
403042
403041
|
function trimDtsExtension(fileName) {
|
|
403043
403042
|
return fileName.replace(/\.d\.(ts|mts|cts)x?$/, "");
|
|
403044
403043
|
}
|
|
403045
|
-
function
|
|
403044
|
+
function writeFileSync2(filePath, content) {
|
|
403046
403045
|
_fs2.default.mkdirSync(_path2.default.dirname(filePath), { recursive: true });
|
|
403047
403046
|
_fs2.default.writeFileSync(filePath, content);
|
|
403048
403047
|
}
|
|
@@ -403063,13 +403062,13 @@ var require_chunk_GQ77QZBO = __commonJS({
|
|
|
403063
403062
|
exports2.toObjectEntry = toObjectEntry;
|
|
403064
403063
|
exports2.toAbsolutePath = toAbsolutePath2;
|
|
403065
403064
|
exports2.trimDtsExtension = trimDtsExtension;
|
|
403066
|
-
exports2.writeFileSync =
|
|
403065
|
+
exports2.writeFileSync = writeFileSync2;
|
|
403067
403066
|
}
|
|
403068
403067
|
});
|
|
403069
403068
|
|
|
403070
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1.
|
|
403069
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/chunk-UIX4URMV.js
|
|
403071
403070
|
var require_chunk_UIX4URMV = __commonJS({
|
|
403072
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1.
|
|
403071
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/chunk-UIX4URMV.js"(exports2) {
|
|
403073
403072
|
"use strict";
|
|
403074
403073
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
403075
403074
|
function _interopRequireWildcard(obj) {
|
|
@@ -403138,13 +403137,13 @@ var require_chunk_UIX4URMV = __commonJS({
|
|
|
403138
403137
|
});
|
|
403139
403138
|
var _tty = require("tty");
|
|
403140
403139
|
var tty2 = _interopRequireWildcard(_tty);
|
|
403141
|
-
var
|
|
403140
|
+
var env2 = process.env || {};
|
|
403142
403141
|
var argv = process.argv || [];
|
|
403143
|
-
var isDisabled = "NO_COLOR" in
|
|
403144
|
-
var isForced = "FORCE_COLOR" in
|
|
403142
|
+
var isDisabled = "NO_COLOR" in env2 || argv.includes("--no-color");
|
|
403143
|
+
var isForced = "FORCE_COLOR" in env2 || argv.includes("--color");
|
|
403145
403144
|
var isWindows = process.platform === "win32";
|
|
403146
|
-
var isCompatibleTerminal = tty2 && tty2.isatty && tty2.isatty(1) &&
|
|
403147
|
-
var isCI = "CI" in
|
|
403145
|
+
var isCompatibleTerminal = tty2 && tty2.isatty && tty2.isatty(1) && env2.TERM && env2.TERM !== "dumb";
|
|
403146
|
+
var isCI = "CI" in env2 && ("GITHUB_ACTIONS" in env2 || "GITLAB_CI" in env2 || "CIRCLECI" in env2);
|
|
403148
403147
|
var isColorSupported = !isDisabled && (isForced || isWindows || isCompatibleTerminal || isCI);
|
|
403149
403148
|
var replaceClose = (index, string, close, replace, head = string.substring(0, index) + replace, tail = string.substring(index + close.length), next = tail.indexOf(close)) => head + (next < 0 ? tail : replaceClose(next, tail, close, replace));
|
|
403150
403149
|
var clearBleed = (index, string, open, close, replace) => index < 0 ? open + string + close : open + replaceClose(index, string, close, replace) + close;
|
|
@@ -403305,7 +403304,7 @@ var require_lib6 = __commonJS({
|
|
|
403305
403304
|
function _interopRequireDefault(obj) {
|
|
403306
403305
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
403307
403306
|
}
|
|
403308
|
-
var
|
|
403307
|
+
var readFileSync3 = (fp3) => {
|
|
403309
403308
|
return _fs.default.readFileSync(fp3, "utf8");
|
|
403310
403309
|
};
|
|
403311
403310
|
var pathExists = (fp3) => new Promise((resolve3) => {
|
|
@@ -403429,7 +403428,7 @@ var require_lib6 = __commonJS({
|
|
|
403429
403428
|
if (this.packageJsonCache.has(filepath2)) {
|
|
403430
403429
|
return this.packageJsonCache.get(filepath2)[options8.packageKey];
|
|
403431
403430
|
}
|
|
403432
|
-
const data2 = this.options.parseJSON(
|
|
403431
|
+
const data2 = this.options.parseJSON(readFileSync3(filepath2));
|
|
403433
403432
|
return data2;
|
|
403434
403433
|
}
|
|
403435
403434
|
};
|
|
@@ -403463,7 +403462,7 @@ var require_lib6 = __commonJS({
|
|
|
403463
403462
|
if (this.packageJsonCache.has(filepath2)) {
|
|
403464
403463
|
return this.packageJsonCache.get(filepath2)[options8.packageKey];
|
|
403465
403464
|
}
|
|
403466
|
-
const data2 = this.options.parseJSON(
|
|
403465
|
+
const data2 = this.options.parseJSON(readFileSync3(filepath2));
|
|
403467
403466
|
return data2;
|
|
403468
403467
|
}
|
|
403469
403468
|
};
|
|
@@ -404003,9 +404002,9 @@ var require_dist4 = __commonJS({
|
|
|
404003
404002
|
}
|
|
404004
404003
|
});
|
|
404005
404004
|
|
|
404006
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1.
|
|
404005
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/chunk-7G76EW2R.js
|
|
404007
404006
|
var require_chunk_7G76EW2R = __commonJS({
|
|
404008
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1.
|
|
404007
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/chunk-7G76EW2R.js"(exports2) {
|
|
404009
404008
|
"use strict";
|
|
404010
404009
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
404011
404010
|
function _interopRequireDefault(obj) {
|
|
@@ -404481,7 +404480,7 @@ var require_resolveCommand = __commonJS({
|
|
|
404481
404480
|
var which = require_which();
|
|
404482
404481
|
var getPathKey = require_path_key();
|
|
404483
404482
|
function resolveCommandAttempt(parsed, withoutPathExt) {
|
|
404484
|
-
const
|
|
404483
|
+
const env2 = parsed.options.env || process.env;
|
|
404485
404484
|
const cwd = process.cwd();
|
|
404486
404485
|
const hasCustomCwd = parsed.options.cwd != null;
|
|
404487
404486
|
const shouldSwitchCwd = hasCustomCwd && process.chdir !== void 0 && !process.chdir.disabled;
|
|
@@ -404494,7 +404493,7 @@ var require_resolveCommand = __commonJS({
|
|
|
404494
404493
|
let resolved;
|
|
404495
404494
|
try {
|
|
404496
404495
|
resolved = which.sync(parsed.command, {
|
|
404497
|
-
path:
|
|
404496
|
+
path: env2[getPathKey({ env: env2 })],
|
|
404498
404497
|
pathExt: withoutPathExt ? path15.delimiter : void 0
|
|
404499
404498
|
});
|
|
404500
404499
|
} catch (e3) {
|
|
@@ -404779,11 +404778,11 @@ var require_npm_run_path = __commonJS({
|
|
|
404779
404778
|
env: process.env,
|
|
404780
404779
|
...options8
|
|
404781
404780
|
};
|
|
404782
|
-
const
|
|
404783
|
-
const path16 = pathKey({ env:
|
|
404784
|
-
options8.path =
|
|
404785
|
-
|
|
404786
|
-
return
|
|
404781
|
+
const env2 = { ...options8.env };
|
|
404782
|
+
const path16 = pathKey({ env: env2 });
|
|
404783
|
+
options8.path = env2[path16];
|
|
404784
|
+
env2[path16] = module2.exports(options8);
|
|
404785
|
+
return env2;
|
|
404787
404786
|
};
|
|
404788
404787
|
}
|
|
404789
404788
|
});
|
|
@@ -405729,11 +405728,11 @@ var require_execa = __commonJS({
|
|
|
405729
405728
|
var { joinCommand, parseCommand, getEscapedCommand } = require_command();
|
|
405730
405729
|
var DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100;
|
|
405731
405730
|
var getEnv = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {
|
|
405732
|
-
const
|
|
405731
|
+
const env2 = extendEnv ? { ...process.env, ...envOption } : envOption;
|
|
405733
405732
|
if (preferLocal) {
|
|
405734
|
-
return npmRunPath.env({ env:
|
|
405733
|
+
return npmRunPath.env({ env: env2, cwd: localDir, execPath });
|
|
405735
405734
|
}
|
|
405736
|
-
return
|
|
405735
|
+
return env2;
|
|
405737
405736
|
};
|
|
405738
405737
|
var handleArguments = (file, args, options8 = {}) => {
|
|
405739
405738
|
const parsed = crossSpawn._parse(file, args, options8);
|
|
@@ -429114,7 +429113,7 @@ var require_util8 = __commonJS({
|
|
|
429114
429113
|
var normalize2 = createSafeHandler((url2) => {
|
|
429115
429114
|
});
|
|
429116
429115
|
exports2.normalize = normalize2;
|
|
429117
|
-
function
|
|
429116
|
+
function join7(aRoot, aPath) {
|
|
429118
429117
|
const pathType = getURLType(aPath);
|
|
429119
429118
|
const rootType = getURLType(aRoot);
|
|
429120
429119
|
aRoot = ensureDirectory(aRoot);
|
|
@@ -429140,7 +429139,7 @@ var require_util8 = __commonJS({
|
|
|
429140
429139
|
const newPath = withBase(aPath, withBase(aRoot, base));
|
|
429141
429140
|
return computeRelativeURL(base, newPath);
|
|
429142
429141
|
}
|
|
429143
|
-
exports2.join =
|
|
429142
|
+
exports2.join = join7;
|
|
429144
429143
|
function relative2(rootURL, targetURL) {
|
|
429145
429144
|
const result = relativeIfPossible(rootURL, targetURL);
|
|
429146
429145
|
return typeof result === "string" ? result : normalize2(targetURL);
|
|
@@ -429170,9 +429169,9 @@ var require_util8 = __commonJS({
|
|
|
429170
429169
|
}
|
|
429171
429170
|
let url2 = normalize2(sourceURL || "");
|
|
429172
429171
|
if (sourceRoot)
|
|
429173
|
-
url2 =
|
|
429172
|
+
url2 = join7(sourceRoot, url2);
|
|
429174
429173
|
if (sourceMapURL)
|
|
429175
|
-
url2 =
|
|
429174
|
+
url2 = join7(trimFilename(sourceMapURL), url2);
|
|
429176
429175
|
return url2;
|
|
429177
429176
|
}
|
|
429178
429177
|
exports2.computeSourceURL = computeSourceURL;
|
|
@@ -430937,8 +430936,8 @@ var require_source_map3 = __commonJS({
|
|
|
430937
430936
|
// node_modules/.pnpm/rollup@4.10.0/node_modules/rollup/dist/native.js
|
|
430938
430937
|
var require_native = __commonJS({
|
|
430939
430938
|
"node_modules/.pnpm/rollup@4.10.0/node_modules/rollup/dist/native.js"(exports2, module2) {
|
|
430940
|
-
var { existsSync:
|
|
430941
|
-
var { join:
|
|
430939
|
+
var { existsSync: existsSync4 } = require("node:fs");
|
|
430940
|
+
var { join: join7 } = require("node:path");
|
|
430942
430941
|
var { platform, arch, report } = require("node:process");
|
|
430943
430942
|
var isMusl = () => !report.getReport().header.glibcVersionRuntime;
|
|
430944
430943
|
var bindingsByPlatformAndArch = {
|
|
@@ -431012,7 +431011,7 @@ If this is important to you, please consider supporting Rollup to make a native
|
|
|
431012
431011
|
}
|
|
431013
431012
|
};
|
|
431014
431013
|
var { parse: parse6, parseAsync, xxhashBase64Url, xxhashBase36, xxhashBase16 } = requireWithFriendlyError(
|
|
431015
|
-
|
|
431014
|
+
existsSync4(join7(__dirname, localName)) ? localName : `@rollup/rollup-${packageBase}`
|
|
431016
431015
|
);
|
|
431017
431016
|
module2.exports.parse = parse6;
|
|
431018
431017
|
module2.exports.parseAsync = parseAsync;
|
|
@@ -434552,16 +434551,16 @@ var require_rollup = __commonJS({
|
|
|
434552
434551
|
return outputOptions;
|
|
434553
434552
|
}
|
|
434554
434553
|
var {
|
|
434555
|
-
env:
|
|
434554
|
+
env: env2 = {},
|
|
434556
434555
|
argv = [],
|
|
434557
434556
|
platform = ""
|
|
434558
434557
|
} = typeof process === "undefined" ? {} : process;
|
|
434559
|
-
var isDisabled = "NO_COLOR" in
|
|
434560
|
-
var isForced = "FORCE_COLOR" in
|
|
434558
|
+
var isDisabled = "NO_COLOR" in env2 || argv.includes("--no-color");
|
|
434559
|
+
var isForced = "FORCE_COLOR" in env2 || argv.includes("--color");
|
|
434561
434560
|
var isWindows = platform === "win32";
|
|
434562
|
-
var isDumbTerminal =
|
|
434563
|
-
var isCompatibleTerminal = tty__namespace && tty__namespace.isatty && tty__namespace.isatty(1) &&
|
|
434564
|
-
var isCI = "CI" in
|
|
434561
|
+
var isDumbTerminal = env2.TERM === "dumb";
|
|
434562
|
+
var isCompatibleTerminal = tty__namespace && tty__namespace.isatty && tty__namespace.isatty(1) && env2.TERM && !isDumbTerminal;
|
|
434563
|
+
var isCI = "CI" in env2 && ("GITHUB_ACTIONS" in env2 || "GITLAB_CI" in env2 || "CIRCLECI" in env2);
|
|
434565
434564
|
var isColorSupported = !isDisabled && (isForced || isWindows && !isDumbTerminal || isCompatibleTerminal || isCI);
|
|
434566
434565
|
var replaceClose = (index, string, close, replace, head = string.substring(0, index) + replace, tail = string.substring(index + close.length), next = tail.indexOf(close)) => head + (next < 0 ? tail : replaceClose(next, tail, close, replace));
|
|
434567
434566
|
var clearBleed = (index, string, open, close, replace) => index < 0 ? open + string + close : open + replaceClose(index, string, close, replace) + close;
|
|
@@ -437897,7 +437896,7 @@ var require_rollup = __commonJS({
|
|
|
437897
437896
|
var scan = scan_1;
|
|
437898
437897
|
var parse6 = parse_1;
|
|
437899
437898
|
var utils2 = utils$3;
|
|
437900
|
-
var
|
|
437899
|
+
var constants = constants$2;
|
|
437901
437900
|
var isObject3 = (val) => val && typeof val === "object" && !Array.isArray(val);
|
|
437902
437901
|
var picomatch$1 = (glob2, options8, returnState = false) => {
|
|
437903
437902
|
if (Array.isArray(glob2)) {
|
|
@@ -438028,7 +438027,7 @@ var require_rollup = __commonJS({
|
|
|
438028
438027
|
return /$^/;
|
|
438029
438028
|
}
|
|
438030
438029
|
};
|
|
438031
|
-
picomatch$1.constants =
|
|
438030
|
+
picomatch$1.constants = constants;
|
|
438032
438031
|
var picomatch_1 = picomatch$1;
|
|
438033
438032
|
var picomatch = picomatch_1;
|
|
438034
438033
|
var pm = /* @__PURE__ */ getDefaultExportFromCjs(picomatch);
|
|
@@ -452853,7 +452852,7 @@ var require_shared = __commonJS({
|
|
|
452853
452852
|
var binaryExtensions = binaryExtensions$1;
|
|
452854
452853
|
var extensions = new Set(binaryExtensions);
|
|
452855
452854
|
var isBinaryPath$1 = (filePath) => extensions.has(path15.extname(filePath).slice(1).toLowerCase());
|
|
452856
|
-
var
|
|
452855
|
+
var constants = {};
|
|
452857
452856
|
(function(exports3) {
|
|
452858
452857
|
const { sep: sep4 } = require$$0$2;
|
|
452859
452858
|
const { platform } = process;
|
|
@@ -452912,7 +452911,7 @@ var require_shared = __commonJS({
|
|
|
452912
452911
|
exports3.isMacos = platform === "darwin";
|
|
452913
452912
|
exports3.isLinux = platform === "linux";
|
|
452914
452913
|
exports3.isIBMi = os6.type() === "OS400";
|
|
452915
|
-
})(
|
|
452914
|
+
})(constants);
|
|
452916
452915
|
var fs$2 = require$$0$1;
|
|
452917
452916
|
var sysPath$2 = require$$0$2;
|
|
452918
452917
|
var { promisify: promisify$2 } = require$$2;
|
|
@@ -452934,7 +452933,7 @@ var require_shared = __commonJS({
|
|
|
452934
452933
|
STR_END: STR_END$2,
|
|
452935
452934
|
BRACE_START: BRACE_START$1,
|
|
452936
452935
|
STAR
|
|
452937
|
-
} =
|
|
452936
|
+
} = constants;
|
|
452938
452937
|
var THROTTLE_MODE_WATCH = "watch";
|
|
452939
452938
|
var open = promisify$2(fs$2.open);
|
|
452940
452939
|
var stat$2 = promisify$2(fs$2.stat);
|
|
@@ -453457,7 +453456,7 @@ var require_shared = __commonJS({
|
|
|
453457
453456
|
FUNCTION_TYPE: FUNCTION_TYPE$1,
|
|
453458
453457
|
EMPTY_FN: EMPTY_FN$1,
|
|
453459
453458
|
IDENTITY_FN
|
|
453460
|
-
} =
|
|
453459
|
+
} = constants;
|
|
453461
453460
|
var Depth = (value) => isNaN(value) ? {} : { depth: value };
|
|
453462
453461
|
var stat$1 = promisify$1(fs$1.stat);
|
|
453463
453462
|
var lstat2 = promisify$1(fs$1.lstat);
|
|
@@ -453874,7 +453873,7 @@ var require_shared = __commonJS({
|
|
|
453874
453873
|
isWindows,
|
|
453875
453874
|
isMacos,
|
|
453876
453875
|
isIBMi
|
|
453877
|
-
} =
|
|
453876
|
+
} = constants;
|
|
453878
453877
|
var stat2 = promisify(fs7.stat);
|
|
453879
453878
|
var readdir2 = promisify(fs7.readdir);
|
|
453880
453879
|
var arrify = (value = []) => Array.isArray(value) ? value : [value];
|
|
@@ -455019,9 +455018,9 @@ var require_rollup2 = __commonJS({
|
|
|
455019
455018
|
}
|
|
455020
455019
|
});
|
|
455021
455020
|
|
|
455022
|
-
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1.
|
|
455021
|
+
// node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/index.js
|
|
455023
455022
|
var require_dist7 = __commonJS({
|
|
455024
|
-
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1.
|
|
455023
|
+
"node_modules/.pnpm/tsup@8.0.0_patch_hash=fecszixvz36nsmruxbct32ggt4_@microsoft+api-extractor@7.40.1_@swc+core@1._cvnwl4sfoqdlyxchryxvqgzdae/node_modules/tsup/dist/index.js"(exports2) {
|
|
455025
455024
|
"use strict";
|
|
455026
455025
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
455027
455026
|
function _interopRequireDefault(obj) {
|
|
@@ -456695,11 +456694,11 @@ var require_dist7 = __commonJS({
|
|
|
456695
456694
|
];
|
|
456696
456695
|
const outDir = options8.outDir;
|
|
456697
456696
|
const outExtension2 = getOutputExtensionMap(options8, format3, pkg.type);
|
|
456698
|
-
const
|
|
456697
|
+
const env2 = {
|
|
456699
456698
|
...options8.env
|
|
456700
456699
|
};
|
|
456701
456700
|
if (options8.replaceNodeEnv) {
|
|
456702
|
-
|
|
456701
|
+
env2.NODE_ENV = options8.minify || options8.minifyWhitespace ? "production" : "development";
|
|
456703
456702
|
}
|
|
456704
456703
|
logger3.info(format3, "Build start");
|
|
456705
456704
|
const startTime = Date.now();
|
|
@@ -456795,8 +456794,8 @@ var require_dist7 = __commonJS({
|
|
|
456795
456794
|
"import.meta.url": "importMetaUrl"
|
|
456796
456795
|
} : {},
|
|
456797
456796
|
...options8.define,
|
|
456798
|
-
...Object.keys(
|
|
456799
|
-
const value = JSON.stringify(
|
|
456797
|
+
...Object.keys(env2).reduce((res, key2) => {
|
|
456798
|
+
const value = JSON.stringify(env2[key2]);
|
|
456800
456799
|
return {
|
|
456801
456800
|
...res,
|
|
456802
456801
|
[`process.env.${key2}`]: value,
|
|
@@ -462471,7 +462470,7 @@ var require_iterate_metadata_intersection = __commonJS({
|
|
|
462471
462470
|
var _b2 = __read2(_a4, 1), c7 = _b2[0];
|
|
462472
462471
|
return c7.size() === 1 && (c7.atomics.length === 1 || c7.constants.length === 1 && c7.constants[0].type === "boolean" || c7.arrays.length === 1);
|
|
462473
462472
|
});
|
|
462474
|
-
var
|
|
462473
|
+
var constants = children.filter(function(m3) {
|
|
462475
462474
|
return m3.size() === m3.constants.map(function(c7) {
|
|
462476
462475
|
return c7.values.length;
|
|
462477
462476
|
}).reduce(function(a2, b8) {
|
|
@@ -462501,7 +462500,7 @@ var require_iterate_metadata_intersection = __commonJS({
|
|
|
462501
462500
|
return a2.type.name;
|
|
462502
462501
|
});
|
|
462503
462502
|
}).flat());
|
|
462504
|
-
if (atomics.size + arrays.size > 1 || individuals.length + objects.length +
|
|
462503
|
+
if (atomics.size + arrays.size > 1 || individuals.length + objects.length + constants.length !== children.length) {
|
|
462505
462504
|
errors.push({
|
|
462506
462505
|
name: children.map(function(c7) {
|
|
462507
462506
|
return c7.getName();
|
|
@@ -462510,9 +462509,9 @@ var require_iterate_metadata_intersection = __commonJS({
|
|
|
462510
462509
|
messages: ["nonsensible intersection"]
|
|
462511
462510
|
});
|
|
462512
462511
|
return true;
|
|
462513
|
-
} else if (atomics.size === 0 && arrays.size === 0 &&
|
|
462512
|
+
} else if (atomics.size === 0 && arrays.size === 0 && constants.length) {
|
|
462514
462513
|
try {
|
|
462515
|
-
for (var constants_1 = __values2(
|
|
462514
|
+
for (var constants_1 = __values2(constants), constants_1_1 = constants_1.next(); !constants_1_1.done; constants_1_1 = constants_1.next()) {
|
|
462516
462515
|
var m2 = constants_1_1.value;
|
|
462517
462516
|
try {
|
|
462518
462517
|
for (var _e12 = (e_2 = void 0, __values2(m2.templates)), _f = _e12.next(); !_f.done; _f = _e12.next()) {
|
|
@@ -465180,7 +465179,7 @@ var require_TransformerError = __commonJS({
|
|
|
465180
465179
|
TransformerError2.from = function(method) {
|
|
465181
465180
|
return function(errors) {
|
|
465182
465181
|
var body = errors.map(function(e3) {
|
|
465183
|
-
var subject = e3.explore.object === null ? "" :
|
|
465182
|
+
var subject = e3.explore.object === null ? "" : join7(e3.explore.object)(e3.explore.property);
|
|
465184
465183
|
var type2 = "".concat(subject.length ? "".concat(subject, ": ") : "").concat(e3.name);
|
|
465185
465184
|
return "- ".concat(type2, "\n").concat(e3.messages.map(function(msg) {
|
|
465186
465185
|
return " - ".concat(msg);
|
|
@@ -465192,7 +465191,7 @@ var require_TransformerError = __commonJS({
|
|
|
465192
465191
|
});
|
|
465193
465192
|
};
|
|
465194
465193
|
};
|
|
465195
|
-
var
|
|
465194
|
+
var join7 = function(object) {
|
|
465196
465195
|
return function(key2) {
|
|
465197
465196
|
if (key2 === null)
|
|
465198
465197
|
return object.name;
|
|
@@ -471292,13 +471291,13 @@ var require_application_object = __commonJS({
|
|
|
471292
471291
|
// swagger can't express patternProperties
|
|
471293
471292
|
"x-typia-additionalProperties": extraProps.additionalProperties,
|
|
471294
471293
|
"x-typia-patternProperties": extraProps.patternProperties,
|
|
471295
|
-
additionalProperties:
|
|
471294
|
+
additionalProperties: join7(options8)(components)(extraMeta)
|
|
471296
471295
|
} : {});
|
|
471297
471296
|
};
|
|
471298
471297
|
};
|
|
471299
471298
|
};
|
|
471300
471299
|
};
|
|
471301
|
-
var
|
|
471300
|
+
var join7 = function(options8) {
|
|
471302
471301
|
return function(components) {
|
|
471303
471302
|
return function(extra) {
|
|
471304
471303
|
var _a3;
|
|
@@ -480753,9 +480752,9 @@ var require_TypiaProgrammer = __commonJS({
|
|
|
480753
480752
|
}
|
|
480754
480753
|
});
|
|
480755
480754
|
|
|
480756
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
480755
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/generators/release-version/utils/update-lock-file.js
|
|
480757
480756
|
var require_update_lock_file = __commonJS({
|
|
480758
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
480757
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/generators/release-version/utils/update-lock-file.js"(exports2) {
|
|
480759
480758
|
"use strict";
|
|
480760
480759
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
480761
480760
|
exports2.updateLockFile = void 0;
|
|
@@ -480785,10 +480784,10 @@ var require_update_lock_file = __commonJS({
|
|
|
480785
480784
|
const packageManagerCommands = (0, devkit_1.getPackageManagerCommand)(packageManager);
|
|
480786
480785
|
let installArgs = generatorOptions?.installArgs || "";
|
|
480787
480786
|
devkit_1.output.logSingleLine(`Updating ${packageManager} lock file`);
|
|
480788
|
-
let
|
|
480787
|
+
let env2 = {};
|
|
480789
480788
|
if (generatorOptions?.installIgnoreScripts) {
|
|
480790
480789
|
if (packageManager === "yarn") {
|
|
480791
|
-
|
|
480790
|
+
env2 = { YARN_ENABLE_SCRIPTS: "false" };
|
|
480792
480791
|
} else {
|
|
480793
480792
|
installArgs = `${installArgs} --ignore-scripts`.trim();
|
|
480794
480793
|
}
|
|
@@ -480806,7 +480805,7 @@ var require_update_lock_file = __commonJS({
|
|
|
480806
480805
|
if (dryRun) {
|
|
480807
480806
|
return [];
|
|
480808
480807
|
}
|
|
480809
|
-
execLockFileUpdate(command, cwd,
|
|
480808
|
+
execLockFileUpdate(command, cwd, env2);
|
|
480810
480809
|
if (isDaemonEnabled) {
|
|
480811
480810
|
try {
|
|
480812
480811
|
await client_1.daemonClient.startInBackground();
|
|
@@ -480822,13 +480821,13 @@ var require_update_lock_file = __commonJS({
|
|
|
480822
480821
|
return [lockFile];
|
|
480823
480822
|
}
|
|
480824
480823
|
exports2.updateLockFile = updateLockFile2;
|
|
480825
|
-
function execLockFileUpdate(command, cwd,
|
|
480824
|
+
function execLockFileUpdate(command, cwd, env2 = {}) {
|
|
480826
480825
|
try {
|
|
480827
480826
|
(0, child_process_1.execSync)(command, {
|
|
480828
480827
|
cwd,
|
|
480829
480828
|
env: {
|
|
480830
480829
|
...process.env,
|
|
480831
|
-
...
|
|
480830
|
+
...env2
|
|
480832
480831
|
}
|
|
480833
480832
|
});
|
|
480834
480833
|
} catch (e3) {
|
|
@@ -480847,9 +480846,9 @@ var require_update_lock_file = __commonJS({
|
|
|
480847
480846
|
}
|
|
480848
480847
|
});
|
|
480849
480848
|
|
|
480850
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
480849
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/generators/release-version/utils/package.js
|
|
480851
480850
|
var require_package6 = __commonJS({
|
|
480852
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
480851
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/generators/release-version/utils/package.js"(exports2) {
|
|
480853
480852
|
"use strict";
|
|
480854
480853
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
480855
480854
|
exports2.Package = void 0;
|
|
@@ -483118,9 +483117,9 @@ var require_npa = __commonJS({
|
|
|
483118
483117
|
}
|
|
483119
483118
|
});
|
|
483120
483119
|
|
|
483121
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
483120
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/generators/release-version/utils/resolve-version-spec.js
|
|
483122
483121
|
var require_resolve_version_spec = __commonJS({
|
|
483123
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
483122
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/generators/release-version/utils/resolve-version-spec.js"(exports2) {
|
|
483124
483123
|
"use strict";
|
|
483125
483124
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
483126
483125
|
exports2.resolveVersionSpec = void 0;
|
|
@@ -483146,9 +483145,9 @@ var require_resolve_version_spec = __commonJS({
|
|
|
483146
483145
|
}
|
|
483147
483146
|
});
|
|
483148
483147
|
|
|
483149
|
-
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
483148
|
+
// node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies.js
|
|
483150
483149
|
var require_resolve_local_package_dependencies = __commonJS({
|
|
483151
|
-
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.
|
|
483150
|
+
"node_modules/.pnpm/@nx+js@18.0.4_@swc-node+register@1.8.0_@swc+core@1.4.2_@swc+wasm@1.4.2_@types+node@20.11.20_n_rxzlxl4elx7wiiidhdla5wvhle/node_modules/@nx/js/src/generators/release-version/utils/resolve-local-package-dependencies.js"(exports2) {
|
|
483152
483151
|
"use strict";
|
|
483153
483152
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
483154
483153
|
exports2.resolveLocalPackageDependencies = void 0;
|
|
@@ -483219,7 +483218,6 @@ var require_resolve_local_package_dependencies = __commonJS({
|
|
|
483219
483218
|
// packages/workspace-tools/index.ts
|
|
483220
483219
|
var workspace_tools_exports = {};
|
|
483221
483220
|
__export(workspace_tools_exports, {
|
|
483222
|
-
WorkspaceStorage: () => WorkspaceStorage,
|
|
483223
483221
|
addLint: () => addLint,
|
|
483224
483222
|
applyDefaultOptions: () => applyDefaultOptions,
|
|
483225
483223
|
applyWorkspaceExecutorTokens: () => applyWorkspaceExecutorTokens,
|
|
@@ -483229,7 +483227,6 @@ __export(workspace_tools_exports, {
|
|
|
483229
483227
|
createProjectTsConfigJson: () => createProjectTsConfigJson,
|
|
483230
483228
|
defaultConfig: () => defaultConfig,
|
|
483231
483229
|
eslintVersion: () => eslintVersion,
|
|
483232
|
-
findCacheDirectory: () => findCacheDirectory,
|
|
483233
483230
|
findFileName: () => findFileName,
|
|
483234
483231
|
getConfig: () => getConfig,
|
|
483235
483232
|
getExternalDependencies: () => getExternalDependencies,
|
|
@@ -483296,9 +483293,13 @@ var applyWorkspaceExecutorTokens = (option, tokenizerOptions) => {
|
|
|
483296
483293
|
sourceRoot = context.sourceRoot;
|
|
483297
483294
|
} else {
|
|
483298
483295
|
const projectConfig = tokenizerOptions;
|
|
483299
|
-
projectName = projectConfig.name;
|
|
483300
483296
|
projectRoot = projectConfig.root;
|
|
483301
|
-
|
|
483297
|
+
if (projectConfig.name) {
|
|
483298
|
+
projectName = projectConfig.name;
|
|
483299
|
+
}
|
|
483300
|
+
if (projectConfig.sourceRoot) {
|
|
483301
|
+
sourceRoot = projectConfig.sourceRoot;
|
|
483302
|
+
}
|
|
483302
483303
|
}
|
|
483303
483304
|
if (tokenizerOptions.config) {
|
|
483304
483305
|
const configKeys = Object.keys(tokenizerOptions.config);
|
|
@@ -483322,7 +483323,7 @@ var applyWorkspaceExecutorTokens = (option, tokenizerOptions) => {
|
|
|
483322
483323
|
if (result.includes("{workspaceRoot}")) {
|
|
483323
483324
|
result = result.replaceAll(
|
|
483324
483325
|
"{workspaceRoot}",
|
|
483325
|
-
tokenizerOptions.workspaceRoot ??
|
|
483326
|
+
tokenizerOptions.workspaceRoot ?? findWorkspaceRoot()
|
|
483326
483327
|
);
|
|
483327
483328
|
}
|
|
483328
483329
|
return result;
|
|
@@ -483345,7 +483346,7 @@ var applyWorkspaceGeneratorTokens = (option, tokenizerOptions) => {
|
|
|
483345
483346
|
if (result.includes("{workspaceRoot}")) {
|
|
483346
483347
|
result = result.replaceAll(
|
|
483347
483348
|
"{workspaceRoot}",
|
|
483348
|
-
tokenizerOptions.workspaceRoot ?? tokenizerOptions.config
|
|
483349
|
+
tokenizerOptions.workspaceRoot ?? tokenizerOptions.config?.workspaceRoot ?? findWorkspaceRoot()
|
|
483349
483350
|
);
|
|
483350
483351
|
}
|
|
483351
483352
|
return result;
|
|
@@ -483370,7 +483371,6 @@ var applyWorkspaceTokens = (options8, config, tokenizerFn) => {
|
|
|
483370
483371
|
};
|
|
483371
483372
|
|
|
483372
483373
|
// packages/workspace-tools/src/base/base-executor.ts
|
|
483373
|
-
init_src2();
|
|
483374
483374
|
var withRunExecutor = (name, executorFn, executorOptions) => async (_options, context) => {
|
|
483375
483375
|
const stopwatch = getStopwatch(name);
|
|
483376
483376
|
let options8 = _options;
|
|
@@ -483383,10 +483383,10 @@ var withRunExecutor = (name, executorFn, executorOptions) => async (_options, co
|
|
|
483383
483383
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
483384
483384
|
);
|
|
483385
483385
|
}
|
|
483386
|
-
const workspaceRoot =
|
|
483387
|
-
const projectRoot = context.projectsConfigurations.projects[context.projectName]
|
|
483388
|
-
const sourceRoot = context.projectsConfigurations.projects[context.projectName]
|
|
483389
|
-
const projectName = context.projectsConfigurations.projects[context.projectName].
|
|
483386
|
+
const workspaceRoot = findWorkspaceRoot();
|
|
483387
|
+
const projectRoot = context.projectsConfigurations.projects[context.projectName]?.root ?? workspaceRoot;
|
|
483388
|
+
const sourceRoot = context.projectsConfigurations.projects[context.projectName]?.sourceRoot ?? workspaceRoot;
|
|
483389
|
+
const projectName = context.projectsConfigurations.projects[context.projectName]?.name ?? context.projectName;
|
|
483390
483390
|
if (!executorOptions.skipReadingConfig) {
|
|
483391
483391
|
const { loadStormConfig: loadStormConfig2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
|
|
483392
483392
|
writeDebug(
|
|
@@ -483517,7 +483517,7 @@ ${Object.keys(process.env).map((key2) => ` - ${key2}=${JSON.stringify(process.en
|
|
|
483517
483517
|
writeTrace(
|
|
483518
483518
|
config,
|
|
483519
483519
|
`Generator schema options \u2699\uFE0F
|
|
483520
|
-
${Object.keys(options8).map((key2) => ` - ${key2}=${JSON.stringify(options8[key2])}`).join("\n")}`
|
|
483520
|
+
${Object.keys(options8 ?? {}).map((key2) => ` - ${key2}=${JSON.stringify(options8[key2])}`).join("\n")}`
|
|
483521
483521
|
);
|
|
483522
483522
|
const tokenized = applyWorkspaceTokens(
|
|
483523
483523
|
options8,
|
|
@@ -483588,7 +483588,7 @@ function defaultConfig({
|
|
|
483588
483588
|
metafile = true,
|
|
483589
483589
|
skipNativeModulesPlugin = false,
|
|
483590
483590
|
define: define2,
|
|
483591
|
-
env:
|
|
483591
|
+
env: env2,
|
|
483592
483592
|
plugins,
|
|
483593
483593
|
generatePackageJson,
|
|
483594
483594
|
dtsTsConfig,
|
|
@@ -483616,7 +483616,7 @@ function defaultConfig({
|
|
|
483616
483616
|
platform,
|
|
483617
483617
|
banner,
|
|
483618
483618
|
define: define2,
|
|
483619
|
-
env:
|
|
483619
|
+
env: env2,
|
|
483620
483620
|
dts: false,
|
|
483621
483621
|
experimentalDts: {
|
|
483622
483622
|
entry,
|
|
@@ -483726,7 +483726,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema2) {
|
|
|
483726
483726
|
const projectConfig = {
|
|
483727
483727
|
root: options8.directory,
|
|
483728
483728
|
projectType: "library",
|
|
483729
|
-
sourceRoot: (0, import_devkit2.joinPathFragments)(options8.directory, "src"),
|
|
483729
|
+
sourceRoot: (0, import_devkit2.joinPathFragments)(options8.directory ?? "", "src"),
|
|
483730
483730
|
targets: {
|
|
483731
483731
|
build: {
|
|
483732
483732
|
executor: schema2.buildExecutor,
|
|
@@ -483765,7 +483765,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema2) {
|
|
|
483765
483765
|
test: {}
|
|
483766
483766
|
}
|
|
483767
483767
|
};
|
|
483768
|
-
if (schema2.platform) {
|
|
483768
|
+
if (schema2.platform && projectConfig?.targets?.build) {
|
|
483769
483769
|
projectConfig.targets.build.options.platform = schema2.platform;
|
|
483770
483770
|
}
|
|
483771
483771
|
createProjectTsConfigJson(tree, options8);
|
|
@@ -483784,9 +483784,15 @@ async function typeScriptLibraryGeneratorFn(tree, schema2) {
|
|
|
483784
483784
|
description = packageJson.description;
|
|
483785
483785
|
}
|
|
483786
483786
|
}
|
|
483787
|
+
if (!options8.importPath) {
|
|
483788
|
+
options8.importPath = options8.name;
|
|
483789
|
+
}
|
|
483787
483790
|
const packageJsonPath = (0, import_devkit2.joinPathFragments)(options8.projectRoot, "package.json");
|
|
483788
483791
|
if (tree.exists(packageJsonPath)) {
|
|
483789
483792
|
(0, import_devkit2.updateJson)(tree, packageJsonPath, (json2) => {
|
|
483793
|
+
if (!options8.importPath) {
|
|
483794
|
+
options8.importPath = options8.name;
|
|
483795
|
+
}
|
|
483790
483796
|
json2.name = options8.importPath;
|
|
483791
483797
|
json2.version = "0.0.1";
|
|
483792
483798
|
if (json2.private && (options8.publishable || options8.rootProject)) {
|
|
@@ -483825,14 +483831,14 @@ async function typeScriptLibraryGeneratorFn(tree, schema2) {
|
|
|
483825
483831
|
}
|
|
483826
483832
|
});
|
|
483827
483833
|
}
|
|
483828
|
-
if (tree.exists("package.json")) {
|
|
483834
|
+
if (tree.exists("package.json") && options8.importPath) {
|
|
483829
483835
|
(0, import_devkit2.updateJson)(tree, "package.json", (json2) => ({
|
|
483830
483836
|
...json2,
|
|
483831
483837
|
pnpm: {
|
|
483832
483838
|
...json2?.pnpm,
|
|
483833
483839
|
overrides: {
|
|
483834
483840
|
...json2?.pnpm?.overrides,
|
|
483835
|
-
[options8.importPath]: "workspace:*"
|
|
483841
|
+
[options8.importPath ?? ""]: "workspace:*"
|
|
483836
483842
|
}
|
|
483837
483843
|
}
|
|
483838
483844
|
}));
|
|
@@ -483931,7 +483937,7 @@ async function addLint(tree, options8) {
|
|
|
483931
483937
|
ruleSeverity = value[0];
|
|
483932
483938
|
ruleOptions = value[1];
|
|
483933
483939
|
} else {
|
|
483934
|
-
ruleSeverity = value;
|
|
483940
|
+
ruleSeverity = value ?? "error";
|
|
483935
483941
|
ruleOptions = {};
|
|
483936
483942
|
}
|
|
483937
483943
|
if (options8.bundler === "esbuild") {
|
|
@@ -484105,10 +484111,10 @@ var environmentPlugin = (data) => ({
|
|
|
484105
484111
|
name: PLUGIN_NAME2,
|
|
484106
484112
|
async setup(build2) {
|
|
484107
484113
|
const entries = Array.isArray(data) ? data.map((key2) => [key2, ""]) : Object.entries(data);
|
|
484108
|
-
const
|
|
484114
|
+
const env2 = Object.fromEntries(entries.map(([key2, defaultValue]) => {
|
|
484109
484115
|
return [key2, String(process.env[key2] ?? defaultValue)];
|
|
484110
484116
|
}));
|
|
484111
|
-
await definePlugin({ process: { env:
|
|
484117
|
+
await definePlugin({ process: { env: env2 } }).setup(build2);
|
|
484112
484118
|
}
|
|
484113
484119
|
});
|
|
484114
484120
|
|
|
@@ -484119,7 +484125,7 @@ var import_typescript = __toESM(require_typescript());
|
|
|
484119
484125
|
// packages/workspace-tools/src/utils/file-path-utils.ts
|
|
484120
484126
|
var import_node_path4 = require("node:path");
|
|
484121
484127
|
var removeExtension = (filePath) => {
|
|
484122
|
-
return filePath.lastIndexOf(".") ? filePath.substring(0, filePath.lastIndexOf(".")) : filePath;
|
|
484128
|
+
return !filePath || (filePath.match(/./g) || []).length <= 1 ? "." : filePath.lastIndexOf(".") ? filePath.substring(0, filePath.lastIndexOf(".")) : filePath;
|
|
484123
484129
|
};
|
|
484124
484130
|
function findFileName(filePath) {
|
|
484125
484131
|
return filePath?.split(filePath?.includes(import_node_path4.sep) ? import_node_path4.sep : filePath?.includes("/") ? "/" : "\\")?.pop() ?? "";
|
|
@@ -484160,17 +484166,17 @@ var applyDefaultOptions = (options8) => {
|
|
|
484160
484166
|
return options8;
|
|
484161
484167
|
};
|
|
484162
484168
|
var runTsupBuild = async (context, config, options8) => {
|
|
484163
|
-
const stormEnv = Object.keys(options8.env).filter((key2) => key2.startsWith("STORM_")).reduce((ret, key2) => {
|
|
484164
|
-
ret[key2] = options8.env[key2];
|
|
484169
|
+
const stormEnv = Object.keys(options8.env ?? {}).filter((key2) => key2.startsWith("STORM_")).reduce((ret, key2) => {
|
|
484170
|
+
ret[key2] = options8.env?.[key2];
|
|
484165
484171
|
return ret;
|
|
484166
484172
|
}, {});
|
|
484167
|
-
options8.plugins
|
|
484173
|
+
options8.plugins?.push(
|
|
484168
484174
|
(0, import_esbuild_decorators.esbuildDecorators)({
|
|
484169
484175
|
tsconfig: options8.tsConfig,
|
|
484170
484176
|
cwd: config.workspaceRoot
|
|
484171
484177
|
})
|
|
484172
484178
|
);
|
|
484173
|
-
options8.plugins
|
|
484179
|
+
options8.plugins?.push(environmentPlugin(stormEnv));
|
|
484174
484180
|
const getConfigOptions = {
|
|
484175
484181
|
...options8,
|
|
484176
484182
|
main: context.main,
|
|
@@ -484188,7 +484194,7 @@ var runTsupBuild = async (context, config, options8) => {
|
|
|
484188
484194
|
},
|
|
484189
484195
|
dtsTsConfig: getNormalizedTsConfig(
|
|
484190
484196
|
context,
|
|
484191
|
-
config.workspaceRoot,
|
|
484197
|
+
config.workspaceRoot ?? ".",
|
|
484192
484198
|
options8.outputPath,
|
|
484193
484199
|
createTypeScriptCompilationOptions(
|
|
484194
484200
|
(0, import_normalize_options.normalizeOptions)(
|
|
@@ -484198,9 +484204,9 @@ var runTsupBuild = async (context, config, options8) => {
|
|
|
484198
484204
|
main: context.main,
|
|
484199
484205
|
transformers: []
|
|
484200
484206
|
},
|
|
484201
|
-
config.workspaceRoot,
|
|
484207
|
+
config.workspaceRoot ?? ".",
|
|
484202
484208
|
context.sourceRoot,
|
|
484203
|
-
config.workspaceRoot
|
|
484209
|
+
config.workspaceRoot ?? "."
|
|
484204
484210
|
),
|
|
484205
484211
|
context.projectName
|
|
484206
484212
|
)
|
|
@@ -484223,7 +484229,7 @@ ${options8.banner}
|
|
|
484223
484229
|
const getConfigFns = [options8.getConfig];
|
|
484224
484230
|
const tsupConfig = (0, import_tsup.defineConfig)(
|
|
484225
484231
|
getConfigFns.map(
|
|
484226
|
-
(getConfigFn) => getConfig(config.workspaceRoot, context.projectRoot, getConfigFn, getConfigOptions)
|
|
484232
|
+
(getConfigFn) => getConfig(config.workspaceRoot ?? ".", context.projectRoot, getConfigFn, getConfigOptions)
|
|
484227
484233
|
)
|
|
484228
484234
|
);
|
|
484229
484235
|
if (_isFunction2(tsupConfig)) {
|
|
@@ -484232,7 +484238,7 @@ ${options8.banner}
|
|
|
484232
484238
|
} else {
|
|
484233
484239
|
await build(tsupConfig, config);
|
|
484234
484240
|
}
|
|
484235
|
-
} else if (getLogLevel(config?.logLevel) >= LogLevel.WARN) {
|
|
484241
|
+
} else if (getLogLevel(config?.logLevel ?? "debug") >= LogLevel.WARN) {
|
|
484236
484242
|
writeWarning(
|
|
484237
484243
|
config,
|
|
484238
484244
|
"The Build process did not run because no `getConfig` parameter was provided"
|
|
@@ -490504,7 +490510,7 @@ var import_fileutils = require("nx/src/utils/fileutils.js");
|
|
|
490504
490510
|
// packages/workspace-tools/src/utils/get-project-configurations.ts
|
|
490505
490511
|
var import_retrieve_workspace_files = require("nx/src/project-graph/utils/retrieve-workspace-files");
|
|
490506
490512
|
init_src2();
|
|
490507
|
-
var getProjectConfigurations = () => (0, import_retrieve_workspace_files.retrieveProjectConfigurationsWithoutPluginInference)(
|
|
490513
|
+
var getProjectConfigurations = () => (0, import_retrieve_workspace_files.retrieveProjectConfigurationsWithoutPluginInference)(findWorkspaceRoot());
|
|
490508
490514
|
var getProjectConfiguration = (projectName) => getProjectConfigurations()?.[projectName];
|
|
490509
490515
|
|
|
490510
490516
|
// packages/workspace-tools/src/utils/get-project-deps.ts
|
|
@@ -490513,18 +490519,19 @@ function getExtraDependencies(projectName, graph) {
|
|
|
490513
490519
|
recur(projectName);
|
|
490514
490520
|
function recur(currProjectName) {
|
|
490515
490521
|
const allDeps = graph.dependencies[currProjectName];
|
|
490516
|
-
const externalDeps = allDeps
|
|
490517
|
-
const found = graph.externalNodes[node.target];
|
|
490518
|
-
if (found)
|
|
490522
|
+
const externalDeps = allDeps?.reduce((acc, node) => {
|
|
490523
|
+
const found = graph.externalNodes?.[node.target];
|
|
490524
|
+
if (found) {
|
|
490519
490525
|
acc.push(found);
|
|
490526
|
+
}
|
|
490520
490527
|
return acc;
|
|
490521
|
-
}, []);
|
|
490522
|
-
const internalDeps = allDeps
|
|
490528
|
+
}, []) ?? [];
|
|
490529
|
+
const internalDeps = allDeps?.reduce((acc, node) => {
|
|
490523
490530
|
const found = graph.nodes[node.target];
|
|
490524
490531
|
if (found)
|
|
490525
490532
|
acc.push(found);
|
|
490526
490533
|
return acc;
|
|
490527
|
-
}, []);
|
|
490534
|
+
}, []) ?? [];
|
|
490528
490535
|
for (const externalDep of externalDeps) {
|
|
490529
490536
|
deps.set(externalDep.name, {
|
|
490530
490537
|
name: externalDep.name,
|
|
@@ -490539,7 +490546,7 @@ function getExtraDependencies(projectName, graph) {
|
|
|
490539
490546
|
return Array.from(deps.values());
|
|
490540
490547
|
}
|
|
490541
490548
|
function getInternalDependencies(projectName, graph) {
|
|
490542
|
-
const allDeps = graph.dependencies[projectName];
|
|
490549
|
+
const allDeps = graph.dependencies[projectName] ?? [];
|
|
490543
490550
|
return Array.from(
|
|
490544
490551
|
allDeps.reduce((acc, node) => {
|
|
490545
490552
|
const found = graph.nodes[node.target];
|
|
@@ -490552,17 +490559,16 @@ function getInternalDependencies(projectName, graph) {
|
|
|
490552
490559
|
function getExternalDependencies(projectName, graph) {
|
|
490553
490560
|
const allDeps = graph.dependencies[projectName];
|
|
490554
490561
|
return Array.from(
|
|
490555
|
-
allDeps
|
|
490556
|
-
const found = graph.externalNodes[node.target];
|
|
490562
|
+
allDeps?.reduce((acc, node) => {
|
|
490563
|
+
const found = graph.externalNodes?.[node.target];
|
|
490557
490564
|
if (found)
|
|
490558
490565
|
acc.push(found);
|
|
490559
490566
|
return acc;
|
|
490560
|
-
}, [])
|
|
490561
|
-
);
|
|
490567
|
+
}, []) ?? []
|
|
490568
|
+
) ?? [];
|
|
490562
490569
|
}
|
|
490563
490570
|
|
|
490564
490571
|
// packages/workspace-tools/src/executors/tsup/executor.ts
|
|
490565
|
-
init_src2();
|
|
490566
490572
|
async function tsupExecutorFn(options8, context, config) {
|
|
490567
490573
|
writeInfo(config, "\u{1F4E6} Running Storm build executor on the workspace");
|
|
490568
490574
|
getLogLevel(config?.logLevel) >= LogLevel.TRACE && writeDebug(
|
|
@@ -490578,9 +490584,9 @@ ${Object.keys(options8).map(
|
|
|
490578
490584
|
"The Build process failed because the context is not valid. Please run this command from a workspace."
|
|
490579
490585
|
);
|
|
490580
490586
|
}
|
|
490581
|
-
const workspaceRoot =
|
|
490582
|
-
const projectRoot = context.projectsConfigurations.projects[context.projectName]
|
|
490583
|
-
const sourceRoot = context.projectsConfigurations.projects[context.projectName]
|
|
490587
|
+
const workspaceRoot = findWorkspaceRoot();
|
|
490588
|
+
const projectRoot = context.projectsConfigurations.projects[context.projectName]?.root ?? workspaceRoot;
|
|
490589
|
+
const sourceRoot = context.projectsConfigurations.projects[context.projectName]?.sourceRoot ?? workspaceRoot;
|
|
490584
490590
|
if (options8.clean !== false) {
|
|
490585
490591
|
writeInfo(config, `\u{1F9F9} Cleaning output path: ${options8.outputPath}`);
|
|
490586
490592
|
(0, import_fs_extra.removeSync)(options8.outputPath);
|
|
@@ -490635,7 +490641,7 @@ ${Object.keys(options8).map(
|
|
|
490635
490641
|
const externalDependencies = options8.external.reduce(
|
|
490636
490642
|
(ret, name) => {
|
|
490637
490643
|
if (!packageJson?.devDependencies?.[name]) {
|
|
490638
|
-
const externalNode = context.projectGraph
|
|
490644
|
+
const externalNode = context.projectGraph?.externalNodes?.[`npm:${name}`];
|
|
490639
490645
|
if (externalNode) {
|
|
490640
490646
|
ret.push({
|
|
490641
490647
|
name,
|
|
@@ -490648,7 +490654,7 @@ ${Object.keys(options8).map(
|
|
|
490648
490654
|
},
|
|
490649
490655
|
[]
|
|
490650
490656
|
);
|
|
490651
|
-
const implicitDependencies = context.projectsConfigurations.projects[context.projectName]
|
|
490657
|
+
const implicitDependencies = context.projectsConfigurations.projects[context.projectName]?.implicitDependencies;
|
|
490652
490658
|
const internalDependencies = [];
|
|
490653
490659
|
const projectConfigs = await Promise.resolve(getProjectConfigurations());
|
|
490654
490660
|
if (getLogLevel(config?.logLevel) >= LogLevel.TRACE) {
|
|
@@ -490661,7 +490667,7 @@ ${Object.keys(options8).map(
|
|
|
490661
490667
|
const projectConfig = projectConfigs[key2];
|
|
490662
490668
|
if (projectConfig?.targets?.build) {
|
|
490663
490669
|
const projectPackageJson = (0, import_devkit4.readJsonFile)(projectConfig.targets?.build.options.project);
|
|
490664
|
-
if (projectPackageJson?.name && !options8.external
|
|
490670
|
+
if (projectPackageJson?.name && !options8.external?.includes(projectPackageJson.name)) {
|
|
490665
490671
|
ret.push(projectPackageJson.name);
|
|
490666
490672
|
internalDependencies.push(projectPackageJson.name);
|
|
490667
490673
|
}
|
|
@@ -490729,7 +490735,7 @@ ${externalDependencies.map((dep) => {
|
|
|
490729
490735
|
packageJson.dependencies = void 0;
|
|
490730
490736
|
for (const externalDependency of externalDependencies) {
|
|
490731
490737
|
const packageConfig = externalDependency?.node?.data;
|
|
490732
|
-
if (packageConfig?.packageName && !!(projectGraph.externalNodes[externalDependency.node.name]?.type === "npm")) {
|
|
490738
|
+
if (packageConfig?.packageName && !!(projectGraph.externalNodes?.[externalDependency.node.name]?.type === "npm")) {
|
|
490733
490739
|
const { packageName, version } = packageConfig;
|
|
490734
490740
|
if (!workspacePackageJson.dependencies?.[packageName] && !workspacePackageJson.devDependencies?.[packageName] && !packageJson?.devDependencies?.[packageName]) {
|
|
490735
490741
|
packageJson.dependencies ??= {};
|
|
@@ -490777,16 +490783,16 @@ ${externalDependencies.map((dep) => {
|
|
|
490777
490783
|
}
|
|
490778
490784
|
packageJson.exports[`./${formattedEntryPoint}`] = {
|
|
490779
490785
|
import: {
|
|
490780
|
-
types: `./${(0, import_devkit4.joinPathFragments)(distPaths[0], formattedEntryPoint)}.d.ts`,
|
|
490781
|
-
default: `./${(0, import_devkit4.joinPathFragments)(distPaths[0], formattedEntryPoint)}.js`
|
|
490786
|
+
types: `./${(0, import_devkit4.joinPathFragments)(distPaths[0] ?? "./", formattedEntryPoint)}.d.ts`,
|
|
490787
|
+
default: `./${(0, import_devkit4.joinPathFragments)(distPaths[0] ?? "./", formattedEntryPoint)}.js`
|
|
490782
490788
|
},
|
|
490783
490789
|
require: {
|
|
490784
|
-
types: `./${(0, import_devkit4.joinPathFragments)(distPaths[0], formattedEntryPoint)}.d.cts`,
|
|
490785
|
-
default: `./${(0, import_devkit4.joinPathFragments)(distPaths[0], formattedEntryPoint)}.cjs`
|
|
490790
|
+
types: `./${(0, import_devkit4.joinPathFragments)(distPaths[0] ?? "./", formattedEntryPoint)}.d.cts`,
|
|
490791
|
+
default: `./${(0, import_devkit4.joinPathFragments)(distPaths[0] ?? "./", formattedEntryPoint)}.cjs`
|
|
490786
490792
|
},
|
|
490787
490793
|
default: {
|
|
490788
|
-
types: `./${(0, import_devkit4.joinPathFragments)(distPaths[0], formattedEntryPoint)}.d.ts`,
|
|
490789
|
-
default: `./${(0, import_devkit4.joinPathFragments)(distPaths[0], formattedEntryPoint)}.js`
|
|
490794
|
+
types: `./${(0, import_devkit4.joinPathFragments)(distPaths[0] ?? "./", formattedEntryPoint)}.d.ts`,
|
|
490795
|
+
default: `./${(0, import_devkit4.joinPathFragments)(distPaths[0] ?? "./", formattedEntryPoint)}.js`
|
|
490790
490796
|
}
|
|
490791
490797
|
};
|
|
490792
490798
|
}
|
|
@@ -490836,10 +490842,10 @@ ${externalDependencies.map((dep) => {
|
|
|
490836
490842
|
}
|
|
490837
490843
|
if (options8.includeSrc === true) {
|
|
490838
490844
|
const files = globSync([
|
|
490839
|
-
(0, import_devkit4.joinPathFragments)(
|
|
490840
|
-
(0, import_devkit4.joinPathFragments)(
|
|
490841
|
-
(0, import_devkit4.joinPathFragments)(
|
|
490842
|
-
(0, import_devkit4.joinPathFragments)(
|
|
490845
|
+
(0, import_devkit4.joinPathFragments)(workspaceRoot, options8.outputPath, "src/**/*.ts"),
|
|
490846
|
+
(0, import_devkit4.joinPathFragments)(workspaceRoot, options8.outputPath, "src/**/*.tsx"),
|
|
490847
|
+
(0, import_devkit4.joinPathFragments)(workspaceRoot, options8.outputPath, "src/**/*.js"),
|
|
490848
|
+
(0, import_devkit4.joinPathFragments)(workspaceRoot, options8.outputPath, "src/**/*.jsx")
|
|
490843
490849
|
]);
|
|
490844
490850
|
await Promise.allSettled(
|
|
490845
490851
|
files.map(
|
|
@@ -490859,10 +490865,11 @@ ${(0, import_node_fs3.readFileSync)(file, "utf-8")}`,
|
|
|
490859
490865
|
{
|
|
490860
490866
|
main: entryPoint,
|
|
490861
490867
|
projectRoot,
|
|
490868
|
+
// biome-ignore lint/style/noNonNullAssertion: <explanation>
|
|
490862
490869
|
projectName: context.projectName,
|
|
490863
490870
|
sourceRoot
|
|
490864
490871
|
},
|
|
490865
|
-
config,
|
|
490872
|
+
config ?? {},
|
|
490866
490873
|
options8
|
|
490867
490874
|
)
|
|
490868
490875
|
)
|
|
@@ -490912,7 +490919,7 @@ var neutralConfig = ({
|
|
|
490912
490919
|
metafile = true,
|
|
490913
490920
|
skipNativeModulesPlugin = false,
|
|
490914
490921
|
define: define2,
|
|
490915
|
-
env:
|
|
490922
|
+
env: env2,
|
|
490916
490923
|
apiReport = true,
|
|
490917
490924
|
docModel = true,
|
|
490918
490925
|
tsdocMetadata = true,
|
|
@@ -490944,7 +490951,7 @@ var neutralConfig = ({
|
|
|
490944
490951
|
platform,
|
|
490945
490952
|
banner,
|
|
490946
490953
|
define: define2,
|
|
490947
|
-
env:
|
|
490954
|
+
env: env2,
|
|
490948
490955
|
dts: false,
|
|
490949
490956
|
minify,
|
|
490950
490957
|
experimentalDts: {
|
|
@@ -491045,7 +491052,7 @@ function nodeConfig({
|
|
|
491045
491052
|
metafile = true,
|
|
491046
491053
|
skipNativeModulesPlugin = false,
|
|
491047
491054
|
define: define2,
|
|
491048
|
-
env:
|
|
491055
|
+
env: env2,
|
|
491049
491056
|
plugins,
|
|
491050
491057
|
generatePackageJson,
|
|
491051
491058
|
dtsTsConfig,
|
|
@@ -491073,7 +491080,7 @@ function nodeConfig({
|
|
|
491073
491080
|
platform,
|
|
491074
491081
|
banner,
|
|
491075
491082
|
define: define2,
|
|
491076
|
-
env:
|
|
491083
|
+
env: env2,
|
|
491077
491084
|
dts: false,
|
|
491078
491085
|
minify,
|
|
491079
491086
|
experimentalDts: {
|
|
@@ -491171,7 +491178,7 @@ var browserConfig = ({
|
|
|
491171
491178
|
metafile = true,
|
|
491172
491179
|
skipNativeModulesPlugin = false,
|
|
491173
491180
|
define: define2,
|
|
491174
|
-
env:
|
|
491181
|
+
env: env2,
|
|
491175
491182
|
plugins,
|
|
491176
491183
|
generatePackageJson,
|
|
491177
491184
|
dtsTsConfig,
|
|
@@ -491200,7 +491207,7 @@ var browserConfig = ({
|
|
|
491200
491207
|
platform,
|
|
491201
491208
|
banner,
|
|
491202
491209
|
define: define2,
|
|
491203
|
-
env:
|
|
491210
|
+
env: env2,
|
|
491204
491211
|
dts: false,
|
|
491205
491212
|
minify,
|
|
491206
491213
|
experimentalDts: {
|
|
@@ -492336,12 +492343,14 @@ var zodToJsonSchema = (schema2, options8) => {
|
|
|
492336
492343
|
};
|
|
492337
492344
|
|
|
492338
492345
|
// packages/workspace-tools/src/generators/config-schema/generator.ts
|
|
492346
|
+
init_src2();
|
|
492339
492347
|
async function configSchemaGeneratorFn(tree, options8, config) {
|
|
492340
492348
|
const projectConfigurations = getProjectConfigurations();
|
|
492349
|
+
const workspaceRoot = config?.workspaceRoot ?? findWorkspaceRoot();
|
|
492341
492350
|
const modules = await Promise.all(
|
|
492342
492351
|
Object.keys(projectConfigurations).map(async (key2) => {
|
|
492343
492352
|
if (projectConfigurations[key2]?.config) {
|
|
492344
|
-
const configPath = (0, import_node_path6.join)(
|
|
492353
|
+
const configPath = (0, import_node_path6.join)(workspaceRoot, projectConfigurations[key2].config);
|
|
492345
492354
|
if ((0, import_node_fs4.existsSync)(configPath)) {
|
|
492346
492355
|
const mod = await import(configPath);
|
|
492347
492356
|
if (mod.default) {
|
|
@@ -492367,7 +492376,7 @@ async function configSchemaGeneratorFn(tree, options8, config) {
|
|
|
492367
492376
|
);
|
|
492368
492377
|
(0, import_devkit9.writeJson)(
|
|
492369
492378
|
tree,
|
|
492370
|
-
options8.outputFile ? (0, import_node_path6.join)(
|
|
492379
|
+
options8.outputFile ? (0, import_node_path6.join)(workspaceRoot, options8.outputFile) : (0, import_node_path6.join)(workspaceRoot, "storm.schema.json"),
|
|
492371
492380
|
zodToJsonSchema(ModulesSchema, "StormConfig")
|
|
492372
492381
|
);
|
|
492373
492382
|
await (0, import_devkit9.formatFiles)(tree);
|
|
@@ -492701,8 +492710,8 @@ Valid values are: ${import_version.validReleaseVersionPrefixes.map((s) => `"${s}
|
|
|
492701
492710
|
}
|
|
492702
492711
|
const projects = options8.projects;
|
|
492703
492712
|
const createResolvePackageRoot = (customPackageRoot) => (projectNode) => {
|
|
492704
|
-
if (projectNode?.data?.root === config
|
|
492705
|
-
return config
|
|
492713
|
+
if (projectNode?.data?.root === config?.workspaceRoot || projectNode?.data?.root === ".") {
|
|
492714
|
+
return config?.workspaceRoot ?? findWorkspaceRoot();
|
|
492706
492715
|
}
|
|
492707
492716
|
if (!customPackageRoot) {
|
|
492708
492717
|
return projectNode.data.root;
|
|
@@ -492718,15 +492727,18 @@ Valid values are: ${import_version.validReleaseVersionPrefixes.map((s) => `"${s}
|
|
|
492718
492727
|
for (const project of projects) {
|
|
492719
492728
|
projectNameToPackageRootMap.set(project.name, resolvePackageRoot(project));
|
|
492720
492729
|
}
|
|
492721
|
-
let currentVersion;
|
|
492730
|
+
let currentVersion = null;
|
|
492722
492731
|
let currentVersionResolvedFromFallback = false;
|
|
492723
|
-
let latestMatchingGitTag;
|
|
492732
|
+
let latestMatchingGitTag = null;
|
|
492724
492733
|
let specifier = options8.specifier ? options8.specifier : void 0;
|
|
492725
492734
|
for (const project of projects) {
|
|
492726
492735
|
const projectName = project.name;
|
|
492727
492736
|
const packageRoot = projectNameToPackageRootMap.get(projectName);
|
|
492728
|
-
const packageJsonPath = (0, import_devkit13.joinPathFragments)(packageRoot, "package.json");
|
|
492729
|
-
const workspaceRelativePackageJsonPath = (0, import_node_path7.relative)(
|
|
492737
|
+
const packageJsonPath = (0, import_devkit13.joinPathFragments)(packageRoot ?? "./", "package.json");
|
|
492738
|
+
const workspaceRelativePackageJsonPath = (0, import_node_path7.relative)(
|
|
492739
|
+
config?.workspaceRoot ?? findWorkspaceRoot(),
|
|
492740
|
+
packageJsonPath
|
|
492741
|
+
);
|
|
492730
492742
|
const log = (msg) => {
|
|
492731
492743
|
writeInfo(config, `${projectName}: ${msg}`);
|
|
492732
492744
|
};
|
|
@@ -492748,7 +492760,7 @@ To fix this you will either need to add a package.json file at that location, or
|
|
|
492748
492760
|
const metadata = options8.currentVersionResolverMetadata;
|
|
492749
492761
|
const registry = metadata?.registry ?? await getNpmRegistry() ?? "https://registry.npmjs.org";
|
|
492750
492762
|
const tag = metadata?.tag ?? "latest";
|
|
492751
|
-
if (
|
|
492763
|
+
if (options8.releaseGroup.projectsRelationship === "independent") {
|
|
492752
492764
|
try {
|
|
492753
492765
|
currentVersion = await new Promise((resolve3, reject) => {
|
|
492754
492766
|
(0, import_node_child_process2.exec)(
|
|
@@ -492798,8 +492810,10 @@ To fix this you will either need to add a package.json file at that location, or
|
|
|
492798
492810
|
log(`\u{1F4C4} Resolved the current version as ${currentVersion} from ${packageJsonPath}`);
|
|
492799
492811
|
break;
|
|
492800
492812
|
case "git-tag": {
|
|
492801
|
-
if (
|
|
492802
|
-
|
|
492813
|
+
if (
|
|
492814
|
+
// We always need to independently resolve the current version from git tag per project if the projects are independent
|
|
492815
|
+
options8.releaseGroup.projectsRelationship === "independent"
|
|
492816
|
+
) {
|
|
492803
492817
|
const releaseTagPattern = options8.releaseGroup.releaseTagPattern;
|
|
492804
492818
|
latestMatchingGitTag = await (0, import_git.getLatestGitTagForPattern)(releaseTagPattern, {
|
|
492805
492819
|
projectName: project.name
|
|
@@ -492865,7 +492879,7 @@ To fix this you will either need to add a package.json file at that location, or
|
|
|
492865
492879
|
previousVersionRef,
|
|
492866
492880
|
options8.projectGraph,
|
|
492867
492881
|
affectedProjects
|
|
492868
|
-
);
|
|
492882
|
+
) ?? void 0;
|
|
492869
492883
|
if (!specifier) {
|
|
492870
492884
|
log(
|
|
492871
492885
|
"\u{1F6AB} No changes were detected using git history and the conventional commits standard."
|
|
@@ -492920,7 +492934,7 @@ To fix this you will either need to add a package.json file at that location, or
|
|
|
492920
492934
|
tree,
|
|
492921
492935
|
options8.projectGraph,
|
|
492922
492936
|
projects.filter(
|
|
492923
|
-
(project2) => project2?.data?.root && project2?.data?.root !== config
|
|
492937
|
+
(project2) => project2?.data?.root && project2?.data?.root !== config?.workspaceRoot
|
|
492924
492938
|
),
|
|
492925
492939
|
projectNameToPackageRootMap,
|
|
492926
492940
|
resolvePackageRoot,
|
|
@@ -492931,7 +492945,7 @@ To fix this you will either need to add a package.json file at that location, or
|
|
|
492931
492945
|
return localPackageDependency.target === project.name;
|
|
492932
492946
|
});
|
|
492933
492947
|
versionData[projectName] = {
|
|
492934
|
-
currentVersion,
|
|
492948
|
+
currentVersion: currentVersion ? currentVersion : "0.0.1",
|
|
492935
492949
|
dependentProjects,
|
|
492936
492950
|
newVersion: null
|
|
492937
492951
|
// will stay as null in the final result in the case that no changes are detected
|
|
@@ -492940,8 +492954,13 @@ To fix this you will either need to add a package.json file at that location, or
|
|
|
492940
492954
|
log(`\u{1F6AB} Skipping versioning "${projectPackageJson.name}" as no changes were detected.`);
|
|
492941
492955
|
continue;
|
|
492942
492956
|
}
|
|
492957
|
+
if (!currentVersion) {
|
|
492958
|
+
throw new Error(`Unable to determine the current version for project "${projectName}"`);
|
|
492959
|
+
}
|
|
492943
492960
|
const newVersion = (0, import_version.deriveNewSemverVersion)(currentVersion, specifier, options8.preid);
|
|
492944
|
-
versionData[projectName]
|
|
492961
|
+
if (versionData[projectName]) {
|
|
492962
|
+
versionData[projectName].newVersion = newVersion;
|
|
492963
|
+
}
|
|
492945
492964
|
(0, import_devkit13.writeJson)(tree, packageJsonPath, {
|
|
492946
492965
|
...projectPackageJson,
|
|
492947
492966
|
version: newVersion
|
|
@@ -492955,7 +492974,10 @@ To fix this you will either need to add a package.json file at that location, or
|
|
|
492955
492974
|
for (const dependentProject of dependentProjects) {
|
|
492956
492975
|
(0, import_devkit13.updateJson)(
|
|
492957
492976
|
tree,
|
|
492958
|
-
(0, import_devkit13.joinPathFragments)(
|
|
492977
|
+
(0, import_devkit13.joinPathFragments)(
|
|
492978
|
+
projectNameToPackageRootMap.get(dependentProject.source) ?? "./",
|
|
492979
|
+
"package.json"
|
|
492980
|
+
),
|
|
492959
492981
|
(json2) => {
|
|
492960
492982
|
let versionPrefix = options8.versionPrefix ?? "auto";
|
|
492961
492983
|
if (versionPrefix === "auto") {
|
|
@@ -493005,132 +493027,11 @@ async function getNpmRegistry() {
|
|
|
493005
493027
|
});
|
|
493006
493028
|
}
|
|
493007
493029
|
|
|
493008
|
-
// packages/workspace-tools/src/utils/find-cache-dir.ts
|
|
493009
|
-
var import_node_fs5 = require("node:fs");
|
|
493010
|
-
var import_node_path8 = require("node:path");
|
|
493011
|
-
var import_node_process = require("node:process");
|
|
493012
|
-
init_src2();
|
|
493013
|
-
var isWritable2 = (path15) => {
|
|
493014
|
-
try {
|
|
493015
|
-
(0, import_node_fs5.accessSync)(path15, import_node_fs5.constants.W_OK);
|
|
493016
|
-
return true;
|
|
493017
|
-
} catch {
|
|
493018
|
-
return false;
|
|
493019
|
-
}
|
|
493020
|
-
};
|
|
493021
|
-
function useDirectory(directory, { create = true }) {
|
|
493022
|
-
if (create) {
|
|
493023
|
-
(0, import_node_fs5.mkdirSync)(directory, { recursive: true });
|
|
493024
|
-
}
|
|
493025
|
-
return directory;
|
|
493026
|
-
}
|
|
493027
|
-
function getNodeModuleDirectory(workspaceRoot) {
|
|
493028
|
-
const nodeModules = (0, import_node_path8.join)(workspaceRoot, "node_modules");
|
|
493029
|
-
if ((0, import_node_fs5.existsSync)(nodeModules) && !isWritable2(nodeModules)) {
|
|
493030
|
-
throw new Error("Cannot write to node_modules directory");
|
|
493031
|
-
}
|
|
493032
|
-
return nodeModules;
|
|
493033
|
-
}
|
|
493034
|
-
function findCacheDirectory({
|
|
493035
|
-
name,
|
|
493036
|
-
cacheName,
|
|
493037
|
-
workspaceRoot,
|
|
493038
|
-
create
|
|
493039
|
-
} = {
|
|
493040
|
-
name: "storm",
|
|
493041
|
-
workspaceRoot: findWorkspaceRootSafe(),
|
|
493042
|
-
create: true
|
|
493043
|
-
}) {
|
|
493044
|
-
if (import_node_process.env.CACHE_DIR && !["true", "false", "1", "0"].includes(import_node_process.env.CACHE_DIR)) {
|
|
493045
|
-
return useDirectory((0, import_node_path8.join)(import_node_process.env.CACHE_DIR, name, cacheName), { create });
|
|
493046
|
-
}
|
|
493047
|
-
if (import_node_process.env.STORM_CACHE_DIR && !["true", "false", "1", "0"].includes(import_node_process.env.STORM_CACHE_DIR)) {
|
|
493048
|
-
return useDirectory((0, import_node_path8.join)(import_node_process.env.STORM_CACHE_DIR, name, cacheName), {
|
|
493049
|
-
create
|
|
493050
|
-
});
|
|
493051
|
-
}
|
|
493052
|
-
const nodeModules = getNodeModuleDirectory(workspaceRoot);
|
|
493053
|
-
if (!nodeModules) {
|
|
493054
|
-
throw new Error("Cannot find node_modules directory");
|
|
493055
|
-
}
|
|
493056
|
-
return useDirectory((0, import_node_path8.join)(workspaceRoot, "node_modules", ".cache", name, cacheName), { create });
|
|
493057
|
-
}
|
|
493058
|
-
|
|
493059
493030
|
// packages/workspace-tools/src/utils/typia-transform.ts
|
|
493060
493031
|
var import_transform = __toESM(require_transform());
|
|
493061
493032
|
var getTypiaTransform = (program, diagnostics) => (0, import_transform.default)(program, {}, { addDiagnostic: (input) => diagnostics.push(input) });
|
|
493062
|
-
|
|
493063
|
-
// packages/workspace-tools/src/utils/workspace-storage.ts
|
|
493064
|
-
var import_node_fs6 = require("node:fs");
|
|
493065
|
-
var import_node_path9 = require("node:path");
|
|
493066
|
-
var WorkspaceStorage = class {
|
|
493067
|
-
cacheDir;
|
|
493068
|
-
constructor({
|
|
493069
|
-
cacheName,
|
|
493070
|
-
workspaceRoot
|
|
493071
|
-
}) {
|
|
493072
|
-
this.cacheDir = findCacheDirectory({
|
|
493073
|
-
name: "storm",
|
|
493074
|
-
cacheName,
|
|
493075
|
-
workspaceRoot,
|
|
493076
|
-
create: true
|
|
493077
|
-
});
|
|
493078
|
-
}
|
|
493079
|
-
/**
|
|
493080
|
-
* Get item from cache
|
|
493081
|
-
*
|
|
493082
|
-
* @param key - The key to get
|
|
493083
|
-
* @returns The value of the key
|
|
493084
|
-
*/
|
|
493085
|
-
getItem(key2) {
|
|
493086
|
-
const cacheFile = (0, import_node_path9.join)(this.cacheDir, key2);
|
|
493087
|
-
if ((0, import_node_fs6.existsSync)(cacheFile)) {
|
|
493088
|
-
return (0, import_node_fs6.readFileSync)(cacheFile, "utf-8");
|
|
493089
|
-
}
|
|
493090
|
-
return void 0;
|
|
493091
|
-
}
|
|
493092
|
-
/**
|
|
493093
|
-
* Set item to cache
|
|
493094
|
-
*
|
|
493095
|
-
* @param key - The key to set
|
|
493096
|
-
* @param value - The value to set
|
|
493097
|
-
*/
|
|
493098
|
-
setItem(key2, value) {
|
|
493099
|
-
(0, import_node_fs6.writeFileSync)((0, import_node_path9.join)(this.cacheDir, key2), value, { encoding: "utf-8" });
|
|
493100
|
-
}
|
|
493101
|
-
/**
|
|
493102
|
-
* Remove item from cache
|
|
493103
|
-
*
|
|
493104
|
-
* @param key - The key to remove
|
|
493105
|
-
*/
|
|
493106
|
-
removeItem(key2) {
|
|
493107
|
-
(0, import_node_fs6.rmSync)((0, import_node_path9.join)(this.cacheDir, key2), { force: true, recursive: true });
|
|
493108
|
-
}
|
|
493109
|
-
/**
|
|
493110
|
-
* Clear the cache
|
|
493111
|
-
*/
|
|
493112
|
-
clear() {
|
|
493113
|
-
for (const cacheFile of (0, import_node_fs6.readdirSync)(this.cacheDir)) {
|
|
493114
|
-
(0, import_node_fs6.rmSync)(cacheFile, { force: true, recursive: true });
|
|
493115
|
-
}
|
|
493116
|
-
}
|
|
493117
|
-
/**
|
|
493118
|
-
* Get the key at the index
|
|
493119
|
-
*
|
|
493120
|
-
* @param index - The index to get
|
|
493121
|
-
* @returns The key at the index
|
|
493122
|
-
*/
|
|
493123
|
-
key(index) {
|
|
493124
|
-
const files = (0, import_node_fs6.readdirSync)(this.cacheDir);
|
|
493125
|
-
if (index < files.length && index >= 0) {
|
|
493126
|
-
return files[index];
|
|
493127
|
-
}
|
|
493128
|
-
return void 0;
|
|
493129
|
-
}
|
|
493130
|
-
};
|
|
493131
493033
|
// Annotate the CommonJS export names for ESM import in node:
|
|
493132
493034
|
0 && (module.exports = {
|
|
493133
|
-
WorkspaceStorage,
|
|
493134
493035
|
addLint,
|
|
493135
493036
|
applyDefaultOptions,
|
|
493136
493037
|
applyWorkspaceExecutorTokens,
|
|
@@ -493140,7 +493041,6 @@ var WorkspaceStorage = class {
|
|
|
493140
493041
|
createProjectTsConfigJson,
|
|
493141
493042
|
defaultConfig,
|
|
493142
493043
|
eslintVersion,
|
|
493143
|
-
findCacheDirectory,
|
|
493144
493044
|
findFileName,
|
|
493145
493045
|
getConfig,
|
|
493146
493046
|
getExternalDependencies,
|