@crustjs/crust-linux-x64 0.4.1 → 0.5.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.
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "properties": {
12
12
  "crust": {
13
- "description": "Build configuration read by `crust build`. Every key is optional; unknown keys fail the build. Command names and their source entries come from the standard `bin` field.",
13
+ "description": "Build configuration read by `crust build`. `artifact` is required unless every build passes --artifact; the other keys are optional. Unknown keys fail the build. Command names and their source entries come from the standard `bin` field.",
14
14
  "type": "object",
15
15
  "additionalProperties": false,
16
16
  "properties": {
@@ -23,8 +23,16 @@
23
23
  "node"
24
24
  ]
25
25
  },
26
+ "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, node, or experimental deno, bundled with deno bundle; Deno consumers choose permissions with deno run / deno install). `binary`: standalone executables in per-platform npm packages behind a Node launcher (bun, deno, 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
+ "type": "string",
29
+ "enum": [
30
+ "package",
31
+ "binary"
32
+ ]
33
+ },
26
34
  "targets": {
27
- "description": "Canonical compiler targets `crust build` stages when no --target flag is passed, or `host` for the building machine; without it every Bun or Deno target is staged. Rejected for Node.",
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, x86_64-unknown-linux-gnu, or linux-x64 for node); without it every target of the compiler is staged. Rejected for runtime packages.",
28
36
  "type": "array",
29
37
  "minItems": 1,
30
38
  "items": {
@@ -32,7 +40,7 @@
32
40
  }
33
41
  },
34
42
  "bunPlugins": {
35
- "description": "Bun bundler plugin modules applied to Bun and Node builds, in order: bare names resolve from node_modules, paths from the project root; each must default-export the plugin. Rejected for Deno.",
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 Deno and for node binaries.",
36
44
  "type": "array",
37
45
  "items": {
38
46
  "type": "string"
package/package.json CHANGED
@@ -1,45 +1,49 @@
1
1
  {
2
- "name": "@crustjs/crust-linux-x64",
3
- "version": "0.4.1",
4
- "description": "CLI tooling for the Crust framework",
5
- "license": "MIT",
6
- "author": "chenxin-yan",
7
- "homepage": "https://crustjs.com",
8
- "bugs": {
9
- "url": "https://github.com/chenxin-yan/crust/issues"
10
- },
11
- "repository": {
12
- "type": "git",
13
- "url": "git+https://github.com/chenxin-yan/crust.git",
14
- "directory": "packages/crust"
15
- },
16
- "keywords": [
17
- "cli",
18
- "build",
19
- "compile",
20
- "standalone",
21
- "bun",
22
- "typescript"
23
- ],
24
- "publishConfig": {
25
- "access": "public"
26
- },
27
- "engines": {
28
- "bun": ">=1.4.0"
29
- },
30
- "files": [
31
- "bin"
32
- ],
33
- "bin": {
34
- "crust": "bin/crust-bun-linux-x64"
35
- },
36
- "os": [
37
- "linux"
38
- ],
39
- "cpu": [
40
- "x64"
41
- ],
42
- "libc": [
43
- "glibc"
44
- ]
45
- }
2
+ "name": "@crustjs/crust-linux-x64",
3
+ "version": "0.5.0",
4
+ "description": "CLI tooling for the Crust framework",
5
+ "license": "MIT",
6
+ "author": "chenxin-yan",
7
+ "homepage": "https://crustjs.com",
8
+ "bugs": {
9
+ "url": "https://github.com/chenxin-yan/crust/issues"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/chenxin-yan/crust.git",
14
+ "directory": "packages/crust"
15
+ },
16
+ "keywords": [
17
+ "cli",
18
+ "build",
19
+ "compile",
20
+ "standalone",
21
+ "bun",
22
+ "typescript"
23
+ ],
24
+ "publishConfig": {
25
+ "access": "public"
26
+ },
27
+ "engines": {
28
+ "bun": ">=1.4.0"
29
+ },
30
+ "files": [
31
+ "bin"
32
+ ],
33
+ "bin": {
34
+ "crust": "bin/crust-bun-linux-x64"
35
+ },
36
+ "os": [
37
+ "linux"
38
+ ],
39
+ "cpu": [
40
+ "x64"
41
+ ],
42
+ "libc": [
43
+ "glibc"
44
+ ],
45
+ "optionalDependencies": {
46
+ "tsdown": "0.23.0",
47
+ "@tsdown/exe": "0.23.0"
48
+ }
49
+ }