Skip to content

Commit 2adb53f

Browse files
committed
feat: set up typedoc and standardize versions
1 parent b6fc1f6 commit 2adb53f

File tree

5 files changed

+54
-25
lines changed

5 files changed

+54
-25
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"eslint-plugin-tsdoc": "^0.4.0",
3939
"prettier": "^3.2.5",
4040
"turbo": "^2.0.0",
41-
"typescript": "5.8.2",
41+
"typedoc": "catalog:",
42+
"typescript": "catalog:",
4243
"vitest": "^3.0.0"
4344
},
4445
"packageManager": "[email protected]"

packages/livekit-rtc/package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,17 @@
4949
"@bufbuild/protobuf": "^1.10.1",
5050
"@livekit/mutex": "^1.0.0",
5151
"@livekit/typed-emitter": "^3.0.0",
52-
"pino": "^9.0.0",
53-
"pino-pretty": "^13.0.0"
52+
"pino": "^9.9.0",
53+
"pino-pretty": "^13.1.1"
5454
},
5555
"devDependencies": {
56+
"@bufbuild/protoc-gen-es": "^1.10.1",
5657
"@napi-rs/cli": "^2.18.0",
5758
"@types/node": "^22.13.10",
5859
"prettier": "^3.0.3",
5960
"tsup": "^8.3.5",
60-
"typescript": "5.8.2",
61-
"@bufbuild/protoc-gen-es": "^1.10.1"
61+
"typedoc": "catalog:",
62+
"typescript": "catalog:"
6263
},
6364
"optionalDependencies": {
6465
"@livekit/rtc-node-darwin-arm64": "workspace:*",
@@ -74,6 +75,7 @@
7475
"prebuild": "node -p \"'export const SDK_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
7576
"build:ts": "pnpm prebuild && tsup --onSuccess \"tsc --declaration --emitDeclarationOnly\" && cp -r src/napi dist/ && cp -r src/napi/* dist/",
7677
"build": "pnpm build:ts && napi build --platform --release --dts native.d.ts --js native.cjs --pipe \"prettier -w\" src/napi",
78+
"build:docs": "typedoc",
7779
"artifacts": "pnpm build:ts && napi artifacts",
7880
"build:debug": "napi build --platform",
7981
"lint": "eslint -f unix \"src/**/*.ts\" --ignore-pattern \"src/proto/*\"",

packages/livekit-server-sdk/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"scripts": {
3232
"build": "tsup --onSuccess \"tsc --declaration --emitDeclarationOnly\"",
3333
"build:watch": "tsc --watch",
34-
"build-docs": "typedoc",
34+
"build:docs": "typedoc",
3535
"changeset": "changeset",
3636
"ci:publish": "pnpm build && changeset publish",
3737
"lint": "eslint src",
@@ -55,8 +55,9 @@
5555
"happy-dom": "^17.0.0",
5656
"prettier": "^3.0.0",
5757
"tsup": "^8.3.5",
58+
"typedoc": "catalog:",
5859
"typedoc": "^0.28.0",
59-
"typescript": "5.8.2",
60+
"typescript": "catalog:",
6061
"vite": "^5.2.9",
6162
"vitest": "^3.0.0"
6263
},

pnpm-lock.yaml

Lines changed: 39 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@ packages:
22
- 'examples/*'
33
- 'packages/*'
44
- 'packages/livekit-rtc/npm/*'
5+
6+
catalog:
7+
"typedoc": ^0.28.11
8+
"typescript": 5.8.2

0 commit comments

Comments
 (0)