@docusaurus/core 0.0.0-5784 → 0.0.0-5786

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.
@@ -26,6 +26,7 @@ exports.DEFAULT_MARKDOWN_CONFIG = {
26
26
  admonitions: true,
27
27
  headingIds: true,
28
28
  },
29
+ remarkRehypeOptions: undefined,
29
30
  };
30
31
  exports.DEFAULT_CONFIG = {
31
32
  i18n: exports.DEFAULT_I18N_CONFIG,
@@ -227,6 +228,11 @@ exports.ConfigSchema = utils_validation_1.Joi.object({
227
228
  admonitions: utils_validation_1.Joi.boolean().default(exports.DEFAULT_CONFIG.markdown.mdx1Compat.admonitions),
228
229
  headingIds: utils_validation_1.Joi.boolean().default(exports.DEFAULT_CONFIG.markdown.mdx1Compat.headingIds),
229
230
  }).default(exports.DEFAULT_CONFIG.markdown.mdx1Compat),
231
+ remarkRehypeOptions:
232
+ // add proper external options validation?
233
+ // Not sure if it's a good idea, validation is likely to become stale
234
+ // See https://github.com/remarkjs/remark-rehype#options
235
+ utils_validation_1.Joi.object().unknown(),
230
236
  }).default(exports.DEFAULT_CONFIG.markdown),
231
237
  }).messages({
232
238
  'docusaurus.configValidationWarning': 'Docusaurus config validation warning. Field {#label}: {#warningMessage}',
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-5784",
4
+ "version": "0.0.0-5786",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -43,13 +43,13 @@
43
43
  "@babel/runtime": "^7.22.6",
44
44
  "@babel/runtime-corejs3": "^7.22.6",
45
45
  "@babel/traverse": "^7.22.8",
46
- "@docusaurus/cssnano-preset": "0.0.0-5784",
47
- "@docusaurus/logger": "0.0.0-5784",
48
- "@docusaurus/mdx-loader": "0.0.0-5784",
46
+ "@docusaurus/cssnano-preset": "0.0.0-5786",
47
+ "@docusaurus/logger": "0.0.0-5786",
48
+ "@docusaurus/mdx-loader": "0.0.0-5786",
49
49
  "@docusaurus/react-loadable": "5.5.2",
50
- "@docusaurus/utils": "0.0.0-5784",
51
- "@docusaurus/utils-common": "0.0.0-5784",
52
- "@docusaurus/utils-validation": "0.0.0-5784",
50
+ "@docusaurus/utils": "0.0.0-5786",
51
+ "@docusaurus/utils-common": "0.0.0-5786",
52
+ "@docusaurus/utils-validation": "0.0.0-5786",
53
53
  "@slorber/static-site-generator-webpack-plugin": "^4.0.7",
54
54
  "@svgr/webpack": "^6.5.1",
55
55
  "autoprefixer": "^10.4.14",
@@ -104,8 +104,8 @@
104
104
  "webpackbar": "^5.0.2"
105
105
  },
106
106
  "devDependencies": {
107
- "@docusaurus/module-type-aliases": "0.0.0-5784",
108
- "@docusaurus/types": "0.0.0-5784",
107
+ "@docusaurus/module-type-aliases": "0.0.0-5786",
108
+ "@docusaurus/types": "0.0.0-5786",
109
109
  "@types/detect-port": "^1.3.3",
110
110
  "@types/react-dom": "^18.2.7",
111
111
  "@types/react-router-config": "^5.0.7",
@@ -124,5 +124,5 @@
124
124
  "engines": {
125
125
  "node": ">=18.0"
126
126
  },
127
- "gitHead": "8fb279c979deb0d11719f85c482fb301c4548314"
127
+ "gitHead": "79235b919daee1c58d7dbe133cc1e63e08b37daa"
128
128
  }