From 113c226aad3bd0c7a812482b01eaf6d660136d54 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Sat, 14 Sep 2024 22:14:43 +0000 Subject: [PATCH] Forbid lodash dependency --- yarn.config.cjs | 2 ++ 1 file changed, 2 insertions(+) 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);