cs-icon.svg

Supported Package Managers

The following are the supported package managers on Launch:

Contentstack Launch leverages corepack to enable the specific package manager and version defined in the packageManager field of the package.json file.

Example:

package.json

{
  "packageManager": "yarn@4.1.0"
}

Note: If the packageManager field is not specified in package.json, the default package manager (npm) will be used.

The table below shows the command that Contentstack Launch will execute to install dependencies, based on the identified package manager:

Package ManagerInstall Command
npmnpm install
yarnyarn install

Yarn

Yarn Berry offers three install modes:

Currently, Launch supports only the node-modules installation mode for Yarn. When deploying a project with Yarn Berry, Launch will automatically default to the node-modules mode.

Additional configuration options available through the use of .yarnrc files are as follows:

Limitation

Currently, Launch does not support the pnpm package manager. For projects using pnpm, Launch will automatically default to npm.

Was this article helpful?
^