chore(v2): migrate hapi/joi to joi ()

This commit is contained in:
Alexey Pyltsyn 2020-10-26 17:18:51 +03:00 committed by GitHub
parent a64a34f077
commit 69bf68ae57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 58 additions and 79 deletions
packages/docusaurus-utils-validation/src

View file

@ -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 {isValidPathname} from '@docusaurus/utils';
export const PluginIdSchema = Joi.string()