Replies: 1 comment 1 reply
-
|
Can’t you use meta-updater for this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is related to: #3027
I would like to use
package.json5format. Mainly for adding comments to certain dependencies and for scripts. At the moment I use an adjacentpackage.json.mdfile.In a large monorepo, the same fields are often repeated in every
package.jsonfile. Ideally,package.jsonfiles would be generated.Nx already does this. It merges
package.jsonandproject.jsonwhen running a task.A lot of tools still rely on
package.jsonsuch as IntelliJ. Sopackage.jsonmust always be kept up to date.When running
pnpm add|link|remove, I'd like it to update mypackage.json5file, but also mypackage.jsonfile.package.jsonoverpackage.json5. A config option should be added for this: Prefer package.json5 over package.json #3027pnpmmakes. Something likewritePackageinpnpmfile.js.Example
pnpmfile.js
Beta Was this translation helpful? Give feedback.
All reactions