-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
Add support for deno.jsonc
#229
Conversation
Ok, the solution of showing the required changes but not apply them looks good. |
|
||
console.log(brightGreen("Deno configuration file saved:"), "deno.json"); | ||
if (await exists("deno.jsonc")) { | ||
promptConfigUpdate({ importMap: config.importMap, tasks: config.tasks }); |
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.
It would be nice to show the deno.jsonc
warning only if there's something to change. Most of the time, the upgrade
or import-map
commands only update the import_map.json
file.
Thank you! |
Resolve #211
See #209 (comment)
This is how it currently looks when calling
lume import-map
withdeno.jsonc
, not sure if this is the best approach: