@docusaurus/core 0.0.0-5263 → 0.0.0-5267

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.
@@ -142,6 +142,10 @@ async function start(siteDirParam = '.', cliOptions = {}) {
142
142
  warnings: false,
143
143
  errors: true,
144
144
  },
145
+ webSocketURL: {
146
+ hostname: '0.0.0.0',
147
+ port: 0,
148
+ },
145
149
  },
146
150
  headers: {
147
151
  'access-control-allow-origin': '*',
@@ -48,7 +48,9 @@ function sortConfig(routeConfigs, baseUrl = '/') {
48
48
  return a.path.localeCompare(b.path);
49
49
  });
50
50
  routeConfigs.forEach((routeConfig) => {
51
- routeConfig.routes?.sort((a, b) => a.path.localeCompare(b.path));
51
+ if (routeConfig.routes) {
52
+ sortConfig(routeConfig.routes, baseUrl);
53
+ }
52
54
  });
53
55
  }
54
56
  exports.sortConfig = sortConfig;
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": "0.0.0-5263",
4
+ "version": "0.0.0-5267",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -43,13 +43,13 @@
43
43
  "@babel/runtime": "^7.18.9",
44
44
  "@babel/runtime-corejs3": "^7.18.9",
45
45
  "@babel/traverse": "^7.18.10",
46
- "@docusaurus/cssnano-preset": "0.0.0-5263",
47
- "@docusaurus/logger": "0.0.0-5263",
48
- "@docusaurus/mdx-loader": "0.0.0-5263",
46
+ "@docusaurus/cssnano-preset": "0.0.0-5267",
47
+ "@docusaurus/logger": "0.0.0-5267",
48
+ "@docusaurus/mdx-loader": "0.0.0-5267",
49
49
  "@docusaurus/react-loadable": "5.5.2",
50
- "@docusaurus/utils": "0.0.0-5263",
51
- "@docusaurus/utils-common": "0.0.0-5263",
52
- "@docusaurus/utils-validation": "0.0.0-5263",
50
+ "@docusaurus/utils": "0.0.0-5267",
51
+ "@docusaurus/utils-common": "0.0.0-5267",
52
+ "@docusaurus/utils-validation": "0.0.0-5267",
53
53
  "@slorber/static-site-generator-webpack-plugin": "^4.0.7",
54
54
  "@svgr/webpack": "^6.3.1",
55
55
  "autoprefixer": "^10.4.8",
@@ -106,8 +106,8 @@
106
106
  "webpackbar": "^5.0.2"
107
107
  },
108
108
  "devDependencies": {
109
- "@docusaurus/module-type-aliases": "0.0.0-5263",
110
- "@docusaurus/types": "0.0.0-5263",
109
+ "@docusaurus/module-type-aliases": "0.0.0-5267",
110
+ "@docusaurus/types": "0.0.0-5267",
111
111
  "@types/detect-port": "^1.3.2",
112
112
  "@types/react-dom": "^18.0.6",
113
113
  "@types/react-router-config": "^5.0.6",
@@ -127,5 +127,5 @@
127
127
  "engines": {
128
128
  "node": ">=16.14"
129
129
  },
130
- "gitHead": "239c24498ad7bba787f0367cc1884d37f8ae1b82"
130
+ "gitHead": "7e8518f116d4751b58dfbf6e3803574b81c41dd7"
131
131
  }