@crustjs/crust-linux-x64-musl 0.5.3 → 0.5.5
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/bin/crust-bun-linux-x64-musl +1 -1
- package/bin/dist/index.d.ts +9 -9
- package/bin/dist/index.js +1000 -1131
- package/bin/schema/package.json +8 -0
- package/package.json +2 -2
package/bin/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { BuildReport, BuildReport as BuildReport$1 } from "@crustjs/core";
|
|
2
|
-
|
|
3
|
-
//#region src/utils/distribute.d.ts
|
|
2
|
+
//#region src/distribute.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* What one build distributes: a runtime `package` (a root-only JavaScript
|
|
6
5
|
* bundle that needs the runtime installed) or standalone `binary` executables
|
|
@@ -33,7 +32,7 @@ type BuildArtifact = {
|
|
|
33
32
|
command: string;
|
|
34
33
|
};
|
|
35
34
|
//#endregion
|
|
36
|
-
//#region src/
|
|
35
|
+
//#region src/build.d.ts
|
|
37
36
|
/** Options of the programmatic {@link build}; `crust build` maps its flags onto them. */
|
|
38
37
|
type BuildOptions = {
|
|
39
38
|
/** Project root whose package.json `bin` and `crust` are read. Default: `process.cwd()`. */
|
|
@@ -74,12 +73,13 @@ type BuildResult = {
|
|
|
74
73
|
* `bin` entry, each the command's bundle (artifact `package`) or a Node
|
|
75
74
|
* launcher (artifact `binary`), plus for binaries one platform package per
|
|
76
75
|
* target holding one executable per command. Command names and source entries
|
|
77
|
-
* come from `bin`; the runtime, artifact, Bun plugins,
|
|
78
|
-
* from package.json `crust`. Bundling and Command
|
|
79
|
-
* subprocesses (bun on PATH, or the running Bun
|
|
80
|
-
* under Node as well when Bun is installed; Deno
|
|
81
|
-
* packages (experimental, deno 2.5.0 or newer) need
|
|
82
|
-
* binaries a node on PATH that Crust's tsdown can build
|
|
76
|
+
* come from `bin`; the runtime, artifact, Bun plugins, extra directories, and
|
|
77
|
+
* external dependencies from package.json `crust`. Bundling and Command
|
|
78
|
+
* Snapshots run in bun subprocesses (bun on PATH, or the running Bun
|
|
79
|
+
* executable), so this works under Node as well when Bun is installed; Deno
|
|
80
|
+
* binaries and Deno runtime packages (experimental, deno 2.5.0 or newer) need
|
|
81
|
+
* deno on PATH, and Node binaries a node on PATH that Crust's tsdown can build
|
|
82
|
+
* executables with.
|
|
83
83
|
*
|
|
84
84
|
* Throws on any failure. Planning and compiler-selection failures (bad
|
|
85
85
|
* options or package.json, a missing or hung compiler, an engines mismatch) leave the
|