@vite-pwa/vitepress 0.5.2 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -6
  2. package/package.json +17 -10
package/README.md CHANGED
@@ -27,7 +27,6 @@ Zero-config PWA Plugin for VitePress
27
27
  </a>
28
28
  </p>
29
29
 
30
-
31
30
  ## 🚀 Features
32
31
 
33
32
  - 📖 [**Documentation & guides**](https://vite-pwa-org.netlify.app/)
@@ -51,12 +50,12 @@ Zero-config PWA Plugin for VitePress
51
50
  > Using any version older than v0.3 requires Vite 3.1.0+.
52
51
 
53
52
  ```bash
54
- npm i @vite-pwa/vitepress -D
53
+ npm i @vite-pwa/vitepress -D
55
54
 
56
- # yarn
55
+ # yarn
57
56
  yarn add @vite-pwa/vitepress -D
58
57
 
59
- # pnpm
58
+ # pnpm
60
59
  pnpm add @vite-pwa/vitepress -D
61
60
  ```
62
61
 
@@ -66,8 +65,8 @@ You will need to wrap your VitePress config with `withPwa`:
66
65
 
67
66
  ```ts
68
67
  // .vitepress/config.ts
69
- import { defineConfig } from 'vitepress'
70
68
  import { withPwa } from '@vite-pwa/vitepress'
69
+ import { defineConfig } from 'vitepress'
71
70
 
72
71
  export default withPwa(defineConfig({
73
72
  /* your VitePress options */
@@ -86,7 +85,6 @@ Check out the type declaration [src/types.ts](./src/types.ts) and the following
86
85
  - [Web app manifests](https://developer.mozilla.org/en-US/docs/Web/Manifest)
87
86
  - [Workbox](https://developers.google.com/web/tools/workbox)
88
87
 
89
-
90
88
  ## 📄 License
91
89
 
92
90
  [MIT](./LICENSE) License &copy; 2022-PRESENT [Anthony Fu](https://github.com/antfu)
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@vite-pwa/vitepress",
3
3
  "type": "module",
4
- "version": "0.5.2",
5
- "packageManager": "pnpm@9.9.0",
4
+ "version": "0.5.4",
5
+ "packageManager": "pnpm@10.7.0",
6
6
  "description": "Zero-config PWA for VitePress",
7
7
  "author": "antfu <anthonyfu117@hotmail.com>",
8
8
  "license": "MIT",
@@ -32,19 +32,19 @@
32
32
  "module": "dist/index.mjs",
33
33
  "types": "dist/index.d.ts",
34
34
  "files": [
35
- "dist",
36
- "*.d.ts"
35
+ "*.d.ts",
36
+ "dist"
37
37
  ],
38
38
  "scripts": {
39
39
  "build": "unbuild",
40
40
  "lint": "eslint .",
41
- "lint-fix": "nr lint --fix",
41
+ "lint:fix": "nr lint --fix",
42
42
  "prepublishOnly": "npm run build",
43
43
  "release": "bumpp && npm publish"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@vite-pwa/assets-generator": "^0.2.6",
47
- "vite-plugin-pwa": ">=0.20.4 <1"
47
+ "vite-plugin-pwa": ">=0.21.2 <1"
48
48
  },
49
49
  "peerDependenciesMeta": {
50
50
  "@vite-pwa/assets-generator": {
@@ -52,17 +52,17 @@
52
52
  }
53
53
  },
54
54
  "devDependencies": {
55
- "@antfu/eslint-config": "^0.43.1",
55
+ "@antfu/eslint-config": "^4.11.0",
56
56
  "@antfu/ni": "^0.21.9",
57
57
  "@types/debug": "^4.1.12",
58
58
  "@typescript-eslint/eslint-plugin": "^6.11.0",
59
59
  "bumpp": "^9.2.0",
60
- "eslint": "^8.54.0",
60
+ "eslint": "^9.23.0",
61
61
  "https-localhost": "^4.7.1",
62
62
  "typescript": "^5.4.5",
63
63
  "unbuild": "^2.0.0",
64
64
  "vite": "^5.2.10",
65
- "vite-plugin-pwa": ">=0.20.4 <1",
65
+ "vite-plugin-pwa": ">=0.21.2 <1",
66
66
  "vitepress": "^1.1.4"
67
67
  },
68
68
  "pnpm": {
@@ -70,6 +70,13 @@
70
70
  "ignoreMissing": [
71
71
  "@algolia/client-search"
72
72
  ]
73
- }
73
+ },
74
+ "ignoredBuiltDependencies": [
75
+ "esbuild",
76
+ "vue-demi"
77
+ ],
78
+ "onlyBuiltDependencies": [
79
+ "sharp"
80
+ ]
74
81
  }
75
82
  }