Skip to content

Commit

Permalink
feat: vite v6 support
Browse files Browse the repository at this point in the history
  • Loading branch information
hannoeru committed Nov 26, 2024
1 parent d68e1e5 commit 8584073
Show file tree
Hide file tree
Showing 8 changed files with 339 additions and 623 deletions.
10 changes: 5 additions & 5 deletions examples/nuxt-style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
"serve": "vite preview"
},
"dependencies": {
"vue": "^3.5.8",
"vue": "^3.5.13",
"vue-router": "4.2.5"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.4",
"@vue/compiler-sfc": "^3.5.8",
"@vitejs/plugin-vue": "^5.2.0",
"@vue/compiler-sfc": "^3.5.13",
"nodemon": "^3.1.7",
"typescript": "^5.6.2",
"vite": "^5.4.7",
"typescript": "^5.7.2",
"vite": "^6.0.0",
"vite-plugin-pages": "workspace:*",
"vite-plugin-vue-markdown": "^0.23.8"
}
Expand Down
12 changes: 6 additions & 6 deletions examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.26.2"
"react-router-dom": "^7.0.1"
},
"devDependencies": {
"@types/react": "^18.3.8",
"@types/react-dom": "^18.3.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-router-config": "^5.0.11",
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react": "^4.3.1",
"@vitejs/plugin-react": "^4.3.4",
"nodemon": "^3.1.7",
"typescript": "^5.6.2",
"vite": "^5.4.7",
"typescript": "^5.7.2",
"vite": "^6.0.0",
"vite-plugin-pages": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions examples/remix-style/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.26.2"
"react-router-dom": "^7.0.1"
},
"devDependencies": {
"@types/react": "^18.3.8",
"@types/react-dom": "^18.3.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-router-config": "^5.0.11",
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react": "^4.3.1",
"@vitejs/plugin-react": "^4.3.4",
"nodemon": "^3.1.7",
"typescript": "^5.6.2",
"vite": "^5.4.7",
"typescript": "^5.7.2",
"vite": "^6.0.0",
"vite-plugin-pages": "workspace:*"
}
}
8 changes: 4 additions & 4 deletions examples/solid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"serve": "vite preview"
},
"dependencies": {
"@solidjs/router": "^0.14.5",
"solid-js": "^1.8.23"
"@solidjs/router": "^0.15.1",
"solid-js": "^1.9.3"
},
"devDependencies": {
"nodemon": "^3.1.7",
"typescript": "^5.6.2",
"vite": "^5.4.7",
"typescript": "^5.7.2",
"vite": "^6.0.0",
"vite-plugin-pages": "workspace:*",
"vite-plugin-solid": "^2.10.2"
}
Expand Down
24 changes: 12 additions & 12 deletions examples/vue-ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@
"serve": "NODE_ENV=production esno server"
},
"dependencies": {
"vue": "^3.5.8",
"vue-router": "^4.4.5"
"vue": "^3.5.13",
"vue-router": "^4.5.0"
},
"devDependencies": {
"@types/compression": "^1.7.5",
"@types/express": "^4.17.21",
"@types/node": "^20.16.6",
"@types/express": "^5.0.0",
"@types/node": "^22.10.0",
"@types/serve-static": "^1.15.7",
"@vitejs/plugin-vue": "^5.1.4",
"@vue/compiler-sfc": "^3.5.8",
"@vue/server-renderer": "^3.5.8",
"compression": "^1.7.4",
"esno": "^4.7.0",
"express": "^4.21.0",
"@vitejs/plugin-vue": "^5.2.0",
"@vue/compiler-sfc": "^3.5.13",
"@vue/server-renderer": "^3.5.13",
"compression": "^1.7.5",
"esno": "^4.8.0",
"express": "^4.21.1",
"fast-glob": "^3.3.2",
"nodemon": "^3.1.7",
"serve-static": "^1.16.2",
"typescript": "^5.6.2",
"vite": "^5.4.7",
"typescript": "^5.7.2",
"vite": "^6.0.0",
"vite-plugin-pages": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions examples/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
},
"dependencies": {
"react": "^18.3.1",
"vue": "^3.5.8",
"vue": "^3.5.13",
"vue-router": "4.2.5"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.4",
"@vue/compiler-sfc": "^3.5.8",
"@vitejs/plugin-vue": "^5.2.0",
"@vue/compiler-sfc": "^3.5.13",
"nodemon": "^3.1.7",
"typescript": "^5.6.2",
"vite": "^5.4.7",
"vite-plugin-inspect": "^0.8.7",
"typescript": "^5.7.2",
"vite": "^6.0.0",
"vite-plugin-inspect": "^0.8.8",
"vite-plugin-pages": "workspace:*",
"vite-plugin-vue-markdown": "^0.23.8"
}
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
},
"peerDependencies": {
"@vue/compiler-sfc": "^2.7.0 || ^3.0.0",
"vite": "^2.0.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0"
"vite": "^2.0.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0 || ^6.0.0"
},
"peerDependenciesMeta": {
"@solidjs/router": {
Expand Down Expand Up @@ -93,12 +93,12 @@
"yaml": "^2.6.1"
},
"devDependencies": {
"@antfu/eslint-config": "^3.9.2",
"@antfu/eslint-config": "^3.10.0",
"@antfu/utils": "^0.7.10",
"@solidjs/router": "^0.15.1",
"@types/glob-to-regexp": "^0.4.4",
"@types/node": "^22.9.3",
"@vitest/ui": "^2.1.5",
"@types/node": "^22.10.0",
"@vitest/ui": "^2.1.6",
"@vue/compiler-sfc": "^3.5.13",
"bumpp": "^9.8.1",
"eslint": "^9.15.0",
Expand All @@ -109,10 +109,10 @@
"solid-js": "^1.9.3",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vitest": "^2.1.5",
"vite": "^6.0.0",
"vitest": "^2.1.6",
"vue": "^3.5.13",
"vue-router": "^4.4.5"
"vue-router": "^4.5.0"
},
"pnpm": {
"peerDependencyRules": {
Expand Down
Loading

0 comments on commit 8584073

Please sign in to comment.