Skip to content

Commit

Permalink
chore: update dependencies (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin authored Dec 30, 2024
1 parent ec0f036 commit 18702f4
Show file tree
Hide file tree
Showing 8 changed files with 1,157 additions and 619 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
with:
node-version: 20
registry-url: https://registry.npmjs.org/
cache: "pnpm"
cache: pnpm
- run: pnpm install
- run: pnpm build
- run: pnpx pkg-pr-new publish --compact --no-template --pnpm
4 changes: 1 addition & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To develop and test the `@vite-pwa/sveltekit` package:

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

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

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`.

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

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


8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ Zero-config PWA Plugin for SvelteKit
</a>
</p>


## 🚀 Features

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

# yarn
# yarn
yarn add @vite-pwa/sveltekit -D

# pnpm
# pnpm
pnpm add @vite-pwa/sveltekit -D
```

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


## 📄 License

[MIT](./LICENSE) License &copy; 2022-PRESENT [Anthony Fu](https://github.com/antfu)
21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@vite-pwa/sveltekit",
"type": "module",
"version": "0.6.6",
"packageManager": "pnpm@9.12.3",
"packageManager": "pnpm@9.15.2",
"description": "Zero-config PWA for SvelteKit",
"author": "antfu <[email protected]>",
"license": "MIT",
Expand All @@ -23,7 +23,7 @@
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs"
"default": "./dist/index.mjs"
},
"./package.json": "./package.json"
},
Expand All @@ -36,8 +36,7 @@
}
},
"files": [
"dist",
"*.d.ts"
"dist"
],
"engines": {
"node": ">=16.14 || >=18.13"
Expand All @@ -53,28 +52,28 @@
"peerDependencies": {
"@sveltejs/kit": "^1.3.1 || ^2.0.1",
"@vite-pwa/assets-generator": "^0.2.6",
"vite-plugin-pwa": ">=0.20.5 <1"
"vite-plugin-pwa": ">=0.21.1 <1"
},
"peerDependenciesMeta": {
"@vite-pwa/assets-generator": {
"optional": true
}
},
"dependencies": {
"tinyglobby": "^0.2.9",
"kolorist": "^1.8.0"
"kolorist": "^1.8.0",
"tinyglobby": "^0.2.9"
},
"devDependencies": {
"@antfu/eslint-config": "^0.43.1",
"@antfu/ni": "^0.21.12",
"@antfu/ni": "^0.23.2",
"@types/debug": "^4.1.8",
"@types/node": "^18.17.15",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"bumpp": "^9.2.0",
"eslint": "^8.55.0",
"typescript": "^5.6.3",
"unbuild": "^2.0.0",
"typescript": "^5.7.2",
"unbuild": "^3.2.0",
"vite": "^5.0.10",
"vite-plugin-pwa": ">=0.20.5 <1"
"vite-plugin-pwa": ">=0.21.1 <1"
}
}
Loading

0 comments on commit 18702f4

Please sign in to comment.