Passer au contenu principal
Version : Suivant

Création pnpm

Créez un projet à partir d’un kit de démarrage create-* ou @foo/create-*.

Exemples

pnpm create react-app my-app

Options

--allow-build

Added in: v10.2.0

A list of package names that are allowed to run postinstall scripts during installation.

Security and trust policies

Since v11.0.0, pnpm create honors the project-level security and trust policy settings — minimumReleaseAge (and its Exclude/Strict companions) and trustPolicy (and its Exclude/IgnoreAfter companions) — when resolving and fetching the starter kit.