@jdxcode/aube-node-linux-x64 1.28.0 → 1.29.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/README.md +25 -0
- package/aube.node +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,6 +46,31 @@ Rejected promises are `AubeError` objects with a stable `code` and a
|
|
|
46
46
|
human-readable `diagnostic`. Published `ERR_AUBE_*` values follow aube's
|
|
47
47
|
[error-code stability policy](https://github.com/jdx/aube/blob/main/docs/error-codes.md).
|
|
48
48
|
|
|
49
|
+
## Configuration
|
|
50
|
+
|
|
51
|
+
Register embedder setting defaults before the first `install`:
|
|
52
|
+
|
|
53
|
+
```ts
|
|
54
|
+
import { configure, install } from "@jdxcode/aube-node"
|
|
55
|
+
|
|
56
|
+
configure({
|
|
57
|
+
defaults: {
|
|
58
|
+
minimumReleaseAge: "259200", // seconds; 3-day cooldown for fresh releases
|
|
59
|
+
},
|
|
60
|
+
})
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Defaults use canonical setting names and sit at the lowest precedence —
|
|
64
|
+
environment variables, project files, and user configuration all override
|
|
65
|
+
them. Registration is process-global and first-write-wins: calling
|
|
66
|
+
`configure` after an install (or a second time) rejects with
|
|
67
|
+
`ERR_AUBE_EMBED_ALREADY_INITIALIZED`, and unknown setting names reject with
|
|
68
|
+
`ERR_AUBE_EMBED_INVALID_SETTING`. Without a `configure` call the addon
|
|
69
|
+
applies its built-in defaults (`nodeLinker=hoisted`, `minimumReleaseAge=0`).
|
|
70
|
+
|
|
71
|
+
Per-install, `osvTransitiveCheck: true` forces a live transitive OSV check
|
|
72
|
+
even when resolution reused every version from the existing lockfile.
|
|
73
|
+
|
|
49
74
|
## Compiled Bun executables
|
|
50
75
|
|
|
51
76
|
Add `bunPlugin({ os, arch, libc })` from `@jdxcode/aube-node/bun-plugin` to each
|
package/aube.node
CHANGED
|
Binary file
|
package/package.json
CHANGED