https://github.com/labd/enforce-packagemanager
Only allow usage of package manager and version based on the packageManager field in package.json
https://github.com/labd/enforce-packagemanager
Last synced: 8 months ago
JSON representation
Only allow usage of package manager and version based on the packageManager field in package.json
- Host: GitHub
- URL: https://github.com/labd/enforce-packagemanager
- Owner: labd
- Created: 2023-04-05T11:38:44.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-06T19:01:15.000Z (about 3 years ago)
- Last Synced: 2025-05-25T02:44:34.140Z (about 1 year ago)
- Language: JavaScript
- Size: 59.6 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# enforce-packagemanager-field
> Note: Not yet ready to be used, so not available yet.
Small node script that helps you enforce the `packageManager` field in package.json
Once users use corepack it should be handled automatically but until that point,
this script will block any operations