Skip to content
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

feat: add init command #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: add init command #11

wants to merge 1 commit into from

Conversation

marvinhagemeister
Copy link
Collaborator

@marvinhagemeister marvinhagemeister commented Feb 23, 2024

Adds a jsr init command which bootstraps an empty project with .npmrc, tsconfig.json etc

Related: https://github.com/denoland/registry3/issues/649

),
// TODO: Rename to jsr.json, once supported in Deno
// deno.json
"deno.json": JSON.stringify(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should probably be a --lib vs --bin option to init here (is this a library or an application?) like in cargo init. This deno.json/jsr.json only seems necessary in the --lib case.

@nicolo-ribaudo
Copy link

Ping? :) I just wished I had this today, rather than having to generate the jsr.json file through the website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants