turbo icon indicating copy to clipboard operation
turbo copied to clipboard

Able to `create-turbo` without TypeScript

Open jeniabrook opened this issue 2 years ago • 4 comments

Describe the feature you'd like to request

Have the ability explicitly tell the CLI to bootstrap the app using JavaScript (without TypeScript).

Describe the solution you'd like

A new CLI flag that will opt-in to bootstrap the app without TypeScript.

In case we want the TS be the default:

npx create-turbo@latest --js

In case we want the JS be the default:

npx create-turbo@latest --ts

The later case is also aligned with create-next-app.

Describe alternatives you've considered

Do it manually.

jeniabrook avatar Dec 16 '21 07:12 jeniabrook

This would honestly bring a lot more people into the monorepo space. Almost all the examples you can find are TS based.

SushritPasupuleti avatar Apr 26 '22 12:04 SushritPasupuleti

I just tried npx create-turbo@latest --js and it is still created in Typescript, what can I really do to create this turborepo app with JavaScript?

Ben888GitHub avatar May 11 '22 09:05 Ben888GitHub

I just tried npx create-turbo@latest --js and it is still created in Typescript, what can I really do to create this turborepo app with JavaScript?

It is not implemented by Turborepo team.

You can do it manually, without npx create-turbo command.

jeniabrook avatar May 17 '22 09:05 jeniabrook

Would love to see this implemented 🙏

mryechkin avatar Jun 18 '22 14:06 mryechkin