Skip to content
Discussion options

You must be logged in to vote

You should use the devEngined.runtime as it is a new standard field that will be used by other package managers too.

Is there a way to automatically update all packageManager fields from an older version of pnpm to the one that is currently used? e.g. I just setup my stuff yesterday, with pnpm 10.13, and today I upgraded to 10.14. All my package.json are left with 10.13, which means either I have to manually update them every time this happens, or I can delete it completely from non-workspace-root package.json and then actively delete the field from new packages every time I do npm init

No, there is no way to do it automatically.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mkarajohn
Comment options

@zkochan
Comment options

Answer selected by mkarajohn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants