From bd8ac93a62041a3215fe8995df6867dca9653079 Mon Sep 17 00:00:00 2001 From: "1131153523@qq.com" Date: Fri, 10 Nov 2023 16:09:49 +0800 Subject: [PATCH] changes --- "src/tools/npm/pnpm\347\256\241\347\220\206monorepo.md" | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git "a/src/tools/npm/pnpm\347\256\241\347\220\206monorepo.md" "b/src/tools/npm/pnpm\347\256\241\347\220\206monorepo.md" index b4d946ba31..637517af9f 100644 --- "a/src/tools/npm/pnpm\347\256\241\347\220\206monorepo.md" +++ "b/src/tools/npm/pnpm\347\256\241\347\220\206monorepo.md" @@ -19,4 +19,5 @@ packages: + `pnpm why -r` 能够列出这个包的源码位置,被monorepo内部哪些项目引用了 + `pnpm remove axios --filter @monorepo/http` 删除某个包的依赖 + `pnpm link --global ` 本地link包 -+ `pnpm add lodash-test@npm:lodash@1.1` 给包取别名 \ No newline at end of file ++ `pnpm add lodash-test@npm:lodash@1.1` 给包取别名 ++ `pnpm -r run build` 可以一次性执行所有包的`build`命令 \ No newline at end of file