0.11.0 • Published 7 months ago

@ehyland/pmm v0.11.0

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

📦 PMM - NodeJS Package Manager Manager

Just like corepack, plus

🔥   pmm update-local update packageManager for your local project

🔥   pmm update-default <package-manager> [version] update the global fallback version

🔥   Installs package managers from configurable registry with PMM_NPM_REGISTRY

What's missing

⏲️   No yarn support (coming soon, on request)

⏲️   No Windows support (will consider, on request)

⚠️   This is early release. There are more feature to add, edges to smooth. But it's already a delight to use

Install

curl -o- https://raw.githubusercontent.com/ehyland/pmm/main/install.sh | bash

Usage

Add packageManager field to your projects package.json.

e.g.

{
  "packageManager": "pnpm@6.32.11"
}

Then use your package manager as you usually would. Behind the scenes, pmm will automatically install and run the package manager version in your package.json.

The first time you run npm or pnpm outside of a configured project / in a global context, pmm will get the latest version of your package manager and set it as the global default. The default can then be updated with pmm update-default <package-manager> [version].

Uninstall

Simply remove the ~/.pmm dir and the enabling script in your ~/.bashrc

export PMM_DIR="$HOME/.pmm"
[ -s "$PMM_DIR/package/enable.sh" ] && \. "$PMM_DIR/package/enable.sh"  # This loads pmm shims
0.11.0

7 months ago

0.10.1

11 months ago

0.10.0

11 months ago

0.9.0

1 year ago

0.8.1

2 years ago

0.8.2

2 years ago

0.7.0

2 years ago

0.8.0

2 years ago

0.6.0

2 years ago

0.3.0

2 years ago

0.5.0

2 years ago

0.3.1

2 years ago

0.2.6

2 years ago

0.4.0

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago