amont 1.6.9 → 1.7.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 +15 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
A single Rust binary that checks `git commit` and `git push` — no YAML to
|
|
10
10
|
write, no runtime to install, nothing to configure before it is useful.
|
|
11
11
|
|
|
12
|
-
- **Useful in the first minute.**
|
|
12
|
+
- **Useful in the first minute.** Thirty-two built-in checks — commit-message
|
|
13
13
|
conventions, merge-conflict markers, the linters and formatters for the
|
|
14
14
|
languages your repository actually uses, branch rules, your test suite —
|
|
15
15
|
and each one fires only where the repository has opted into its tool.
|
|
@@ -136,7 +136,7 @@ pre-push
|
|
|
136
136
|
● runs here ○ inert ⊘ skipped via hook.skip ✗ declaration unusable
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
|
|
139
|
+
Thirty-two built-in checks across five git hooks, plus any your repository declares
|
|
140
140
|
itself. The full list, with what each one needs before it fires, is in
|
|
141
141
|
[the checks reference](docs/checks.md).
|
|
142
142
|
|
|
@@ -156,6 +156,19 @@ writes a tracked file or a directory. The full semantics:
|
|
|
156
156
|
|
|
157
157
|
**Everywhere, forever** — an opt-in, and a real one:
|
|
158
158
|
|
|
159
|
+
```sh
|
|
160
|
+
amont enroll --conventions declared
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
One command per machine: every future `git clone` and `git init` arrives
|
|
164
|
+
with the hooks. `--conventions declared` keeps the house rules (commit
|
|
165
|
+
shapes, branch names, gates) scoped to repositories that commit an
|
|
166
|
+
`amont.conf`, while the safety net — conflict markers, secrets, oversized
|
|
167
|
+
files, debug leftovers — runs everywhere. That split is what makes the
|
|
168
|
+
grant safe on a machine that also clones other people's projects, and it
|
|
169
|
+
is the backbone of [rolling amont out to a team](docs/team-rollout.md).
|
|
170
|
+
The manual spelling:
|
|
171
|
+
|
|
159
172
|
```sh
|
|
160
173
|
git config --global init.templateDir ~/.config/git/git-templates/templates
|
|
161
174
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amont",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "Opinionated git hooks that judge what you are committing, not what is on disk",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"git",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"node": ">=18"
|
|
32
32
|
},
|
|
33
33
|
"optionalDependencies": {
|
|
34
|
-
"amont-darwin-arm64": "1.
|
|
35
|
-
"amont-darwin-x64": "1.
|
|
36
|
-
"amont-linux-arm64-gnu": "1.
|
|
37
|
-
"amont-linux-x64-gnu": "1.
|
|
38
|
-
"amont-linux-x64-musl": "1.
|
|
39
|
-
"amont-win32-x64": "1.
|
|
34
|
+
"amont-darwin-arm64": "1.7.1",
|
|
35
|
+
"amont-darwin-x64": "1.7.1",
|
|
36
|
+
"amont-linux-arm64-gnu": "1.7.1",
|
|
37
|
+
"amont-linux-x64-gnu": "1.7.1",
|
|
38
|
+
"amont-linux-x64-musl": "1.7.1",
|
|
39
|
+
"amont-win32-x64": "1.7.1"
|
|
40
40
|
}
|
|
41
41
|
}
|