Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
pnpm init | pnpm
[go: Go Back, main page]

Saltar al contenido principal
Version: 10.x

pnpm init

Create a package.json file.

Opciones

--bare

Added in: v10.25.0

Creates a package.json with only the required fields.

--init-type <type>" title="Direct link to --init-type " translate=no>​

  • Default: commonjs
  • Type: commonjs, module

Set the module system for the package.

--init-package-manager

Pin the project to the current pnpm version by adding a "packageManager" field to package.json.