Skip to content

Commit b9e3994

Browse files
committed
fix typedoc
1 parent e41d41d commit b9e3994

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ jobs:
245245
run: |
246246
# Only run Typedoc tests for one matrix version
247247
if [ "${{ matrix.node-version }}" == "22" ]; then
248-
pnpm test:typedoc
248+
turbo run //#test:typedoc
249249
fi
250250
env:
251251
NODE_VERSION: ${{ matrix.node-version }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"test:integration:vue": "E2E_APP_ID=vue.vite pnpm test:integration:base --grep @vue",
5656
"test:typedoc": "pnpm typedoc:generate && cd ./.typedoc && vitest run",
5757
"turbo:clean": "turbo daemon clean",
58-
"typedoc:generate": "pnpm build:declarations && pnpm typedoc:generate:skip-build",
58+
"typedoc:generate": "pnpm build && pnpm typedoc:generate:skip-build",
5959
"typedoc:generate:skip-build": "typedoc --tsconfig tsconfig.typedoc.json && rm -rf .typedoc/docs && mv .typedoc/temp-docs .typedoc/docs",
6060
"version-packages": "changeset version && pnpm install --lockfile-only --engine-strict=false",
6161
"version-packages:canary": "./scripts/canary.mjs",

packages/shared/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
],
8888
"scripts": {
8989
"build": "tsdown",
90-
"build:declarations": "tsc -p tsconfig.declarations.json",
90+
"build:declarations": "tsc -p tsconfig.json",
9191
"clean": "rimraf ./dist",
9292
"dev": "tsdown --watch src",
9393
"dev:publish": "pnpm dev -- --env.publish",

turbo.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,17 @@
358358
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
359359
"inputs": ["integration/**"],
360360
"outputLogs": "new-only"
361+
},
362+
"//#typedoc:generate": {
363+
"dependsOn": ["@clerk/nextjs#build", "@clerk/react#build", "@clerk/shared#build", "@clerk/types#build"],
364+
"inputs": ["tsconfig.typedoc.json", "typedoc.config.mjs"],
365+
"outputs": [".typedoc/**"],
366+
"outputLogs": "new-only"
367+
},
368+
"//#test:typedoc": {
369+
"dependsOn": ["//#typedoc:generate"],
370+
"inputs": [".typedoc/**"],
371+
"outputLogs": "new-only"
361372
}
362373
}
363374
}

0 commit comments

Comments
 (0)