Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Only allow usage of PNPM as a package manager #43

Closed
albertothedev opened this issue Nov 6, 2022 · 0 comments
Closed

Only allow usage of PNPM as a package manager #43

albertothedev opened this issue Nov 6, 2022 · 0 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@albertothedev
Copy link
Owner

According to PNPM's official documentation, it is possible to prevent the usage of other package managers (e.g., Yarn, NPM) via a preinstall hook. However, this isn't working due to a poorly-documented NPM breaking change introduced in version 7:

It seems not work using pnpm and preinstall script.
[BUG] Preinstall script runs after installing dependencies.

References #42.

@albertothedev albertothedev self-assigned this Nov 6, 2022
@albertothedev albertothedev added the wontfix This will not be worked on label Nov 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant