Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Option to only change the version in package.json without running npm/yarn/pnpm command #150

Open
1 task done
RayGuo-ergou opened this issue Mar 27, 2024 · 3 comments
Labels
🙏 Feature Request Feature requests not planned anywhere

Comments

@RayGuo-ergou
Copy link

Issues

  • I have checked existing issues and there are no existing ones with the same request.

Feature description

  1. My personally weird habit is to update all package versions in package.json then manually run install command, thus would be nice if can only change the version in package.json without running install command.
  2. It seems there might be an issue: when I attempt to upgrade a dependency, the postinstall command does not execute as expected.

Help

Yes

Implementation help

Would like to hear you opinion about this.

I am thinking to add a parameter in update action functions. ( similar to force in show function)

@RayGuo-ergou RayGuo-ergou added the 🙏 Feature Request Feature requests not planned anywhere label Mar 27, 2024
@Bahnasawy
Copy link

It would also be nice to have this until bun is supported in package_manager.

@vuki656
Copy link
Owner

vuki656 commented May 18, 2024

Yeah, that would be more ideal to change them all to the desired versions and then run a single install action. Similar to what yarn has with upgrade interactive

I don't rly have time to implement this. If anyone is willing, I'd be happy to review a PR.

@RayGuo-ergou
Copy link
Author

RayGuo-ergou commented May 22, 2024

Did a bit digging, I found that only yarn and pnpm can update package.json and lock file without downloading files. But still calls npm, ideally I want it only change the version in package.json without sending requests to npm. I will see if I can find time to implement that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙏 Feature Request Feature requests not planned anywhere
Projects
None yet
Development

No branches or pull requests

3 participants