mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-29 17:07:08 +02:00
chore(v2): migrate hapi/joi to joi (#3638)
This commit is contained in:
parent
a64a34f077
commit
69bf68ae57
28 changed files with 58 additions and 79 deletions
|
@ -26,7 +26,7 @@ import {
|
|||
import {Configuration, Loader} from 'webpack';
|
||||
import admonitions from 'remark-admonitions';
|
||||
import {PluginOptionSchema} from './pluginOptionSchema';
|
||||
import {ValidationError} from '@hapi/joi';
|
||||
import {ValidationError} from 'joi';
|
||||
import {
|
||||
DEFAULT_PLUGIN_ID,
|
||||
STATIC_DIR_NAME,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
import * as Joi from '@hapi/joi';
|
||||
import * as Joi from 'joi';
|
||||
import {PluginOptions} from './types';
|
||||
import {
|
||||
RemarkPluginsSchema,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue