@vite-pwa/vitepress 0.4.0 → 0.5.1
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.
- package/README.md +1 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ Zero-config PWA Plugin for VitePress
|
|
|
40
40
|
- ⚙️ **Stale-while-revalidate**: automatic reload when new content is available
|
|
41
41
|
- ✨ **Static assets handling**: configure static assets for offline support
|
|
42
42
|
- 🐞 **Development Support**: debug your custom service worker logic as you develop your application
|
|
43
|
-
- 🛠️ **Versatile**: integration with meta frameworks: [îles](https://github.com/ElMassimo/iles), [SvelteKit](https://github.com/sveltejs/kit), [VitePress](https://github.com/vuejs/vitepress), [Astro](https://github.com/withastro/astro),
|
|
43
|
+
- 🛠️ **Versatile**: integration with meta frameworks: [îles](https://github.com/ElMassimo/iles), [SvelteKit](https://github.com/sveltejs/kit), [VitePress](https://github.com/vuejs/vitepress), [Astro](https://github.com/withastro/astro), [Nuxt 3](https://github.com/nuxt/nuxt) and [Remix](https://github.com/remix-run/remix)
|
|
44
44
|
- 💥 **PWA Assets Generator**: generate all the PWA assets from a single command and a single source image
|
|
45
45
|
- 🚀 **PWA Assets Integration**: serving, generating and injecting PWA Assets on the fly in your application
|
|
46
46
|
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as vitepress_dist_node from 'vitepress/dist/node';
|
|
2
1
|
import { DefaultTheme, UserConfigExport } from 'vitepress';
|
|
3
2
|
import { VitePWAOptions } from 'vite-plugin-pwa';
|
|
4
3
|
|
|
@@ -20,6 +19,6 @@ declare module 'vitepress' {
|
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
21
|
|
|
23
|
-
declare function withPwa<T = DefaultTheme.Config>(config: UserConfigExport<T>): Promise<
|
|
22
|
+
declare function withPwa<T = DefaultTheme.Config>(config: UserConfigExport<T>): Promise<UserConfigExport<T>>;
|
|
24
23
|
|
|
25
24
|
export { type PwaOptions, withPwa };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as vitepress_dist_node from 'vitepress/dist/node';
|
|
2
1
|
import { DefaultTheme, UserConfigExport } from 'vitepress';
|
|
3
2
|
import { VitePWAOptions } from 'vite-plugin-pwa';
|
|
4
3
|
|
|
@@ -20,6 +19,6 @@ declare module 'vitepress' {
|
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
21
|
|
|
23
|
-
declare function withPwa<T = DefaultTheme.Config>(config: UserConfigExport<T>): Promise<
|
|
22
|
+
declare function withPwa<T = DefaultTheme.Config>(config: UserConfigExport<T>): Promise<UserConfigExport<T>>;
|
|
24
23
|
|
|
25
24
|
export { type PwaOptions, withPwa };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as vitepress_dist_node from 'vitepress/dist/node';
|
|
2
1
|
import { DefaultTheme, UserConfigExport } from 'vitepress';
|
|
3
2
|
import { VitePWAOptions } from 'vite-plugin-pwa';
|
|
4
3
|
|
|
@@ -20,6 +19,6 @@ declare module 'vitepress' {
|
|
|
20
19
|
}
|
|
21
20
|
}
|
|
22
21
|
|
|
23
|
-
declare function withPwa<T = DefaultTheme.Config>(config: UserConfigExport<T>): Promise<
|
|
22
|
+
declare function withPwa<T = DefaultTheme.Config>(config: UserConfigExport<T>): Promise<UserConfigExport<T>>;
|
|
24
23
|
|
|
25
24
|
export { type PwaOptions, withPwa };
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vite-pwa/vitepress",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@
|
|
4
|
+
"version": "0.5.1",
|
|
5
|
+
"packageManager": "pnpm@9.9.0",
|
|
6
6
|
"description": "Zero-config PWA for VitePress",
|
|
7
7
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
8
8
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"homepage": "https://github.com/vite-pwa/vitepress#readme",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "https://github.com/vite-pwa/vitepress.git"
|
|
13
|
+
"url": "git+https://github.com/vite-pwa/vitepress.git"
|
|
14
14
|
},
|
|
15
15
|
"bugs": "https://github.com/vite-pwa/vitepress/issues",
|
|
16
16
|
"keywords": [
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@vite-pwa/assets-generator": "^0.2.4",
|
|
46
|
-
"vite-plugin-pwa": ">=0.
|
|
46
|
+
"vite-plugin-pwa": ">=0.20.3 <1"
|
|
47
47
|
},
|
|
48
48
|
"peerDependenciesMeta": {
|
|
49
49
|
"@vite-pwa/assets-generator": {
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
"bumpp": "^9.2.0",
|
|
59
59
|
"eslint": "^8.54.0",
|
|
60
60
|
"https-localhost": "^4.7.1",
|
|
61
|
-
"typescript": "^5.
|
|
61
|
+
"typescript": "^5.4.5",
|
|
62
62
|
"unbuild": "^2.0.0",
|
|
63
|
-
"vite": "^5.
|
|
64
|
-
"vite-plugin-pwa": ">=0.
|
|
65
|
-
"vitepress": "1.
|
|
63
|
+
"vite": "^5.2.10",
|
|
64
|
+
"vite-plugin-pwa": ">=0.20.3 <1",
|
|
65
|
+
"vitepress": "^1.1.4"
|
|
66
66
|
},
|
|
67
67
|
"pnpm": {
|
|
68
68
|
"peerDependencyRules": {
|