@storm-software/workspace-tools 1.262.0 → 1.263.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/dist/{chunk-JK2Y76WF.mjs → chunk-A7OTLU7I.mjs} +24 -13
- package/dist/{chunk-XKGMY2AY.js → chunk-ESRAKU7Y.js} +24 -13
- package/dist/{chunk-IOG5HLIB.js → chunk-K7OAIP34.js} +9 -9
- package/dist/{chunk-SKPTEO43.mjs → chunk-KMFZVYDQ.mjs} +5 -4
- package/dist/{chunk-BU6NXQWB.mjs → chunk-MNV4E744.mjs} +1 -1
- package/dist/{chunk-DW3VUP2K.js → chunk-W2WAWCCV.js} +15 -14
- package/dist/executors.js +4 -4
- package/dist/executors.mjs +3 -3
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/dist/src/executors/esbuild/executor.js +3 -3
- package/dist/src/executors/esbuild/executor.mjs +2 -2
- package/dist/src/executors/tsdown/executor.js +3 -3
- package/dist/src/executors/tsdown/executor.mjs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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 -->
|
|
@@ -210,13 +210,13 @@ var addPackageJsonExport = /* @__PURE__ */ __name((file, type = "module", source
|
|
|
210
210
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
211
211
|
import { glob as glob2 } from "glob";
|
|
212
212
|
var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
213
|
-
const workspaceRoot = config.workspaceRoot
|
|
213
|
+
const workspaceRoot = config.workspaceRoot || findWorkspaceRoot();
|
|
214
214
|
const entryPoints = [];
|
|
215
215
|
if (entry) {
|
|
216
|
-
if (
|
|
217
|
-
entryPoints.push(...entry);
|
|
218
|
-
} else if (typeof entry === "string") {
|
|
216
|
+
if (typeof entry === "string") {
|
|
219
217
|
entryPoints.push(entry);
|
|
218
|
+
} else if (Array.isArray(entry)) {
|
|
219
|
+
entryPoints.push(...entry);
|
|
220
220
|
} else {
|
|
221
221
|
entryPoints.push(...Object.values(entry));
|
|
222
222
|
}
|
|
@@ -224,27 +224,38 @@ var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRo
|
|
|
224
224
|
if (emitOnAll) {
|
|
225
225
|
entryPoints.push(joinPaths(workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
|
|
226
226
|
}
|
|
227
|
-
const results =
|
|
228
|
-
|
|
227
|
+
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
228
|
+
const paths = [];
|
|
229
229
|
if (entryPoint.includes("*")) {
|
|
230
230
|
const files = await glob2(entryPoint, {
|
|
231
|
-
withFileTypes: true
|
|
231
|
+
withFileTypes: true,
|
|
232
|
+
ignore: [
|
|
233
|
+
"**/node_modules/**"
|
|
234
|
+
]
|
|
232
235
|
});
|
|
233
|
-
|
|
236
|
+
paths.push(...files.reduce((ret, filePath) => {
|
|
234
237
|
const result = correctPaths(joinPaths(filePath.path, filePath.name).replaceAll(correctPaths(workspaceRoot), "").replaceAll(correctPaths(projectRoot), ""));
|
|
235
238
|
if (result) {
|
|
236
239
|
writeDebug(`Trying to add entry point ${result} at "${joinPaths(filePath.path, filePath.name)}"`, config);
|
|
237
|
-
if (!
|
|
238
|
-
|
|
240
|
+
if (!paths.includes(result)) {
|
|
241
|
+
paths.push(result);
|
|
239
242
|
}
|
|
240
243
|
}
|
|
241
244
|
return ret;
|
|
242
245
|
}, []));
|
|
243
246
|
} else {
|
|
244
|
-
|
|
247
|
+
paths.push(entryPoint);
|
|
245
248
|
}
|
|
246
|
-
|
|
247
|
-
|
|
249
|
+
return paths;
|
|
250
|
+
}));
|
|
251
|
+
return results.filter(Boolean).reduce((ret, result) => {
|
|
252
|
+
result.forEach((res) => {
|
|
253
|
+
if (res && !ret.includes(res)) {
|
|
254
|
+
ret.push(res);
|
|
255
|
+
}
|
|
256
|
+
});
|
|
257
|
+
return ret;
|
|
258
|
+
}, []);
|
|
248
259
|
}, "getEntryPoints");
|
|
249
260
|
|
|
250
261
|
// ../build-tools/src/utilities/get-env.ts
|
|
@@ -210,13 +210,13 @@ var addPackageJsonExport = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0,
|
|
|
210
210
|
// ../build-tools/src/utilities/get-entry-points.ts
|
|
211
211
|
|
|
212
212
|
var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
|
|
213
|
-
const workspaceRoot = config.workspaceRoot
|
|
213
|
+
const workspaceRoot = config.workspaceRoot || _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
|
|
214
214
|
const entryPoints = [];
|
|
215
215
|
if (entry) {
|
|
216
|
-
if (
|
|
217
|
-
entryPoints.push(...entry);
|
|
218
|
-
} else if (typeof entry === "string") {
|
|
216
|
+
if (typeof entry === "string") {
|
|
219
217
|
entryPoints.push(entry);
|
|
218
|
+
} else if (Array.isArray(entry)) {
|
|
219
|
+
entryPoints.push(...entry);
|
|
220
220
|
} else {
|
|
221
221
|
entryPoints.push(...Object.values(entry));
|
|
222
222
|
}
|
|
@@ -224,27 +224,38 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
224
224
|
if (emitOnAll) {
|
|
225
225
|
entryPoints.push(_chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
|
|
226
226
|
}
|
|
227
|
-
const results =
|
|
228
|
-
|
|
227
|
+
const results = await Promise.all(entryPoints.map(async (entryPoint) => {
|
|
228
|
+
const paths = [];
|
|
229
229
|
if (entryPoint.includes("*")) {
|
|
230
230
|
const files = await _glob.glob.call(void 0, entryPoint, {
|
|
231
|
-
withFileTypes: true
|
|
231
|
+
withFileTypes: true,
|
|
232
|
+
ignore: [
|
|
233
|
+
"**/node_modules/**"
|
|
234
|
+
]
|
|
232
235
|
});
|
|
233
|
-
|
|
236
|
+
paths.push(...files.reduce((ret, filePath) => {
|
|
234
237
|
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), ""));
|
|
235
238
|
if (result) {
|
|
236
239
|
_chunkNG6GE2YZjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
|
|
237
|
-
if (!
|
|
238
|
-
|
|
240
|
+
if (!paths.includes(result)) {
|
|
241
|
+
paths.push(result);
|
|
239
242
|
}
|
|
240
243
|
}
|
|
241
244
|
return ret;
|
|
242
245
|
}, []));
|
|
243
246
|
} else {
|
|
244
|
-
|
|
247
|
+
paths.push(entryPoint);
|
|
245
248
|
}
|
|
246
|
-
|
|
247
|
-
|
|
249
|
+
return paths;
|
|
250
|
+
}));
|
|
251
|
+
return results.filter(Boolean).reduce((ret, result) => {
|
|
252
|
+
result.forEach((res) => {
|
|
253
|
+
if (res && !ret.includes(res)) {
|
|
254
|
+
ret.push(res);
|
|
255
|
+
}
|
|
256
|
+
});
|
|
257
|
+
return ret;
|
|
258
|
+
}, []);
|
|
248
259
|
}, "getEntryPoints");
|
|
249
260
|
|
|
250
261
|
// ../build-tools/src/utilities/get-env.ts
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkESRAKU7Yjs = require('./chunk-ESRAKU7Y.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
var _chunkFGMOZZ77js = require('./chunk-FGMOZZ77.js');
|
|
@@ -93,19 +93,19 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
93
93
|
}
|
|
94
94
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
95
95
|
options.name ??= `${projectName}-${options.format}`;
|
|
96
|
-
options.target ??=
|
|
96
|
+
options.target ??= _chunkESRAKU7Yjs.DEFAULT_TARGET;
|
|
97
97
|
const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
|
|
98
98
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
99
99
|
throw new Error("Cannot find package.json configuration");
|
|
100
100
|
}
|
|
101
|
-
const env =
|
|
101
|
+
const env = _chunkESRAKU7Yjs.getEnv.call(void 0, "tsdown", options);
|
|
102
102
|
const result = {
|
|
103
103
|
...options,
|
|
104
104
|
config,
|
|
105
105
|
...userOptions,
|
|
106
106
|
tsconfig: _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
107
107
|
format: options.format || "cjs",
|
|
108
|
-
entryPoints: await
|
|
108
|
+
entryPoints: await _chunkESRAKU7Yjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
|
|
109
109
|
"./src/index.ts"
|
|
110
110
|
], userOptions.emitOnAll),
|
|
111
111
|
outdir: userOptions.outputPath || _chunkJTAXCQX6js.joinPaths.call(void 0, "dist", projectRoot),
|
|
@@ -162,11 +162,11 @@ async function generatePackageJson(options) {
|
|
|
162
162
|
throw new Error("Cannot find package.json configuration file");
|
|
163
163
|
}
|
|
164
164
|
let packageJson = JSON.parse(packageJsonFile);
|
|
165
|
-
packageJson = await
|
|
166
|
-
packageJson = await
|
|
165
|
+
packageJson = await _chunkESRAKU7Yjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
|
|
166
|
+
packageJson = await _chunkESRAKU7Yjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
|
|
167
167
|
packageJson.exports ??= {};
|
|
168
168
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
169
|
-
packageJson.exports["."] ??=
|
|
169
|
+
packageJson.exports["."] ??= _chunkESRAKU7Yjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
|
|
170
170
|
let entryPoints = [
|
|
171
171
|
{
|
|
172
172
|
in: "./src/index.ts",
|
|
@@ -184,7 +184,7 @@ async function generatePackageJson(options) {
|
|
|
184
184
|
const split = entryPoint.out.split(".");
|
|
185
185
|
split.pop();
|
|
186
186
|
const entry = split.join(".").replaceAll("\\", "/");
|
|
187
|
-
packageJson.exports[`./${entry}`] ??=
|
|
187
|
+
packageJson.exports[`./${entry}`] ??= _chunkESRAKU7Yjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
|
|
@@ -218,7 +218,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, executeTSDown, "executeTSDown");
|
|
|
218
218
|
async function copyBuildAssets(options) {
|
|
219
219
|
_chunkNG6GE2YZjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
|
|
220
220
|
const stopwatch = _chunkNG6GE2YZjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
221
|
-
await
|
|
221
|
+
await _chunkESRAKU7Yjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.sourceRoot, true, false);
|
|
222
222
|
stopwatch();
|
|
223
223
|
return options;
|
|
224
224
|
}
|
|
@@ -7,11 +7,12 @@ import {
|
|
|
7
7
|
copyAssets,
|
|
8
8
|
getEntryPoints,
|
|
9
9
|
getEnv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-A7OTLU7I.mjs";
|
|
11
11
|
import {
|
|
12
12
|
withRunExecutor
|
|
13
13
|
} from "./chunk-VOIYJ67D.mjs";
|
|
14
14
|
import {
|
|
15
|
+
formatLogMessage,
|
|
15
16
|
getConfig,
|
|
16
17
|
getStopwatch,
|
|
17
18
|
isVerbose,
|
|
@@ -755,9 +756,7 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
|
|
|
755
756
|
...userOptions,
|
|
756
757
|
tsconfig: joinPaths(projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
757
758
|
format: options.format || "cjs",
|
|
758
|
-
entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry
|
|
759
|
-
"./src/index.ts"
|
|
760
|
-
], userOptions.emitOnAll),
|
|
759
|
+
entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry ?? "./src/index.ts", userOptions.emitOnAll === true),
|
|
761
760
|
outdir: userOptions.outputPath || joinPaths("dist", projectRoot),
|
|
762
761
|
plugins: [],
|
|
763
762
|
name: userOptions.name || projectName,
|
|
@@ -914,6 +913,8 @@ async function executeEsBuild(context2) {
|
|
|
914
913
|
delete options.renderers;
|
|
915
914
|
delete options.config;
|
|
916
915
|
delete options.injectShims;
|
|
916
|
+
writeTrace(`Run esbuild (${context2.options.name}) with the following options:
|
|
917
|
+
${formatLogMessage(options)}`, context2.options.config);
|
|
917
918
|
const result = await esbuild2.build(options);
|
|
918
919
|
if (result.metafile) {
|
|
919
920
|
const metafilePath = `${context2.options.outdir}/${context2.options.name}.meta.json`;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkESRAKU7Yjs = require('./chunk-ESRAKU7Y.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkFGMOZZ77js = require('./chunk-FGMOZZ77.js');
|
|
@@ -22,6 +22,7 @@ var _chunkFGMOZZ77js = require('./chunk-FGMOZZ77.js');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
|
|
25
26
|
var _chunkNG6GE2YZjs = require('./chunk-NG6GE2YZ.js');
|
|
26
27
|
|
|
27
28
|
|
|
@@ -533,7 +534,7 @@ var DEFAULT_BUILD_OPTIONS = {
|
|
|
533
534
|
".woff": "file",
|
|
534
535
|
".woff2": "file"
|
|
535
536
|
},
|
|
536
|
-
banner:
|
|
537
|
+
banner: _chunkESRAKU7Yjs.DEFAULT_COMPILED_BANNER
|
|
537
538
|
};
|
|
538
539
|
|
|
539
540
|
// ../esbuild/src/plugins/deps-check.ts
|
|
@@ -729,12 +730,12 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
729
730
|
}
|
|
730
731
|
const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
|
|
731
732
|
options.name ??= `${projectName}-${options.format}`;
|
|
732
|
-
options.target ??=
|
|
733
|
+
options.target ??= _chunkESRAKU7Yjs.DEFAULT_TARGET;
|
|
733
734
|
const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
|
|
734
735
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
735
736
|
throw new Error("Cannot find package.json configuration");
|
|
736
737
|
}
|
|
737
|
-
const env =
|
|
738
|
+
const env = _chunkESRAKU7Yjs.getEnv.call(void 0, "esbuild", options);
|
|
738
739
|
const result = {
|
|
739
740
|
...options,
|
|
740
741
|
config,
|
|
@@ -754,9 +755,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
754
755
|
...userOptions,
|
|
755
756
|
tsconfig: _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
|
|
756
757
|
format: options.format || "cjs",
|
|
757
|
-
entryPoints: await
|
|
758
|
-
"./src/index.ts"
|
|
759
|
-
], userOptions.emitOnAll),
|
|
758
|
+
entryPoints: await _chunkESRAKU7Yjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, _nullishCoalesce(userOptions.entry, () => ( "./src/index.ts")), userOptions.emitOnAll === true),
|
|
760
759
|
outdir: userOptions.outputPath || _chunkJTAXCQX6js.joinPaths.call(void 0, "dist", projectRoot),
|
|
761
760
|
plugins: [],
|
|
762
761
|
name: userOptions.name || projectName,
|
|
@@ -778,8 +777,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
|
|
|
778
777
|
watch: userOptions.watch === true,
|
|
779
778
|
footer: userOptions.footer,
|
|
780
779
|
banner: {
|
|
781
|
-
js: options.banner ||
|
|
782
|
-
css: options.banner ||
|
|
780
|
+
js: options.banner || _chunkESRAKU7Yjs.DEFAULT_COMPILED_BANNER,
|
|
781
|
+
css: options.banner || _chunkESRAKU7Yjs.DEFAULT_COMPILED_BANNER
|
|
783
782
|
},
|
|
784
783
|
splitting: options.format === "iife" ? false : typeof options.splitting === "boolean" ? options.splitting : options.format === "esm",
|
|
785
784
|
treeShaking: options.format === "esm",
|
|
@@ -825,11 +824,11 @@ async function generatePackageJson(context2) {
|
|
|
825
824
|
if (!packageJson) {
|
|
826
825
|
throw new Error("Cannot find package.json configuration file");
|
|
827
826
|
}
|
|
828
|
-
packageJson = await
|
|
829
|
-
packageJson = await
|
|
827
|
+
packageJson = await _chunkESRAKU7Yjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
|
|
828
|
+
packageJson = await _chunkESRAKU7Yjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
|
|
830
829
|
packageJson.exports ??= {};
|
|
831
830
|
packageJson.exports["./package.json"] ??= "./package.json";
|
|
832
|
-
packageJson.exports["."] ??=
|
|
831
|
+
packageJson.exports["."] ??= _chunkESRAKU7Yjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
|
|
833
832
|
let entryPoints = [
|
|
834
833
|
{
|
|
835
834
|
in: "./src/index.ts",
|
|
@@ -847,7 +846,7 @@ async function generatePackageJson(context2) {
|
|
|
847
846
|
const split = entryPoint.out.split(".");
|
|
848
847
|
split.pop();
|
|
849
848
|
const entry = split.join(".").replaceAll("\\", "/");
|
|
850
|
-
packageJson.exports[`./${entry}`] ??=
|
|
849
|
+
packageJson.exports[`./${entry}`] ??= _chunkESRAKU7Yjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
|
|
851
850
|
}
|
|
852
851
|
}
|
|
853
852
|
packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
|
|
@@ -913,6 +912,8 @@ async function executeEsBuild(context2) {
|
|
|
913
912
|
delete options.renderers;
|
|
914
913
|
delete options.config;
|
|
915
914
|
delete options.injectShims;
|
|
915
|
+
_chunkNG6GE2YZjs.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
|
|
916
|
+
${_chunkNG6GE2YZjs.formatLogMessage.call(void 0, options)}`, context2.options.config);
|
|
916
917
|
const result = await esbuild2.build(options);
|
|
917
918
|
if (result.metafile) {
|
|
918
919
|
const metafilePath = `${context2.options.outdir}/${context2.options.name}.meta.json`;
|
|
@@ -926,7 +927,7 @@ async function copyBuildAssets(context2) {
|
|
|
926
927
|
if (_optionalChain([context2, 'access', _26 => _26.result, 'optionalAccess', _27 => _27.errors, 'access', _28 => _28.length]) === 0) {
|
|
927
928
|
_chunkNG6GE2YZjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
|
|
928
929
|
const stopwatch = _chunkNG6GE2YZjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
|
|
929
|
-
await
|
|
930
|
+
await _chunkESRAKU7Yjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
|
|
930
931
|
stopwatch();
|
|
931
932
|
}
|
|
932
933
|
return context2;
|
package/dist/executors.js
CHANGED
|
@@ -10,7 +10,7 @@ var _chunkGJQKCDGCjs = require('./chunk-GJQKCDGC.js');
|
|
|
10
10
|
var _chunkXM4IXZ6Yjs = require('./chunk-XM4IXZ6Y.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkK7OAIP34js = require('./chunk-K7OAIP34.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
var _chunkAXGI5QP4js = require('./chunk-AXGI5QP4.js');
|
|
@@ -22,8 +22,8 @@ var _chunkOVWVVBMFjs = require('./chunk-OVWVVBMF.js');
|
|
|
22
22
|
var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
26
|
-
require('./chunk-
|
|
25
|
+
var _chunkW2WAWCCVjs = require('./chunk-W2WAWCCV.js');
|
|
26
|
+
require('./chunk-ESRAKU7Y.js');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
var _chunkJJ4G5NGFjs = require('./chunk-JJ4G5NGF.js');
|
|
@@ -58,4 +58,4 @@ require('./chunk-3GQAWCBQ.js');
|
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
exports.LARGE_BUFFER = _chunkGJQKCDGCjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkJJ4G5NGFjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkU6DCH53Ijs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkGBXELUHEjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkFIRVS3UNjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkOVWVVBMFjs.cargoFormatExecutor; exports.esbuildExecutorFn =
|
|
61
|
+
exports.LARGE_BUFFER = _chunkGJQKCDGCjs.LARGE_BUFFER; exports.cargoBuildExecutor = _chunkJJ4G5NGFjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkU6DCH53Ijs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkGBXELUHEjs.cargoClippyExecutor; exports.cargoDocExecutor = _chunkFIRVS3UNjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkOVWVVBMFjs.cargoFormatExecutor; exports.esbuildExecutorFn = _chunkW2WAWCCVjs.esbuildExecutorFn; exports.getRegistryVersion = _chunkGGGO542Mjs.getRegistryVersion; exports.sizeLimitExecutorFn = _chunkXM4IXZ6Yjs.sizeLimitExecutorFn; exports.tsdownExecutorFn = _chunkK7OAIP34js.tsdownExecutorFn; exports.typiaExecutorFn = _chunkAXGI5QP4js.typiaExecutorFn; exports.unbuildExecutorFn = _chunkKFJJGDFTjs.unbuildExecutorFn;
|
package/dist/executors.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-IT3ENPW3.mjs";
|
|
11
11
|
import {
|
|
12
12
|
tsdownExecutorFn
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MNV4E744.mjs";
|
|
14
14
|
import {
|
|
15
15
|
typiaExecutorFn
|
|
16
16
|
} from "./chunk-3I74ESKM.mjs";
|
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
} from "./chunk-OQ32KFGA.mjs";
|
|
23
23
|
import {
|
|
24
24
|
esbuildExecutorFn
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-KMFZVYDQ.mjs";
|
|
26
|
+
import "./chunk-A7OTLU7I.mjs";
|
|
27
27
|
import {
|
|
28
28
|
cargoBuildExecutor
|
|
29
29
|
} from "./chunk-OBUTMEEY.mjs";
|
package/dist/index.js
CHANGED
|
@@ -57,7 +57,7 @@ var _chunkGJQKCDGCjs = require('./chunk-GJQKCDGC.js');
|
|
|
57
57
|
var _chunkXM4IXZ6Yjs = require('./chunk-XM4IXZ6Y.js');
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
var
|
|
60
|
+
var _chunkK7OAIP34js = require('./chunk-K7OAIP34.js');
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
var _chunkAXGI5QP4js = require('./chunk-AXGI5QP4.js');
|
|
@@ -69,8 +69,8 @@ var _chunkOVWVVBMFjs = require('./chunk-OVWVVBMF.js');
|
|
|
69
69
|
var _chunkGGGO542Mjs = require('./chunk-GGGO542M.js');
|
|
70
70
|
|
|
71
71
|
|
|
72
|
-
var
|
|
73
|
-
require('./chunk-
|
|
72
|
+
var _chunkW2WAWCCVjs = require('./chunk-W2WAWCCV.js');
|
|
73
|
+
require('./chunk-ESRAKU7Y.js');
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
var _chunkJJ4G5NGFjs = require('./chunk-JJ4G5NGF.js');
|
|
@@ -287,4 +287,4 @@ require('./chunk-3GQAWCBQ.js');
|
|
|
287
287
|
|
|
288
288
|
|
|
289
289
|
|
|
290
|
-
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 = _chunkIC2TARGZjs.browserLibraryGeneratorFn; exports.buildCargoCommand = _chunkULBTYC2Bjs.buildCargoCommand; exports.cargoBaseExecutorSchema = _chunk6QO3KMZAjs.cargo_base_executor_untyped_default; exports.cargoBuildExecutor = _chunkJJ4G5NGFjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkU6DCH53Ijs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkGBXELUHEjs.cargoClippyExecutor; exports.cargoCommand = _chunkULBTYC2Bjs.cargoCommand; exports.cargoCommandSync = _chunkULBTYC2Bjs.cargoCommandSync; exports.cargoDocExecutor = _chunkFIRVS3UNjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkOVWVVBMFjs.cargoFormatExecutor; exports.cargoMetadata = _chunkULBTYC2Bjs.cargoMetadata; exports.cargoRunCommand = _chunkULBTYC2Bjs.cargoRunCommand; exports.childProcess = _chunkULBTYC2Bjs.childProcess; exports.configSchemaGeneratorFn = _chunkXGU4526Mjs.configSchemaGeneratorFn; exports.createCliOptions = _chunkDHGZTMNDjs.createCliOptions; exports.createProjectTsConfigJson = _chunkRBU35LQWjs.createProjectTsConfigJson; exports.esbuildExecutorFn =
|
|
290
|
+
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 = _chunkIC2TARGZjs.browserLibraryGeneratorFn; exports.buildCargoCommand = _chunkULBTYC2Bjs.buildCargoCommand; exports.cargoBaseExecutorSchema = _chunk6QO3KMZAjs.cargo_base_executor_untyped_default; exports.cargoBuildExecutor = _chunkJJ4G5NGFjs.cargoBuildExecutor; exports.cargoCheckExecutor = _chunkU6DCH53Ijs.cargoCheckExecutor; exports.cargoClippyExecutor = _chunkGBXELUHEjs.cargoClippyExecutor; exports.cargoCommand = _chunkULBTYC2Bjs.cargoCommand; exports.cargoCommandSync = _chunkULBTYC2Bjs.cargoCommandSync; exports.cargoDocExecutor = _chunkFIRVS3UNjs.cargoDocExecutor; exports.cargoFormatExecutor = _chunkOVWVVBMFjs.cargoFormatExecutor; exports.cargoMetadata = _chunkULBTYC2Bjs.cargoMetadata; exports.cargoRunCommand = _chunkULBTYC2Bjs.cargoRunCommand; exports.childProcess = _chunkULBTYC2Bjs.childProcess; exports.configSchemaGeneratorFn = _chunkXGU4526Mjs.configSchemaGeneratorFn; exports.createCliOptions = _chunkDHGZTMNDjs.createCliOptions; exports.createProjectTsConfigJson = _chunkRBU35LQWjs.createProjectTsConfigJson; exports.esbuildExecutorFn = _chunkW2WAWCCVjs.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 = _chunkN7NXGPZAjs.neutralLibraryGeneratorFn; exports.nodeLibraryGeneratorFn = _chunkK2LABESFjs.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 = _chunkQ27N3MQOjs.presetGeneratorFn; exports.prettierPackageJsonVersion = _chunkHI4G4OOGjs.prettierPackageJsonVersion; exports.prettierPrismaVersion = _chunkHI4G4OOGjs.prettierPrismaVersion; exports.prettierVersion = _chunkHI4G4OOGjs.prettierVersion; exports.releaseVersionGeneratorFn = _chunkD5NZC2JNjs.releaseVersionGeneratorFn; exports.runProcess = _chunkULBTYC2Bjs.runProcess; exports.semanticReleaseVersion = _chunkHI4G4OOGjs.semanticReleaseVersion; exports.setDefaultProjectTags = _chunk7YRW5HNXjs.setDefaultProjectTags; exports.sizeLimitExecutorFn = _chunkXM4IXZ6Yjs.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.tsdownExecutorFn = _chunkK7OAIP34js.tsdownExecutorFn; 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 = _chunkAXGI5QP4js.typiaExecutorFn; exports.unbuildExecutorFn = _chunkKFJJGDFTjs.unbuildExecutorFn; exports.verdaccioVersion = _chunkHI4G4OOGjs.verdaccioVersion; exports.withRunExecutor = _chunkFGMOZZ77js.withRunExecutor; exports.withRunGenerator = _chunkLSL5N332js.withRunGenerator;
|
package/dist/index.mjs
CHANGED
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
} from "./chunk-IT3ENPW3.mjs";
|
|
58
58
|
import {
|
|
59
59
|
tsdownExecutorFn
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-MNV4E744.mjs";
|
|
61
61
|
import {
|
|
62
62
|
typiaExecutorFn
|
|
63
63
|
} from "./chunk-3I74ESKM.mjs";
|
|
@@ -69,8 +69,8 @@ import {
|
|
|
69
69
|
} from "./chunk-OQ32KFGA.mjs";
|
|
70
70
|
import {
|
|
71
71
|
esbuildExecutorFn
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import "./chunk-
|
|
72
|
+
} from "./chunk-KMFZVYDQ.mjs";
|
|
73
|
+
import "./chunk-A7OTLU7I.mjs";
|
|
74
74
|
import {
|
|
75
75
|
cargoBuildExecutor
|
|
76
76
|
} from "./chunk-OBUTMEEY.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../../chunk-
|
|
4
|
+
var _chunkW2WAWCCVjs = require('../../../chunk-W2WAWCCV.js');
|
|
5
|
+
require('../../../chunk-ESRAKU7Y.js');
|
|
6
6
|
require('../../../chunk-FGMOZZ77.js');
|
|
7
7
|
require('../../../chunk-UALZJZUK.js');
|
|
8
8
|
require('../../../chunk-NG6GE2YZ.js');
|
|
@@ -12,4 +12,4 @@ require('../../../chunk-3GQAWCBQ.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.default =
|
|
15
|
+
exports.default = _chunkW2WAWCCVjs.executor_default; exports.esbuildExecutorFn = _chunkW2WAWCCVjs.esbuildExecutorFn;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
esbuildExecutorFn,
|
|
3
3
|
executor_default
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
4
|
+
} from "../../../chunk-KMFZVYDQ.mjs";
|
|
5
|
+
import "../../../chunk-A7OTLU7I.mjs";
|
|
6
6
|
import "../../../chunk-VOIYJ67D.mjs";
|
|
7
7
|
import "../../../chunk-5JPH5VCU.mjs";
|
|
8
8
|
import "../../../chunk-L6CV744X.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../../../chunk-
|
|
4
|
+
var _chunkK7OAIP34js = require('../../../chunk-K7OAIP34.js');
|
|
5
|
+
require('../../../chunk-ESRAKU7Y.js');
|
|
6
6
|
require('../../../chunk-FGMOZZ77.js');
|
|
7
7
|
require('../../../chunk-UALZJZUK.js');
|
|
8
8
|
require('../../../chunk-NG6GE2YZ.js');
|
|
@@ -12,4 +12,4 @@ require('../../../chunk-3GQAWCBQ.js');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.default =
|
|
15
|
+
exports.default = _chunkK7OAIP34js.executor_default; exports.tsdownExecutorFn = _chunkK7OAIP34js.tsdownExecutorFn;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executor_default,
|
|
3
3
|
tsdownExecutorFn
|
|
4
|
-
} from "../../../chunk-
|
|
5
|
-
import "../../../chunk-
|
|
4
|
+
} from "../../../chunk-MNV4E744.mjs";
|
|
5
|
+
import "../../../chunk-A7OTLU7I.mjs";
|
|
6
6
|
import "../../../chunk-VOIYJ67D.mjs";
|
|
7
7
|
import "../../../chunk-5JPH5VCU.mjs";
|
|
8
8
|
import "../../../chunk-L6CV744X.mjs";
|
package/package.json
CHANGED