lanekeep 0.3.2 → 0.4.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 +15 -4
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -106,12 +106,23 @@ brew install fmsouza/tap/lanekeep # macOS and Linux, system-wide
|
|
|
106
106
|
cargo install lanekeep-cli # from source
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
+
For a Go project, pin it in `go.mod` alongside your other tools:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
go get -tool github.com/fmsouza/lanekeep/cmd/lanekeep
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
then `go tool lanekeep check ./...`. Go can only install and pin things written in Go, so
|
|
116
|
+
that package is a small launcher which fetches the real binary on first use, verifies it
|
|
117
|
+
against the release's published checksums, and caches it. Set `LANEKEEP_BINARY` to an
|
|
118
|
+
already-installed lanekeep and it fetches nothing.
|
|
119
|
+
|
|
109
120
|
Or download a binary from the [releases page](https://github.com/fmsouza/lanekeep/releases).
|
|
110
121
|
|
|
111
|
-
A single static binary with the JavaScript engine compiled in. **
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
122
|
+
A single static binary with the JavaScript engine compiled in. **No runtime is required to run
|
|
123
|
+
lanekeep**, even though rules are written in TypeScript — Node, Python or Go is needed only to
|
|
124
|
+
install it from that ecosystem, where it picks which binary to fetch. Nothing is pulled in as a
|
|
125
|
+
dependency any of those ways.
|
|
115
126
|
|
|
116
127
|
Prebuilt for macOS on Apple silicon, Linux on x86-64 and arm64, and Windows on x86-64. The
|
|
117
128
|
Linux binaries are built against glibc 2.17, so they run on anything from RHEL 7 onwards.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lanekeep",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Deterministic, AST-based architectural conformance checking",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"node": ">=18"
|
|
21
21
|
},
|
|
22
22
|
"optionalDependencies": {
|
|
23
|
-
"@lanekeep/darwin-arm64": "0.
|
|
24
|
-
"@lanekeep/linux-arm64": "0.
|
|
25
|
-
"@lanekeep/linux-x64": "0.
|
|
26
|
-
"@lanekeep/win32-x64": "0.
|
|
23
|
+
"@lanekeep/darwin-arm64": "0.4.0",
|
|
24
|
+
"@lanekeep/linux-arm64": "0.4.0",
|
|
25
|
+
"@lanekeep/linux-x64": "0.4.0",
|
|
26
|
+
"@lanekeep/win32-x64": "0.4.0"
|
|
27
27
|
}
|
|
28
28
|
}
|