@dev.fast/diffr 0.1.4 → 0.1.5
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 +3 -2
- package/bin/fetch.mjs +3 -1
- package/package.json +1 -1
- package/pins.json +5 -4
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ const event = decodeStructuralDiffEvent(line);
|
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
```sh
|
|
12
|
-
npx --package @dev.fast/diffr@0.1.
|
|
12
|
+
npx --package @dev.fast/diffr@0.1.5 diffr-fetch --into ./bin --required
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Supports macOS arm64, macOS x64, and Linux x64. `--check` verifies an existing install without
|
|
@@ -30,7 +30,8 @@ Keep these files in sync:
|
|
|
30
30
|
## Release
|
|
31
31
|
|
|
32
32
|
After tagging the matching Rust release and building with `cargo build --locked`,
|
|
33
|
-
run from `diffr-ts
|
|
33
|
+
run from `diffr-ts`. New pins select the CLI-only release archives; older pins
|
|
34
|
+
continue to use the full archives:
|
|
34
35
|
|
|
35
36
|
```sh
|
|
36
37
|
bun install --frozen-lockfile
|
package/bin/fetch.mjs
CHANGED
|
@@ -49,7 +49,9 @@ async function main() {
|
|
|
49
49
|
}
|
|
50
50
|
if (values.check) throw new Error(`${binary} is missing or not diffr ${version} (${target})`);
|
|
51
51
|
|
|
52
|
-
const
|
|
52
|
+
const artifact = pins.artifact ?? "diffr";
|
|
53
|
+
if (!["diffr", "diffr-cli"].includes(artifact)) throw new Error(`unknown pinned artifact: ${artifact}`);
|
|
54
|
+
const asset = `${artifact}-${version}-${target}.tar.gz`;
|
|
53
55
|
const url = `https://github.com/devdotfast/diffr/releases/download/${version}/${asset}`;
|
|
54
56
|
let bytes;
|
|
55
57
|
try {
|
package/package.json
CHANGED
package/pins.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.1.
|
|
2
|
+
"version": "0.1.5",
|
|
3
|
+
"artifact": "diffr-cli",
|
|
3
4
|
"sha256": {
|
|
4
|
-
"aarch64-apple-darwin": "
|
|
5
|
-
"x86_64-apple-darwin": "
|
|
6
|
-
"x86_64-unknown-linux-gnu": "
|
|
5
|
+
"aarch64-apple-darwin": "e6ba8c73a91a24db61347d736c283265ba6ffe7f236a980aa13fd5b81afb19e5",
|
|
6
|
+
"x86_64-apple-darwin": "020814d26d1572fec136b3f0fd43e1fcc1b6fe4be284f5fc5348b8bad744025d",
|
|
7
|
+
"x86_64-unknown-linux-gnu": "e7fd08cc6350aed7c8e5bd10fc7b6f9ae249b931e74d09017879b2dcbf07fc65"
|
|
7
8
|
}
|
|
8
9
|
}
|