@hyperlogue/r3 0.10.0 → 0.11.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/launch.mjs +2 -11
- package/package.json +5 -5
package/launch.mjs
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
// package (`@hyperlogue/r3-<os>-<arch>`). npm/bun install only the package whose
|
|
5
|
-
// `os`/`cpu` match the host, so the matching binary is already on disk by the
|
|
6
|
-
// time this runs — no download, no network, no checksum dance. This file just
|
|
7
|
-
// resolves it and hands off, forwarding argv, stdio, and the exit code/signal.
|
|
8
|
-
//
|
|
9
|
-
// Deliberately plain, dependency-free Node ESM using only cross-runtime APIs, so
|
|
10
|
-
// the SAME file runs under both `bunx @hyperlogue/r3` (Bun) and `npx @hyperlogue/r3`
|
|
11
|
-
// (Node ≥18). The binary is fully self-contained (it embeds the Bun runtime +
|
|
12
|
-
// SPA), so whichever runtime ran this launcher is irrelevant to how r3 itself runs.
|
|
2
|
+
// npm launcher: resolve + exec the matching `@hyperlogue/r3-<os>-<arch>` binary.
|
|
3
|
+
// Plain Node ESM so the same file runs under bunx and npx.
|
|
13
4
|
|
|
14
5
|
import { spawn } from "node:child_process";
|
|
15
6
|
import { chmodSync } from "node:fs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperlogue/r3",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Review. Revise. Resolve. — a local-first review tool for AI-generated code and docs. Runs the matching prebuilt native r3 binary (shipped as a per-platform optional dependency); works with `bunx @hyperlogue/r3` and `npx @hyperlogue/r3`.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"launch.mjs"
|
|
18
18
|
],
|
|
19
19
|
"optionalDependencies": {
|
|
20
|
-
"@hyperlogue/r3-darwin-arm64": "0.
|
|
21
|
-
"@hyperlogue/r3-darwin-x64": "0.
|
|
22
|
-
"@hyperlogue/r3-linux-x64": "0.
|
|
23
|
-
"@hyperlogue/r3-linux-arm64": "0.
|
|
20
|
+
"@hyperlogue/r3-darwin-arm64": "0.11.0",
|
|
21
|
+
"@hyperlogue/r3-darwin-x64": "0.11.0",
|
|
22
|
+
"@hyperlogue/r3-linux-x64": "0.11.0",
|
|
23
|
+
"@hyperlogue/r3-linux-arm64": "0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": ">=18"
|