@docusaurus/plugin-pwa 3.2.1 → 3.3.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/lib/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../src/plugin-pwa.d.ts" />
|
|
7
8
|
import type { LoadContext, Plugin } from '@docusaurus/types';
|
|
8
9
|
import type { PluginOptions } from '@docusaurus/plugin-pwa';
|
|
9
10
|
export default function pluginPWA(context: LoadContext, options: PluginOptions): Plugin<void>;
|
package/lib/options.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../src/plugin-pwa.d.ts" />
|
|
7
8
|
import type { OptionValidationContext } from '@docusaurus/types';
|
|
8
9
|
import type { PluginOptions } from '@docusaurus/plugin-pwa';
|
|
9
10
|
export declare function validateOptions({ validate, options, }: OptionValidationContext<PluginOptions, PluginOptions>): PluginOptions;
|
|
@@ -4,5 +4,6 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../src/plugin-pwa.d.ts" />
|
|
7
8
|
import type { Props } from '@theme/PwaReloadPopup';
|
|
8
9
|
export declare function renderReloadPopup(props: Props): Promise<void>;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../../../src/plugin-pwa.d.ts" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/PwaReloadPopup';
|
|
9
10
|
export default function PwaReloadPopup({ onReload }: Props): JSX.Element | false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-pwa",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"description": "Docusaurus Plugin to add PWA support.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/plugin-pwa.d.ts",
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@babel/core": "^7.23.3",
|
|
24
24
|
"@babel/preset-env": "^7.23.3",
|
|
25
|
-
"@docusaurus/core": "3.
|
|
26
|
-
"@docusaurus/theme-common": "3.
|
|
27
|
-
"@docusaurus/theme-translations": "3.
|
|
28
|
-
"@docusaurus/types": "3.
|
|
29
|
-
"@docusaurus/utils": "3.
|
|
30
|
-
"@docusaurus/utils-validation": "3.
|
|
25
|
+
"@docusaurus/core": "3.3.1",
|
|
26
|
+
"@docusaurus/theme-common": "3.3.1",
|
|
27
|
+
"@docusaurus/theme-translations": "3.3.1",
|
|
28
|
+
"@docusaurus/types": "3.3.0",
|
|
29
|
+
"@docusaurus/utils": "3.3.0",
|
|
30
|
+
"@docusaurus/utils-validation": "3.3.0",
|
|
31
31
|
"babel-loader": "^9.1.3",
|
|
32
32
|
"clsx": "^2.0.0",
|
|
33
33
|
"core-js": "^3.31.1",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"workbox-window": "^7.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@docusaurus/module-type-aliases": "3.
|
|
44
|
+
"@docusaurus/module-type-aliases": "3.3.1",
|
|
45
45
|
"fs-extra": "^11.1.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"engines": {
|
|
52
52
|
"node": ">=18.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "f3524cf332e803ff82783ee9c1c86c4342fc1f71"
|
|
55
55
|
}
|