@ryuugg/stanza 0.5.0 → 0.5.2
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 -8
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -60,7 +60,7 @@ Take the binary for your machine from the [latest release](https://github.com/ry
|
|
|
60
60
|
| `stanza-linux-x64-musl` | Linux x64 with musl: Alpine and other musl distributions |
|
|
61
61
|
| `stanza-linux-arm64-musl` | Linux arm64 with musl |
|
|
62
62
|
|
|
63
|
-
> **Warning:** The macOS binaries are signed ad hoc, not notarized, so Gatekeeper stops a copy downloaded through a browser.
|
|
63
|
+
> **Warning:** The macOS binaries are signed ad hoc, not notarized, so Gatekeeper stops a copy downloaded through a browser. Once the binary is on your `PATH`, clear the flag with `xattr -d com.apple.quarantine "$(command -v stanza)"`, or download with curl.
|
|
64
64
|
|
|
65
65
|
</details>
|
|
66
66
|
|
|
@@ -94,15 +94,10 @@ To fix each Write, Edit and MultiEdit as soon as it lands in Claude Code, then f
|
|
|
94
94
|
}
|
|
95
95
|
```
|
|
96
96
|
|
|
97
|
-
To check what you are about to commit,
|
|
98
|
-
|
|
99
|
-
```sh
|
|
100
|
-
#!/bin/sh
|
|
101
|
-
exec stanza --check --staged
|
|
102
|
-
```
|
|
97
|
+
To check what you are about to commit, install the hook from the [Pre-Commit Hook](https://stanza.ryuu.gg/guides/pre-commit) guide. Its Git hook tab asks git for the hooks directory, so it works in a worktree, a submodule and under `core.hooksPath`, and it never replaces a hook you already have.
|
|
103
98
|
|
|
104
99
|
> [!IMPORTANT]
|
|
105
|
-
> In a repository whose existing code does not follow these rules, add `--hunks` to each: `stanza hook --hunks` and `
|
|
100
|
+
> In a repository whose existing code does not follow these rules, add `--hunks` to each: `stanza hook --hunks` and `stanza --check --staged --hunks`. See [Existing Codebases](https://stanza.ryuu.gg/guides/existing-codebases).
|
|
106
101
|
|
|
107
102
|
## 💭 Why
|
|
108
103
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ryuugg/stanza",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "An opinionated formatter for turning function bodies into readable steps.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"formatter",
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
"typecheck": "tsc --noEmit"
|
|
48
48
|
},
|
|
49
49
|
"optionalDependencies": {
|
|
50
|
-
"@ryuugg/stanza-darwin-arm64": "0.5.
|
|
51
|
-
"@ryuugg/stanza-darwin-x64": "0.5.
|
|
52
|
-
"@ryuugg/stanza-linux-arm64": "0.5.
|
|
53
|
-
"@ryuugg/stanza-linux-arm64-musl": "0.5.
|
|
54
|
-
"@ryuugg/stanza-linux-x64": "0.5.
|
|
55
|
-
"@ryuugg/stanza-linux-x64-musl": "0.5.
|
|
50
|
+
"@ryuugg/stanza-darwin-arm64": "0.5.2",
|
|
51
|
+
"@ryuugg/stanza-darwin-x64": "0.5.2",
|
|
52
|
+
"@ryuugg/stanza-linux-arm64": "0.5.2",
|
|
53
|
+
"@ryuugg/stanza-linux-arm64-musl": "0.5.2",
|
|
54
|
+
"@ryuugg/stanza-linux-x64": "0.5.2",
|
|
55
|
+
"@ryuugg/stanza-linux-x64-musl": "0.5.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@biomejs/biome": "2.6.3",
|