watchfor 0.5.0 → 0.7.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "watchfor",
3
- "version": "0.5.0",
4
- "description": "Official TypeScript SDK + CLI for WatchFor \u2014 uptime & infrastructure monitoring (monitors, alert rules, incidents, maintenance windows) over the REST API.",
3
+ "version": "0.7.0",
4
+ "description": "Official TypeScript SDK + CLI for WatchFor — uptime & infrastructure monitoring (monitors, alert rules, incidents, maintenance windows) over the REST API.",
5
5
  "keywords": [
6
6
  "watchfor",
7
7
  "monitoring",
@@ -40,8 +40,8 @@
40
40
  "scripts": {
41
41
  "build": "tsc -p tsconfig.json && cp src/schema.d.ts dist/schema.d.ts",
42
42
  "prepublishOnly": "npm run build",
43
- "regen-types": "openapi-typescript ${SPEC:-https://watchfor.io/openapi.json} -o src/schema.d.ts",
44
- "regen-types:local": "node scripts/dump-spec.mjs > /tmp/watchfor-openapi.json && openapi-typescript /tmp/watchfor-openapi.json -o src/schema.d.ts"
43
+ "regen-types": "npx -y openapi-typescript@7 ${SPEC:-https://watchfor.io/openapi.json} -o src/schema.d.ts && (cd .. && npx biome check --write sdk/src/schema.d.ts)",
44
+ "regen-types:local": "SPEC=http://localhost:3000/api/v1/openapi.json npm run regen-types"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/node": "^22.0.0",