pnpm import
pnpm import 指令能幫您匯入其他套件管理器的 lockfile 檔案並產生 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.
Declare workspaces in pnpm-workspace.yaml before running pnpm import.