@docusaurus/plugin-content-blog 0.0.0-4940 → 0.0.0-4945
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/types.d.ts +1 -2
- package/package.json +9 -9
- package/src/index.ts +3 -7
- package/src/plugin-content-blog.d.ts +3 -4
- package/src/types.ts +1 -2
package/lib/types.d.ts
CHANGED
|
@@ -4,8 +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 { BrokenMarkdownLink, ContentPaths } from '@docusaurus/utils';
|
|
8
|
-
import type { Tag } from '@docusaurus/types';
|
|
7
|
+
import type { BrokenMarkdownLink, ContentPaths, Tag } from '@docusaurus/utils';
|
|
9
8
|
import type { BlogPostMetadata } from '@docusaurus/plugin-content-blog';
|
|
10
9
|
import type { Metadata as BlogPaginatedMetadata } from '@theme/BlogListPage';
|
|
11
10
|
export declare type BlogContentPaths = ContentPaths;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-content-blog",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-4945",
|
|
4
4
|
"description": "Blog plugin for Docusaurus.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/plugin-content-blog.d.ts",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@docusaurus/core": "0.0.0-
|
|
22
|
-
"@docusaurus/logger": "0.0.0-
|
|
23
|
-
"@docusaurus/mdx-loader": "0.0.0-
|
|
24
|
-
"@docusaurus/utils": "0.0.0-
|
|
25
|
-
"@docusaurus/utils-common": "0.0.0-
|
|
26
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
21
|
+
"@docusaurus/core": "0.0.0-4945",
|
|
22
|
+
"@docusaurus/logger": "0.0.0-4945",
|
|
23
|
+
"@docusaurus/mdx-loader": "0.0.0-4945",
|
|
24
|
+
"@docusaurus/utils": "0.0.0-4945",
|
|
25
|
+
"@docusaurus/utils-common": "0.0.0-4945",
|
|
26
|
+
"@docusaurus/utils-validation": "0.0.0-4945",
|
|
27
27
|
"cheerio": "^1.0.0-rc.10",
|
|
28
28
|
"feed": "^4.2.2",
|
|
29
29
|
"fs-extra": "^10.1.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"webpack": "^5.72.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@docusaurus/types": "0.0.0-
|
|
39
|
+
"@docusaurus/types": "0.0.0-4945",
|
|
40
40
|
"escape-string-regexp": "^4.0.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=14"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "a3b20e1bfad392b7f91afef66de502e41a3adcb4"
|
|
50
50
|
}
|
package/src/index.ts
CHANGED
|
@@ -20,6 +20,8 @@ import {
|
|
|
20
20
|
getContentPathList,
|
|
21
21
|
getDataFilePath,
|
|
22
22
|
DEFAULT_PLUGIN_ID,
|
|
23
|
+
type TagsListItem,
|
|
24
|
+
type TagModule,
|
|
23
25
|
} from '@docusaurus/utils';
|
|
24
26
|
import {translateContent, getTranslationFiles} from './translations';
|
|
25
27
|
|
|
@@ -31,13 +33,7 @@ import type {
|
|
|
31
33
|
BlogContentPaths,
|
|
32
34
|
BlogMarkdownLoaderOptions,
|
|
33
35
|
} from './types';
|
|
34
|
-
import type {
|
|
35
|
-
LoadContext,
|
|
36
|
-
Plugin,
|
|
37
|
-
HtmlTags,
|
|
38
|
-
TagsListItem,
|
|
39
|
-
TagModule,
|
|
40
|
-
} from '@docusaurus/types';
|
|
36
|
+
import type {LoadContext, Plugin, HtmlTags} from '@docusaurus/types';
|
|
41
37
|
import {
|
|
42
38
|
generateBlogPosts,
|
|
43
39
|
getSourceToPermalink,
|
|
@@ -7,9 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
declare module '@docusaurus/plugin-content-blog' {
|
|
9
9
|
import type {MDXOptions} from '@docusaurus/mdx-loader';
|
|
10
|
-
import type {FrontMatterTag} from '@docusaurus/utils';
|
|
10
|
+
import type {FrontMatterTag, Tag} from '@docusaurus/utils';
|
|
11
11
|
import type {Overwrite} from 'utility-types';
|
|
12
|
-
import type {Tag} from '@docusaurus/types';
|
|
13
12
|
|
|
14
13
|
export type Assets = {
|
|
15
14
|
/**
|
|
@@ -487,7 +486,7 @@ declare module '@theme/BlogListPage' {
|
|
|
487
486
|
|
|
488
487
|
declare module '@theme/BlogTagsListPage' {
|
|
489
488
|
import type {BlogSidebar} from '@docusaurus/plugin-content-blog';
|
|
490
|
-
import type {TagsListItem} from '@docusaurus/
|
|
489
|
+
import type {TagsListItem} from '@docusaurus/utils';
|
|
491
490
|
|
|
492
491
|
export interface Props {
|
|
493
492
|
/** Blog sidebar. */
|
|
@@ -503,7 +502,7 @@ declare module '@theme/BlogTagsPostsPage' {
|
|
|
503
502
|
import type {BlogSidebar} from '@docusaurus/plugin-content-blog';
|
|
504
503
|
import type {Content} from '@theme/BlogPostPage';
|
|
505
504
|
import type {Metadata} from '@theme/BlogListPage';
|
|
506
|
-
import type {TagModule} from '@docusaurus/
|
|
505
|
+
import type {TagModule} from '@docusaurus/utils';
|
|
507
506
|
|
|
508
507
|
export interface Props {
|
|
509
508
|
/** Blog sidebar. */
|
package/src/types.ts
CHANGED
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import type {BrokenMarkdownLink, ContentPaths} from '@docusaurus/utils';
|
|
9
|
-
import type {Tag} from '@docusaurus/types';
|
|
8
|
+
import type {BrokenMarkdownLink, ContentPaths, Tag} from '@docusaurus/utils';
|
|
10
9
|
import type {BlogPostMetadata} from '@docusaurus/plugin-content-blog';
|
|
11
10
|
import type {Metadata as BlogPaginatedMetadata} from '@theme/BlogListPage';
|
|
12
11
|
|