跳至主要內容
版本:10.x

pnpm import

pnpm import generates a pnpm-lock.yaml from another package manager's lockfile. 支援的文件:

  • package-lock.json
  • npm-shrinkwrap.json
  • yarn.lock

Note that if you have workspaces you wish to import dependencies for, they will need to be declared in a pnpm-workspace.yaml file beforehand.