mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-09 23:27:28 +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
|
@ -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,
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue