-
Notifications
You must be signed in to change notification settings - Fork 1k
Update config after creation commands #10414
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
Conversation
🦋 Changeset detectedLatest commit: ae956e3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
wrangler
commit: |
dario-piotrowicz
left a comment
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.
Looks good to me 😄 I just left a few small comments
Possibly I would also suggest two additional tests:
- a test with a toml file testing that the promp is not being presented
- a test showing that the promp and modification also works as intended with jsonc files with comments (although this might be a bit redundant since already tested for
experimental_patchConfig? 🤔 )
| ] | ||
| }" | ||
| } | ||
| ? Would you like Wrangler to add it on your behalf? |
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.
Sorry... this is completely completely unrelated, but probably as a followup, I think it's be nicer to use an emoji for the question mark (like❔ for example), what do you think? 🙂
|
The TOML case is tested here:
experimental_patchConfig() is already tested with that case.
|
Sorry, somehow I missed that! 🤦 🙇
I don't have a strong opinion on it either, if you think it's unnecessary I'm ok avoiding it 🙂👍 |
dario-piotrowicz
left a comment
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.
Looks good to me 😄
Fixes #9730
When running a resource creation command (like
wrangler kv namespace create NAME), Wrangler will now offer to update your config file for you. Some notes:--env test)