vercel / turborepo

Build system optimized for JavaScript and TypeScript, written in Rust
https://turbo.build/repo/docs
MIT License
26.4k stars 1.84k forks source link

Blank template option when creating a turbo repo project #4407

Closed haneenmahd closed 1 year ago

haneenmahd commented 1 year ago

Which project is this feature idea for?

Turborepo

Describe the feature you'd like to request

There is only one template when creating a turbo repo project. It should have an option to remove the default template and use a blank one.

Describe the solution you'd like

For some developers, who are already familiar with Turborepo they would like to use turborepo from a blank template that has no apps and packages.

Describe alternatives you've considered

Provide steps in the docs on how to setup a blank project.

tknickman commented 1 year ago

Hey @haneenmahd, can you expand on "blank project" a bit? Are you looking for a quick way to create a turbo.json config in an existing project? Or to create just an empty project structure like:

apps/
packages/
package.json
turbo.json
haneenmahd commented 1 year ago

Yes, I'm looking for a way to create a turbo repo project with no apps and packages.

tknickman commented 1 year ago

You can use the canary version (should land in latest soon) of create-turbo with templates support for this!

npx create-turbo@canary -e https://github.com/tknickman/turborepo-empty-starter