pnpm import
pnpm import generates a pnpm-lock.yaml from another package manager's lockfile. Поддерживаемые исходные файлы:
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.