Configuring Turbo for FastAPI, Next.js and Turborepo.
create-turbo
npm package:
packages/ui
directory.
If you want to add a new package to the project, please reference the official documentation.
For quick reference:
packages/<folder>
package.json
, with name
and types
pointing at src/index.ts[x]
src/index.ts[x]
, with at least one named exportroot
turbo.json
does not have many changes from the official starter. The only change is the addition of the globalEnv
key.
globalEnv
, you will receive an eslint error when referencing variables in your .env
, however, your code will still work.
"globalDependencies": ["**/.env"]
, that did not work in this project.\