@docusaurus/plugin-pwa 0.0.0-5980 → 0.0.0-5982

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,7 +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" />
8
7
  import type { LoadContext, Plugin } from '@docusaurus/types';
9
8
  import type { PluginOptions } from '@docusaurus/plugin-pwa';
10
9
  export default function pluginPWA(context: LoadContext, options: PluginOptions): Plugin<void>;
package/lib/index.js CHANGED
@@ -7,6 +7,7 @@
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.validateOptions = void 0;
10
+ exports.default = pluginPWA;
10
11
  const tslib_1 = require("tslib");
11
12
  const path_1 = tslib_1.__importDefault(require("path"));
12
13
  const webpack_1 = tslib_1.__importDefault(require("webpack"));
@@ -165,6 +166,5 @@ function pluginPWA(context, options) {
165
166
  },
166
167
  };
167
168
  }
168
- exports.default = pluginPWA;
169
169
  var options_1 = require("./options");
170
170
  Object.defineProperty(exports, "validateOptions", { enumerable: true, get: function () { return options_1.validateOptions; } });
package/lib/options.d.ts CHANGED
@@ -4,7 +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" />
8
7
  import type { OptionValidationContext } from '@docusaurus/types';
9
8
  import type { PluginOptions } from '@docusaurus/plugin-pwa';
10
9
  export declare function validateOptions({ validate, options, }: OptionValidationContext<PluginOptions, PluginOptions>): PluginOptions;
package/lib/options.js CHANGED
@@ -6,7 +6,7 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.validateOptions = void 0;
9
+ exports.validateOptions = validateOptions;
10
10
  const utils_validation_1 = require("@docusaurus/utils-validation");
11
11
  const DEFAULT_OPTIONS = {
12
12
  debug: false,
@@ -43,4 +43,3 @@ const optionsSchema = utils_validation_1.Joi.object({
43
43
  function validateOptions({ validate, options, }) {
44
44
  return validate(optionsSchema, options);
45
45
  }
46
- exports.validateOptions = validateOptions;
@@ -4,6 +4,5 @@
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" />
8
7
  import type { Props } from '@theme/PwaReloadPopup';
9
8
  export declare function renderReloadPopup(props: Props): Promise<void>;
@@ -4,7 +4,5 @@
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" />
8
- /// <reference types="react" />
9
7
  import type { Props } from '@theme/PwaReloadPopup';
10
8
  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": "0.0.0-5980",
3
+ "version": "0.0.0-5982",
4
4
  "description": "Docusaurus Plugin to add PWA support.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-pwa.d.ts",
@@ -22,13 +22,13 @@
22
22
  "dependencies": {
23
23
  "@babel/core": "^7.23.3",
24
24
  "@babel/preset-env": "^7.23.3",
25
- "@docusaurus/core": "0.0.0-5980",
26
- "@docusaurus/logger": "0.0.0-5980",
27
- "@docusaurus/theme-common": "0.0.0-5980",
28
- "@docusaurus/theme-translations": "0.0.0-5980",
29
- "@docusaurus/types": "0.0.0-5980",
30
- "@docusaurus/utils": "0.0.0-5980",
31
- "@docusaurus/utils-validation": "0.0.0-5980",
25
+ "@docusaurus/core": "0.0.0-5982",
26
+ "@docusaurus/logger": "0.0.0-5982",
27
+ "@docusaurus/theme-common": "0.0.0-5982",
28
+ "@docusaurus/theme-translations": "0.0.0-5982",
29
+ "@docusaurus/types": "0.0.0-5982",
30
+ "@docusaurus/utils": "0.0.0-5982",
31
+ "@docusaurus/utils-validation": "0.0.0-5982",
32
32
  "babel-loader": "^9.1.3",
33
33
  "clsx": "^2.0.0",
34
34
  "core-js": "^3.31.1",
@@ -42,7 +42,7 @@
42
42
  "workbox-window": "^7.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@docusaurus/module-type-aliases": "0.0.0-5980",
45
+ "@docusaurus/module-type-aliases": "0.0.0-5982",
46
46
  "fs-extra": "^11.1.0"
47
47
  },
48
48
  "peerDependencies": {
@@ -52,5 +52,5 @@
52
52
  "engines": {
53
53
  "node": ">=18.0"
54
54
  },
55
- "gitHead": "4e1df4e2a6167a6c8dfe3f0a1912b69cad0d6d5f"
55
+ "gitHead": "8b6a944282857a6fc8e184e8b56109238ce50924"
56
56
  }