docusaurus/packages
Alois Klink 4d2ab826b8
fix(validation): allow non-object params to remark/rehype plugins (#6977)
Remark and Rehype plugins allow having options as a non-object type,
such as a string.

For instance, the official MDX docs even have an example of this:
See https://mdxjs.com/docs/extending-mdx/#using-plugins

The official plugin `remarkjs/remark-frontmatter` allows passing
a string, e.g. `"toml"` as the options arg, instead of an object.
2022-03-24 09:19:06 +08:00
..
create-docusaurus chore: upgrade dependencies (#6946) 2022-03-21 07:45:29 +08:00
docusaurus refactor: unify how validateOptions is handled (#6961) 2022-03-22 19:40:56 +08:00
docusaurus-cssnano-preset chore: upgrade dependencies (#6946) 2022-03-21 07:45:29 +08:00
docusaurus-logger chore: do not print prototype in jest snapshot (#6908) 2022-03-13 19:34:50 +08:00
docusaurus-mdx-loader chore: upgrade dependencies (#6946) 2022-03-21 07:45:29 +08:00
docusaurus-migrate chore: tighten ESLint config (#6931) 2022-03-17 17:59:41 +08:00
docusaurus-module-type-aliases refactor(theme-{classic,common}): change how site/page/search metadata is handled (#6925) 2022-03-18 18:53:00 +01:00
docusaurus-plugin-client-redirects refactor: unify how validateOptions is handled (#6961) 2022-03-22 19:40:56 +08:00
docusaurus-plugin-content-blog refactor: unify how validateOptions is handled (#6961) 2022-03-22 19:40:56 +08:00
docusaurus-plugin-content-docs fix(content-docs): suppress git error on multiple occurrences (#6973) 2022-03-23 16:35:26 +01:00
docusaurus-plugin-content-pages refactor: unify how validateOptions is handled (#6961) 2022-03-22 19:40:56 +08:00
docusaurus-plugin-debug chore: tighten ESLint config (#6931) 2022-03-17 17:59:41 +08:00
docusaurus-plugin-google-analytics refactor: unify how validateOptions is handled (#6961) 2022-03-22 19:40:56 +08:00
docusaurus-plugin-google-gtag refactor: unify how validateOptions is handled (#6961) 2022-03-22 19:40:56 +08:00
docusaurus-plugin-ideal-image refactor: unify how validateOptions is handled (#6961) 2022-03-22 19:40:56 +08:00
docusaurus-plugin-pwa refactor: unify how validateOptions is handled (#6961) 2022-03-22 19:40:56 +08:00
docusaurus-plugin-sitemap refactor: unify how validateOptions is handled (#6961) 2022-03-22 19:40:56 +08:00
docusaurus-preset-classic chore: prepare v2.0.0-beta.17 release (#6829) 2022-03-03 18:44:41 +01:00
docusaurus-remark-plugin-npm2yarn chore: spell-check test files (#6903) 2022-03-12 15:24:56 +08:00
docusaurus-theme-classic refactor: unify how validateOptions is handled (#6961) 2022-03-22 19:40:56 +08:00
docusaurus-theme-common feat(theme-common): JSDoc for all APIs (#6974) 2022-03-23 21:39:19 +08:00
docusaurus-theme-live-codeblock refactor: unify how validateOptions is handled (#6961) 2022-03-22 19:40:56 +08:00
docusaurus-theme-search-algolia refactor: unify how validateOptions is handled (#6961) 2022-03-22 19:40:56 +08:00
docusaurus-theme-translations chore: tighten ESLint config (#6931) 2022-03-17 17:59:41 +08:00
docusaurus-types refactor: unify how validateOptions is handled (#6961) 2022-03-22 19:40:56 +08:00
docusaurus-utils fix(content-docs): suppress git error on multiple occurrences (#6973) 2022-03-23 16:35:26 +01:00
docusaurus-utils-common test(theme-common): improve test coverage (#6902) 2022-03-12 13:17:21 +08:00
docusaurus-utils-validation fix(validation): allow non-object params to remark/rehype plugins (#6977) 2022-03-24 09:19:06 +08:00
lqip-loader chore: upgrade dependencies (#6916) 2022-03-15 13:16:21 +08:00
stylelint-copyright chore: publish stylelint-copyright again (#6967) 2022-03-23 11:57:02 +01:00