Replies: 3 comments 2 replies
-
Yeah having the |
Beta Was this translation helpful? Give feedback.
-
@isaacs was considering proposing support for a |
Beta Was this translation helpful? Give feedback.
-
I'm def a big +1 👍 for having a I'm being a bit lazy rn (but I might come back to this later) in which I won't go and compile a list of pros - but it seem to me that the following statement should be easy to agree with: Namespaced configs in
I disagree with this argument since in my understanding the entire |
Beta Was this translation helpful? Give feedback.
-
Suggested in #36
Request for an RFC to put a section in
package.json
which would function as aproject
level config, but also apply to scripts run in the course of installing the packages containing this config section.Bikeshed on the name of the config section. Established patterns from other cli tools (tap, jest, nyc, babel, typescript, etc.) would suggest that we call it
npm
.Argument against using
"npm"
as the key would be that it is a little weird to say "this bit of package.json is for npm", when really the entire file is for npm.Another tricky bit needing exploration is the impact of having these configuration values effectively set when running scripts in the course of installation and other lifecycle scenarios. Replacing
./.npmrc
in the root project is relatively trivial by comparison.Beta Was this translation helpful? Give feedback.
All reactions