Skip to content

Commit 4a87099

Browse files
committed
chore: update dependencies
1 parent ec0f036 commit 4a87099

File tree

8 files changed

+1157
-619
lines changed

8 files changed

+1157
-619
lines changed

.github/workflows/cr.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
node-version: 20
2828
registry-url: https://registry.npmjs.org/
29-
cache: "pnpm"
29+
cache: pnpm
3030
- run: pnpm install
3131
- run: pnpm build
3232
- run: pnpx pkg-pr-new publish --compact --no-template --pnpm

CONTRIBUTING.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To develop and test the `@vite-pwa/sveltekit` package:
1212

1313
1. Fork the `@vite-pwa/sveltekit` repository to your own GitHub account and then clone it to your local device.
1414

15-
2. Ensure using the latest Node.js (16.14+)
15+
2. Ensure using the latest Node.js (18.13+)
1616

1717
3. `@vite-pwa/sveltekit` uses pnpm v8. If you are working on multiple projects with different versions of pnpm, it's recommend to enable [Corepack](https://github.com/nodejs/corepack) by running `corepack enable`.
1818

@@ -34,5 +34,3 @@ To test your changes locally, change to `examples/sveltekit-ts` folder and run `
3434
Before running tests, you'll need to install [Playwright](https://playwright.dev/) Chromium browser: `pnpm playwright install chromium`.
3535

3636
Run `pnpm run test` in `@vite-pwa/sveltekit`'s root folder or inside `examples/sveltekit-ts` folder after build `@vite-pwa/sveltekit`.
37-
38-

README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ Zero-config PWA Plugin for SvelteKit
2727
</a>
2828
</p>
2929

30-
3130
## 🚀 Features
3231

3332
- 📖 [**Documentation & guides**](https://vite-pwa-org.netlify.app/)
@@ -51,12 +50,12 @@ Zero-config PWA Plugin for SvelteKit
5150
> From v0.2.0, `@vite-pwa/sveltekit` requires **SvelteKit 1.3.1 or above**.
5251
5352
```bash
54-
npm i @vite-pwa/sveltekit -D
53+
npm i @vite-pwa/sveltekit -D
5554

56-
# yarn
55+
# yarn
5756
yarn add @vite-pwa/sveltekit -D
5857

59-
# pnpm
58+
# pnpm
6059
pnpm add @vite-pwa/sveltekit -D
6160
```
6261

@@ -87,7 +86,6 @@ Check out the type declaration [src/types.ts](./src/types.ts) and the following
8786
- [Web app manifests](https://developer.mozilla.org/en-US/docs/Web/Manifest)
8887
- [Workbox](https://developers.google.com/web/tools/workbox)
8988

90-
9189
## 📄 License
9290

9391
[MIT](./LICENSE) License &copy; 2022-PRESENT [Anthony Fu](https://github.com/antfu)

package.json

+10-11
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@vite-pwa/sveltekit",
33
"type": "module",
44
"version": "0.6.6",
5-
"packageManager": "pnpm@9.12.3",
5+
"packageManager": "pnpm@9.15.2",
66
"description": "Zero-config PWA for SvelteKit",
77
"author": "antfu <[email protected]>",
88
"license": "MIT",
@@ -23,7 +23,7 @@
2323
"exports": {
2424
".": {
2525
"types": "./dist/index.d.ts",
26-
"import": "./dist/index.mjs"
26+
"default": "./dist/index.mjs"
2727
},
2828
"./package.json": "./package.json"
2929
},
@@ -36,8 +36,7 @@
3636
}
3737
},
3838
"files": [
39-
"dist",
40-
"*.d.ts"
39+
"dist"
4140
],
4241
"engines": {
4342
"node": ">=16.14 || >=18.13"
@@ -53,28 +52,28 @@
5352
"peerDependencies": {
5453
"@sveltejs/kit": "^1.3.1 || ^2.0.1",
5554
"@vite-pwa/assets-generator": "^0.2.6",
56-
"vite-plugin-pwa": ">=0.20.5 <1"
55+
"vite-plugin-pwa": ">=0.21.1 <1"
5756
},
5857
"peerDependenciesMeta": {
5958
"@vite-pwa/assets-generator": {
6059
"optional": true
6160
}
6261
},
6362
"dependencies": {
64-
"tinyglobby": "^0.2.9",
65-
"kolorist": "^1.8.0"
63+
"kolorist": "^1.8.0",
64+
"tinyglobby": "^0.2.9"
6665
},
6766
"devDependencies": {
6867
"@antfu/eslint-config": "^0.43.1",
69-
"@antfu/ni": "^0.21.12",
68+
"@antfu/ni": "^0.23.2",
7069
"@types/debug": "^4.1.8",
7170
"@types/node": "^18.17.15",
7271
"@typescript-eslint/eslint-plugin": "^6.13.2",
7372
"bumpp": "^9.2.0",
7473
"eslint": "^8.55.0",
75-
"typescript": "^5.6.3",
76-
"unbuild": "^2.0.0",
74+
"typescript": "^5.7.2",
75+
"unbuild": "^3.2.0",
7776
"vite": "^5.0.10",
78-
"vite-plugin-pwa": ">=0.20.5 <1"
77+
"vite-plugin-pwa": ">=0.21.1 <1"
7978
}
8079
}

0 commit comments

Comments
 (0)