@docusaurus/core 3.10.1 → 4.0.0-canary-6808
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/bin/beforeCli.mjs +9 -11
- package/lib/client/BaseUrlIssueBanner/index.js +1 -1
- package/lib/client/exports/ComponentCreator.js +0 -2
- package/lib/client/exports/Link.d.ts +3 -3
- package/lib/client/exports/Link.js +17 -17
- package/lib/client/exports/isInternalUrl.js +1 -1
- package/lib/client/preload.js +1 -3
- package/lib/client/serverEntry.js +1 -6
- package/lib/client/serverHelmetUtils.js +0 -1
- package/lib/commands/build/buildLocale.d.ts +1 -1
- package/lib/commands/build/buildLocale.js +0 -4
- package/lib/commands/build/buildUtils.d.ts +1 -1
- package/lib/commands/cli.js +3 -0
- package/lib/commands/deploy.js +39 -56
- package/lib/commands/serve.js +3 -2
- package/lib/commands/start/start.d.ts +3 -0
- package/lib/commands/start/webpack.js +20 -2
- package/lib/commands/swizzle/actions.js +5 -0
- package/lib/commands/utils/listenToServer.d.ts +5 -0
- package/lib/commands/utils/listenToServer.js +24 -0
- package/lib/commands/utils/openBrowser/openBrowser.js +3 -3
- package/lib/commands/writeHeadingIds.js +3 -3
- package/lib/server/codegen/codegenRoutes.js +0 -1
- package/lib/server/config.js +1 -1
- package/lib/server/configValidation.js +11 -17
- package/lib/server/getHostPort.js +1 -2
- package/lib/server/htmlTags.js +2 -3
- package/lib/server/i18n.js +2 -6
- package/lib/server/plugins/plugins.js +1 -9
- package/lib/server/site.js +2 -1
- package/lib/server/siteMetadata.d.ts +6 -1
- package/lib/server/siteMetadata.js +15 -12
- package/lib/server/translations/translations.js +1 -1
- package/lib/ssg/ssgEnv.js +2 -3
- package/lib/ssg/ssgExecutor.js +22 -5
- package/lib/ssg/ssgGlobalResult.js +1 -10
- package/lib/ssg/ssgParams.d.ts +0 -1
- package/lib/ssg/ssgParams.js +0 -1
- package/lib/ssg/ssgRenderer.js +1 -5
- package/lib/ssg/ssgTemplate.js +4 -6
- package/lib/ssg/ssgWorkerThread.js +0 -1
- package/lib/webpack/base.js +12 -22
- package/lib/webpack/server.js +1 -1
- package/lib/webpack/utils/getHttpsConfig.d.ts +7 -1
- package/lib/webpack/utils/getHttpsConfig.js +93 -32
- package/package.json +41 -41
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/core",
|
|
3
3
|
"description": "Easy to Maintain Open Source Documentation Websites",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "4.0.0-canary-6808",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -33,31 +33,30 @@
|
|
|
33
33
|
"url": "https://github.com/facebook/docusaurus/issues"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@docusaurus/babel": "
|
|
37
|
-
"@docusaurus/bundler": "
|
|
38
|
-
"@docusaurus/logger": "
|
|
39
|
-
"@docusaurus/mdx-loader": "
|
|
40
|
-
"@docusaurus/utils": "
|
|
41
|
-
"@docusaurus/utils-common": "
|
|
42
|
-
"@docusaurus/utils-validation": "
|
|
36
|
+
"@docusaurus/babel": "4.0.0-canary-6808",
|
|
37
|
+
"@docusaurus/bundler": "4.0.0-canary-6808",
|
|
38
|
+
"@docusaurus/logger": "4.0.0-canary-6808",
|
|
39
|
+
"@docusaurus/mdx-loader": "4.0.0-canary-6808",
|
|
40
|
+
"@docusaurus/utils": "4.0.0-canary-6808",
|
|
41
|
+
"@docusaurus/utils-common": "4.0.0-canary-6808",
|
|
42
|
+
"@docusaurus/utils-validation": "4.0.0-canary-6808",
|
|
43
43
|
"boxen": "^6.2.1",
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"combine-promises": "^1.1.0",
|
|
44
|
+
"chokidar": "^3.6.0",
|
|
45
|
+
"cli-table3": "^0.6.5",
|
|
46
|
+
"combine-promises": "^1.2.0",
|
|
48
47
|
"commander": "^5.1.0",
|
|
49
|
-
"core-js": "^3.
|
|
50
|
-
"detect-port": "^1.
|
|
48
|
+
"core-js": "^3.50.0",
|
|
49
|
+
"detect-port": "^2.1.0",
|
|
51
50
|
"escape-html": "^1.0.3",
|
|
52
|
-
"eta": "^
|
|
51
|
+
"eta": "^4.6.0",
|
|
53
52
|
"eval": "^0.1.8",
|
|
54
|
-
"execa": "^
|
|
55
|
-
"fs-extra": "^11.
|
|
56
|
-
"html-tags": "^
|
|
57
|
-
"html-webpack-plugin": "^5.6.
|
|
53
|
+
"execa": "^10.0.1",
|
|
54
|
+
"fs-extra": "^11.4.0",
|
|
55
|
+
"html-tags": "^5.1.0",
|
|
56
|
+
"html-webpack-plugin": "^5.6.8",
|
|
58
57
|
"leven": "^3.1.0",
|
|
59
|
-
"lodash": "^4.
|
|
60
|
-
"open": "^
|
|
58
|
+
"lodash": "^4.18.1",
|
|
59
|
+
"open": "^11.0.2",
|
|
61
60
|
"p-map": "^4.0.0",
|
|
62
61
|
"prompts": "^2.4.2",
|
|
63
62
|
"react-helmet-async": "npm:@slorber/react-helmet-async@1.3.0",
|
|
@@ -66,35 +65,36 @@
|
|
|
66
65
|
"react-router": "^5.3.4",
|
|
67
66
|
"react-router-config": "^5.1.1",
|
|
68
67
|
"react-router-dom": "^5.3.4",
|
|
69
|
-
"semver": "^7.5
|
|
68
|
+
"semver": "^7.8.5",
|
|
70
69
|
"serve-handler": "^6.1.7",
|
|
71
|
-
"tinypool": "^1.
|
|
72
|
-
"tslib": "^2.
|
|
70
|
+
"tinypool": "^2.1.2",
|
|
71
|
+
"tslib": "^2.8.1",
|
|
73
72
|
"update-notifier": "^6.0.2",
|
|
74
|
-
"webpack": "^5.
|
|
75
|
-
"webpack-bundle-analyzer": "^
|
|
76
|
-
"webpack-dev-server": "^
|
|
73
|
+
"webpack": "^5.110.3",
|
|
74
|
+
"webpack-bundle-analyzer": "^5.3.2",
|
|
75
|
+
"webpack-dev-server": "^6.0.0",
|
|
77
76
|
"webpack-merge": "^6.0.1"
|
|
78
77
|
},
|
|
79
78
|
"devDependencies": {
|
|
80
|
-
"@docusaurus/module-type-aliases": "
|
|
81
|
-
"@docusaurus/types": "
|
|
79
|
+
"@docusaurus/module-type-aliases": "4.0.0-canary-6808",
|
|
80
|
+
"@docusaurus/types": "4.0.0-canary-6808",
|
|
82
81
|
"@total-typescript/shoehorn": "^0.1.2",
|
|
83
|
-
"@types/
|
|
84
|
-
"@types/
|
|
85
|
-
"@types/react-
|
|
82
|
+
"@types/escape-html": "^1.0.4",
|
|
83
|
+
"@types/history": "^4.7.11",
|
|
84
|
+
"@types/react-dom": "^19.3.0",
|
|
85
|
+
"@types/react-router-config": "^5.0.11",
|
|
86
|
+
"@types/react-router-dom": "^5.3.3",
|
|
86
87
|
"@types/serve-handler": "^6.1.4",
|
|
87
|
-
"@types/update-notifier": "^6.0.
|
|
88
|
+
"@types/update-notifier": "^6.0.8",
|
|
88
89
|
"@types/webpack-bundle-analyzer": "^4.7.0",
|
|
89
90
|
"@types/webpack-env": "^1.18.8",
|
|
90
|
-
"
|
|
91
|
-
"tree-node-cli": "^1.6.0"
|
|
91
|
+
"tree-node-cli": "^3.0.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
|
-
"@docusaurus/faster": "
|
|
95
|
-
"@mdx-js/react": "^3.
|
|
96
|
-
"react": "^
|
|
97
|
-
"react-dom": "^
|
|
94
|
+
"@docusaurus/faster": "4.0.0-canary-6808",
|
|
95
|
+
"@mdx-js/react": "^3.1.1",
|
|
96
|
+
"react": "^19.3.0",
|
|
97
|
+
"react-dom": "^19.3.0"
|
|
98
98
|
},
|
|
99
99
|
"peerDependenciesMeta": {
|
|
100
100
|
"@docusaurus/faster": {
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"engines": {
|
|
105
|
-
"node": ">=
|
|
105
|
+
"node": ">=24.14"
|
|
106
106
|
},
|
|
107
|
-
"gitHead": "
|
|
107
|
+
"gitHead": "91e445730a91fbe20dd5fefae560303a0c655aa7"
|
|
108
108
|
}
|