@storm-software/workspace-tools 1.264.24 → 1.264.26
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/dist/{chunk-T42YSSIT.js → chunk-3JFGESR3.js} +92 -79
- package/dist/{chunk-YDDVJHQ4.mjs → chunk-JFIIKAFU.mjs} +83 -70
- package/dist/executors.js +6 -6
- package/dist/executors.mjs +9 -9
- package/dist/index.js +6 -6
- package/dist/index.mjs +9 -9
- package/dist/src/executors/esbuild/executor.js +2 -2
- package/dist/src/executors/esbuild/executor.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Storm Ops - Workspace Tools
|
|
4
4
|
|
|
5
|
+
## [1.264.26](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.264.26) (2025-04-08)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Regenerate README markdown files
|
|
10
|
+
([082eec9a5](https://github.com/storm-software/storm-ops/commit/082eec9a5))
|
|
11
|
+
|
|
12
|
+
## [1.264.25](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.264.25) (2025-04-07)
|
|
13
|
+
|
|
14
|
+
### Miscellaneous
|
|
15
|
+
|
|
16
|
+
- **monorepo:** Regenerate README markdown files
|
|
17
|
+
([1ac4c6ad4](https://github.com/storm-software/storm-ops/commit/1ac4c6ad4))
|
|
18
|
+
|
|
5
19
|
## [1.264.24](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.264.24) (2025-04-04)
|
|
6
20
|
|
|
7
21
|
### Miscellaneous
|
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 -->
|
|
@@ -237,57 +237,6 @@ var run = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config, command,
|
|
|
237
237
|
|
|
238
238
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
239
239
|
|
|
240
|
-
var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
241
|
-
const workspaceRoot = config.workspaceRoot || _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
|
|
242
|
-
const entryPoints = [];
|
|
243
|
-
if (entry) {
|
|
244
|
-
if (typeof entry === "string") {
|
|
245
|
-
entryPoints.push(entry);
|
|
246
|
-
} else if (Array.isArray(entry)) {
|
|
247
|
-
entryPoints.push(...entry);
|
|
248
|
-
} else {
|
|
249
|
-
entryPoints.push(...Object.values(entry));
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
if (emitOnAll) {
|
|
253
|
-
entryPoints.push(_chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
|
|
254
|
-
}
|
|
255
|
-
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
256
|
-
const paths = [];
|
|
257
|
-
if (entryPoint.includes("*")) {
|
|
258
|
-
const files = await _glob.glob.call(void 0, entryPoint, {
|
|
259
|
-
withFileTypes: true,
|
|
260
|
-
ignore: [
|
|
261
|
-
"**/node_modules/**"
|
|
262
|
-
]
|
|
263
|
-
});
|
|
264
|
-
paths.push(...files.reduce((ret, filePath) => {
|
|
265
|
-
const result = _chunkJTAXCQX6js.correctPaths.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, projectRoot), ""));
|
|
266
|
-
if (result) {
|
|
267
|
-
_chunkSKMT7WD5js.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
|
|
268
|
-
if (!paths.includes(result)) {
|
|
269
|
-
paths.push(result);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
return ret;
|
|
273
|
-
}, []));
|
|
274
|
-
} else {
|
|
275
|
-
_chunkSKMT7WD5js.writeDebug.call(void 0, `Trying to add entry point ${entryPoint}"`, config);
|
|
276
|
-
if (!paths.includes(entryPoint)) {
|
|
277
|
-
paths.push(entryPoint);
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
return paths;
|
|
281
|
-
}));
|
|
282
|
-
return results.filter(Boolean).reduce((ret, result) => {
|
|
283
|
-
result.forEach((res) => {
|
|
284
|
-
if (res && !ret.includes(res)) {
|
|
285
|
-
ret.push(res);
|
|
286
|
-
}
|
|
287
|
-
});
|
|
288
|
-
return ret;
|
|
289
|
-
}, []);
|
|
290
|
-
}, "getEntryPoints");
|
|
291
240
|
|
|
292
241
|
// ../build-tools/src/utilities/get-env.ts
|
|
293
242
|
var getEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (builder, options) => {
|
|
@@ -711,10 +660,10 @@ var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, r
|
|
|
711
660
|
if (process.env.WATCH !== "true" && process.env.DEV !== "true") {
|
|
712
661
|
await run(resolvedOptions.config, `pnpm exec tsc --project ${resolvedOptions.tsconfig}`, resolvedOptions.config.workspaceRoot);
|
|
713
662
|
}
|
|
714
|
-
if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && resolvedOptions.entryPoints[0] && resolvedOptions.entryPoints[0].endsWith(".ts")) {
|
|
663
|
+
if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && _optionalChain([resolvedOptions, 'access', _41 => _41.entryPoints, 'access', _42 => _42[0], 'optionalAccess', _43 => _43.in]) && resolvedOptions.entryPoints[0].in.endsWith(".ts")) {
|
|
715
664
|
const sourceRoot = resolvedOptions.sourceRoot.replaceAll(resolvedOptions.projectRoot, "");
|
|
716
665
|
const typeOutDir = resolvedOptions.outdir;
|
|
717
|
-
const entryPoint = resolvedOptions.entryPoints[0].replace(sourceRoot, "").replace(/\.ts$/, "");
|
|
666
|
+
const entryPoint = resolvedOptions.entryPoints[0].in.replace(sourceRoot, "").replace(/\.ts$/, "");
|
|
718
667
|
const bundlePath = _chunkJTAXCQX6js.joinPaths.call(void 0, resolvedOptions.outdir, entryPoint);
|
|
719
668
|
let dtsPath;
|
|
720
669
|
if (_fs.existsSync.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
|
|
@@ -737,7 +686,7 @@ var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, r
|
|
|
737
686
|
function getTypeDependencyPackageName(npmPackage) {
|
|
738
687
|
if (npmPackage.startsWith("@")) {
|
|
739
688
|
const [scope, name] = npmPackage.split("/");
|
|
740
|
-
return `@types/${_optionalChain([scope, 'optionalAccess',
|
|
689
|
+
return `@types/${_optionalChain([scope, 'optionalAccess', _44 => _44.slice, 'call', _45 => _45(1)])}__${name}`;
|
|
741
690
|
}
|
|
742
691
|
return `@types/${npmPackage}`;
|
|
743
692
|
}
|
|
@@ -905,6 +854,84 @@ var shebangRenderer = {
|
|
|
905
854
|
}
|
|
906
855
|
};
|
|
907
856
|
|
|
857
|
+
// ../esbuild/src/utilities/get-entry-points.ts
|
|
858
|
+
|
|
859
|
+
var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
860
|
+
const workspaceRoot = config.workspaceRoot || _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
|
|
861
|
+
const entryPoints = [];
|
|
862
|
+
if (entry) {
|
|
863
|
+
if (typeof entry === "string") {
|
|
864
|
+
entryPoints.push({
|
|
865
|
+
in: entry,
|
|
866
|
+
out: entry
|
|
867
|
+
});
|
|
868
|
+
} else if (Array.isArray(entry)) {
|
|
869
|
+
entryPoints.push(...entry.map((entry2) => ({
|
|
870
|
+
in: entry2,
|
|
871
|
+
out: entry2
|
|
872
|
+
})));
|
|
873
|
+
} else {
|
|
874
|
+
entryPoints.push(...Object.entries(entry).map(([key, value]) => {
|
|
875
|
+
if (typeof value === "string") {
|
|
876
|
+
return {
|
|
877
|
+
in: value,
|
|
878
|
+
out: key
|
|
879
|
+
};
|
|
880
|
+
} else {
|
|
881
|
+
return {
|
|
882
|
+
in: key,
|
|
883
|
+
out: key
|
|
884
|
+
};
|
|
885
|
+
}
|
|
886
|
+
}));
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
if (emitOnAll) {
|
|
890
|
+
entryPoints.push({
|
|
891
|
+
in: _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"),
|
|
892
|
+
out: _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}")
|
|
893
|
+
});
|
|
894
|
+
}
|
|
895
|
+
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
896
|
+
const paths = [];
|
|
897
|
+
if (entryPoint.in.includes("*")) {
|
|
898
|
+
const files = await _glob.glob.call(void 0, entryPoint.in, {
|
|
899
|
+
withFileTypes: true,
|
|
900
|
+
ignore: [
|
|
901
|
+
"**/node_modules/**"
|
|
902
|
+
]
|
|
903
|
+
});
|
|
904
|
+
paths.push(...files.reduce((ret, filePath) => {
|
|
905
|
+
const result = _chunkJTAXCQX6js.correctPaths.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, projectRoot), ""));
|
|
906
|
+
if (result) {
|
|
907
|
+
_chunkSKMT7WD5js.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
|
|
908
|
+
if (!paths.some((p) => p.in === result)) {
|
|
909
|
+
paths.push({
|
|
910
|
+
in: result,
|
|
911
|
+
out: entryPoint.out.replace(entryPoint.in, result)
|
|
912
|
+
});
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
return ret;
|
|
916
|
+
}, []));
|
|
917
|
+
} else {
|
|
918
|
+
_chunkSKMT7WD5js.writeDebug.call(void 0, `Trying to add entry point ${entryPoint}"`, config);
|
|
919
|
+
if (!paths.some((p) => p.in === entryPoint.in)) {
|
|
920
|
+
paths.push(entryPoint);
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
return paths;
|
|
924
|
+
}));
|
|
925
|
+
return results.filter(Boolean).reduce((ret, result) => {
|
|
926
|
+
result.forEach((res) => {
|
|
927
|
+
if (res && !ret.some((p) => p.in === res.in)) {
|
|
928
|
+
ret.push(res);
|
|
929
|
+
}
|
|
930
|
+
});
|
|
931
|
+
return ret;
|
|
932
|
+
}, []);
|
|
933
|
+
}, "getEntryPoints");
|
|
934
|
+
|
|
908
935
|
// ../esbuild/src/utilities/helpers.ts
|
|
909
936
|
function handleSync(fn) {
|
|
910
937
|
try {
|
|
@@ -953,7 +980,7 @@ function pipeSync(fn, ...fns) {
|
|
|
953
980
|
return (...args) => {
|
|
954
981
|
let result = fn(...args);
|
|
955
982
|
for (let i = 0; result !== skip && i < fns.length; ++i) {
|
|
956
|
-
result = _optionalChain([fns, 'access',
|
|
983
|
+
result = _optionalChain([fns, 'access', _46 => _46[i], 'optionalCall', _47 => _47(result)]);
|
|
957
984
|
}
|
|
958
985
|
return result;
|
|
959
986
|
};
|
|
@@ -963,7 +990,7 @@ function pipeAsync(fn, ...fns) {
|
|
|
963
990
|
return async (...args) => {
|
|
964
991
|
let result = await fn(...args);
|
|
965
992
|
for (let i = 0; result !== skip && i < fns.length; ++i) {
|
|
966
|
-
result = await _optionalChain([fns, 'access',
|
|
993
|
+
result = await _optionalChain([fns, 'access', _48 => _48[i], 'optionalCall', _49 => _49(result)]);
|
|
967
994
|
}
|
|
968
995
|
return result;
|
|
969
996
|
};
|
|
@@ -993,7 +1020,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
993
1020
|
const projectJson = JSON.parse(projectJsonFile);
|
|
994
1021
|
const projectName = projectJson.name;
|
|
995
1022
|
const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
996
|
-
if (!_optionalChain([projectConfigurations, 'optionalAccess',
|
|
1023
|
+
if (!_optionalChain([projectConfigurations, 'optionalAccess', _50 => _50.projects, 'optionalAccess', _51 => _51[projectName]])) {
|
|
997
1024
|
throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
|
|
998
1025
|
}
|
|
999
1026
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
@@ -1099,23 +1126,9 @@ async function generatePackageJson(context2) {
|
|
|
1099
1126
|
packageJson.exports ??= {};
|
|
1100
1127
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
1101
1128
|
packageJson.exports["."] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js`;
|
|
1102
|
-
|
|
1103
|
-
{
|
|
1104
|
-
|
|
1105
|
-
out: "./src/index.ts"
|
|
1106
|
-
}
|
|
1107
|
-
];
|
|
1108
|
-
if (context2.options.entryPoints) {
|
|
1109
|
-
if (Array.isArray(context2.options.entryPoints)) {
|
|
1110
|
-
entryPoints = context2.options.entryPoints.map((entryPoint) => typeof entryPoint === "string" ? {
|
|
1111
|
-
in: entryPoint,
|
|
1112
|
-
out: _chunkJTAXCQX6js.correctPaths.call(void 0, entryPoint.replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, context2.options.config.workspaceRoot), "").replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, context2.options.projectRoot), ""))
|
|
1113
|
-
} : entryPoint);
|
|
1114
|
-
}
|
|
1115
|
-
for (const entryPoint of entryPoints) {
|
|
1116
|
-
const split = entryPoint.out.split(".");
|
|
1117
|
-
split.pop();
|
|
1118
|
-
const entry = split.join(".").replaceAll("\\", "/");
|
|
1129
|
+
for (const entryPoint of context2.options.entryPoints) {
|
|
1130
|
+
if (entryPoint.out) {
|
|
1131
|
+
const entry = entryPoint.out.replaceAll("\\", "/").replaceAll(/^(\.\/)*/, "").replace(/\.([cm])?[jt]s(x)?$/, "");
|
|
1119
1132
|
packageJson.exports[`./${entry}`] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/${entry}.js`;
|
|
1120
1133
|
}
|
|
1121
1134
|
}
|
|
@@ -1207,7 +1220,7 @@ ${_chunkSKMT7WD5js.formatLogMessage.call(void 0, {
|
|
|
1207
1220
|
}
|
|
1208
1221
|
_chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
|
|
1209
1222
|
async function copyBuildAssets(context2) {
|
|
1210
|
-
if (_optionalChain([context2, 'access',
|
|
1223
|
+
if (_optionalChain([context2, 'access', _52 => _52.result, 'optionalAccess', _53 => _53.errors, 'access', _54 => _54.length]) === 0) {
|
|
1211
1224
|
_chunkSKMT7WD5js.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
|
|
1212
1225
|
const stopwatch = _chunkSKMT7WD5js.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
|
|
1213
1226
|
await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
|
|
@@ -1217,7 +1230,7 @@ async function copyBuildAssets(context2) {
|
|
|
1217
1230
|
}
|
|
1218
1231
|
_chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
|
|
1219
1232
|
async function reportResults(context2) {
|
|
1220
|
-
if (_optionalChain([context2, 'access',
|
|
1233
|
+
if (_optionalChain([context2, 'access', _55 => _55.result, 'optionalAccess', _56 => _56.errors, 'access', _57 => _57.length]) === 0) {
|
|
1221
1234
|
if (context2.result.warnings.length > 0) {
|
|
1222
1235
|
_chunkSKMT7WD5js.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
|
|
1223
1236
|
}
|
|
@@ -1318,14 +1331,14 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
|
|
|
1318
1331
|
// src/executors/esbuild/executor.ts
|
|
1319
1332
|
async function esbuildExecutorFn(options, context2, config) {
|
|
1320
1333
|
_chunkSKMT7WD5js.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
|
|
1321
|
-
if (!_optionalChain([context2, 'access',
|
|
1334
|
+
if (!_optionalChain([context2, 'access', _58 => _58.projectsConfigurations, 'optionalAccess', _59 => _59.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _60 => _60.projectsConfigurations, 'access', _61 => _61.projects, 'access', _62 => _62[context2.projectName], 'optionalAccess', _63 => _63.root])) {
|
|
1322
1335
|
throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
|
|
1323
1336
|
}
|
|
1324
1337
|
await build3({
|
|
1325
1338
|
...options,
|
|
1326
|
-
projectRoot: _optionalChain([context2, 'access',
|
|
1339
|
+
projectRoot: _optionalChain([context2, 'access', _64 => _64.projectsConfigurations, 'access', _65 => _65.projects, 'optionalAccess', _66 => _66[context2.projectName], 'access', _67 => _67.root]),
|
|
1327
1340
|
projectName: context2.projectName,
|
|
1328
|
-
sourceRoot: _optionalChain([context2, 'access',
|
|
1341
|
+
sourceRoot: _optionalChain([context2, 'access', _68 => _68.projectsConfigurations, 'access', _69 => _69.projects, 'optionalAccess', _70 => _70[context2.projectName], 'optionalAccess', _71 => _71.sourceRoot]),
|
|
1329
1342
|
format: options.format,
|
|
1330
1343
|
platform: options.format
|
|
1331
1344
|
});
|
|
@@ -238,57 +238,6 @@ var run = /* @__PURE__ */ __name((config, command, cwd = config.workspaceRoot ??
|
|
|
238
238
|
|
|
239
239
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
240
240
|
import { glob as glob2 } from "glob";
|
|
241
|
-
var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
242
|
-
const workspaceRoot = config.workspaceRoot || findWorkspaceRoot();
|
|
243
|
-
const entryPoints = [];
|
|
244
|
-
if (entry) {
|
|
245
|
-
if (typeof entry === "string") {
|
|
246
|
-
entryPoints.push(entry);
|
|
247
|
-
} else if (Array.isArray(entry)) {
|
|
248
|
-
entryPoints.push(...entry);
|
|
249
|
-
} else {
|
|
250
|
-
entryPoints.push(...Object.values(entry));
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
if (emitOnAll) {
|
|
254
|
-
entryPoints.push(joinPaths(workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
|
|
255
|
-
}
|
|
256
|
-
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
257
|
-
const paths = [];
|
|
258
|
-
if (entryPoint.includes("*")) {
|
|
259
|
-
const files = await glob2(entryPoint, {
|
|
260
|
-
withFileTypes: true,
|
|
261
|
-
ignore: [
|
|
262
|
-
"**/node_modules/**"
|
|
263
|
-
]
|
|
264
|
-
});
|
|
265
|
-
paths.push(...files.reduce((ret, filePath) => {
|
|
266
|
-
const result = correctPaths(joinPaths(filePath.path, filePath.name).replaceAll(correctPaths(workspaceRoot), "").replaceAll(correctPaths(projectRoot), ""));
|
|
267
|
-
if (result) {
|
|
268
|
-
writeDebug(`Trying to add entry point ${result} at "${joinPaths(filePath.path, filePath.name)}"`, config);
|
|
269
|
-
if (!paths.includes(result)) {
|
|
270
|
-
paths.push(result);
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
return ret;
|
|
274
|
-
}, []));
|
|
275
|
-
} else {
|
|
276
|
-
writeDebug(`Trying to add entry point ${entryPoint}"`, config);
|
|
277
|
-
if (!paths.includes(entryPoint)) {
|
|
278
|
-
paths.push(entryPoint);
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
return paths;
|
|
282
|
-
}));
|
|
283
|
-
return results.filter(Boolean).reduce((ret, result) => {
|
|
284
|
-
result.forEach((res) => {
|
|
285
|
-
if (res && !ret.includes(res)) {
|
|
286
|
-
ret.push(res);
|
|
287
|
-
}
|
|
288
|
-
});
|
|
289
|
-
return ret;
|
|
290
|
-
}, []);
|
|
291
|
-
}, "getEntryPoints");
|
|
292
241
|
|
|
293
242
|
// ../build-tools/src/utilities/get-env.ts
|
|
294
243
|
var getEnv = /* @__PURE__ */ __name((builder, options) => {
|
|
@@ -712,10 +661,10 @@ var tscPlugin = /* @__PURE__ */ __name((options, resolvedOptions) => ({
|
|
|
712
661
|
if (process.env.WATCH !== "true" && process.env.DEV !== "true") {
|
|
713
662
|
await run(resolvedOptions.config, `pnpm exec tsc --project ${resolvedOptions.tsconfig}`, resolvedOptions.config.workspaceRoot);
|
|
714
663
|
}
|
|
715
|
-
if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && resolvedOptions.entryPoints[0] && resolvedOptions.entryPoints[0].endsWith(".ts")) {
|
|
664
|
+
if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && resolvedOptions.entryPoints[0]?.in && resolvedOptions.entryPoints[0].in.endsWith(".ts")) {
|
|
716
665
|
const sourceRoot = resolvedOptions.sourceRoot.replaceAll(resolvedOptions.projectRoot, "");
|
|
717
666
|
const typeOutDir = resolvedOptions.outdir;
|
|
718
|
-
const entryPoint = resolvedOptions.entryPoints[0].replace(sourceRoot, "").replace(/\.ts$/, "");
|
|
667
|
+
const entryPoint = resolvedOptions.entryPoints[0].in.replace(sourceRoot, "").replace(/\.ts$/, "");
|
|
719
668
|
const bundlePath = joinPaths(resolvedOptions.outdir, entryPoint);
|
|
720
669
|
let dtsPath;
|
|
721
670
|
if (existsSync3(joinPaths(resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
|
|
@@ -906,6 +855,84 @@ var shebangRenderer = {
|
|
|
906
855
|
}
|
|
907
856
|
};
|
|
908
857
|
|
|
858
|
+
// ../esbuild/src/utilities/get-entry-points.ts
|
|
859
|
+
import { glob as glob3 } from "glob";
|
|
860
|
+
var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
861
|
+
const workspaceRoot = config.workspaceRoot || findWorkspaceRoot();
|
|
862
|
+
const entryPoints = [];
|
|
863
|
+
if (entry) {
|
|
864
|
+
if (typeof entry === "string") {
|
|
865
|
+
entryPoints.push({
|
|
866
|
+
in: entry,
|
|
867
|
+
out: entry
|
|
868
|
+
});
|
|
869
|
+
} else if (Array.isArray(entry)) {
|
|
870
|
+
entryPoints.push(...entry.map((entry2) => ({
|
|
871
|
+
in: entry2,
|
|
872
|
+
out: entry2
|
|
873
|
+
})));
|
|
874
|
+
} else {
|
|
875
|
+
entryPoints.push(...Object.entries(entry).map(([key, value]) => {
|
|
876
|
+
if (typeof value === "string") {
|
|
877
|
+
return {
|
|
878
|
+
in: value,
|
|
879
|
+
out: key
|
|
880
|
+
};
|
|
881
|
+
} else {
|
|
882
|
+
return {
|
|
883
|
+
in: key,
|
|
884
|
+
out: key
|
|
885
|
+
};
|
|
886
|
+
}
|
|
887
|
+
}));
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
if (emitOnAll) {
|
|
891
|
+
entryPoints.push({
|
|
892
|
+
in: joinPaths(workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"),
|
|
893
|
+
out: joinPaths(workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}")
|
|
894
|
+
});
|
|
895
|
+
}
|
|
896
|
+
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
897
|
+
const paths = [];
|
|
898
|
+
if (entryPoint.in.includes("*")) {
|
|
899
|
+
const files = await glob3(entryPoint.in, {
|
|
900
|
+
withFileTypes: true,
|
|
901
|
+
ignore: [
|
|
902
|
+
"**/node_modules/**"
|
|
903
|
+
]
|
|
904
|
+
});
|
|
905
|
+
paths.push(...files.reduce((ret, filePath) => {
|
|
906
|
+
const result = correctPaths(joinPaths(filePath.path, filePath.name).replaceAll(correctPaths(workspaceRoot), "").replaceAll(correctPaths(projectRoot), ""));
|
|
907
|
+
if (result) {
|
|
908
|
+
writeDebug(`Trying to add entry point ${result} at "${joinPaths(filePath.path, filePath.name)}"`, config);
|
|
909
|
+
if (!paths.some((p) => p.in === result)) {
|
|
910
|
+
paths.push({
|
|
911
|
+
in: result,
|
|
912
|
+
out: entryPoint.out.replace(entryPoint.in, result)
|
|
913
|
+
});
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
return ret;
|
|
917
|
+
}, []));
|
|
918
|
+
} else {
|
|
919
|
+
writeDebug(`Trying to add entry point ${entryPoint}"`, config);
|
|
920
|
+
if (!paths.some((p) => p.in === entryPoint.in)) {
|
|
921
|
+
paths.push(entryPoint);
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
return paths;
|
|
925
|
+
}));
|
|
926
|
+
return results.filter(Boolean).reduce((ret, result) => {
|
|
927
|
+
result.forEach((res) => {
|
|
928
|
+
if (res && !ret.some((p) => p.in === res.in)) {
|
|
929
|
+
ret.push(res);
|
|
930
|
+
}
|
|
931
|
+
});
|
|
932
|
+
return ret;
|
|
933
|
+
}, []);
|
|
934
|
+
}, "getEntryPoints");
|
|
935
|
+
|
|
909
936
|
// ../esbuild/src/utilities/helpers.ts
|
|
910
937
|
function handleSync(fn) {
|
|
911
938
|
try {
|
|
@@ -1100,23 +1127,9 @@ async function generatePackageJson(context2) {
|
|
|
1100
1127
|
packageJson.exports ??= {};
|
|
1101
1128
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
1102
1129
|
packageJson.exports["."] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js`;
|
|
1103
|
-
|
|
1104
|
-
{
|
|
1105
|
-
|
|
1106
|
-
out: "./src/index.ts"
|
|
1107
|
-
}
|
|
1108
|
-
];
|
|
1109
|
-
if (context2.options.entryPoints) {
|
|
1110
|
-
if (Array.isArray(context2.options.entryPoints)) {
|
|
1111
|
-
entryPoints = context2.options.entryPoints.map((entryPoint) => typeof entryPoint === "string" ? {
|
|
1112
|
-
in: entryPoint,
|
|
1113
|
-
out: correctPaths(entryPoint.replaceAll(correctPaths(context2.options.config.workspaceRoot), "").replaceAll(correctPaths(context2.options.projectRoot), ""))
|
|
1114
|
-
} : entryPoint);
|
|
1115
|
-
}
|
|
1116
|
-
for (const entryPoint of entryPoints) {
|
|
1117
|
-
const split = entryPoint.out.split(".");
|
|
1118
|
-
split.pop();
|
|
1119
|
-
const entry = split.join(".").replaceAll("\\", "/");
|
|
1130
|
+
for (const entryPoint of context2.options.entryPoints) {
|
|
1131
|
+
if (entryPoint.out) {
|
|
1132
|
+
const entry = entryPoint.out.replaceAll("\\", "/").replaceAll(/^(\.\/)*/, "").replace(/\.([cm])?[jt]s(x)?$/, "");
|
|
1120
1133
|
packageJson.exports[`./${entry}`] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/${entry}.js`;
|
|
1121
1134
|
}
|
|
1122
1135
|
}
|
package/dist/executors.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-7VDOGZYO.js');
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkQPJ4XTDXjs = require('./chunk-QPJ4XTDX.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _chunkJCJHSN67js = require('./chunk-JCJHSN67.js');
|
|
@@ -16,22 +16,22 @@ var _chunk26KLH7BIjs = require('./chunk-26KLH7BI.js');
|
|
|
16
16
|
var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunk3JFGESR3js = require('./chunk-3JFGESR3.js');
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
var _chunkGJQKCDGCjs = require('./chunk-GJQKCDGC.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunk7YVMI4XMjs = require('./chunk-7YVMI4XM.js');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunkE4TBRQDJjs = require('./chunk-E4TBRQDJ.js');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
31
|
+
var _chunkZ2GBHTLHjs = require('./chunk-Z2GBHTLH.js');
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _chunkLRLMU4QVjs = require('./chunk-LRLMU4QV.js');
|
|
35
35
|
require('./chunk-CUPARBOS.js');
|
|
36
36
|
require('./chunk-ULBTYC2B.js');
|
|
37
37
|
require('./chunk-ZMFVKBRM.js');
|
|
@@ -53,4 +53,4 @@ require('./chunk-3GQAWCBQ.js');
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
exports.LARGE_BUFFER = _chunkGJQKCDGCjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkLRLMU4QVjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkE4TBRQDJjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunk7YVMI4XMjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkZ2GBHTLHjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkQPJ4XTDXjs.cargoFormatExecutor; exports.esbuildExecutorFn =
|
|
56
|
+
exports.LARGE_BUFFER = _chunkGJQKCDGCjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkLRLMU4QVjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkE4TBRQDJjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunk7YVMI4XMjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkZ2GBHTLHjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkQPJ4XTDXjs.cargoFormatExecutor; exports.esbuildExecutorFn = _chunk3JFGESR3js.esbuildExecutorFn; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunkJCJHSN67js.sizeLimitExecutorFn; exports.typiaExecutorFn = _chunk5DQCVP4Njs.typiaExecutorFn; exports.unbuildExecutorFn = _chunk26KLH7BIjs.unbuildExecutorFn;
|
package/dist/executors.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./chunk-BLX5SLPC.mjs";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
cargoFormatExecutor
|
|
4
|
+
} from "./chunk-UMFP6PYU.mjs";
|
|
5
5
|
import {
|
|
6
6
|
sizeLimitExecutorFn
|
|
7
7
|
} from "./chunk-CD3W3HIC.mjs";
|
|
@@ -16,22 +16,22 @@ import {
|
|
|
16
16
|
} from "./chunk-3PWCELL5.mjs";
|
|
17
17
|
import {
|
|
18
18
|
esbuildExecutorFn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-JFIIKAFU.mjs";
|
|
20
20
|
import {
|
|
21
21
|
LARGE_BUFFER
|
|
22
22
|
} from "./chunk-BMNXBEWE.mjs";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./chunk-
|
|
24
|
+
cargoClippyExecutor
|
|
25
|
+
} from "./chunk-FCGFBNCJ.mjs";
|
|
26
26
|
import {
|
|
27
27
|
cargoCheckExecutor
|
|
28
28
|
} from "./chunk-IQQERPIV.mjs";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
30
|
+
cargoDocExecutor
|
|
31
|
+
} from "./chunk-CIHS3V6E.mjs";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
33
|
+
cargoBuildExecutor
|
|
34
|
+
} from "./chunk-VTRSAQHO.mjs";
|
|
35
35
|
import "./chunk-AD4BVP7F.mjs";
|
|
36
36
|
import "./chunk-JIAGNEII.mjs";
|
|
37
37
|
import "./chunk-7ENGREV2.mjs";
|
package/dist/index.js
CHANGED
|
@@ -48,7 +48,7 @@ var _chunkGKL4BY2Yjs = require('./chunk-GKL4BY2Y.js');
|
|
|
48
48
|
require('./chunk-7VDOGZYO.js');
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
var
|
|
51
|
+
var _chunkQPJ4XTDXjs = require('./chunk-QPJ4XTDX.js');
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
var _chunkJCJHSN67js = require('./chunk-JCJHSN67.js');
|
|
@@ -63,22 +63,22 @@ var _chunk26KLH7BIjs = require('./chunk-26KLH7BI.js');
|
|
|
63
63
|
var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
|
|
64
64
|
|
|
65
65
|
|
|
66
|
-
var
|
|
66
|
+
var _chunk3JFGESR3js = require('./chunk-3JFGESR3.js');
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
var _chunkGJQKCDGCjs = require('./chunk-GJQKCDGC.js');
|
|
70
70
|
|
|
71
71
|
|
|
72
|
-
var
|
|
72
|
+
var _chunk7YVMI4XMjs = require('./chunk-7YVMI4XM.js');
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
var _chunkE4TBRQDJjs = require('./chunk-E4TBRQDJ.js');
|
|
76
76
|
|
|
77
77
|
|
|
78
|
-
var
|
|
78
|
+
var _chunkZ2GBHTLHjs = require('./chunk-Z2GBHTLH.js');
|
|
79
79
|
|
|
80
80
|
|
|
81
|
-
var
|
|
81
|
+
var _chunkLRLMU4QVjs = require('./chunk-LRLMU4QV.js');
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
var _chunkCUPARBOSjs = require('./chunk-CUPARBOS.js');
|
|
@@ -282,4 +282,4 @@ require('./chunk-3GQAWCBQ.js');
|
|
|
282
282
|
|
|
283
283
|
|
|
284
284
|
|
|
285
|
-
exports.INVALID_CARGO_ARGS = _chunkULBTYC2Bjs.INVALID_CARGO_ARGS; exports.LARGE_BUFFER = _chunkGJQKCDGCjs.LARGE_BUFFER; exports.LOCK_FILES = _chunkPK2SUBWIjs.LOCK_FILES; exports.NPM_LOCK_FILE = _chunkPK2SUBWIjs.NPM_LOCK_FILE; exports.NPM_LOCK_PATH = _chunkPK2SUBWIjs.NPM_LOCK_PATH; exports.PNPM_LOCK_FILE = _chunkPK2SUBWIjs.PNPM_LOCK_FILE; exports.PNPM_LOCK_PATH = _chunkPK2SUBWIjs.PNPM_LOCK_PATH; exports.PackageManagerTypes = _chunk7AXFMX2Tjs.PackageManagerTypes; exports.ProjectTagConstants = _chunk7YRW5HNXjs.ProjectTagConstants; exports.ProjectTagDistStyleValue = _chunk4NOLUAQNjs.ProjectTagDistStyleValue; exports.ProjectTagLanguageValue = _chunk4NOLUAQNjs.ProjectTagLanguageValue; exports.ProjectTagPlatformValue = _chunk4NOLUAQNjs.ProjectTagPlatformValue; exports.ProjectTagRegistryValue = _chunk4NOLUAQNjs.ProjectTagRegistryValue; exports.ProjectTagTypeValue = _chunk4NOLUAQNjs.ProjectTagTypeValue; exports.ProjectTagVariant = _chunk4NOLUAQNjs.ProjectTagVariant; exports.YARN_LOCK_FILE = _chunkPK2SUBWIjs.YARN_LOCK_FILE; exports.YARN_LOCK_PATH = _chunkPK2SUBWIjs.YARN_LOCK_PATH; exports.addPluginProjectTag = _chunk7YRW5HNXjs.addPluginProjectTag; exports.addProjectTag = _chunk7YRW5HNXjs.addProjectTag; exports.applyWorkspaceExecutorTokens = _chunkAC5SI4YZjs.applyWorkspaceExecutorTokens; exports.baseExecutorSchema = _chunkI734UVDTjs.base_executor_untyped_default; exports.baseGeneratorSchema = _chunk7CJRMBX3js.base_generator_untyped_default; exports.browserLibraryGeneratorFn = _chunkIPBHTVKWjs.browserLibraryGeneratorFn; exports.buildCargoCommand = _chunkULBTYC2Bjs.buildCargoCommand; exports.cargoBaseExecutorSchema = _chunk6QO3KMZAjs.cargo_base_executor_untyped_default; exports.cargoBuildExecutor = _chunkLRLMU4QVjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkE4TBRQDJjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunk7YVMI4XMjs.cargoClippyExecutor; exports.cargoCommand = _chunkULBTYC2Bjs.cargoCommand; exports.cargoCommandSync = _chunkULBTYC2Bjs.cargoCommandSync; exports.cargoDocExecutor = _chunkZ2GBHTLHjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkQPJ4XTDXjs.cargoFormatExecutor; exports.cargoMetadata = _chunkULBTYC2Bjs.cargoMetadata; exports.cargoRunCommand = _chunkULBTYC2Bjs.cargoRunCommand; exports.childProcess = _chunkULBTYC2Bjs.childProcess; exports.configSchemaGeneratorFn = _chunkN4STCLGJjs.configSchemaGeneratorFn; exports.createCliOptions = _chunkDHGZTMNDjs.createCliOptions; exports.createProjectTsConfigJson = _chunkRBU35LQWjs.createProjectTsConfigJson; exports.esbuildExecutorFn =
|
|
285
|
+
exports.INVALID_CARGO_ARGS = _chunkULBTYC2Bjs.INVALID_CARGO_ARGS; exports.LARGE_BUFFER = _chunkGJQKCDGCjs.LARGE_BUFFER; exports.LOCK_FILES = _chunkPK2SUBWIjs.LOCK_FILES; exports.NPM_LOCK_FILE = _chunkPK2SUBWIjs.NPM_LOCK_FILE; exports.NPM_LOCK_PATH = _chunkPK2SUBWIjs.NPM_LOCK_PATH; exports.PNPM_LOCK_FILE = _chunkPK2SUBWIjs.PNPM_LOCK_FILE; exports.PNPM_LOCK_PATH = _chunkPK2SUBWIjs.PNPM_LOCK_PATH; exports.PackageManagerTypes = _chunk7AXFMX2Tjs.PackageManagerTypes; exports.ProjectTagConstants = _chunk7YRW5HNXjs.ProjectTagConstants; exports.ProjectTagDistStyleValue = _chunk4NOLUAQNjs.ProjectTagDistStyleValue; exports.ProjectTagLanguageValue = _chunk4NOLUAQNjs.ProjectTagLanguageValue; exports.ProjectTagPlatformValue = _chunk4NOLUAQNjs.ProjectTagPlatformValue; exports.ProjectTagRegistryValue = _chunk4NOLUAQNjs.ProjectTagRegistryValue; exports.ProjectTagTypeValue = _chunk4NOLUAQNjs.ProjectTagTypeValue; exports.ProjectTagVariant = _chunk4NOLUAQNjs.ProjectTagVariant; exports.YARN_LOCK_FILE = _chunkPK2SUBWIjs.YARN_LOCK_FILE; exports.YARN_LOCK_PATH = _chunkPK2SUBWIjs.YARN_LOCK_PATH; exports.addPluginProjectTag = _chunk7YRW5HNXjs.addPluginProjectTag; exports.addProjectTag = _chunk7YRW5HNXjs.addProjectTag; exports.applyWorkspaceExecutorTokens = _chunkAC5SI4YZjs.applyWorkspaceExecutorTokens; exports.baseExecutorSchema = _chunkI734UVDTjs.base_executor_untyped_default; exports.baseGeneratorSchema = _chunk7CJRMBX3js.base_generator_untyped_default; exports.browserLibraryGeneratorFn = _chunkIPBHTVKWjs.browserLibraryGeneratorFn; exports.buildCargoCommand = _chunkULBTYC2Bjs.buildCargoCommand; exports.cargoBaseExecutorSchema = _chunk6QO3KMZAjs.cargo_base_executor_untyped_default; exports.cargoBuildExecutor = _chunkLRLMU4QVjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkE4TBRQDJjs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunk7YVMI4XMjs.cargoClippyExecutor; exports.cargoCommand = _chunkULBTYC2Bjs.cargoCommand; exports.cargoCommandSync = _chunkULBTYC2Bjs.cargoCommandSync; exports.cargoDocExecutor = _chunkZ2GBHTLHjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkQPJ4XTDXjs.cargoFormatExecutor; exports.cargoMetadata = _chunkULBTYC2Bjs.cargoMetadata; exports.cargoRunCommand = _chunkULBTYC2Bjs.cargoRunCommand; exports.childProcess = _chunkULBTYC2Bjs.childProcess; exports.configSchemaGeneratorFn = _chunkN4STCLGJjs.configSchemaGeneratorFn; exports.createCliOptions = _chunkDHGZTMNDjs.createCliOptions; exports.createProjectTsConfigJson = _chunkRBU35LQWjs.createProjectTsConfigJson; exports.esbuildExecutorFn = _chunk3JFGESR3js.esbuildExecutorFn; exports.eslintVersion = _chunkHI4G4OOGjs.eslintVersion; exports.formatProjectTag = _chunk7YRW5HNXjs.formatProjectTag; exports.getLockFileDependencies = _chunkPK2SUBWIjs.getLockFileDependencies; exports.getLockFileName = _chunkPK2SUBWIjs.getLockFileName; exports.getLockFileNodes = _chunkPK2SUBWIjs.getLockFileNodes; exports.getOutputPath = _chunkRBU35LQWjs.getOutputPath; exports.getPackageInfo = _chunk7AXFMX2Tjs.getPackageInfo; exports.getProjectConfigFromProjectJsonPath = _chunkUF6KFXG5js.getProjectConfigFromProjectJsonPath; exports.getProjectConfigFromProjectRoot = _chunkUF6KFXG5js.getProjectConfigFromProjectRoot; exports.getProjectConfiguration = _chunkGKL4BY2Yjs.getProjectConfiguration; exports.getProjectConfigurations = _chunkGKL4BY2Yjs.getProjectConfigurations; exports.getProjectPlatform = _chunkUF6KFXG5js.getProjectPlatform; exports.getProjectRoot = _chunkUF6KFXG5js.getProjectRoot; exports.getProjectTag = _chunk7YRW5HNXjs.getProjectTag; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.getTypiaTransform = _chunkXITP2BX2js.getTypiaTransform; exports.hasProjectTag = _chunk7YRW5HNXjs.hasProjectTag; exports.initGenerator = _chunk3IZ3O4OKjs.initGenerator; exports.isEqualProjectTag = _chunk7YRW5HNXjs.isEqualProjectTag; exports.isExternal = _chunkULBTYC2Bjs.isExternal; exports.lintStagedVersion = _chunkHI4G4OOGjs.lintStagedVersion; exports.lockFileExists = _chunkPK2SUBWIjs.lockFileExists; exports.modifyCargoNestedTable = _chunkZMFVKBRMjs.modifyCargoNestedTable; exports.modifyCargoTable = _chunkZMFVKBRMjs.modifyCargoTable; exports.neutralLibraryGeneratorFn = _chunkZGMV4YJLjs.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkACBRXFBBjs.nodeLibraryGeneratorFn; exports.nodeVersion = _chunkHI4G4OOGjs.nodeVersion; exports.normalizeOptions = _chunkRBU35LQWjs.normalizeOptions; exports.nxVersion = _chunkHI4G4OOGjs.nxVersion; exports.parseCargoToml = _chunkZMFVKBRMjs.parseCargoToml; exports.parseCargoTomlWithTree = _chunkZMFVKBRMjs.parseCargoTomlWithTree; exports.pnpmCatalogUpdate = _chunkCUPARBOSjs.pnpmCatalogUpdate; exports.pnpmVersion = _chunkHI4G4OOGjs.pnpmVersion; exports.presetGeneratorFn = _chunkUSJX4BPDjs.presetGeneratorFn; exports.prettierPackageJsonVersion = _chunkHI4G4OOGjs.prettierPackageJsonVersion; exports.prettierPrismaVersion = _chunkHI4G4OOGjs.prettierPrismaVersion; exports.prettierVersion = _chunkHI4G4OOGjs.prettierVersion; exports.releaseVersionGeneratorFn = _chunkDNYOACHDjs.releaseVersionGeneratorFn; exports.runProcess = _chunkULBTYC2Bjs.runProcess; exports.semanticReleaseVersion = _chunkHI4G4OOGjs.semanticReleaseVersion; exports.setDefaultProjectTags = _chunk7YRW5HNXjs.setDefaultProjectTags; exports.sizeLimitExecutorFn = _chunkJCJHSN67js.sizeLimitExecutorFn; exports.stringifyCargoToml = _chunkZMFVKBRMjs.stringifyCargoToml; exports.swcCliVersion = _chunkHI4G4OOGjs.swcCliVersion; exports.swcCoreVersion = _chunkHI4G4OOGjs.swcCoreVersion; exports.swcHelpersVersion = _chunkHI4G4OOGjs.swcHelpersVersion; exports.swcNodeVersion = _chunkHI4G4OOGjs.swcNodeVersion; exports.tsLibVersion = _chunkHI4G4OOGjs.tsLibVersion; exports.tsupVersion = _chunkHI4G4OOGjs.tsupVersion; exports.typeScriptLibraryGeneratorFn = _chunkRBU35LQWjs.typeScriptLibraryGeneratorFn; exports.typesNodeVersion = _chunkHI4G4OOGjs.typesNodeVersion; exports.typescriptBuildExecutorSchema = _chunkIWCQL3AQjs.typescript_build_executor_untyped_default; exports.typescriptLibraryGeneratorSchema = _chunk7O34DHUGjs.typescript_library_generator_untyped_default; exports.typescriptVersion = _chunkHI4G4OOGjs.typescriptVersion; exports.typiaExecutorFn = _chunk5DQCVP4Njs.typiaExecutorFn; exports.unbuildExecutorFn = _chunk26KLH7BIjs.unbuildExecutorFn; exports.verdaccioVersion = _chunkHI4G4OOGjs.verdaccioVersion; exports.withRunExecutor = _chunkP6PFHXHQjs.withRunExecutor; exports.withRunGenerator = _chunkNQ4W3N7Ojs.withRunGenerator;
|
package/dist/index.mjs
CHANGED
|
@@ -47,8 +47,8 @@ import {
|
|
|
47
47
|
} from "./chunk-YBDZ7EWU.mjs";
|
|
48
48
|
import "./chunk-BLX5SLPC.mjs";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./chunk-
|
|
50
|
+
cargoFormatExecutor
|
|
51
|
+
} from "./chunk-UMFP6PYU.mjs";
|
|
52
52
|
import {
|
|
53
53
|
sizeLimitExecutorFn
|
|
54
54
|
} from "./chunk-CD3W3HIC.mjs";
|
|
@@ -63,22 +63,22 @@ import {
|
|
|
63
63
|
} from "./chunk-3PWCELL5.mjs";
|
|
64
64
|
import {
|
|
65
65
|
esbuildExecutorFn
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-JFIIKAFU.mjs";
|
|
67
67
|
import {
|
|
68
68
|
LARGE_BUFFER
|
|
69
69
|
} from "./chunk-BMNXBEWE.mjs";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
} from "./chunk-
|
|
71
|
+
cargoClippyExecutor
|
|
72
|
+
} from "./chunk-FCGFBNCJ.mjs";
|
|
73
73
|
import {
|
|
74
74
|
cargoCheckExecutor
|
|
75
75
|
} from "./chunk-IQQERPIV.mjs";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
} from "./chunk-
|
|
77
|
+
cargoDocExecutor
|
|
78
|
+
} from "./chunk-CIHS3V6E.mjs";
|
|
79
79
|
import {
|
|
80
|
-
|
|
81
|
-
} from "./chunk-
|
|
80
|
+
cargoBuildExecutor
|
|
81
|
+
} from "./chunk-VTRSAQHO.mjs";
|
|
82
82
|
import {
|
|
83
83
|
pnpmCatalogUpdate
|
|
84
84
|
} from "./chunk-AD4BVP7F.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk3JFGESR3js = require('../../../chunk-3JFGESR3.js');
|
|
5
5
|
require('../../../chunk-P6PFHXHQ.js');
|
|
6
6
|
require('../../../chunk-UALZJZUK.js');
|
|
7
7
|
require('../../../chunk-SKMT7WD5.js');
|
|
@@ -11,4 +11,4 @@ require('../../../chunk-3GQAWCBQ.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
exports.default =
|
|
14
|
+
exports.default = _chunk3JFGESR3js.executor_default; exports.esbuildExecutorFn = _chunk3JFGESR3js.esbuildExecutorFn;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/workspace-tools",
|
|
3
|
-
"version": "1.264.
|
|
3
|
+
"version": "1.264.26",
|
|
4
4
|
"description": "Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "github",
|