Skip to content

[RFC]: Prompt user to create project as JS or TS in create-redwood-app #6275

@cannikin

Description

@cannikin

Summary

Rather than force a TS install, with a --ts flag, or a JS install with a --js flag, let's just prompt the user and ask which they want from the start when they run yarn create redwood-app.

Of course the default option if you just hit ENTER at that prompt should be JS. 😏

Motivation

This puts and end to the debate of whether we should create a JS project or a TS project by default.

Detailed proposal

In the simplest implementation we just include the prompt package in create-redwood-app and if the user chooses JS, do nothing, and if they choose TS we set the --ts flag for them.

Are you interested in working on this?

  • I'm interested in working on this

Metadata

Metadata

Assignees

No one assigned

    Labels

    release:featureThis PR introduces a new featuretopic/crwacreate-redwood-app

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions