@storm-software/workspace-tools 1.224.0 → 1.224.2
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 +14 -0
- package/README.md +1 -1
- package/index.js +121 -107
- package/meta.json +19 -19
- package/package.json +1 -1
- package/src/executors/esbuild/executor.js +91 -77
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 1.224.2 (2025-01-12)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **eslint:** Resolved issue with invalid `cspell` plugin
|
|
6
|
+
([1c13fb51](https://github.com/storm-software/storm-ops/commit/1c13fb51))
|
|
7
|
+
|
|
8
|
+
## 1.224.1 (2025-01-12)
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
- **eslint:** Resolve stack overflow error on eslint configuration load
|
|
13
|
+
([f66752ac](https://github.com/storm-software/storm-ops/commit/f66752ac))
|
|
14
|
+
|
|
1
15
|
## 1.224.0 (2025-01-11)
|
|
2
16
|
|
|
3
17
|
### Features
|
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/index.js
CHANGED
|
@@ -70141,37 +70141,67 @@ var require_resolve = __commonJS({
|
|
|
70141
70141
|
}
|
|
70142
70142
|
});
|
|
70143
70143
|
|
|
70144
|
-
// node_modules/.pnpm/readdirp@4.
|
|
70145
|
-
function
|
|
70146
|
-
|
|
70147
|
-
|
|
70148
|
-
|
|
70149
|
-
|
|
70150
|
-
type
|
|
70151
|
-
|
|
70152
|
-
|
|
70153
|
-
|
|
70154
|
-
|
|
70155
|
-
}
|
|
70156
|
-
}
|
|
70157
|
-
|
|
70144
|
+
// node_modules/.pnpm/readdirp@4.1.1/node_modules/readdirp/esm/index.js
|
|
70145
|
+
function readdirp(root, options = {}) {
|
|
70146
|
+
let type = options.entryType || options.type;
|
|
70147
|
+
if (type === "both")
|
|
70148
|
+
type = EntryTypes.FILE_DIR_TYPE;
|
|
70149
|
+
if (type)
|
|
70150
|
+
options.type = type;
|
|
70151
|
+
if (!root) {
|
|
70152
|
+
throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");
|
|
70153
|
+
} else if (typeof root !== "string") {
|
|
70154
|
+
throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");
|
|
70155
|
+
} else if (type && !ALL_TYPES.includes(type)) {
|
|
70156
|
+
throw new Error(`readdirp: Invalid type passed. Use one of ${ALL_TYPES.join(", ")}`);
|
|
70157
|
+
}
|
|
70158
|
+
options.root = root;
|
|
70159
|
+
return new ReaddirpStream(options);
|
|
70160
|
+
}
|
|
70161
|
+
var import_promises7, import_node_stream3, import_node_path10, EntryTypes, defaultOptions2, RECURSIVE_ERROR_CODE, NORMAL_FLOW_ERRORS, ALL_TYPES, DIR_TYPES, FILE_TYPES, isNormalFlowError, wantBigintFsStats, emptyFn, normalizeFilter, ReaddirpStream;
|
|
70158
70162
|
var init_esm = __esm({
|
|
70159
|
-
"node_modules/.pnpm/readdirp@4.
|
|
70160
|
-
import_promises7 = require("fs/promises");
|
|
70161
|
-
|
|
70162
|
-
|
|
70163
|
+
"node_modules/.pnpm/readdirp@4.1.1/node_modules/readdirp/esm/index.js"() {
|
|
70164
|
+
import_promises7 = require("node:fs/promises");
|
|
70165
|
+
import_node_stream3 = require("node:stream");
|
|
70166
|
+
import_node_path10 = require("node:path");
|
|
70167
|
+
EntryTypes = {
|
|
70168
|
+
FILE_TYPE: "files",
|
|
70169
|
+
DIR_TYPE: "directories",
|
|
70170
|
+
FILE_DIR_TYPE: "files_directories",
|
|
70171
|
+
EVERYTHING_TYPE: "all"
|
|
70172
|
+
};
|
|
70173
|
+
defaultOptions2 = {
|
|
70174
|
+
root: ".",
|
|
70175
|
+
fileFilter: (_entryInfo) => true,
|
|
70176
|
+
directoryFilter: (_entryInfo) => true,
|
|
70177
|
+
type: EntryTypes.FILE_TYPE,
|
|
70178
|
+
lstat: false,
|
|
70179
|
+
depth: 2147483648,
|
|
70180
|
+
alwaysStat: false,
|
|
70181
|
+
highWaterMark: 4096
|
|
70182
|
+
};
|
|
70183
|
+
Object.freeze(defaultOptions2);
|
|
70163
70184
|
RECURSIVE_ERROR_CODE = "READDIRP_RECURSIVE_ERROR";
|
|
70164
70185
|
NORMAL_FLOW_ERRORS = /* @__PURE__ */ new Set(["ENOENT", "EPERM", "EACCES", "ELOOP", RECURSIVE_ERROR_CODE]);
|
|
70165
|
-
|
|
70166
|
-
|
|
70167
|
-
|
|
70168
|
-
|
|
70169
|
-
|
|
70170
|
-
|
|
70171
|
-
|
|
70186
|
+
ALL_TYPES = [
|
|
70187
|
+
EntryTypes.DIR_TYPE,
|
|
70188
|
+
EntryTypes.EVERYTHING_TYPE,
|
|
70189
|
+
EntryTypes.FILE_DIR_TYPE,
|
|
70190
|
+
EntryTypes.FILE_TYPE
|
|
70191
|
+
];
|
|
70192
|
+
DIR_TYPES = /* @__PURE__ */ new Set([
|
|
70193
|
+
EntryTypes.DIR_TYPE,
|
|
70194
|
+
EntryTypes.EVERYTHING_TYPE,
|
|
70195
|
+
EntryTypes.FILE_DIR_TYPE
|
|
70196
|
+
]);
|
|
70197
|
+
FILE_TYPES = /* @__PURE__ */ new Set([
|
|
70198
|
+
EntryTypes.EVERYTHING_TYPE,
|
|
70199
|
+
EntryTypes.FILE_DIR_TYPE,
|
|
70200
|
+
EntryTypes.FILE_TYPE
|
|
70201
|
+
]);
|
|
70172
70202
|
isNormalFlowError = (error) => NORMAL_FLOW_ERRORS.has(error.code);
|
|
70173
70203
|
wantBigintFsStats = process.platform === "win32";
|
|
70174
|
-
emptyFn = (
|
|
70204
|
+
emptyFn = (_entryInfo) => true;
|
|
70175
70205
|
normalizeFilter = (filter2) => {
|
|
70176
70206
|
if (filter2 === void 0)
|
|
70177
70207
|
return emptyFn;
|
|
@@ -70187,14 +70217,14 @@ var init_esm = __esm({
|
|
|
70187
70217
|
}
|
|
70188
70218
|
return emptyFn;
|
|
70189
70219
|
};
|
|
70190
|
-
ReaddirpStream = class extends
|
|
70220
|
+
ReaddirpStream = class extends import_node_stream3.Readable {
|
|
70191
70221
|
constructor(options = {}) {
|
|
70192
70222
|
super({
|
|
70193
70223
|
objectMode: true,
|
|
70194
70224
|
autoDestroy: true,
|
|
70195
70225
|
highWaterMark: options.highWaterMark
|
|
70196
70226
|
});
|
|
70197
|
-
const opts = { ...defaultOptions2
|
|
70227
|
+
const opts = { ...defaultOptions2, ...options };
|
|
70198
70228
|
const { root, type } = opts;
|
|
70199
70229
|
this._fileFilter = normalizeFilter(opts.fileFilter);
|
|
70200
70230
|
this._directoryFilter = normalizeFilter(opts.directoryFilter);
|
|
@@ -70204,11 +70234,11 @@ var init_esm = __esm({
|
|
|
70204
70234
|
} else {
|
|
70205
70235
|
this._stat = statMethod;
|
|
70206
70236
|
}
|
|
70207
|
-
this._maxDepth = opts.depth;
|
|
70208
|
-
this._wantsDir = DIR_TYPES.has(type);
|
|
70209
|
-
this._wantsFile = FILE_TYPES.has(type);
|
|
70210
|
-
this._wantsEverything = type === EVERYTHING_TYPE;
|
|
70211
|
-
this._root = (0,
|
|
70237
|
+
this._maxDepth = opts.depth ?? defaultOptions2.depth;
|
|
70238
|
+
this._wantsDir = type ? DIR_TYPES.has(type) : false;
|
|
70239
|
+
this._wantsFile = type ? FILE_TYPES.has(type) : false;
|
|
70240
|
+
this._wantsEverything = type === EntryTypes.EVERYTHING_TYPE;
|
|
70241
|
+
this._root = (0, import_node_path10.resolve)(root);
|
|
70212
70242
|
this._isDirent = !opts.alwaysStat;
|
|
70213
70243
|
this._statsProp = this._isDirent ? "dirent" : "stats";
|
|
70214
70244
|
this._rdOptions = { encoding: "utf8", withFileTypes: this._isDirent };
|
|
@@ -70281,8 +70311,8 @@ var init_esm = __esm({
|
|
|
70281
70311
|
let entry;
|
|
70282
70312
|
const basename5 = this._isDirent ? dirent.name : dirent;
|
|
70283
70313
|
try {
|
|
70284
|
-
const fullPath = (0,
|
|
70285
|
-
entry = { path: (0,
|
|
70314
|
+
const fullPath = (0, import_node_path10.resolve)((0, import_node_path10.join)(path14, basename5));
|
|
70315
|
+
entry = { path: (0, import_node_path10.relative)(this._root, fullPath), fullPath, basename: basename5 };
|
|
70286
70316
|
entry[this._statsProp] = this._isDirent ? dirent : await this._stat(fullPath);
|
|
70287
70317
|
} catch (err) {
|
|
70288
70318
|
this._onError(err);
|
|
@@ -70316,7 +70346,7 @@ var init_esm = __esm({
|
|
|
70316
70346
|
}
|
|
70317
70347
|
if (entryRealPathStats.isDirectory()) {
|
|
70318
70348
|
const len = entryRealPath.length;
|
|
70319
|
-
if (full.startsWith(entryRealPath) && full.substr(len, 1) ===
|
|
70349
|
+
if (full.startsWith(entryRealPath) && full.substr(len, 1) === import_node_path10.sep) {
|
|
70320
70350
|
const recursiveError = new Error(`Circular symlink detected: "${full}" points to "${entryRealPath}"`);
|
|
70321
70351
|
recursiveError.code = RECURSIVE_ERROR_CODE;
|
|
70322
70352
|
return this._onError(recursiveError);
|
|
@@ -70334,22 +70364,6 @@ var init_esm = __esm({
|
|
|
70334
70364
|
return stats && this._wantsEverything && !stats.isDirectory();
|
|
70335
70365
|
}
|
|
70336
70366
|
};
|
|
70337
|
-
readdirp = (root, options = {}) => {
|
|
70338
|
-
let type = options.entryType || options.type;
|
|
70339
|
-
if (type === "both")
|
|
70340
|
-
type = FILE_DIR_TYPE;
|
|
70341
|
-
if (type)
|
|
70342
|
-
options.type = type;
|
|
70343
|
-
if (!root) {
|
|
70344
|
-
throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");
|
|
70345
|
-
} else if (typeof root !== "string") {
|
|
70346
|
-
throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");
|
|
70347
|
-
} else if (type && !ALL_TYPES.includes(type)) {
|
|
70348
|
-
throw new Error(`readdirp: Invalid type passed. Use one of ${ALL_TYPES.join(", ")}`);
|
|
70349
|
-
}
|
|
70350
|
-
options.root = root;
|
|
70351
|
-
return new ReaddirpStream(options);
|
|
70352
|
-
};
|
|
70353
70367
|
}
|
|
70354
70368
|
});
|
|
70355
70369
|
|
|
@@ -187917,11 +187931,11 @@ var esbuild2 = __toESM(require("esbuild"), 1);
|
|
|
187917
187931
|
// node_modules/.pnpm/globby@14.0.2/node_modules/globby/index.js
|
|
187918
187932
|
var import_node_process7 = __toESM(require("node:process"), 1);
|
|
187919
187933
|
var import_node_fs12 = __toESM(require("node:fs"), 1);
|
|
187920
|
-
var
|
|
187934
|
+
var import_node_path12 = __toESM(require("node:path"), 1);
|
|
187921
187935
|
|
|
187922
187936
|
// node_modules/.pnpm/@sindresorhus+merge-streams@2.3.0/node_modules/@sindresorhus/merge-streams/index.js
|
|
187923
187937
|
var import_node_events2 = require("node:events");
|
|
187924
|
-
var
|
|
187938
|
+
var import_node_stream4 = require("node:stream");
|
|
187925
187939
|
var import_promises10 = require("node:stream/promises");
|
|
187926
187940
|
function mergeStreams(streams) {
|
|
187927
187941
|
if (!Array.isArray(streams)) {
|
|
@@ -187952,7 +187966,7 @@ var getHighWaterMark = (streams, objectMode) => {
|
|
|
187952
187966
|
const highWaterMarks = streams.filter(({ readableObjectMode }) => readableObjectMode === objectMode).map(({ readableHighWaterMark }) => readableHighWaterMark);
|
|
187953
187967
|
return Math.max(...highWaterMarks);
|
|
187954
187968
|
};
|
|
187955
|
-
var MergedStream = class extends
|
|
187969
|
+
var MergedStream = class extends import_node_stream4.PassThrough {
|
|
187956
187970
|
#streams = /* @__PURE__ */ new Set([]);
|
|
187957
187971
|
#ended = /* @__PURE__ */ new Set([]);
|
|
187958
187972
|
#aborted = /* @__PURE__ */ new Set([]);
|
|
@@ -188145,7 +188159,7 @@ function toPath2(urlOrPath) {
|
|
|
188145
188159
|
var import_node_process6 = __toESM(require("node:process"), 1);
|
|
188146
188160
|
var import_node_fs11 = __toESM(require("node:fs"), 1);
|
|
188147
188161
|
var import_promises11 = __toESM(require("node:fs/promises"), 1);
|
|
188148
|
-
var
|
|
188162
|
+
var import_node_path11 = __toESM(require("node:path"), 1);
|
|
188149
188163
|
var import_fast_glob = __toESM(require_out4(), 1);
|
|
188150
188164
|
var import_ignore3 = __toESM(require_ignore(), 1);
|
|
188151
188165
|
|
|
@@ -188173,16 +188187,16 @@ var ignoreFilesGlobOptions = {
|
|
|
188173
188187
|
dot: true
|
|
188174
188188
|
};
|
|
188175
188189
|
var GITIGNORE_FILES_PATTERN = "**/.gitignore";
|
|
188176
|
-
var applyBaseToPattern = (pattern, base) => isNegativePattern(pattern) ? "!" +
|
|
188190
|
+
var applyBaseToPattern = (pattern, base) => isNegativePattern(pattern) ? "!" + import_node_path11.default.posix.join(base, pattern.slice(1)) : import_node_path11.default.posix.join(base, pattern);
|
|
188177
188191
|
var parseIgnoreFile = (file, cwd2) => {
|
|
188178
|
-
const base = slash(
|
|
188192
|
+
const base = slash(import_node_path11.default.relative(cwd2, import_node_path11.default.dirname(file.filePath)));
|
|
188179
188193
|
return file.content.split(/\r?\n/).filter((line) => line && !line.startsWith("#")).map((pattern) => applyBaseToPattern(pattern, base));
|
|
188180
188194
|
};
|
|
188181
188195
|
var toRelativePath = (fileOrDirectory, cwd2) => {
|
|
188182
188196
|
cwd2 = slash(cwd2);
|
|
188183
|
-
if (
|
|
188197
|
+
if (import_node_path11.default.isAbsolute(fileOrDirectory)) {
|
|
188184
188198
|
if (slash(fileOrDirectory).startsWith(cwd2)) {
|
|
188185
|
-
return
|
|
188199
|
+
return import_node_path11.default.relative(cwd2, fileOrDirectory);
|
|
188186
188200
|
}
|
|
188187
188201
|
throw new Error(`Path ${fileOrDirectory} is not in cwd ${cwd2}`);
|
|
188188
188202
|
}
|
|
@@ -188244,11 +188258,11 @@ var assertPatternsInput = (patterns) => {
|
|
|
188244
188258
|
};
|
|
188245
188259
|
var normalizePathForDirectoryGlob = (filePath, cwd2) => {
|
|
188246
188260
|
const path14 = isNegativePattern(filePath) ? filePath.slice(1) : filePath;
|
|
188247
|
-
return
|
|
188261
|
+
return import_node_path12.default.isAbsolute(path14) ? path14 : import_node_path12.default.join(cwd2, path14);
|
|
188248
188262
|
};
|
|
188249
188263
|
var getDirectoryGlob = ({ directoryPath, files, extensions }) => {
|
|
188250
188264
|
const extensionGlob = extensions?.length > 0 ? `.${extensions.length > 1 ? `{${extensions.join(",")}}` : extensions[0]}` : "";
|
|
188251
|
-
return files ? files.map((file) =>
|
|
188265
|
+
return files ? files.map((file) => import_node_path12.default.posix.join(directoryPath, `**/${import_node_path12.default.extname(file) ? file : `${file}${extensionGlob}`}`)) : [import_node_path12.default.posix.join(directoryPath, `**${extensionGlob ? `/*${extensionGlob}` : ""}`)];
|
|
188252
188266
|
};
|
|
188253
188267
|
var directoryToGlob = async (directoryPaths, {
|
|
188254
188268
|
cwd: cwd2 = import_node_process7.default.cwd(),
|
|
@@ -188319,7 +188333,7 @@ var getFilterSync = (options) => {
|
|
|
188319
188333
|
var createFilterFunction = (isIgnored) => {
|
|
188320
188334
|
const seen = /* @__PURE__ */ new Set();
|
|
188321
188335
|
return (fastGlobResult) => {
|
|
188322
|
-
const pathKey2 =
|
|
188336
|
+
const pathKey2 = import_node_path12.default.normalize(fastGlobResult.path ?? fastGlobResult);
|
|
188323
188337
|
if (seen.has(pathKey2) || isIgnored && isIgnored(pathKey2)) {
|
|
188324
188338
|
return false;
|
|
188325
188339
|
}
|
|
@@ -188430,14 +188444,14 @@ var { convertPathToPattern } = import_fast_glob2.default;
|
|
|
188430
188444
|
var import_find_workspace_root6 = require("nx/src/utils/find-workspace-root");
|
|
188431
188445
|
|
|
188432
188446
|
// packages/esbuild/src/base/renderer-engine.ts
|
|
188433
|
-
var
|
|
188447
|
+
var import_node_path14 = __toESM(require("node:path"), 1);
|
|
188434
188448
|
var import_source_map = __toESM(require_source_map(), 1);
|
|
188435
188449
|
|
|
188436
188450
|
// packages/esbuild/src/utilities/output-file.ts
|
|
188437
188451
|
var import_node_fs13 = __toESM(require("node:fs"), 1);
|
|
188438
|
-
var
|
|
188452
|
+
var import_node_path13 = __toESM(require("node:path"), 1);
|
|
188439
188453
|
var outputFile = async (filepath, data2, options) => {
|
|
188440
|
-
await import_node_fs13.default.promises.mkdir(
|
|
188454
|
+
await import_node_fs13.default.promises.mkdir(import_node_path13.default.dirname(filepath), { recursive: true });
|
|
188441
188455
|
await import_node_fs13.default.promises.writeFile(filepath, data2, options);
|
|
188442
188456
|
};
|
|
188443
188457
|
|
|
@@ -188453,7 +188467,7 @@ var getSourcemapComment = (inline2, map2, filepath, isCssFile) => {
|
|
|
188453
188467
|
const suffix = isCssFile ? " */" : "";
|
|
188454
188468
|
const url = inline2 ? `data:application/json;base64,${Buffer.from(
|
|
188455
188469
|
typeof map2 === "string" ? map2 : JSON.stringify(map2)
|
|
188456
|
-
).toString("base64")}` : `${
|
|
188470
|
+
).toString("base64")}` : `${import_node_path14.default.basename(filepath)}.map`;
|
|
188457
188471
|
return `${prefix}# sourceMappingURL=${url}${suffix}`;
|
|
188458
188472
|
};
|
|
188459
188473
|
var RendererEngine = class {
|
|
@@ -188491,7 +188505,7 @@ var RendererEngine = class {
|
|
|
188491
188505
|
}) {
|
|
188492
188506
|
const files = outputFiles.filter((file) => !file.path.endsWith(".map")).map((file) => {
|
|
188493
188507
|
if (isJS(file.path) || isCSS(file.path)) {
|
|
188494
|
-
let relativePath =
|
|
188508
|
+
let relativePath = import_node_path14.default.relative(
|
|
188495
188509
|
this.getOptions().config.workspaceRoot,
|
|
188496
188510
|
file.path
|
|
188497
188511
|
);
|
|
@@ -188552,7 +188566,7 @@ var RendererEngine = class {
|
|
|
188552
188566
|
});
|
|
188553
188567
|
writtenFiles.push({
|
|
188554
188568
|
get name() {
|
|
188555
|
-
return
|
|
188569
|
+
return import_node_path14.default.relative(process.cwd(), info.path);
|
|
188556
188570
|
},
|
|
188557
188571
|
get size() {
|
|
188558
188572
|
return contents.length;
|
|
@@ -188565,7 +188579,7 @@ var RendererEngine = class {
|
|
|
188565
188579
|
await outputFile(outPath, contents2);
|
|
188566
188580
|
writtenFiles.push({
|
|
188567
188581
|
get name() {
|
|
188568
|
-
return
|
|
188582
|
+
return import_node_path14.default.relative(process.cwd(), outPath);
|
|
188569
188583
|
},
|
|
188570
188584
|
get size() {
|
|
188571
188585
|
return contents2.length;
|
|
@@ -188624,7 +188638,7 @@ var fixImportsPlugin = (options, resolvedOptions) => ({
|
|
|
188624
188638
|
});
|
|
188625
188639
|
|
|
188626
188640
|
// packages/esbuild/src/plugins/native-node-module.ts
|
|
188627
|
-
var
|
|
188641
|
+
var import_node_path15 = require("node:path");
|
|
188628
188642
|
var nativeNodeModulesPlugin = (options, resolvedOptions) => {
|
|
188629
188643
|
return {
|
|
188630
188644
|
name: "native-node-modules",
|
|
@@ -188650,7 +188664,7 @@ var nativeNodeModulesPlugin = (options, resolvedOptions) => {
|
|
|
188650
188664
|
try { module.exports = require(path) }
|
|
188651
188665
|
catch {}
|
|
188652
188666
|
`,
|
|
188653
|
-
resolveDir: (0,
|
|
188667
|
+
resolveDir: (0, import_node_path15.dirname)(args.path)
|
|
188654
188668
|
};
|
|
188655
188669
|
});
|
|
188656
188670
|
build5.onResolve({ filter: /\.node$/, namespace: "node-file" }, (args) => ({
|
|
@@ -188703,18 +188717,18 @@ ${result.errors.map((error) => error.text).join("\n")}
|
|
|
188703
188717
|
});
|
|
188704
188718
|
|
|
188705
188719
|
// packages/esbuild/src/plugins/resolve-paths.ts
|
|
188706
|
-
var
|
|
188720
|
+
var import_node_path16 = __toESM(require("node:path"), 1);
|
|
188707
188721
|
function resolvePathsConfig(options, cwd2) {
|
|
188708
188722
|
if (options?.compilerOptions?.paths) {
|
|
188709
188723
|
const paths = Object.entries(options.compilerOptions.paths);
|
|
188710
188724
|
const resolvedPaths = paths.map(([key, paths2]) => {
|
|
188711
|
-
return [key, paths2.map((v4) =>
|
|
188725
|
+
return [key, paths2.map((v4) => import_node_path16.default.resolve(cwd2, v4))];
|
|
188712
188726
|
});
|
|
188713
188727
|
return Object.fromEntries(resolvedPaths);
|
|
188714
188728
|
}
|
|
188715
188729
|
if (options.extends) {
|
|
188716
|
-
const extendsPath =
|
|
188717
|
-
const extendsDir =
|
|
188730
|
+
const extendsPath = import_node_path16.default.resolve(cwd2, options.extends);
|
|
188731
|
+
const extendsDir = import_node_path16.default.dirname(extendsPath);
|
|
188718
188732
|
const extendsConfig = require(extendsPath);
|
|
188719
188733
|
return resolvePathsConfig(extendsConfig, extendsDir);
|
|
188720
188734
|
}
|
|
@@ -188932,7 +188946,7 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
188932
188946
|
|
|
188933
188947
|
// packages/esbuild/src/plugins/deps-check.ts
|
|
188934
188948
|
var import_node_module3 = require("node:module");
|
|
188935
|
-
var
|
|
188949
|
+
var import_node_path17 = __toESM(require("node:path"), 1);
|
|
188936
188950
|
var unusedIgnore = [
|
|
188937
188951
|
// these are our dev dependencies
|
|
188938
188952
|
/@types\/.*?/,
|
|
@@ -188961,7 +188975,7 @@ var missingIgnore = [".prisma", "@prisma/client", "ts-toolbelt"];
|
|
|
188961
188975
|
var depsCheckPlugin = (bundle) => ({
|
|
188962
188976
|
name: "storm:deps-check",
|
|
188963
188977
|
setup(build5) {
|
|
188964
|
-
const pkgJsonPath =
|
|
188978
|
+
const pkgJsonPath = import_node_path17.default.join(process.cwd(), "package.json");
|
|
188965
188979
|
const pkgContents = require(pkgJsonPath);
|
|
188966
188980
|
const regDependencies = Object.keys(pkgContents["dependencies"] ?? {});
|
|
188967
188981
|
const devDependencies = Object.keys(pkgContents["devDependencies"] ?? {});
|
|
@@ -189578,7 +189592,7 @@ var nanoid = (size = 21) => {
|
|
|
189578
189592
|
// node_modules/.pnpm/@size-limit+esbuild@11.1.4_size-limit@11.1.4/node_modules/@size-limit/esbuild/index.js
|
|
189579
189593
|
var import_promises15 = require("node:fs/promises");
|
|
189580
189594
|
var import_node_os7 = require("node:os");
|
|
189581
|
-
var
|
|
189595
|
+
var import_node_path19 = require("node:path");
|
|
189582
189596
|
|
|
189583
189597
|
// node_modules/.pnpm/size-limit@11.1.4/node_modules/size-limit/calc.js
|
|
189584
189598
|
async function calc(plugins, config, createSpinner) {
|
|
@@ -189653,7 +189667,7 @@ var Plugins = class {
|
|
|
189653
189667
|
|
|
189654
189668
|
// node_modules/.pnpm/size-limit@11.1.4/node_modules/size-limit/process-import.js
|
|
189655
189669
|
var import_promises13 = require("node:fs/promises");
|
|
189656
|
-
var
|
|
189670
|
+
var import_node_path18 = require("node:path");
|
|
189657
189671
|
async function processImport(check, output3) {
|
|
189658
189672
|
if (!check.import) {
|
|
189659
189673
|
return;
|
|
@@ -189671,7 +189685,7 @@ console.log(${list})
|
|
|
189671
189685
|
`;
|
|
189672
189686
|
}
|
|
189673
189687
|
await (0, import_promises13.mkdir)(output3, { recursive: true });
|
|
189674
|
-
let entry = (0,
|
|
189688
|
+
let entry = (0, import_node_path18.join)(output3, "index.js");
|
|
189675
189689
|
await (0, import_promises13.writeFile)(entry, loader);
|
|
189676
189690
|
check.files = entry;
|
|
189677
189691
|
}
|
|
@@ -189791,14 +189805,14 @@ function getFiles(buildResult, check) {
|
|
|
189791
189805
|
let entries = {};
|
|
189792
189806
|
let outputs = buildResult.metafile.outputs;
|
|
189793
189807
|
for (let key in outputs) {
|
|
189794
|
-
let outputEntryName = (0,
|
|
189808
|
+
let outputEntryName = (0, import_node_path19.parse)(key).base;
|
|
189795
189809
|
outputs[outputEntryName] = outputs[key];
|
|
189796
|
-
outputs[outputEntryName].path = (0,
|
|
189810
|
+
outputs[outputEntryName].path = (0, import_node_path19.resolve)(key);
|
|
189797
189811
|
delete outputs[key];
|
|
189798
189812
|
}
|
|
189799
189813
|
if (check.entry) {
|
|
189800
189814
|
for (let entry of check.entry) {
|
|
189801
|
-
let matches2 = Object.keys(outputs).filter((key) => (0,
|
|
189815
|
+
let matches2 = Object.keys(outputs).filter((key) => (0, import_node_path19.parse)(key).name === entry);
|
|
189802
189816
|
if (matches2.length === 0) {
|
|
189803
189817
|
throw new SizeLimitError("unknownEntry", entry);
|
|
189804
189818
|
}
|
|
@@ -189844,7 +189858,7 @@ var esbuild_default = [
|
|
|
189844
189858
|
if (check.esbuild === false) return;
|
|
189845
189859
|
check.esbuildOutfile = config.saveBundle;
|
|
189846
189860
|
if (!check.esbuildOutfile) {
|
|
189847
|
-
check.esbuildOutfile = (0,
|
|
189861
|
+
check.esbuildOutfile = (0, import_node_path19.join)((0, import_node_os7.tmpdir)(), `size-limit-${nanoid()}`);
|
|
189848
189862
|
}
|
|
189849
189863
|
if (check.config) {
|
|
189850
189864
|
check.esbuildConfig = (await import(check.config)).default;
|
|
@@ -189913,12 +189927,12 @@ var esbuild_default = [
|
|
|
189913
189927
|
// node_modules/.pnpm/@size-limit+esbuild-why@11.1.4_size-limit@11.1.4/node_modules/@size-limit/esbuild-why/index.js
|
|
189914
189928
|
var import_esbuild_visualizer = __toESM(require_plugin(), 1);
|
|
189915
189929
|
var import_node_fs19 = require("node:fs");
|
|
189916
|
-
var
|
|
189930
|
+
var import_node_path21 = require("node:path");
|
|
189917
189931
|
|
|
189918
189932
|
// node_modules/.pnpm/open@10.1.0/node_modules/open/index.js
|
|
189919
189933
|
var import_node_process12 = __toESM(require("node:process"), 1);
|
|
189920
189934
|
var import_node_buffer3 = require("node:buffer");
|
|
189921
|
-
var
|
|
189935
|
+
var import_node_path20 = __toESM(require("node:path"), 1);
|
|
189922
189936
|
var import_node_url7 = require("node:url");
|
|
189923
189937
|
var import_node_child_process10 = __toESM(require("node:child_process"), 1);
|
|
189924
189938
|
var import_promises16 = __toESM(require("node:fs/promises"), 1);
|
|
@@ -190110,8 +190124,8 @@ async function defaultBrowser2() {
|
|
|
190110
190124
|
|
|
190111
190125
|
// node_modules/.pnpm/open@10.1.0/node_modules/open/index.js
|
|
190112
190126
|
var import_meta = {};
|
|
190113
|
-
var __dirname2 =
|
|
190114
|
-
var localXdgOpenPath =
|
|
190127
|
+
var __dirname2 = import_node_path20.default.dirname((0, import_node_url7.fileURLToPath)(import_meta.url));
|
|
190128
|
+
var localXdgOpenPath = import_node_path20.default.join(__dirname2, "xdg-open");
|
|
190115
190129
|
var { platform, arch } = import_node_process12.default;
|
|
190116
190130
|
var getWslDrivesMountPoint = /* @__PURE__ */ (() => {
|
|
190117
190131
|
const defaultMountPoint = "/mnt/";
|
|
@@ -190384,7 +190398,7 @@ var esbuild_why_default = [
|
|
|
190384
190398
|
async step81(config, check) {
|
|
190385
190399
|
if (config.why && check.esbuildMetafile) {
|
|
190386
190400
|
let result = await (0, import_esbuild_visualizer.visualizer)(check.esbuildMetafile);
|
|
190387
|
-
let file = (0,
|
|
190401
|
+
let file = (0, import_node_path21.join)(config.saveBundle ?? "", getReportName(config, check));
|
|
190388
190402
|
check.esbuildVisualizerFile = file;
|
|
190389
190403
|
(0, import_node_fs19.writeFileSync)(file, result);
|
|
190390
190404
|
}
|
|
@@ -190522,7 +190536,7 @@ var import_devkit12 = require("@nx/devkit");
|
|
|
190522
190536
|
var import_js3 = require("@nx/js");
|
|
190523
190537
|
var import_buildable_libs_utils4 = require("@nx/js/src/utils/buildable-libs-utils");
|
|
190524
190538
|
var import_defu8 = __toESM(require("defu"), 1);
|
|
190525
|
-
var
|
|
190539
|
+
var import_node_path24 = require("node:path");
|
|
190526
190540
|
var import_find_workspace_root7 = require("nx/src/utils/find-workspace-root");
|
|
190527
190541
|
var import_unbuild = require("unbuild");
|
|
190528
190542
|
|
|
@@ -190608,11 +190622,11 @@ var import_rollup_plugin_typescript2 = __toESM(require_rollup_plugin_typescript2
|
|
|
190608
190622
|
// packages/unbuild/src/utilities/helpers.ts
|
|
190609
190623
|
var import_devkit10 = require("@nx/devkit");
|
|
190610
190624
|
var import_buildable_libs_utils2 = require("@nx/js/src/utils/buildable-libs-utils");
|
|
190611
|
-
var
|
|
190625
|
+
var import_node_path22 = require("node:path");
|
|
190612
190626
|
var import_node_url8 = require("node:url");
|
|
190613
190627
|
var import_typescript = __toESM(require("typescript"), 1);
|
|
190614
190628
|
async function loadConfig2(configPath) {
|
|
190615
|
-
if (!/\.(js|mjs)$/.test((0,
|
|
190629
|
+
if (!/\.(js|mjs)$/.test((0, import_node_path22.extname)(configPath))) {
|
|
190616
190630
|
throw new Error("Unsupported config file format");
|
|
190617
190631
|
}
|
|
190618
190632
|
return import((0, import_node_url8.pathToFileURL)(configPath).toString()).then(
|
|
@@ -190627,7 +190641,7 @@ async function createTsCompilerOptions(config, tsConfigPath, projectRoot, depend
|
|
|
190627
190641
|
const tsConfig = import_typescript.default.parseJsonConfigFileContent(
|
|
190628
190642
|
tsConfigFile.config,
|
|
190629
190643
|
import_typescript.default.sys,
|
|
190630
|
-
(0,
|
|
190644
|
+
(0, import_node_path22.dirname)((0, import_devkit10.joinPathFragments)(config.workspaceRoot, projectRoot, tsConfigPath))
|
|
190631
190645
|
);
|
|
190632
190646
|
const compilerOptions = {
|
|
190633
190647
|
rootDir: projectRoot,
|
|
@@ -190681,7 +190695,7 @@ var tscPlugin2 = async (options, resolvedOptions) => {
|
|
|
190681
190695
|
};
|
|
190682
190696
|
|
|
190683
190697
|
// packages/unbuild/src/plugins/type-definitions.ts
|
|
190684
|
-
var
|
|
190698
|
+
var import_node_path23 = require("node:path");
|
|
190685
190699
|
var typeDefinitions = (options, resolvedOptions) => ({
|
|
190686
190700
|
name: "storm:dts-bundle",
|
|
190687
190701
|
async generateBundle(_opts, bundle) {
|
|
@@ -190690,7 +190704,7 @@ var typeDefinitions = (options, resolvedOptions) => ({
|
|
|
190690
190704
|
continue;
|
|
190691
190705
|
}
|
|
190692
190706
|
const hasDefaultExport = file.exports.includes("default");
|
|
190693
|
-
const entrySourceFileName = (0,
|
|
190707
|
+
const entrySourceFileName = (0, import_node_path23.relative)(
|
|
190694
190708
|
options.projectRoot,
|
|
190695
190709
|
file.facadeModuleId
|
|
190696
190710
|
);
|
|
@@ -190823,7 +190837,7 @@ async function resolveOptions2(options) {
|
|
|
190823
190837
|
builder: "mkdist",
|
|
190824
190838
|
input: `.${sourceRoot.replace(projectRoot, "")}`,
|
|
190825
190839
|
outDir: joinPaths(
|
|
190826
|
-
(0,
|
|
190840
|
+
(0, import_node_path24.relative)(
|
|
190827
190841
|
joinPaths(config.workspaceRoot, projectRoot),
|
|
190828
190842
|
config.workspaceRoot
|
|
190829
190843
|
).replaceAll("\\", "/"),
|
|
@@ -190837,7 +190851,7 @@ async function resolveOptions2(options) {
|
|
|
190837
190851
|
builder: "mkdist",
|
|
190838
190852
|
input: `.${sourceRoot.replace(projectRoot, "")}`,
|
|
190839
190853
|
outDir: joinPaths(
|
|
190840
|
-
(0,
|
|
190854
|
+
(0, import_node_path24.relative)(
|
|
190841
190855
|
joinPaths(config.workspaceRoot, projectRoot),
|
|
190842
190856
|
config.workspaceRoot
|
|
190843
190857
|
).replaceAll("\\", "/"),
|
|
@@ -192771,7 +192785,7 @@ var DEFAULT_CONVENTIONAL_COMMITS_CONFIG = {
|
|
|
192771
192785
|
|
|
192772
192786
|
// packages/workspace-tools/src/generators/release-version/generator.ts
|
|
192773
192787
|
var import_node_child_process11 = require("node:child_process");
|
|
192774
|
-
var
|
|
192788
|
+
var import_node_path25 = require("node:path");
|
|
192775
192789
|
var import_config7 = require("nx/src/command-line/release/config/config");
|
|
192776
192790
|
var import_git = require("nx/src/command-line/release/utils/git");
|
|
192777
192791
|
var import_resolve_semver_specifier = require("nx/src/command-line/release/utils/resolve-semver-specifier");
|
|
@@ -192858,7 +192872,7 @@ Valid values are: ${import_version.validReleaseVersionPrefixes.map((s2) => `"${s
|
|
|
192858
192872
|
To fix this you will either need to add a package.json or Cargo.toml file at that location, or configure "release" within your nx.json to exclude "${projectName}" from the current release group, or amend the packageRoot configuration to point to where the package.json should be.`
|
|
192859
192873
|
);
|
|
192860
192874
|
}
|
|
192861
|
-
const workspaceRelativePackagePath = (0,
|
|
192875
|
+
const workspaceRelativePackagePath = (0, import_node_path25.relative)(
|
|
192862
192876
|
config?.workspaceRoot ?? findWorkspaceRoot(),
|
|
192863
192877
|
tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath
|
|
192864
192878
|
);
|
|
@@ -193420,7 +193434,7 @@ function resolveLocalPackageCargoDependencies(tree, projectGraph, filteredProjec
|
|
|
193420
193434
|
// packages/workspace-tools/src/utils/cargo.ts
|
|
193421
193435
|
var import_devkit18 = require("@nx/devkit");
|
|
193422
193436
|
var import_node_child_process12 = require("node:child_process");
|
|
193423
|
-
var
|
|
193437
|
+
var import_node_path26 = require("node:path");
|
|
193424
193438
|
var INVALID_CARGO_ARGS = [
|
|
193425
193439
|
"allFeatures",
|
|
193426
193440
|
"allTargets",
|
|
@@ -193538,7 +193552,7 @@ function cargoMetadata() {
|
|
|
193538
193552
|
function isExternal(packageOrDep, workspaceRoot3) {
|
|
193539
193553
|
const isRegistry = packageOrDep.source?.startsWith("registry+") ?? false;
|
|
193540
193554
|
const isGit = packageOrDep.source?.startsWith("git+") ?? false;
|
|
193541
|
-
const isOutsideWorkspace = "path" in packageOrDep && (0,
|
|
193555
|
+
const isOutsideWorkspace = "path" in packageOrDep && (0, import_node_path26.relative)(workspaceRoot3, packageOrDep.path).startsWith("..");
|
|
193542
193556
|
return isRegistry || isGit || isOutsideWorkspace;
|
|
193543
193557
|
}
|
|
193544
193558
|
function runProcess(processCmd, ...args) {
|
|
@@ -193594,7 +193608,7 @@ var getProjectConfiguration = (projectName) => getProjectConfigurations()?.[proj
|
|
|
193594
193608
|
|
|
193595
193609
|
// packages/workspace-tools/src/utils/lock-file.ts
|
|
193596
193610
|
var import_node_fs21 = require("node:fs");
|
|
193597
|
-
var
|
|
193611
|
+
var import_node_path27 = require("node:path");
|
|
193598
193612
|
var import_devkit_exports = require("nx/src/devkit-exports");
|
|
193599
193613
|
var import_npm_parser = require("nx/src/plugins/js/lock-file/npm-parser");
|
|
193600
193614
|
var import_pnpm_parser = require("nx/src/plugins/js/lock-file/pnpm-parser");
|
|
@@ -193603,14 +193617,14 @@ var YARN_LOCK_FILE = "yarn.lock";
|
|
|
193603
193617
|
var NPM_LOCK_FILE = "package-lock.json";
|
|
193604
193618
|
var PNPM_LOCK_FILE = "pnpm-lock.yaml";
|
|
193605
193619
|
var LOCK_FILES = [YARN_LOCK_FILE, NPM_LOCK_FILE, PNPM_LOCK_FILE];
|
|
193606
|
-
var YARN_LOCK_PATH = (0,
|
|
193607
|
-
var NPM_LOCK_PATH = (0,
|
|
193608
|
-
var PNPM_LOCK_PATH = (0,
|
|
193620
|
+
var YARN_LOCK_PATH = (0, import_node_path27.join)(import_devkit_exports.workspaceRoot, YARN_LOCK_FILE);
|
|
193621
|
+
var NPM_LOCK_PATH = (0, import_node_path27.join)(import_devkit_exports.workspaceRoot, NPM_LOCK_FILE);
|
|
193622
|
+
var PNPM_LOCK_PATH = (0, import_node_path27.join)(import_devkit_exports.workspaceRoot, PNPM_LOCK_FILE);
|
|
193609
193623
|
function getLockFileNodes(packageManager, contents, lockFileHash, context2) {
|
|
193610
193624
|
try {
|
|
193611
193625
|
if (packageManager === "yarn") {
|
|
193612
193626
|
const packageJson = (0, import_devkit_exports.readJsonFile)(
|
|
193613
|
-
(0,
|
|
193627
|
+
(0, import_node_path27.join)(context2.workspaceRoot, "package.json")
|
|
193614
193628
|
);
|
|
193615
193629
|
return (0, import_yarn_parser.getYarnLockfileNodes)(contents, lockFileHash, packageJson);
|
|
193616
193630
|
}
|
package/meta.json
CHANGED
|
@@ -2609,21 +2609,21 @@
|
|
|
2609
2609
|
"imports": [],
|
|
2610
2610
|
"format": "esm"
|
|
2611
2611
|
},
|
|
2612
|
-
"node_modules/.pnpm/readdirp@4.
|
|
2613
|
-
"bytes":
|
|
2612
|
+
"node_modules/.pnpm/readdirp@4.1.1/node_modules/readdirp/esm/index.js": {
|
|
2613
|
+
"bytes": 9617,
|
|
2614
2614
|
"imports": [
|
|
2615
2615
|
{
|
|
2616
|
-
"path": "fs/promises",
|
|
2616
|
+
"path": "node:fs/promises",
|
|
2617
2617
|
"kind": "import-statement",
|
|
2618
2618
|
"external": true
|
|
2619
2619
|
},
|
|
2620
2620
|
{
|
|
2621
|
-
"path": "stream",
|
|
2621
|
+
"path": "node:stream",
|
|
2622
2622
|
"kind": "import-statement",
|
|
2623
2623
|
"external": true
|
|
2624
2624
|
},
|
|
2625
2625
|
{
|
|
2626
|
-
"path": "path",
|
|
2626
|
+
"path": "node:path",
|
|
2627
2627
|
"kind": "import-statement",
|
|
2628
2628
|
"external": true
|
|
2629
2629
|
}
|
|
@@ -2680,7 +2680,7 @@
|
|
|
2680
2680
|
"external": true
|
|
2681
2681
|
},
|
|
2682
2682
|
{
|
|
2683
|
-
"path": "node_modules/.pnpm/readdirp@4.
|
|
2683
|
+
"path": "node_modules/.pnpm/readdirp@4.1.1/node_modules/readdirp/esm/index.js",
|
|
2684
2684
|
"kind": "import-statement",
|
|
2685
2685
|
"original": "readdirp"
|
|
2686
2686
|
},
|
|
@@ -36779,17 +36779,17 @@
|
|
|
36779
36779
|
"external": true
|
|
36780
36780
|
},
|
|
36781
36781
|
{
|
|
36782
|
-
"path": "fs/promises",
|
|
36782
|
+
"path": "node:fs/promises",
|
|
36783
36783
|
"kind": "require-call",
|
|
36784
36784
|
"external": true
|
|
36785
36785
|
},
|
|
36786
36786
|
{
|
|
36787
|
-
"path": "stream",
|
|
36787
|
+
"path": "node:stream",
|
|
36788
36788
|
"kind": "require-call",
|
|
36789
36789
|
"external": true
|
|
36790
36790
|
},
|
|
36791
36791
|
{
|
|
36792
|
-
"path": "path",
|
|
36792
|
+
"path": "node:path",
|
|
36793
36793
|
"kind": "require-call",
|
|
36794
36794
|
"external": true
|
|
36795
36795
|
},
|
|
@@ -39463,8 +39463,8 @@
|
|
|
39463
39463
|
"node_modules/.pnpm/resolve@1.22.8/node_modules/resolve/index.js": {
|
|
39464
39464
|
"bytesInOutput": 299
|
|
39465
39465
|
},
|
|
39466
|
-
"node_modules/.pnpm/readdirp@4.
|
|
39467
|
-
"bytesInOutput":
|
|
39466
|
+
"node_modules/.pnpm/readdirp@4.1.1/node_modules/readdirp/esm/index.js": {
|
|
39467
|
+
"bytesInOutput": 8469
|
|
39468
39468
|
},
|
|
39469
39469
|
"node_modules/.pnpm/chokidar@4.0.3/node_modules/chokidar/esm/handler.js": {
|
|
39470
39470
|
"bytesInOutput": 22048
|
|
@@ -42821,7 +42821,7 @@
|
|
|
42821
42821
|
"bytesInOutput": 202
|
|
42822
42822
|
}
|
|
42823
42823
|
},
|
|
42824
|
-
"bytes":
|
|
42824
|
+
"bytes": 9623321
|
|
42825
42825
|
},
|
|
42826
42826
|
"dist/packages/workspace-tools/src/executors/unbuild/executor.js": {
|
|
42827
42827
|
"imports": [
|
|
@@ -46161,17 +46161,17 @@
|
|
|
46161
46161
|
"external": true
|
|
46162
46162
|
},
|
|
46163
46163
|
{
|
|
46164
|
-
"path": "fs/promises",
|
|
46164
|
+
"path": "node:fs/promises",
|
|
46165
46165
|
"kind": "require-call",
|
|
46166
46166
|
"external": true
|
|
46167
46167
|
},
|
|
46168
46168
|
{
|
|
46169
|
-
"path": "stream",
|
|
46169
|
+
"path": "node:stream",
|
|
46170
46170
|
"kind": "require-call",
|
|
46171
46171
|
"external": true
|
|
46172
46172
|
},
|
|
46173
46173
|
{
|
|
46174
|
-
"path": "path",
|
|
46174
|
+
"path": "node:path",
|
|
46175
46175
|
"kind": "require-call",
|
|
46176
46176
|
"external": true
|
|
46177
46177
|
},
|
|
@@ -47522,8 +47522,8 @@
|
|
|
47522
47522
|
"node_modules/.pnpm/giget@1.2.3/node_modules/giget/dist/index.mjs": {
|
|
47523
47523
|
"bytesInOutput": 12685
|
|
47524
47524
|
},
|
|
47525
|
-
"node_modules/.pnpm/readdirp@4.
|
|
47526
|
-
"bytesInOutput":
|
|
47525
|
+
"node_modules/.pnpm/readdirp@4.1.1/node_modules/readdirp/esm/index.js": {
|
|
47526
|
+
"bytesInOutput": 8462
|
|
47527
47527
|
},
|
|
47528
47528
|
"node_modules/.pnpm/chokidar@4.0.3/node_modules/chokidar/esm/handler.js": {
|
|
47529
47529
|
"bytesInOutput": 22038
|
|
@@ -49446,7 +49446,7 @@
|
|
|
49446
49446
|
"bytesInOutput": 172
|
|
49447
49447
|
},
|
|
49448
49448
|
"node_modules/.pnpm/globby@14.0.2/node_modules/globby/ignore.js": {
|
|
49449
|
-
"bytesInOutput":
|
|
49449
|
+
"bytesInOutput": 3143
|
|
49450
49450
|
},
|
|
49451
49451
|
"node_modules/.pnpm/slash@5.1.0/node_modules/slash/index.js": {
|
|
49452
49452
|
"bytesInOutput": 178
|
|
@@ -49503,7 +49503,7 @@
|
|
|
49503
49503
|
"bytesInOutput": 4148
|
|
49504
49504
|
}
|
|
49505
49505
|
},
|
|
49506
|
-
"bytes":
|
|
49506
|
+
"bytes": 7564448
|
|
49507
49507
|
},
|
|
49508
49508
|
"dist/packages/workspace-tools/src/executors/typia/executor.js": {
|
|
49509
49509
|
"imports": [
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@storm-software/workspace-tools","version":"1.224.
|
|
1
|
+
{"name":"@storm-software/workspace-tools","version":"1.224.2","type":"commonjs","description":"Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.","repository":{"type":"github","url":"https://github.com/storm-software/storm-ops","directory":"packages/workspace-tools"},"homepage":"https://stormsoftware.com","bugs":"https://github.com/storm-software/storm-ops/issues","author":{"name":"Storm Software","email":"contact@stormsoftware.com","url":"https://stormsoftware.com"},"license":"Apache-2.0","private":false,"main":"./index.js","exports":{".":"./index.js","./package.json":"./package.json","./config/nx-default.json":"./config/nx-default.json","./config/nx-cloud.json":"./config/nx-cloud.json","./assets/cjs_shims":"./assets/cjs_shims.js","./assets/esm_shims":"./assets/esm_shims.js","./migrations.json":"./migrations.json","./generators.json":"./generators.json","./generators/*/schema.json":"./src/generators/*/schema.json","./executors.json":"./executors.json","./executors/*/schema.json":"./src/executors/*/schema.json","./plugins/rust":"./src/plugins/rust/index.js","./plugins/typescript":"./src/plugins/typescript/index.js","./plugins/typescript/tsup":"./src/plugins/typescript/tsup.js","./preset":"./src/generators/preset/preset.js","./base":"./src/base/index.js","./base/*":"./src/base/*.js","./utils":"./src/utils/index.js","./utils/*":"./src/utils/*.js"},"typings":"./declarations.d.ts","keywords":["monorepo","open-system","storm","storm-ops","storm-stack","stormstack","sullivanpj"],"peerDependencies":{"@microsoft/api-extractor":"^7.48.1","@nx/devkit":"^20.3.1","@samchon/openapi":"^2.3.0","nx":"^20.3.1","typescript":"^5.7.2"},"peerDependenciesMeta":{"@microsoft/api-extractor":{"optional":true},"@nx/devkit":{"optional":false},"@samchon/openapi":{"optional":true},"nx":{"optional":false},"typescript":{"optional":false}},"dependencies":{"@ltd/j-toml":"1.38.0","@nx/devkit":"^20.3.1","@size-limit/esbuild":"11.1.4","@size-limit/esbuild-why":"11.1.4","@size-limit/file":"11.1.4","deep-clone":"4.0.0","defu":"6.1.4","fs-extra":"11.2.0","glob":"10.4.2","micromatch":"4.0.7","pkg-types":"^1.1.1","prettier":"^3.3.3","prettier-plugin-packagejson":"2.5.0","read-yaml-file":"2.1.0","semver":"7.6.2","size-limit":"11.1.4","tsup":"8.0.0","typia":"^7.5.0","zod":"^3.24.0","zod-to-json-schema":"3.23.1"},"devDependencies":{"@microsoft/api-extractor":"^7.48.1","@nx/esbuild":"^20.3.1","@types/micromatch":"4.0.9","@types/node":"^22.10.2","@types/semver":"7.5.8","nx":"^20.3.1","typescript":"^5.7.2"},"publishConfig":{"access":"public"},"executors":"./executors.json","generators":"./generators.json"}
|
|
@@ -65280,37 +65280,67 @@ var init_dist7 = __esm({
|
|
|
65280
65280
|
}
|
|
65281
65281
|
});
|
|
65282
65282
|
|
|
65283
|
-
// node_modules/.pnpm/readdirp@4.
|
|
65284
|
-
function
|
|
65285
|
-
|
|
65286
|
-
|
|
65287
|
-
|
|
65288
|
-
|
|
65289
|
-
type
|
|
65290
|
-
|
|
65291
|
-
|
|
65292
|
-
|
|
65293
|
-
|
|
65294
|
-
}
|
|
65283
|
+
// node_modules/.pnpm/readdirp@4.1.1/node_modules/readdirp/esm/index.js
|
|
65284
|
+
function readdirp(root, options = {}) {
|
|
65285
|
+
let type = options.entryType || options.type;
|
|
65286
|
+
if (type === "both")
|
|
65287
|
+
type = EntryTypes.FILE_DIR_TYPE;
|
|
65288
|
+
if (type)
|
|
65289
|
+
options.type = type;
|
|
65290
|
+
if (!root) {
|
|
65291
|
+
throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");
|
|
65292
|
+
} else if (typeof root !== "string") {
|
|
65293
|
+
throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");
|
|
65294
|
+
} else if (type && !ALL_TYPES.includes(type)) {
|
|
65295
|
+
throw new Error(`readdirp: Invalid type passed. Use one of ${ALL_TYPES.join(", ")}`);
|
|
65296
|
+
}
|
|
65297
|
+
options.root = root;
|
|
65298
|
+
return new ReaddirpStream(options);
|
|
65295
65299
|
}
|
|
65296
|
-
var import_promises7,
|
|
65300
|
+
var import_promises7, import_node_stream3, import_node_path9, EntryTypes, defaultOptions2, RECURSIVE_ERROR_CODE, NORMAL_FLOW_ERRORS, ALL_TYPES, DIR_TYPES, FILE_TYPES, isNormalFlowError, wantBigintFsStats, emptyFn, normalizeFilter, ReaddirpStream;
|
|
65297
65301
|
var init_esm = __esm({
|
|
65298
|
-
"node_modules/.pnpm/readdirp@4.
|
|
65299
|
-
import_promises7 = require("fs/promises");
|
|
65300
|
-
|
|
65301
|
-
|
|
65302
|
+
"node_modules/.pnpm/readdirp@4.1.1/node_modules/readdirp/esm/index.js"() {
|
|
65303
|
+
import_promises7 = require("node:fs/promises");
|
|
65304
|
+
import_node_stream3 = require("node:stream");
|
|
65305
|
+
import_node_path9 = require("node:path");
|
|
65306
|
+
EntryTypes = {
|
|
65307
|
+
FILE_TYPE: "files",
|
|
65308
|
+
DIR_TYPE: "directories",
|
|
65309
|
+
FILE_DIR_TYPE: "files_directories",
|
|
65310
|
+
EVERYTHING_TYPE: "all"
|
|
65311
|
+
};
|
|
65312
|
+
defaultOptions2 = {
|
|
65313
|
+
root: ".",
|
|
65314
|
+
fileFilter: (_entryInfo) => true,
|
|
65315
|
+
directoryFilter: (_entryInfo) => true,
|
|
65316
|
+
type: EntryTypes.FILE_TYPE,
|
|
65317
|
+
lstat: false,
|
|
65318
|
+
depth: 2147483648,
|
|
65319
|
+
alwaysStat: false,
|
|
65320
|
+
highWaterMark: 4096
|
|
65321
|
+
};
|
|
65322
|
+
Object.freeze(defaultOptions2);
|
|
65302
65323
|
RECURSIVE_ERROR_CODE = "READDIRP_RECURSIVE_ERROR";
|
|
65303
65324
|
NORMAL_FLOW_ERRORS = /* @__PURE__ */ new Set(["ENOENT", "EPERM", "EACCES", "ELOOP", RECURSIVE_ERROR_CODE]);
|
|
65304
|
-
|
|
65305
|
-
|
|
65306
|
-
|
|
65307
|
-
|
|
65308
|
-
|
|
65309
|
-
|
|
65310
|
-
|
|
65325
|
+
ALL_TYPES = [
|
|
65326
|
+
EntryTypes.DIR_TYPE,
|
|
65327
|
+
EntryTypes.EVERYTHING_TYPE,
|
|
65328
|
+
EntryTypes.FILE_DIR_TYPE,
|
|
65329
|
+
EntryTypes.FILE_TYPE
|
|
65330
|
+
];
|
|
65331
|
+
DIR_TYPES = /* @__PURE__ */ new Set([
|
|
65332
|
+
EntryTypes.DIR_TYPE,
|
|
65333
|
+
EntryTypes.EVERYTHING_TYPE,
|
|
65334
|
+
EntryTypes.FILE_DIR_TYPE
|
|
65335
|
+
]);
|
|
65336
|
+
FILE_TYPES = /* @__PURE__ */ new Set([
|
|
65337
|
+
EntryTypes.EVERYTHING_TYPE,
|
|
65338
|
+
EntryTypes.FILE_DIR_TYPE,
|
|
65339
|
+
EntryTypes.FILE_TYPE
|
|
65340
|
+
]);
|
|
65311
65341
|
isNormalFlowError = (error) => NORMAL_FLOW_ERRORS.has(error.code);
|
|
65312
65342
|
wantBigintFsStats = process.platform === "win32";
|
|
65313
|
-
emptyFn = (
|
|
65343
|
+
emptyFn = (_entryInfo) => true;
|
|
65314
65344
|
normalizeFilter = (filter2) => {
|
|
65315
65345
|
if (filter2 === void 0)
|
|
65316
65346
|
return emptyFn;
|
|
@@ -65326,14 +65356,14 @@ var init_esm = __esm({
|
|
|
65326
65356
|
}
|
|
65327
65357
|
return emptyFn;
|
|
65328
65358
|
};
|
|
65329
|
-
ReaddirpStream = class extends
|
|
65359
|
+
ReaddirpStream = class extends import_node_stream3.Readable {
|
|
65330
65360
|
constructor(options = {}) {
|
|
65331
65361
|
super({
|
|
65332
65362
|
objectMode: true,
|
|
65333
65363
|
autoDestroy: true,
|
|
65334
65364
|
highWaterMark: options.highWaterMark
|
|
65335
65365
|
});
|
|
65336
|
-
const opts = { ...defaultOptions2
|
|
65366
|
+
const opts = { ...defaultOptions2, ...options };
|
|
65337
65367
|
const { root, type } = opts;
|
|
65338
65368
|
this._fileFilter = normalizeFilter(opts.fileFilter);
|
|
65339
65369
|
this._directoryFilter = normalizeFilter(opts.directoryFilter);
|
|
@@ -65343,11 +65373,11 @@ var init_esm = __esm({
|
|
|
65343
65373
|
} else {
|
|
65344
65374
|
this._stat = statMethod;
|
|
65345
65375
|
}
|
|
65346
|
-
this._maxDepth = opts.depth;
|
|
65347
|
-
this._wantsDir = DIR_TYPES.has(type);
|
|
65348
|
-
this._wantsFile = FILE_TYPES.has(type);
|
|
65349
|
-
this._wantsEverything = type === EVERYTHING_TYPE;
|
|
65350
|
-
this._root = (0,
|
|
65376
|
+
this._maxDepth = opts.depth ?? defaultOptions2.depth;
|
|
65377
|
+
this._wantsDir = type ? DIR_TYPES.has(type) : false;
|
|
65378
|
+
this._wantsFile = type ? FILE_TYPES.has(type) : false;
|
|
65379
|
+
this._wantsEverything = type === EntryTypes.EVERYTHING_TYPE;
|
|
65380
|
+
this._root = (0, import_node_path9.resolve)(root);
|
|
65351
65381
|
this._isDirent = !opts.alwaysStat;
|
|
65352
65382
|
this._statsProp = this._isDirent ? "dirent" : "stats";
|
|
65353
65383
|
this._rdOptions = { encoding: "utf8", withFileTypes: this._isDirent };
|
|
@@ -65420,8 +65450,8 @@ var init_esm = __esm({
|
|
|
65420
65450
|
let entry;
|
|
65421
65451
|
const basename4 = this._isDirent ? dirent.name : dirent;
|
|
65422
65452
|
try {
|
|
65423
|
-
const fullPath = (0,
|
|
65424
|
-
entry = { path: (0,
|
|
65453
|
+
const fullPath = (0, import_node_path9.resolve)((0, import_node_path9.join)(path12, basename4));
|
|
65454
|
+
entry = { path: (0, import_node_path9.relative)(this._root, fullPath), fullPath, basename: basename4 };
|
|
65425
65455
|
entry[this._statsProp] = this._isDirent ? dirent : await this._stat(fullPath);
|
|
65426
65456
|
} catch (err) {
|
|
65427
65457
|
this._onError(err);
|
|
@@ -65455,7 +65485,7 @@ var init_esm = __esm({
|
|
|
65455
65485
|
}
|
|
65456
65486
|
if (entryRealPathStats.isDirectory()) {
|
|
65457
65487
|
const len = entryRealPath.length;
|
|
65458
|
-
if (full.startsWith(entryRealPath) && full.substr(len, 1) ===
|
|
65488
|
+
if (full.startsWith(entryRealPath) && full.substr(len, 1) === import_node_path9.sep) {
|
|
65459
65489
|
const recursiveError = new Error(`Circular symlink detected: "${full}" points to "${entryRealPath}"`);
|
|
65460
65490
|
recursiveError.code = RECURSIVE_ERROR_CODE;
|
|
65461
65491
|
return this._onError(recursiveError);
|
|
@@ -65473,22 +65503,6 @@ var init_esm = __esm({
|
|
|
65473
65503
|
return stats && this._wantsEverything && !stats.isDirectory();
|
|
65474
65504
|
}
|
|
65475
65505
|
};
|
|
65476
|
-
readdirp = (root, options = {}) => {
|
|
65477
|
-
let type = options.entryType || options.type;
|
|
65478
|
-
if (type === "both")
|
|
65479
|
-
type = FILE_DIR_TYPE;
|
|
65480
|
-
if (type)
|
|
65481
|
-
options.type = type;
|
|
65482
|
-
if (!root) {
|
|
65483
|
-
throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");
|
|
65484
|
-
} else if (typeof root !== "string") {
|
|
65485
|
-
throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");
|
|
65486
|
-
} else if (type && !ALL_TYPES.includes(type)) {
|
|
65487
|
-
throw new Error(`readdirp: Invalid type passed. Use one of ${ALL_TYPES.join(", ")}`);
|
|
65488
|
-
}
|
|
65489
|
-
options.root = root;
|
|
65490
|
-
return new ReaddirpStream(options);
|
|
65491
|
-
};
|
|
65492
65506
|
}
|
|
65493
65507
|
});
|
|
65494
65508
|
|
|
@@ -146296,11 +146310,11 @@ var esbuild2 = __toESM(require("esbuild"), 1);
|
|
|
146296
146310
|
// node_modules/.pnpm/globby@14.0.2/node_modules/globby/index.js
|
|
146297
146311
|
var import_node_process7 = __toESM(require("node:process"), 1);
|
|
146298
146312
|
var import_node_fs12 = __toESM(require("node:fs"), 1);
|
|
146299
|
-
var
|
|
146313
|
+
var import_node_path11 = __toESM(require("node:path"), 1);
|
|
146300
146314
|
|
|
146301
146315
|
// node_modules/.pnpm/@sindresorhus+merge-streams@2.3.0/node_modules/@sindresorhus/merge-streams/index.js
|
|
146302
146316
|
var import_node_events2 = require("node:events");
|
|
146303
|
-
var
|
|
146317
|
+
var import_node_stream4 = require("node:stream");
|
|
146304
146318
|
var import_promises10 = require("node:stream/promises");
|
|
146305
146319
|
function mergeStreams(streams) {
|
|
146306
146320
|
if (!Array.isArray(streams)) {
|
|
@@ -146331,7 +146345,7 @@ var getHighWaterMark = (streams, objectMode) => {
|
|
|
146331
146345
|
const highWaterMarks = streams.filter(({ readableObjectMode }) => readableObjectMode === objectMode).map(({ readableHighWaterMark }) => readableHighWaterMark);
|
|
146332
146346
|
return Math.max(...highWaterMarks);
|
|
146333
146347
|
};
|
|
146334
|
-
var MergedStream = class extends
|
|
146348
|
+
var MergedStream = class extends import_node_stream4.PassThrough {
|
|
146335
146349
|
#streams = /* @__PURE__ */ new Set([]);
|
|
146336
146350
|
#ended = /* @__PURE__ */ new Set([]);
|
|
146337
146351
|
#aborted = /* @__PURE__ */ new Set([]);
|
|
@@ -146524,7 +146538,7 @@ function toPath2(urlOrPath) {
|
|
|
146524
146538
|
var import_node_process6 = __toESM(require("node:process"), 1);
|
|
146525
146539
|
var import_node_fs11 = __toESM(require("node:fs"), 1);
|
|
146526
146540
|
var import_promises11 = __toESM(require("node:fs/promises"), 1);
|
|
146527
|
-
var
|
|
146541
|
+
var import_node_path10 = __toESM(require("node:path"), 1);
|
|
146528
146542
|
var import_fast_glob = __toESM(require_out4(), 1);
|
|
146529
146543
|
var import_ignore3 = __toESM(require_ignore(), 1);
|
|
146530
146544
|
|
|
@@ -146552,16 +146566,16 @@ var ignoreFilesGlobOptions = {
|
|
|
146552
146566
|
dot: true
|
|
146553
146567
|
};
|
|
146554
146568
|
var GITIGNORE_FILES_PATTERN = "**/.gitignore";
|
|
146555
|
-
var applyBaseToPattern = (pattern, base) => isNegativePattern(pattern) ? "!" +
|
|
146569
|
+
var applyBaseToPattern = (pattern, base) => isNegativePattern(pattern) ? "!" + import_node_path10.default.posix.join(base, pattern.slice(1)) : import_node_path10.default.posix.join(base, pattern);
|
|
146556
146570
|
var parseIgnoreFile = (file, cwd2) => {
|
|
146557
|
-
const base = slash(
|
|
146571
|
+
const base = slash(import_node_path10.default.relative(cwd2, import_node_path10.default.dirname(file.filePath)));
|
|
146558
146572
|
return file.content.split(/\r?\n/).filter((line) => line && !line.startsWith("#")).map((pattern) => applyBaseToPattern(pattern, base));
|
|
146559
146573
|
};
|
|
146560
146574
|
var toRelativePath = (fileOrDirectory, cwd2) => {
|
|
146561
146575
|
cwd2 = slash(cwd2);
|
|
146562
|
-
if (
|
|
146576
|
+
if (import_node_path10.default.isAbsolute(fileOrDirectory)) {
|
|
146563
146577
|
if (slash(fileOrDirectory).startsWith(cwd2)) {
|
|
146564
|
-
return
|
|
146578
|
+
return import_node_path10.default.relative(cwd2, fileOrDirectory);
|
|
146565
146579
|
}
|
|
146566
146580
|
throw new Error(`Path ${fileOrDirectory} is not in cwd ${cwd2}`);
|
|
146567
146581
|
}
|
|
@@ -146623,11 +146637,11 @@ var assertPatternsInput = (patterns) => {
|
|
|
146623
146637
|
};
|
|
146624
146638
|
var normalizePathForDirectoryGlob = (filePath, cwd2) => {
|
|
146625
146639
|
const path12 = isNegativePattern(filePath) ? filePath.slice(1) : filePath;
|
|
146626
|
-
return
|
|
146640
|
+
return import_node_path11.default.isAbsolute(path12) ? path12 : import_node_path11.default.join(cwd2, path12);
|
|
146627
146641
|
};
|
|
146628
146642
|
var getDirectoryGlob = ({ directoryPath, files, extensions }) => {
|
|
146629
146643
|
const extensionGlob = extensions?.length > 0 ? `.${extensions.length > 1 ? `{${extensions.join(",")}}` : extensions[0]}` : "";
|
|
146630
|
-
return files ? files.map((file) =>
|
|
146644
|
+
return files ? files.map((file) => import_node_path11.default.posix.join(directoryPath, `**/${import_node_path11.default.extname(file) ? file : `${file}${extensionGlob}`}`)) : [import_node_path11.default.posix.join(directoryPath, `**${extensionGlob ? `/*${extensionGlob}` : ""}`)];
|
|
146631
146645
|
};
|
|
146632
146646
|
var directoryToGlob = async (directoryPaths, {
|
|
146633
146647
|
cwd: cwd2 = import_node_process7.default.cwd(),
|
|
@@ -146698,7 +146712,7 @@ var getFilterSync = (options) => {
|
|
|
146698
146712
|
var createFilterFunction = (isIgnored) => {
|
|
146699
146713
|
const seen = /* @__PURE__ */ new Set();
|
|
146700
146714
|
return (fastGlobResult) => {
|
|
146701
|
-
const pathKey2 =
|
|
146715
|
+
const pathKey2 = import_node_path11.default.normalize(fastGlobResult.path ?? fastGlobResult);
|
|
146702
146716
|
if (seen.has(pathKey2) || isIgnored && isIgnored(pathKey2)) {
|
|
146703
146717
|
return false;
|
|
146704
146718
|
}
|
|
@@ -146809,14 +146823,14 @@ var { convertPathToPattern } = import_fast_glob2.default;
|
|
|
146809
146823
|
var import_find_workspace_root5 = require("nx/src/utils/find-workspace-root");
|
|
146810
146824
|
|
|
146811
146825
|
// packages/esbuild/src/base/renderer-engine.ts
|
|
146812
|
-
var
|
|
146826
|
+
var import_node_path13 = __toESM(require("node:path"), 1);
|
|
146813
146827
|
var import_source_map = __toESM(require_source_map(), 1);
|
|
146814
146828
|
|
|
146815
146829
|
// packages/esbuild/src/utilities/output-file.ts
|
|
146816
146830
|
var import_node_fs13 = __toESM(require("node:fs"), 1);
|
|
146817
|
-
var
|
|
146831
|
+
var import_node_path12 = __toESM(require("node:path"), 1);
|
|
146818
146832
|
var outputFile = async (filepath, data2, options) => {
|
|
146819
|
-
await import_node_fs13.default.promises.mkdir(
|
|
146833
|
+
await import_node_fs13.default.promises.mkdir(import_node_path12.default.dirname(filepath), { recursive: true });
|
|
146820
146834
|
await import_node_fs13.default.promises.writeFile(filepath, data2, options);
|
|
146821
146835
|
};
|
|
146822
146836
|
|
|
@@ -146832,7 +146846,7 @@ var getSourcemapComment = (inline, map2, filepath, isCssFile) => {
|
|
|
146832
146846
|
const suffix = isCssFile ? " */" : "";
|
|
146833
146847
|
const url = inline ? `data:application/json;base64,${Buffer.from(
|
|
146834
146848
|
typeof map2 === "string" ? map2 : JSON.stringify(map2)
|
|
146835
|
-
).toString("base64")}` : `${
|
|
146849
|
+
).toString("base64")}` : `${import_node_path13.default.basename(filepath)}.map`;
|
|
146836
146850
|
return `${prefix}# sourceMappingURL=${url}${suffix}`;
|
|
146837
146851
|
};
|
|
146838
146852
|
var RendererEngine = class {
|
|
@@ -146870,7 +146884,7 @@ var RendererEngine = class {
|
|
|
146870
146884
|
}) {
|
|
146871
146885
|
const files = outputFiles.filter((file) => !file.path.endsWith(".map")).map((file) => {
|
|
146872
146886
|
if (isJS(file.path) || isCSS(file.path)) {
|
|
146873
|
-
let relativePath =
|
|
146887
|
+
let relativePath = import_node_path13.default.relative(
|
|
146874
146888
|
this.getOptions().config.workspaceRoot,
|
|
146875
146889
|
file.path
|
|
146876
146890
|
);
|
|
@@ -146931,7 +146945,7 @@ var RendererEngine = class {
|
|
|
146931
146945
|
});
|
|
146932
146946
|
writtenFiles.push({
|
|
146933
146947
|
get name() {
|
|
146934
|
-
return
|
|
146948
|
+
return import_node_path13.default.relative(process.cwd(), info.path);
|
|
146935
146949
|
},
|
|
146936
146950
|
get size() {
|
|
146937
146951
|
return contents.length;
|
|
@@ -146944,7 +146958,7 @@ var RendererEngine = class {
|
|
|
146944
146958
|
await outputFile(outPath, contents2);
|
|
146945
146959
|
writtenFiles.push({
|
|
146946
146960
|
get name() {
|
|
146947
|
-
return
|
|
146961
|
+
return import_node_path13.default.relative(process.cwd(), outPath);
|
|
146948
146962
|
},
|
|
146949
146963
|
get size() {
|
|
146950
146964
|
return contents2.length;
|
|
@@ -147003,7 +147017,7 @@ var fixImportsPlugin = (options, resolvedOptions) => ({
|
|
|
147003
147017
|
});
|
|
147004
147018
|
|
|
147005
147019
|
// packages/esbuild/src/plugins/native-node-module.ts
|
|
147006
|
-
var
|
|
147020
|
+
var import_node_path14 = require("node:path");
|
|
147007
147021
|
var nativeNodeModulesPlugin = (options, resolvedOptions) => {
|
|
147008
147022
|
return {
|
|
147009
147023
|
name: "native-node-modules",
|
|
@@ -147029,7 +147043,7 @@ var nativeNodeModulesPlugin = (options, resolvedOptions) => {
|
|
|
147029
147043
|
try { module.exports = require(path) }
|
|
147030
147044
|
catch {}
|
|
147031
147045
|
`,
|
|
147032
|
-
resolveDir: (0,
|
|
147046
|
+
resolveDir: (0, import_node_path14.dirname)(args.path)
|
|
147033
147047
|
};
|
|
147034
147048
|
});
|
|
147035
147049
|
build4.onResolve({ filter: /\.node$/, namespace: "node-file" }, (args) => ({
|
|
@@ -147082,18 +147096,18 @@ ${result.errors.map((error) => error.text).join("\n")}
|
|
|
147082
147096
|
});
|
|
147083
147097
|
|
|
147084
147098
|
// packages/esbuild/src/plugins/resolve-paths.ts
|
|
147085
|
-
var
|
|
147099
|
+
var import_node_path15 = __toESM(require("node:path"), 1);
|
|
147086
147100
|
function resolvePathsConfig(options, cwd2) {
|
|
147087
147101
|
if (options?.compilerOptions?.paths) {
|
|
147088
147102
|
const paths = Object.entries(options.compilerOptions.paths);
|
|
147089
147103
|
const resolvedPaths = paths.map(([key, paths2]) => {
|
|
147090
|
-
return [key, paths2.map((v4) =>
|
|
147104
|
+
return [key, paths2.map((v4) => import_node_path15.default.resolve(cwd2, v4))];
|
|
147091
147105
|
});
|
|
147092
147106
|
return Object.fromEntries(resolvedPaths);
|
|
147093
147107
|
}
|
|
147094
147108
|
if (options.extends) {
|
|
147095
|
-
const extendsPath =
|
|
147096
|
-
const extendsDir =
|
|
147109
|
+
const extendsPath = import_node_path15.default.resolve(cwd2, options.extends);
|
|
147110
|
+
const extendsDir = import_node_path15.default.dirname(extendsPath);
|
|
147097
147111
|
const extendsConfig = require(extendsPath);
|
|
147098
147112
|
return resolvePathsConfig(extendsConfig, extendsDir);
|
|
147099
147113
|
}
|
|
@@ -147311,7 +147325,7 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
147311
147325
|
|
|
147312
147326
|
// packages/esbuild/src/plugins/deps-check.ts
|
|
147313
147327
|
var import_node_module3 = require("node:module");
|
|
147314
|
-
var
|
|
147328
|
+
var import_node_path16 = __toESM(require("node:path"), 1);
|
|
147315
147329
|
var unusedIgnore = [
|
|
147316
147330
|
// these are our dev dependencies
|
|
147317
147331
|
/@types\/.*?/,
|
|
@@ -147340,7 +147354,7 @@ var missingIgnore = [".prisma", "@prisma/client", "ts-toolbelt"];
|
|
|
147340
147354
|
var depsCheckPlugin = (bundle) => ({
|
|
147341
147355
|
name: "storm:deps-check",
|
|
147342
147356
|
setup(build4) {
|
|
147343
|
-
const pkgJsonPath =
|
|
147357
|
+
const pkgJsonPath = import_node_path16.default.join(process.cwd(), "package.json");
|
|
147344
147358
|
const pkgContents = require(pkgJsonPath);
|
|
147345
147359
|
const regDependencies = Object.keys(pkgContents["dependencies"] ?? {});
|
|
147346
147360
|
const devDependencies = Object.keys(pkgContents["devDependencies"] ?? {});
|