@docusaurus/plugin-content-pages 0.0.0-4344 → 0.0.0-4353
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 +2 -2
- package/lib/pluginOptionSchema.d.ts +1 -1
- package/package.json +7 -7
- package/src/index.ts +3 -3
- package/src/pluginOptionSchema.ts +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
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
|
-
import { LoadContext, Plugin, OptionValidationContext, ValidationResult } from '@docusaurus/types';
|
|
8
|
-
import { PluginOptions, LoadedContent, PagesContentPaths } from './types';
|
|
7
|
+
import type { LoadContext, Plugin, OptionValidationContext, ValidationResult } from '@docusaurus/types';
|
|
8
|
+
import type { PluginOptions, LoadedContent, PagesContentPaths } from './types';
|
|
9
9
|
export declare function getContentPathList(contentPaths: PagesContentPaths): string[];
|
|
10
10
|
export default function pluginContentPages(context: LoadContext, options: PluginOptions): Promise<Plugin<LoadedContent | null>>;
|
|
11
11
|
export declare function validateOptions({ validate, options, }: OptionValidationContext<PluginOptions>): ValidationResult<PluginOptions>;
|
|
@@ -4,7 +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
|
-
import { PluginOptions } from './types';
|
|
7
|
+
import type { PluginOptions } from './types';
|
|
8
8
|
import { Joi } from '@docusaurus/utils-validation';
|
|
9
9
|
export declare const DEFAULT_OPTIONS: PluginOptions;
|
|
10
10
|
export declare const PluginOptionSchema: Joi.ObjectSchema<any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-content-pages",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-4353",
|
|
4
4
|
"description": "Pages plugin for Docusaurus.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/plugin-content-pages.d.ts",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@docusaurus/core": "0.0.0-
|
|
22
|
-
"@docusaurus/mdx-loader": "0.0.0-
|
|
23
|
-
"@docusaurus/utils": "0.0.0-
|
|
24
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
21
|
+
"@docusaurus/core": "0.0.0-4353",
|
|
22
|
+
"@docusaurus/mdx-loader": "0.0.0-4353",
|
|
23
|
+
"@docusaurus/utils": "0.0.0-4353",
|
|
24
|
+
"@docusaurus/utils-validation": "0.0.0-4353",
|
|
25
25
|
"fs-extra": "^10.0.0",
|
|
26
26
|
"globby": "^11.0.2",
|
|
27
27
|
"remark-admonitions": "^1.2.1",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"webpack": "^5.61.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@docusaurus/types": "0.0.0-
|
|
32
|
+
"@docusaurus/types": "0.0.0-4353"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"react": "^16.8.4 || ^17.0.0",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": ">=14"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "be63846065f268c1867ff53bcfe29275a496f09b"
|
|
42
42
|
}
|
package/src/index.ts
CHANGED
|
@@ -20,18 +20,18 @@ import {
|
|
|
20
20
|
normalizeUrl,
|
|
21
21
|
DEFAULT_PLUGIN_ID,
|
|
22
22
|
} from '@docusaurus/utils';
|
|
23
|
-
import {
|
|
23
|
+
import type {
|
|
24
24
|
LoadContext,
|
|
25
25
|
Plugin,
|
|
26
26
|
OptionValidationContext,
|
|
27
27
|
ValidationResult,
|
|
28
28
|
ConfigureWebpackUtils,
|
|
29
29
|
} from '@docusaurus/types';
|
|
30
|
-
import {Configuration} from 'webpack';
|
|
30
|
+
import type {Configuration} from 'webpack';
|
|
31
31
|
import admonitions from 'remark-admonitions';
|
|
32
32
|
import {PluginOptionSchema} from './pluginOptionSchema';
|
|
33
33
|
|
|
34
|
-
import {
|
|
34
|
+
import type {
|
|
35
35
|
PluginOptions,
|
|
36
36
|
LoadedContent,
|
|
37
37
|
Metadata,
|