New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

pnpm-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pnpm-wrapper

[![npm](https://img.shields.io/npm/v/pnpm-wrapper?style=for-the-badge)](https://www.npmjs.com/package/pnpm-wrapper)

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

npm

pnpm wrapper

A tool to manage pnpm version for different projects.

Why?

Because developers may have different pnpm versions installed, but your project may depend on specific version.

Install

npm install --global pnpm-wrapper

Usage

Use pnpm for project

Just use pnpm-wrapper (or pnpmw) in place of pnpm. E.g., install dependencies via:

pnpm-wrapper install

Here is a list of sources to infer required pnpm version (in descending order of priority):

  • pnpm.version file;
  • engines.pnpm entry from package.json.

If version not found in all sources then latest pnpm version will be used. You can change it later in pnpm.version.

The inferred version of pnpm will be installed into the ~/.pnpm-wrapper directory, or reused if already present.

Set version for project

You can also set (or update) required pnpm version for project manually.

pnpm-wrapper use 6.13.0 # use specific version
pnpm-wrapper use ^6.0.0 # use semver range

This command will install pnpm for provided version (if not installed yet) and save that version in pnpm.version file.

Keywords

pnpm

FAQs

Package last updated on 15 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts