-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
src: namespace config file flags #57170
base: main
Are you sure you want to change the base?
src: namespace config file flags #57170
Conversation
e2a1d89
to
453c339
Compare
🤔 no code-owners... wonder who I should ping, or create a team |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #57170 +/- ##
=======================================
Coverage 90.35% 90.35%
=======================================
Files 629 629
Lines 184308 184394 +86
Branches 36015 36027 +12
=======================================
+ Hits 166532 166617 +85
+ Misses 10909 10902 -7
- Partials 6867 6875 +8
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rather not use the namespace and just specify a specific file that we use instead of letting the user define the filename.
I added the default file in #57171, about namespacing I think its a necessary evil, otherwise we will regret it if the feature grows |
I think we need a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was discussion in old issues about supporting various environments, like top-level fields such as dev
or localhost
or prod
etc. I don't have an opinion as to how multiple environments or multiple config files should be handled, but I feel like this is something to be worked out now as we're discussing namespacing. If the answer is that we're just not going to provide any explicit support for merging config files or supporting multiple environments within one config file, that's fine, but I think we should have that discussion.
"watch-path": "src", | ||
"watch-preserve-output": true | ||
"nodeOptions": { | ||
"experimental-transform-types": true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we support all of experimental-transform-types
, experimental_transform_types
and experimentalTransformTypes
for each flag? Just as currently the CLI supports either of the first two.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm ok with the second, not sure how feasible is the third one. I think we can defer to a followup
I dont think we should support different environments in the same file, users can use the |
83e5231
to
c9fe4d6
Compare
follow-up: #57016 (comment)