oca-proxy 1.0.4 → 1.0.6

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 CHANGED
@@ -15,7 +15,22 @@ Or install globally from npm and run:
15
15
 
16
16
  ```bash
17
17
  npm install -g oca-proxy
18
- oca-proxy
18
+ # oca-proxy
19
+
20
+ ## Git hooks
21
+
22
+ This repo uses Husky to run checks locally to keep the codebase consistent and healthy.
23
+
24
+ - Pre-commit: runs Biome autofix (`npm run check`), re-stages changes, then runs `npm run lint` to ensure no remaining issues.
25
+ - Pre-push: runs `npm run typecheck` and `npm run build` to catch type errors and build failures before pushing.
26
+
27
+ Setup:
28
+ - Hooks are installed automatically via the `prepare` script when you run `npm install`.
29
+ - If hooks are missing, run: `npx husky install`.
30
+
31
+ Skip hooks temporarily (use sparingly):
32
+ - Commit without hooks: `git commit -m "msg" --no-verify`
33
+ - Push without hooks: `git push --no-verify`
19
34
  ```
20
35
 
21
36
  ### From Source
@@ -119,9 +134,7 @@ Custom mappings can be configured in `~/.config/oca/oca-proxy.config.json`:
119
134
  }
120
135
  ```
121
136
 
122
- ## Integration Examples
123
137
 
124
- See CONFIG.md for editor and tool setup examples: [CONFIG.md](./CONFIG.md)
125
138
 
126
139
  ## Files
127
140