-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
deno init
should add name, version and exports fields to deno.json
#22287
Comments
@littledivy would like to work on this 👀 |
sure! |
so if I run the command
but if
|
I am thinking of the approach in codebase, to keep the deno init json template like below and overwrite with the
|
Sounds good. This can be the template JSON: {
"name": "{{name}}",
"version": "0.1.0",
"exports": {},
"tasks": {
"dev": "deno run --watch main.ts"
}
} Also note that If |
Maybe we should only do this when running something like |
Exactly my thought, +1 for |
I have done the changes as per comments above ☝️ and added some unit tests. |
added some changes to the |
No description provided.
The text was updated successfully, but these errors were encountered: