nypm
nypm copied to clipboard
🌈 Unified Package Manager for Node.js and Bun
### 🔗 Linked issue Closes #115 ### ❓ Type of change - [ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations) - [ ] 🐞 Bug fix...
Query package info from npm registry (latest, tags, etc) in addition to locally installed version
Moving from https://github.com/unjs/c12/issues/128 reported by @Callan003 PNPM might ask for example: `he modules directory at "/Users/pooya/tmp/test-nuxt-layers/a/node_modules" will be removed and reinstalled from scratch. Proceed? (Y/n) ` in a monorepo.
### Describe the feature It would be handy to have `installDependencies` have an option that forces the underlying install command to install only what is in the lock file. My...
https://github.com/QuiiBz/sherif We might make it an optional peer dependency for nypm to optionally allow linting projects specially after upgrades
There might be many reasons that the package manager cannot be detected (or is not setup yet). Still, we can make nypm behavior nicer instead of breaking with an error...
Just thought of it when saw https://github.com/renovatebot/renovate/issues/24462 (also that bun were looking for a cross lock compatibility) I think generally having a parser to understand lockfikle graphs would be so...
### Describe the feature Introducing isInstalled to check if a package is installed or not. ### Additional information - [X] Would you be willing to help implement this feature?
This util should: - Detect current dependency version constraints (semver major, minor) and it's devDependency/dependency status - Use proper package manager command to make sure in required constraint it is...