pnpm import
pnpm import 从另一个软件包管理器的锁文件生成 pnpm-lock.yaml。支持的源文件:
package-lock.jsonnpm-shrinkwrap.jsonyarn.lock
Yarn patch files must be inside the workspace. pnpm warns and imports the dependency without the patch if the file is outside it.
在运行 pnpm import 之前,请在 pnpm-workspace.yaml 中声明工作区。