@hasna/hooks 0.6.4 → 0.6.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 +1 -1
- package/bin/index.js +619 -174
- package/bin/serve.js +115 -35
- package/dist/config.d.ts +8 -1
- package/dist/db/remote-storage.d.ts +22 -0
- package/dist/index.js +442 -121
- package/dist/lib/hook-env.d.ts +42 -0
- package/dist/lib/manifest.d.ts +24 -2
- package/dist/lib/redact.d.ts +40 -0
- package/dist/lib/semver.d.ts +19 -0
- package/dist/lib/store.d.ts +16 -0
- package/dist/lib/sync.d.ts +55 -4
- package/dist/serve.d.ts +2 -1
- package/dist/storage.js +104 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -116,7 +116,7 @@ hooks update # re-register hooks and refresh pins
|
|
|
116
116
|
**Registry server.** `hooks serve` exposes the local store over HTTP — catalog, artifacts, and the published lock:
|
|
117
117
|
|
|
118
118
|
```bash
|
|
119
|
-
hooks serve --port 39428
|
|
119
|
+
hooks serve --port 39428 # publish key resolves from HASNA_HOOKS_API_KEY / HOOKS_API_KEY only
|
|
120
120
|
# GET /health, GET /api/v1/catalog, GET /api/v1/hooks/:name/:version,
|
|
121
121
|
# PUT /api/v1/hooks (publish, requires the key), GET /api/v1/lock
|
|
122
122
|
```
|