Skip to content

Commit

Permalink
Fix docs build (#2058)
Browse files Browse the repository at this point in the history
  • Loading branch information
drwpow authored Dec 19, 2024
1 parent e7e1554 commit 5dc47e0
Show file tree
Hide file tree
Showing 10 changed files with 1,050 additions and 688 deletions.
9 changes: 5 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
"private": true,
"type": "module",
"scripts": {
"build-docs": "pnpm run update-contributors && vitepress build && cp _redirects .vitepress/dist",
"build-docs": "pnpm run update-contributors && pnpm run -w build && vitepress build && cp _redirects .vitepress/dist",
"dev": "vitepress dev",
"update-contributors": "node scripts/update-contributors.js"
},
"devDependencies": {
"vitepress": "1.5.0",
"@shikijs/vitepress-twoslash": "^1.22.2",
"openapi-metadata": "workspace:*"
"@shikijs/vitepress-twoslash": "^1.24.3",
"openapi-metadata": "workspace:*",
"vite": "^6.0.4",
"vitepress": "1.5.0"
}
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.10",
"@playwright/test": "^1.49.0",
"@changesets/cli": "^2.27.11",
"@playwright/test": "^1.49.1",
"@size-limit/preset-small-lib": "^11.1.6",
"@types/node": "^22.10.1",
"@types/node": "^22.10.2",
"del-cli": "^5.1.0",
"prettier": "^3.4.1",
"prettier": "^3.4.2",
"size-limit": "^11.1.6",
"turbo": "^2.3.3",
"typescript": "^5.7.2",
"vitest": "^2.1.6"
"vitest": "^2.1.8"
},
"size-limit": [
{
Expand Down
4 changes: 2 additions & 2 deletions packages/openapi-fetch/examples/react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dev": "vite dev"
},
"dependencies": {
"@tanstack/react-query": "^5.62.0",
"@tanstack/react-query": "^5.62.8",
"openapi-fetch": "workspace:^",
"openapi-typescript": "workspace:^",
"react": "^18.3.1",
Expand All @@ -17,6 +17,6 @@
"@types/react-dom": "18.3.0",
"@vitejs/plugin-react-swc": "^3.7.2",
"typescript": "^5.7.2",
"vite": "^6.0.1"
"vite": "^6.0.4"
}
}
2 changes: 1 addition & 1 deletion packages/openapi-fetch/examples/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"svelte-check": "^3.8.6",
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"vite": "^6.0.1"
"vite": "^6.0.4"
}
}
2 changes: 1 addition & 1 deletion packages/openapi-fetch/examples/vue-3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@vue/tsconfig": "^0.5.1",
"openapi-typescript": "workspace:^",
"typescript": "^5.7.2",
"vite": "^6.0.1",
"vite": "^6.0.4",
"vue-tsc": "^2.1.6"
}
}
2 changes: 1 addition & 1 deletion packages/openapi-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@
"superagent": "^10.1.1",
"typescript": "^5.7.2",
"undici": "^6.21.0",
"vite": "^6.0.1"
"vite": "^6.0.4"
}
}
6 changes: 3 additions & 3 deletions packages/openapi-react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@
"openapi-typescript-helpers": "workspace:^"
},
"devDependencies": {
"@tanstack/react-query": "^5.62.0",
"@testing-library/react": "^16.0.1",
"@tanstack/react-query": "^5.62.8",
"@testing-library/react": "^16.1.0",
"@types/react": "18.3.1",
"@vitejs/plugin-react": "^4.3.4",
"del-cli": "^5.1.0",
"esbuild": "^0.24.0",
"execa": "^8.0.1",
"msw": "^2.6.6",
"msw": "^2.7.0",
"openapi-fetch": "workspace:^",
"openapi-typescript": "workspace:^",
"react": "^18.3.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/openapi-react-query/vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import react from "@vitejs/plugin-react";
import { defineConfig } from "vitest/config";
import { defineConfig, type Plugin } from "vitest/config";

export default defineConfig({
plugins: [react()],
plugins: [react() as unknown as Plugin],
test: {
environment: "jsdom",
globals: true,
Expand Down
3 changes: 1 addition & 2 deletions packages/swr-openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
"openapi-typescript": "workspace:^",
"react": "18.3.1",
"swr": "2.2.5",
"typescript": "^5.7.2",
"vitest": "^2.1.6"
"typescript": "^5.7.2"
}
}
Loading

0 comments on commit 5dc47e0

Please sign in to comment.