tsarr 1.0.0 → 1.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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsarr",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "description": "Type-safe TypeScript SDK for Servarr APIs (Radarr, Sonarr, etc.)",
5
5
  "keywords": [
6
6
  "servarr",
@@ -59,9 +59,10 @@
59
59
  }
60
60
  },
61
61
  "scripts": {
62
- "build": "bun run generate && bun build src/index.ts --outdir dist --target node --minify --splitting",
62
+ "build": "bun run generate && bun run build:js && bun run build:types",
63
+ "build:js": "bun build src/index.ts --outdir dist --target node --minify --splitting && bun build src/clients/radarr.ts --outdir dist/clients --target node --format esm && bun build src/clients/sonarr.ts --outdir dist/clients --target node --format esm && bun build src/clients/lidarr.ts --outdir dist/clients --target node --format esm && bun build src/clients/readarr.ts --outdir dist/clients --target node --format esm && bun build src/clients/prowlarr.ts --outdir dist/clients --target node --format esm",
63
64
  "build:types": "tsc --declaration --emitDeclarationOnly --outDir dist",
64
- "prepublishOnly": "bun run build && bun run build:types",
65
+ "prepublishOnly": "bun run build",
65
66
  "test": "bun test",
66
67
  "dev": "bun run src/index.ts",
67
68
  "lint": "biome check .",
@@ -72,6 +73,8 @@
72
73
  "generate:radarr": "bun run scripts/generate-radarr.ts",
73
74
  "generate:sonarr": "bun run scripts/generate-sonarr.ts",
74
75
  "clean": "rm -rf src/generated && rm -rf dist",
76
+ "docs": "typedoc",
77
+ "docs:serve": "typedoc --serve",
75
78
  "release": "semantic-release",
76
79
  "release:dry": "semantic-release --dry-run"
77
80
  },
@@ -87,6 +90,7 @@
87
90
  "@semantic-release/npm": "^12.0.2",
88
91
  "@types/bun": "latest",
89
92
  "semantic-release": "^24.2.7",
93
+ "typedoc": "^0.28.12",
90
94
  "typescript": "^5.6.2"
91
95
  },
92
96
  "engines": {
Binary file