t3-oss / create-t3-turbo

Clean and simple starter repo using the T3 Stack along with Expo React Native
https://turbo.t3.gg
MIT License
4.57k stars 384 forks source link

Change `/dist` category in `.gitignore` #948

Closed ahkhanjani closed 6 months ago

ahkhanjani commented 6 months ago

Since the newest changes with tsc in this repo, /dist is not just about expo anymore. I couldn't decide between "production" and "typescript" categories. Would like your opinion.

dBianchii commented 6 months ago

@ahkhanjani , How are you using the dev scripts that were added by the newest improvements? Are you doing pnpm dev normally so that it runs everything in parallel? Most of the time I just want to work on nextjs and I used to do pnpm dev -F nextjs. Now that we have multiple watchers, I haven't found the best way to run all of them quickly.

dBianchii commented 6 months ago

About category, Sure. placing it in typescript makes sense

dBianchii commented 6 months ago

I found that this script works. I placed it in my package.json: "dev:nextjs: "turbo dev --scope=nextjs --include-dependencies",

juliusmarminge commented 6 months ago

I found that this script works. I placed it in my package.json: "dev:nextjs: "turbo dev --scope=nextjs --include-dependencies",

turbo --filter nextjs... should run nextjs and all it's dependencies i think

ahkhanjani commented 6 months ago

@ahkhanjani , How are you using the dev scripts that were added by the newest improvements? Are you doing pnpm dev normally so that it runs everything in parallel? Most of the time I just want to work on nextjs and I used to do pnpm dev -F nextjs. Now that we have multiple watchers, I haven't found the best way to run all of them quickly.

@dBianchii I've always needed to run everything in parallel so I just run pnpm dev.