Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Nov 10, 2023
1 parent 475c232 commit bd8ac93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tools/npm/pnpm管理monorepo.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ packages:
+ `pnpm why -r` 能够列出这个包的源码位置,被monorepo内部哪些项目引用了
+ `pnpm remove axios --filter @monorepo/http` 删除某个包的依赖
+ `pnpm link --global <pkg>` 本地link包
+ `pnpm add lodash-test@npm:[email protected]` 给包取别名
+ `pnpm add lodash-test@npm:[email protected]` 给包取别名
+ `pnpm -r run build` 可以一次性执行所有包的`build`命令

0 comments on commit bd8ac93

Please sign in to comment.