@crustjs/crust-darwin-x64 0.5.6 → 0.6.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/bin/crust-bun-darwin-x64 +2 -2
- package/bin/dist/index.d.ts +19 -12
- package/bin/dist/index.js +357 -1598
- package/bin/schema/package.json +5 -6
- package/package.json +3 -3
package/bin/schema/package.json
CHANGED
|
@@ -15,16 +15,15 @@
|
|
|
15
15
|
"additionalProperties": false,
|
|
16
16
|
"properties": {
|
|
17
17
|
"runtime": {
|
|
18
|
-
"description": "Runtime the CLI is built for. Without it:
|
|
18
|
+
"description": "Runtime the CLI is built for. Without it: @types/node without @types/bun selects node; otherwise bun.",
|
|
19
19
|
"type": "string",
|
|
20
20
|
"enum": [
|
|
21
21
|
"bun",
|
|
22
|
-
"deno",
|
|
23
22
|
"node"
|
|
24
23
|
]
|
|
25
24
|
},
|
|
26
25
|
"artifact": {
|
|
27
|
-
"description": "What `crust build` distributes; the --artifact flag overrides it. `package`: a root-only runtime package whose commands are JavaScript bundles run by the consumer's installed runtime (bun
|
|
26
|
+
"description": "What `crust build` distributes; the --artifact flag overrides it. `package`: a root-only runtime package whose commands are JavaScript bundles run by the consumer's installed runtime (bun or node). `binary`: standalone executables in per-platform npm packages behind a Node launcher (bun or node; node binaries are built by tsdown with a node on PATH that meets its executable requirements, Node 26 or later for the bundled tsdown 0.23).",
|
|
28
27
|
"type": "string",
|
|
29
28
|
"enum": [
|
|
30
29
|
"package",
|
|
@@ -32,7 +31,7 @@
|
|
|
32
31
|
]
|
|
33
32
|
},
|
|
34
33
|
"targets": {
|
|
35
|
-
"description": "Canonical compiler targets `crust build` stages for binaries when no --target flag is passed, or `host` for the building machine (e.g. bun-linux-x64,
|
|
34
|
+
"description": "Canonical compiler targets `crust build` stages for binaries when no --target flag is passed, or `host` for the building machine (e.g. bun-linux-x64, or linux-x64 for node); without it every target of the compiler is staged. Rejected for runtime packages.",
|
|
36
35
|
"type": "array",
|
|
37
36
|
"minItems": 1,
|
|
38
37
|
"items": {
|
|
@@ -40,7 +39,7 @@
|
|
|
40
39
|
}
|
|
41
40
|
},
|
|
42
41
|
"bunPlugins": {
|
|
43
|
-
"description": "Bun bundler plugin modules applied to Bun binaries and runtime packages (bun or node), in order: bare names resolve from node_modules, paths from the project root; each must default-export the plugin. Rejected for
|
|
42
|
+
"description": "Bun bundler plugin modules applied to Bun binaries and runtime packages (bun or node), in order: bare names resolve from node_modules, paths from the project root; each must default-export the plugin. Rejected for node binaries.",
|
|
44
43
|
"type": "array",
|
|
45
44
|
"items": {
|
|
46
45
|
"type": "string"
|
|
@@ -54,7 +53,7 @@
|
|
|
54
53
|
}
|
|
55
54
|
},
|
|
56
55
|
"external": {
|
|
57
|
-
"description": "Packages left out of a node or bun runtime package's bundle and shipped as `dependencies` of the staged root package with their package.json `dependencies` range, e.g. native addons, packages the CLI reads files from or runs, or very large dependencies. Each must be a `dependencies` key with a publishable range (no workspace:, catalog:, file:, link:, portal:, local paths, or local tarballs); @crustjs/* packages and npm aliases of them are rejected. Rejected for binaries
|
|
56
|
+
"description": "Packages left out of a node or bun runtime package's bundle and shipped as `dependencies` of the staged root package with their package.json `dependencies` range, e.g. native addons, packages the CLI reads files from or runs, or very large dependencies. Each must be a `dependencies` key with a publishable range (no workspace:, catalog:, file:, link:, portal:, local paths, or local tarballs); @crustjs/* packages and npm aliases of them are rejected. Rejected for binaries.",
|
|
58
57
|
"type": "array",
|
|
59
58
|
"uniqueItems": true,
|
|
60
59
|
"items": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crustjs/crust-darwin-x64",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "CLI to build and publish Crust apps as npm packages or standalone binaries",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "chenxin-yan",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"x64"
|
|
41
41
|
],
|
|
42
42
|
"optionalDependencies": {
|
|
43
|
-
"tsdown": "0.23.
|
|
44
|
-
"@tsdown/exe": "0.23.
|
|
43
|
+
"tsdown": "0.23.4",
|
|
44
|
+
"@tsdown/exe": "0.23.4"
|
|
45
45
|
}
|
|
46
46
|
}
|