fix(v2): Export Joi from validation-utils package (#4459)

This commit is contained in:
Sébastien Lorber 2021-03-18 19:27:51 +01:00 committed by GitHub
parent 03f4a92035
commit 60d189a91c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 26 additions and 27 deletions

View file

@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/
import * as Joi from 'joi';
import {Joi} from '@docusaurus/utils-validation';
import {
AdmonitionsSchema,

View file

@ -5,5 +5,8 @@
* LICENSE file in the root directory of this source tree.
*/
// /!\ don't remove this export, as we recommend plugin authors to use it
export {default as Joi} from 'joi';
export * from './validationUtils';
export * from './validationSchemas';