@adhd/apigen-plugin-health 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +13 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,13 @@
1
+ # @adhd/apigen-plugin-health
2
+
3
+ apigen **mount plugin** — adds a health endpoint to a generated server. Activate with `--use`.
4
+
5
+ Part of [apigen](../../README.md). Driven via [`@adhd/apigen-cli`](../../cli).
6
+
7
+ ```bash
8
+ npx @adhd/apigen-cli run --source ./api.ts --type api-fastify --use @adhd/apigen-plugin-health
9
+ ```
10
+
11
+ ```ts
12
+ import { healthPlugin, type HealthOptions } from '@adhd/apigen-plugin-health'
13
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhd/apigen-plugin-health",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "main": "./index.js",
5
5
  "dependencies": {
6
6
  "@adhd/apigen-core": "^0.1.0"