mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-28 16:37:07 +02:00
fix(v2): Export Joi from validation-utils package (#4459)
This commit is contained in:
parent
03f4a92035
commit
60d189a91c
27 changed files with 26 additions and 27 deletions
|
@ -13,7 +13,7 @@ import pluginContentBlog from '../index';
|
|||
import {DocusaurusConfig, LoadContext, I18n} from '@docusaurus/types';
|
||||
import {PluginOptionSchema} from '../pluginOptionSchema';
|
||||
import {PluginOptions, EditUrlFunction} from '../types';
|
||||
import Joi from 'joi';
|
||||
import {Joi} from '@docusaurus/utils-validation';
|
||||
|
||||
function getI18n(locale: string): I18n {
|
||||
return {
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
import * as Joi from 'joi';
|
||||
import {
|
||||
Joi,
|
||||
RemarkPluginsSchema,
|
||||
RehypePluginsSchema,
|
||||
AdmonitionsSchema,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue