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

Move config to turbo.json #217

Closed
jaredpalmer opened this issue Dec 12, 2021 · 4 comments · Fixed by #606
Closed

Move config to turbo.json #217

jaredpalmer opened this issue Dec 12, 2021 · 4 comments · Fixed by #606

Comments

@jaredpalmer
Copy link
Contributor

jaredpalmer commented Dec 12, 2021

Describe the feature you'd like to request

Move turbo configuration into its own file turbo.json

Describe the solution you'd like

  • Move config
  • Add script to codemod
  • Release a minor

Describe alternatives you've considered

  • turbo.yaml
  • Use HCLv2

Continues #183

@eric-burel
Copy link
Contributor

Hi, .json fields validation is often uneasy, would it be possible to support a .js as well. Maybe even using comments for type hints (I've seen some libs do that though I can't find any example back)?

@stepan662
Copy link

I'm all for this feature as package.json gets bloated quite fast.

I also struggle with using npm and lerna with turbo. As turbo requires 'workspaces' field in package.json, but when I put it there my npm install will start installing also dependencies for packages, which I don't want - I want to use lerna bootstrap for that.

So for my usecase it would be beneficial to have possibility to define workspaces outside of package.json.

@aeweda
Copy link

aeweda commented Jan 17, 2022

would appreciate this getting implemented
atm i can't use turborepo due to using a package.yaml instead of package.json with pnpm

@mrtnbroder
Copy link

would appreciate this getting implemented atm i can't use turborepo due to using a package.yaml instead of package.json with pnpm

You can safely write json in yaml, since yaml is a superset of json.

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