Skip to content

Commit

Permalink
feat!: Vite 4 support (#14)
Browse files Browse the repository at this point in the history
* feat: remove rollup assets file names

* chore: add Vite 4 support

* chore: deprecate kit base option

* chore: include kit ^1.0.0 as peer dependency

* docs: remove vite and node versions
  • Loading branch information
userquin committed Dec 24, 2022
1 parent 0f98596 commit f39a0d0
Show file tree
Hide file tree
Showing 7 changed files with 1,071 additions and 1,075 deletions.
2 changes: 0 additions & 2 deletions README.md
Expand Up @@ -43,8 +43,6 @@ Zero-config PWA Plugin for SvelteKit

## 📦 Install

> Requires Vite 3.2.0+ and Node 16.14+
```bash
npm i @vite-pwa/sveltekit -D

Expand Down
20 changes: 10 additions & 10 deletions examples/sveltekit-ts/package.json
Expand Up @@ -12,20 +12,20 @@
"lint-fix": "nr lint --fix"
},
"devDependencies": {
"@sveltejs/adapter-static": "next",
"@sveltejs/kit": "next",
"@sveltejs/adapter-static": "^1.0.0",
"@sveltejs/kit": "^1.0.1",
"@types/cookie": "^0.5.1",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@typescript-eslint/eslint-plugin": "^5.46.0",
"@typescript-eslint/parser": "^5.46.0",
"@vite-pwa/sveltekit": "workspace:*",
"eslint": "^8.27.0",
"eslint": "^8.29.0",
"eslint-plugin-svelte3": "^4.0.0",
"svelte": "^3.52.0",
"svelte-check": "^2.9.2",
"svelte-preprocess": "^4.10.7",
"svelte": "^3.54.0",
"svelte-check": "^2.10.2",
"svelte-preprocess": "^5.0.0",
"tslib": "^2.4.1",
"typescript": "^4.8.4",
"vite": "^3.2.3"
"typescript": "^4.9.4",
"vite": "^4.0.0"
},
"type": "module",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/sveltekit-ts/vite.config.ts
Expand Up @@ -62,7 +62,7 @@ const config: UserConfig = {
type: 'module',
navigateFallback: '/',
},
// if you have shared info in svelte config file put in a separate module and use it also herenr lint
// if you have shared info in svelte config file put in a separate module and use it also here
kit: {}
}
)]
Expand Down
29 changes: 13 additions & 16 deletions package.json
Expand Up @@ -2,7 +2,7 @@
"name": "@vite-pwa/sveltekit",
"type": "module",
"version": "0.0.1",
"packageManager": "pnpm@7.14.2",
"packageManager": "pnpm@7.18.1",
"description": "Zero-config PWA for SvelteKit",
"author": "antfu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down Expand Up @@ -49,24 +49,21 @@
"release": "npx bumpp --push --tag --commit && npm publish"
},
"peerDependencies": {
"vite-plugin-pwa": "^0.13.3",
"@types/workbox-build": "^5.0.1"
"@sveltejs/kit": "^1.0.0",
"vite-plugin-pwa": "^0.14.0"
},
"devDependencies": {
"@antfu/eslint-config": "^0.29.4",
"@antfu/ni": "^0.18.3",
"@antfu/eslint-config": "^0.33.1",
"@antfu/ni": "^0.18.8",
"@types/debug": "^4.1.7",
"@types/node": "^18.11.9",
"@types/prompts": "^2.4.1",
"@types/node": "^18.11.13",
"@types/workbox-build": "^5.0.1",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"eslint": "^8.27.0",
"kolorist": "^1.6.0",
"prompts": "^2.4.2",
"svelte": "^3.52.0",
"typescript": "^4.8.4",
"unbuild": "^0.9.4",
"vite": "^3.2.3",
"vite-plugin-pwa": "^0.13.3"
"@typescript-eslint/eslint-plugin": "^5.46.0",
"eslint": "^8.29.0",
"svelte": "^3.54.0",
"typescript": "^4.9.4",
"unbuild": "^1.0.2",
"vite": "^4.0.0",
"vite-plugin-pwa": "^0.14.0"
}
}

0 comments on commit f39a0d0

Please sign in to comment.