@docusaurus/plugin-content-pages 0.0.0-5010 → 0.0.0-5023

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 CHANGED
@@ -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 type { PluginOptions, Options } from '@docusaurus/plugin-content-pages';
8
7
  import type { OptionValidationContext } from '@docusaurus/types';
8
+ import type { PluginOptions, Options } from '@docusaurus/plugin-content-pages';
9
9
  export declare const DEFAULT_OPTIONS: PluginOptions;
10
10
  export declare function validateOptions({ validate, options, }: OptionValidationContext<Options, PluginOptions>): PluginOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-content-pages",
3
- "version": "0.0.0-5010",
3
+ "version": "0.0.0-5023",
4
4
  "description": "Pages plugin for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-content-pages.d.ts",
@@ -18,17 +18,17 @@
18
18
  },
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
- "@docusaurus/core": "0.0.0-5010",
22
- "@docusaurus/mdx-loader": "0.0.0-5010",
23
- "@docusaurus/utils": "0.0.0-5010",
24
- "@docusaurus/utils-validation": "0.0.0-5010",
21
+ "@docusaurus/core": "0.0.0-5023",
22
+ "@docusaurus/mdx-loader": "0.0.0-5023",
23
+ "@docusaurus/utils": "0.0.0-5023",
24
+ "@docusaurus/utils-validation": "0.0.0-5023",
25
25
  "fs-extra": "^10.1.0",
26
26
  "remark-admonitions": "^1.2.1",
27
27
  "tslib": "^2.4.0",
28
28
  "webpack": "^5.72.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@docusaurus/types": "0.0.0-5010"
31
+ "@docusaurus/types": "0.0.0-5023"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "react": "^16.8.4 || ^17.0.0",
@@ -37,5 +37,5 @@
37
37
  "engines": {
38
38
  "node": ">=14"
39
39
  },
40
- "gitHead": "d4c0feac2c3c1cd9853af197a8a539832700e541"
40
+ "gitHead": "e982ebda1c6b2210cce9d2b972f441f3ef3201ac"
41
41
  }
package/src/index.ts CHANGED
@@ -21,10 +21,10 @@ import {
21
21
  DEFAULT_PLUGIN_ID,
22
22
  parseMarkdownString,
23
23
  } from '@docusaurus/utils';
24
- import type {LoadContext, Plugin} from '@docusaurus/types';
25
24
  import admonitions from 'remark-admonitions';
26
25
  import {validatePageFrontMatter} from './frontMatter';
27
26
 
27
+ import type {LoadContext, Plugin} from '@docusaurus/types';
28
28
  import type {PagesContentPaths} from './types';
29
29
  import type {
30
30
  PluginOptions,
package/src/options.ts CHANGED
@@ -5,7 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import type {PluginOptions, Options} from '@docusaurus/plugin-content-pages';
9
8
  import {
10
9
  Joi,
11
10
  RemarkPluginsSchema,
@@ -14,6 +13,7 @@ import {
14
13
  } from '@docusaurus/utils-validation';
15
14
  import {GlobExcludeDefault} from '@docusaurus/utils';
16
15
  import type {OptionValidationContext} from '@docusaurus/types';
16
+ import type {PluginOptions, Options} from '@docusaurus/plugin-content-pages';
17
17
 
18
18
  export const DEFAULT_OPTIONS: PluginOptions = {
19
19
  path: 'src/pages', // Path to data on filesystem, relative to site dir.