diff --git a/yarn.config.cjs b/yarn.config.cjs index 2143b64f1839..77fe7426c12b 100644 --- a/yarn.config.cjs +++ b/yarn.config.cjs @@ -209,6 +209,8 @@ module.exports = defineConfig({ enforceConsistentDependenciesAcrossTheProject(ctx); enforceWorkspaceDependenciesWhenPossible(ctx); forbidDependency(ctx, `inquirer`, `Don't depend on inquirer - we use enquirer instead`); + forbidDependency(ctx, `lodash`, `Don't depend on lodash - we use es-toolkit instead`); + forbidDependency(ctx, `inquirer`, `Don't depend on inquirer - we use enquirer instead`); enforceDependencyRelationship(ctx, `typescript`, `tslib`, true); enforceUpdateLocalScripts(ctx); enforcePrepackScripts(ctx);