@docusaurus/plugin-content-docs 3.7.0-canary-6310 → 3.7.0-canary-6313
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.js +0 -6
- package/package.json +11 -11
- package/src/index.ts +0 -7
package/lib/index.js
CHANGED
|
@@ -32,12 +32,6 @@ const contentHelpers_1 = require("./contentHelpers");
|
|
|
32
32
|
// Problem documented here: https://github.com/facebook/docusaurus/pull/10934
|
|
33
33
|
// TODO this is not a perfect solution, find better?
|
|
34
34
|
async function createMdxLoaderDependencyFile({ dataDir, options, versionsMetadata, }) {
|
|
35
|
-
// TODO this has been temporarily made opt-in until Rspack cache bug is fixed
|
|
36
|
-
// See https://github.com/facebook/docusaurus/pull/10931
|
|
37
|
-
// See https://github.com/facebook/docusaurus/pull/10934#issuecomment-2672253145
|
|
38
|
-
if (!process.env.DOCUSAURUS_ENABLE_MDX_DEPENDENCY_FILE) {
|
|
39
|
-
return undefined;
|
|
40
|
-
}
|
|
41
35
|
const filePath = path_1.default.join(dataDir, '__mdx-loader-dependency.json');
|
|
42
36
|
// the cache is invalidated whenever this file content changes
|
|
43
37
|
const fileContent = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-content-docs",
|
|
3
|
-
"version": "3.7.0-canary-
|
|
3
|
+
"version": "3.7.0-canary-6313",
|
|
4
4
|
"description": "Docs plugin for Docusaurus.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
},
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@docusaurus/core": "3.7.0-canary-
|
|
39
|
-
"@docusaurus/logger": "3.7.0-canary-
|
|
40
|
-
"@docusaurus/mdx-loader": "3.7.0-canary-
|
|
41
|
-
"@docusaurus/module-type-aliases": "3.7.0-canary-
|
|
42
|
-
"@docusaurus/theme-common": "3.7.0-canary-
|
|
43
|
-
"@docusaurus/types": "3.7.0-canary-
|
|
44
|
-
"@docusaurus/utils": "3.7.0-canary-
|
|
45
|
-
"@docusaurus/utils-common": "3.7.0-canary-
|
|
46
|
-
"@docusaurus/utils-validation": "3.7.0-canary-
|
|
38
|
+
"@docusaurus/core": "3.7.0-canary-6313",
|
|
39
|
+
"@docusaurus/logger": "3.7.0-canary-6313",
|
|
40
|
+
"@docusaurus/mdx-loader": "3.7.0-canary-6313",
|
|
41
|
+
"@docusaurus/module-type-aliases": "3.7.0-canary-6313",
|
|
42
|
+
"@docusaurus/theme-common": "3.7.0-canary-6313",
|
|
43
|
+
"@docusaurus/types": "3.7.0-canary-6313",
|
|
44
|
+
"@docusaurus/utils": "3.7.0-canary-6313",
|
|
45
|
+
"@docusaurus/utils-common": "3.7.0-canary-6313",
|
|
46
|
+
"@docusaurus/utils-validation": "3.7.0-canary-6313",
|
|
47
47
|
"@types/react-router-config": "^5.0.7",
|
|
48
48
|
"combine-promises": "^1.1.0",
|
|
49
49
|
"fs-extra": "^11.1.1",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": ">=18.0"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "9e3b01a35981d62fc38c796b6e358d488c8fe5fe"
|
|
71
71
|
}
|
package/src/index.ts
CHANGED
|
@@ -77,13 +77,6 @@ async function createMdxLoaderDependencyFile({
|
|
|
77
77
|
options: PluginOptions;
|
|
78
78
|
versionsMetadata: VersionMetadata[];
|
|
79
79
|
}): Promise<string | undefined> {
|
|
80
|
-
// TODO this has been temporarily made opt-in until Rspack cache bug is fixed
|
|
81
|
-
// See https://github.com/facebook/docusaurus/pull/10931
|
|
82
|
-
// See https://github.com/facebook/docusaurus/pull/10934#issuecomment-2672253145
|
|
83
|
-
if (!process.env.DOCUSAURUS_ENABLE_MDX_DEPENDENCY_FILE) {
|
|
84
|
-
return undefined;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
80
|
const filePath = path.join(dataDir, '__mdx-loader-dependency.json');
|
|
88
81
|
// the cache is invalidated whenever this file content changes
|
|
89
82
|
const fileContent = {
|