anomalift 0.1.0 → 0.1.1
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 +6 -2
- package/bin/anomalift.js +4 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -60,8 +60,12 @@ integrity hashes instead.
|
|
|
60
60
|
## Windows on ARM
|
|
61
61
|
|
|
62
62
|
There is no native arm64 Windows build, so `anomalift-windows-x64` is what a
|
|
63
|
-
Windows ARM machine gets
|
|
64
|
-
|
|
63
|
+
Windows ARM machine gets, running under the OS's x64 emulation. That package
|
|
64
|
+
therefore declares `cpu: ["x64", "arm64"]` rather than x64 alone: npm matches
|
|
65
|
+
`cpu` against `process.arch`, so an x64-only declaration is skipped outright on
|
|
66
|
+
an arm64 machine and the user is told no binary exists for their platform -
|
|
67
|
+
while the binary sitting one field away would have run. `install.ps1` makes the
|
|
68
|
+
same substitution and says so when it does.
|
|
65
69
|
|
|
66
70
|
## Publishing a release
|
|
67
71
|
|
package/bin/anomalift.js
CHANGED
|
@@ -31,6 +31,10 @@ const PLATFORM_PACKAGES = {
|
|
|
31
31
|
"linux-x64": "anomalift-linux-x64",
|
|
32
32
|
"linux-arm64": "anomalift-linux-arm64",
|
|
33
33
|
"win32-x64": "anomalift-windows-x64",
|
|
34
|
+
// Windows on ARM runs x64 binaries under emulation, and there is no native
|
|
35
|
+
// arm64 Windows build. Without this entry the shim reports "no prebuilt
|
|
36
|
+
// binary for win32-arm64" on a machine that can run the one it has.
|
|
37
|
+
"win32-arm64": "anomalift-windows-x64",
|
|
34
38
|
};
|
|
35
39
|
|
|
36
40
|
const REPO = "kailash16dev/Anomalift";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anomalift",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Find the mistakes your coding agent repeats, and stop them. Wraps a prebuilt binary; no Rust toolchain required.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"node": ">=16"
|
|
29
29
|
},
|
|
30
30
|
"optionalDependencies": {
|
|
31
|
-
"anomalift-darwin-arm64": "0.1.
|
|
32
|
-
"anomalift-darwin-x64": "0.1.
|
|
33
|
-
"anomalift-linux-x64": "0.1.
|
|
34
|
-
"anomalift-linux-arm64": "0.1.
|
|
35
|
-
"anomalift-windows-x64": "0.1.
|
|
31
|
+
"anomalift-darwin-arm64": "0.1.1",
|
|
32
|
+
"anomalift-darwin-x64": "0.1.1",
|
|
33
|
+
"anomalift-linux-x64": "0.1.1",
|
|
34
|
+
"anomalift-linux-arm64": "0.1.1",
|
|
35
|
+
"anomalift-windows-x64": "0.1.1"
|
|
36
36
|
}
|
|
37
37
|
}
|