Skip to content

Commit

Permalink
feat: Vite 4 support (#424)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin committed Dec 12, 2022
1 parent 50f5061 commit c19785f
Show file tree
Hide file tree
Showing 10 changed files with 1,641 additions and 594 deletions.
6 changes: 3 additions & 3 deletions examples/preact-router/package.json
Expand Up @@ -47,12 +47,12 @@
"preact-router": "^4.1.0"
},
"devDependencies": {
"@preact/preset-vite": "^2.3.1",
"@rollup/plugin-replace": "^4.0.0",
"@preact/preset-vite": "^2.4.0",
"@rollup/plugin-replace": "^5.0.1",
"cross-env": "^7.0.3",
"https-localhost": "^4.7.1",
"rimraf": "^3.0.2",
"typescript": "^4.8.2",
"typescript": "^4.9.4",
"vite": "^3.1.0",
"vite-plugin-pwa": "workspace:*",
"workbox-core": "^6.5.4",
Expand Down
14 changes: 7 additions & 7 deletions examples/react-router/package.json
Expand Up @@ -45,22 +45,22 @@
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router": "^6.3.0",
"react-router": "^6.4.5",
"react-router-config": "^5.1.1",
"react-router-dom": "^6.3.0"
"react-router-dom": "^6.4.5"
},
"devDependencies": {
"@rollup/plugin-replace": "^4.0.0",
"@types/react": "^18.0.18",
"@types/react-dom": "^18.0.6",
"@rollup/plugin-replace": "^5.0.1",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@types/react-router-config": "^5.0.6",
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react-refresh": "^1.3.6",
"cross-env": "^7.0.3",
"https-localhost": "^4.7.1",
"rimraf": "^3.0.2",
"typescript": "^4.8.2",
"vite": "^3.1.0",
"typescript": "^4.9.4",
"vite": "^4.0.0",
"vite-plugin-pwa": "workspace:*",
"workbox-core": "^6.5.4",
"workbox-precaching": "^6.5.4",
Expand Down
8 changes: 4 additions & 4 deletions examples/solid-router/package.json
Expand Up @@ -44,17 +44,17 @@
},
"dependencies": {
"solid-app-router": "^0.4.2",
"solid-js": "^1.5.4"
"solid-js": "^1.6.4"
},
"devDependencies": {
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-replace": "^5.0.1",
"cross-env": "^7.0.3",
"https-localhost": "^4.7.1",
"rimraf": "^3.0.2",
"typescript": "^4.8.2",
"typescript": "^4.9.4",
"vite": "^3.1.0",
"vite-plugin-pwa": "workspace:*",
"vite-plugin-solid": "^2.3.0",
"vite-plugin-solid": "^2.5.0",
"workbox-core": "^6.5.4",
"workbox-precaching": "^6.5.4",
"workbox-routing": "^6.5.4",
Expand Down
16 changes: 8 additions & 8 deletions examples/svelte-routify/package.json
Expand Up @@ -44,20 +44,20 @@
"serve": "serve dist"
},
"devDependencies": {
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-replace": "^5.0.1",
"@roxi/routify": "^2.18.8",
"@sveltejs/vite-plugin-svelte": "^1.0.5",
"@sveltejs/vite-plugin-svelte": "^2.0.0",
"@tsconfig/svelte": "^3.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.23.0",
"eslint": "^8.29.0",
"eslint-plugin-svelte3": "^4.0.0",
"https-localhost": "^4.7.1",
"rimraf": "^3.0.2",
"svelte": "^3.50.0",
"svelte-check": "^2.9.0",
"svelte-preprocess": "^4.10.7",
"typescript": "^4.8.2",
"vite": "^3.1.0",
"svelte": "^3.54.0",
"svelte-check": "^2.10.2",
"svelte-preprocess": "^5.0.0",
"typescript": "^4.9.4",
"vite": "^4.0.0",
"vite-plugin-pwa": "workspace:*",
"workbox-core": "^6.5.4",
"workbox-precaching": "^6.5.4",
Expand Down
4 changes: 2 additions & 2 deletions examples/vanilla-ts-dev-options/package.json
Expand Up @@ -15,8 +15,8 @@
"devDependencies": {
"cross-env": "^7.0.3",
"rimraf": "^3.0.2",
"typescript": "^4.8.2",
"vite": "^3.1.0",
"typescript": "^4.9.4",
"vite": "^4.0.0",
"vite-plugin-pwa": "workspace:*"
}
}
12 changes: 6 additions & 6 deletions examples/vue-basic-cdn/package.json
Expand Up @@ -10,16 +10,16 @@
"serve": "serve dist"
},
"dependencies": {
"vue": "^3.2.38"
"vue": "^3.2.45"
},
"devDependencies": {
"@rollup/plugin-replace": "^4.0.0",
"@vitejs/plugin-vue": "^3.1.0",
"@vueuse/core": "^9.2.0",
"@rollup/plugin-replace": "^5.0.1",
"@vitejs/plugin-vue": "^4.0.0",
"@vueuse/core": "^9.6.0",
"cross-env": "^7.0.3",
"https-localhost": "^4.7.1",
"typescript": "^4.8.2",
"vite": "^3.1.0",
"typescript": "^4.9.4",
"vite": "^4.0.0",
"vite-plugin-pwa": "workspace:*"
}
}
14 changes: 7 additions & 7 deletions examples/vue-router/package.json
Expand Up @@ -43,18 +43,18 @@
"serve": "serve dist"
},
"dependencies": {
"vue": "^3.2.38",
"vue-router": "^4.1.5"
"vue": "^3.2.45",
"vue-router": "^4.1.6"
},
"devDependencies": {
"@rollup/plugin-replace": "^4.0.0",
"@vitejs/plugin-vue": "^3.1.0",
"@vueuse/core": "^9.2.0",
"@rollup/plugin-replace": "^5.0.1",
"@vitejs/plugin-vue": "^4.0.0",
"@vueuse/core": "^9.6.0",
"cross-env": "^7.0.3",
"https-localhost": "^4.7.1",
"rimraf": "^3.0.2",
"typescript": "^4.8.2",
"vite": "^3.1.0",
"typescript": "^4.9.4",
"vite": "^4.0.0",
"vite-plugin-pwa": "workspace:*",
"workbox-core": "^6.5.4",
"workbox-precaching": "^6.5.4",
Expand Down
40 changes: 20 additions & 20 deletions package.json
@@ -1,7 +1,7 @@
{
"name": "vite-plugin-pwa",
"version": "0.13.3",
"packageManager": "pnpm@7.12.0",
"packageManager": "pnpm@7.18.1",
"description": "Zero-config PWA for Vite",
"author": "antfu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down Expand Up @@ -65,40 +65,40 @@
"example:vue:start:cdn": "npm -C examples/vue-basic-cdn run start"
},
"peerDependencies": {
"vite": "^3.1.0",
"vite": "^3.1.0 || ^4.0.0",
"workbox-build": "^6.5.4",
"workbox-window": "^6.5.4"
},
"dependencies": {
"debug": "^4.3.4",
"fast-glob": "^3.2.11",
"fast-glob": "^3.2.12",
"pretty-bytes": "^6.0.0",
"rollup": "^2.79.0",
"@rollup/plugin-replace": "^4.0.0",
"rollup": "^3.7.2",
"@rollup/plugin-replace": "^5.0.1",
"workbox-build": "^6.5.4",
"workbox-window": "^6.5.4"
},
"devDependencies": {
"@antfu/eslint-config": "^0.26.3",
"@antfu/ni": "^0.18.0",
"@antfu/eslint-config": "^0.33.1",
"@antfu/ni": "^0.18.8",
"@types/debug": "^4.1.7",
"@types/node": "^18.7.15",
"@types/prompts": "^2.4.0",
"@types/react": "^18.0.18",
"@types/node": "^18.11.12",
"@types/prompts": "^2.4.2",
"@types/react": "^18.0.26",
"@types/workbox-build": "^5.0.1",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"eslint": "^8.23.0",
"@typescript-eslint/eslint-plugin": "^5.46.0",
"eslint": "^8.29.0",
"esno": "0.16.3",
"kolorist": "^1.5.1",
"preact": "^10.10.6",
"kolorist": "^1.6.0",
"preact": "^10.11.3",
"prompts": "^2.4.2",
"react": "^18.2.0",
"rollup": "^2.79.0",
"solid-js": "^1.5.4",
"svelte": "^3.50.0",
"rollup": "^3.7.2",
"solid-js": "^1.6.4",
"svelte": "^3.54.0",
"tsup": "^6.2.3",
"typescript": "^4.8.2",
"vite": "^3.1.0",
"vue": "^3.2.38"
"typescript": "^4.9.4",
"vite": "^4.0.0",
"vue": "^3.2.45"
}
}

0 comments on commit c19785f

Please sign in to comment.