@docusaurus/plugin-pwa 0.0.0-4259 → 0.0.0-4264
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/options.d.ts +6 -0
- package/lib/options.js +3 -3
- package/lib/registerSw.js +1 -0
- package/package.json +7 -7
- package/src/options.ts +1 -0
- package/src/registerSw.js +1 -0
package/lib/options.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
1
7
|
import { Joi } from '@docusaurus/utils-validation';
|
|
2
8
|
import type { ThemeConfig, ValidationResult, OptionValidationContext } from '@docusaurus/types';
|
|
3
9
|
import type { PluginOptions } from '@docusaurus/plugin-pwa';
|
package/lib/options.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.validateOptions = exports.Schema = void 0;
|
|
4
|
-
const tslib_1 = require("tslib");
|
|
5
2
|
/**
|
|
6
3
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
4
|
*
|
|
8
5
|
* This source code is licensed under the MIT license found in the
|
|
9
6
|
* LICENSE file in the root directory of this source tree.
|
|
10
7
|
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.validateOptions = exports.Schema = void 0;
|
|
10
|
+
const tslib_1 = require("tslib");
|
|
11
11
|
const path_1 = (0, tslib_1.__importDefault)(require("path"));
|
|
12
12
|
const utils_validation_1 = require("@docusaurus/utils-validation");
|
|
13
13
|
const DEFAULT_OPTIONS = {
|
package/lib/registerSw.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-pwa",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-4264",
|
|
4
4
|
"description": "Docusaurus Plugin to add PWA support.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/plugin-pwa.d.ts",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.0",
|
|
24
24
|
"@babel/plugin-proposal-optional-chaining": "^7.16.0",
|
|
25
25
|
"@babel/preset-env": "^7.16.4",
|
|
26
|
-
"@docusaurus/theme-common": "0.0.0-
|
|
27
|
-
"@docusaurus/theme-translations": "0.0.0-
|
|
28
|
-
"@docusaurus/utils": "0.0.0-
|
|
29
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
26
|
+
"@docusaurus/theme-common": "0.0.0-4264",
|
|
27
|
+
"@docusaurus/theme-translations": "0.0.0-4264",
|
|
28
|
+
"@docusaurus/utils": "0.0.0-4264",
|
|
29
|
+
"@docusaurus/utils-validation": "0.0.0-4264",
|
|
30
30
|
"babel-loader": "^8.2.2",
|
|
31
31
|
"clsx": "^1.1.1",
|
|
32
32
|
"core-js": "^3.18.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"workbox-window": "^6.1.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@docusaurus/module-type-aliases": "0.0.0-
|
|
41
|
+
"@docusaurus/module-type-aliases": "0.0.0-4264",
|
|
42
42
|
"fs-extra": "^10.0.0"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"react": "^16.8.4 || ^17.0.0",
|
|
48
48
|
"react-dom": "^16.8.4 || ^17.0.0"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "400c1beee8fb044fff2893744325a35824f5076b"
|
|
51
51
|
}
|
package/src/options.ts
CHANGED
package/src/registerSw.js
CHANGED