Turborepo Tutorial | Part 2 - Testing, Deployment, and remote cacheing.

  Рет қаралды 17,610

CodeDunks

CodeDunks

Күн бұрын

Пікірлер: 28
@Gearmaster7
@Gearmaster7 2 жыл бұрын
Excellent video! The one danger with this setup is by building the frontend with vercel automatically there's the possibility your frontend will go live but the backend will fail causing a mismatch between the two. If you have everything build with gh actions you can wait until the backend deploys before deploying to vercel via a gh action job.
@rico454
@rico454 Жыл бұрын
Very good point. Any documentation on how to set this up?
@avidcaster
@avidcaster Жыл бұрын
Your skill in creating excellent videos is commendable.
@dandcodes
@dandcodes 3 жыл бұрын
This is an excellent video, thanks for covering eslint, turborepo remote caching and deployment using Turbo Repo. Really looking forward to you continuing this series.
@zillionvfx4786
@zillionvfx4786 3 жыл бұрын
Thank you so much sir Leo...Been waiting this one for so long...❤
@zillionvfx4786
@zillionvfx4786 3 жыл бұрын
Leo, what is the best way to share environment variables in this turborepo... mean If I want to share env within apps and packages how to do that?
@justinoneill2837
@justinoneill2837 2 жыл бұрын
@@zillionvfx4786 did you figure out the best way share env variables?
@binov5012
@binov5012 2 жыл бұрын
Thanks for your courses! Best for you!
@doobtom271
@doobtom271 2 жыл бұрын
22:29 --scope and --include-dependencies are deprecated. Replace them with --filter=your-app or --filter=your-app... instead. Notice the 3-dots means include-dependencies, if you want the package.json build commands in your '/packages/' executed. See Turbo's CLI docs
@nilskoch990
@nilskoch990 2 жыл бұрын
Great video! Thank you a lot!
@billycatchpole3699
@billycatchpole3699 2 жыл бұрын
If anyone has problems with jest coverage showing uncovered lines which do not exist in the file, you can use ts-jest instead of esbuild
@MiklosGalicz
@MiklosGalicz 2 жыл бұрын
Really liked your video series! Helped us in setting up eslint/tsconfig properly for our project, so thanks for that! Any ideas around .env files? :D
@TheNarstonerz
@TheNarstonerz 2 жыл бұрын
Wondering the same
@ohana83
@ohana83 Жыл бұрын
@@TheNarstonerz same here
@oussamasethoum1665
@oussamasethoum1665 2 жыл бұрын
can you make a video on how to use turborepo with other backend frameworks such as NestJs
@chinoviteri7139
@chinoviteri7139 2 жыл бұрын
Loved the video. I was wondering How to deploy your packages to a registry? I would love to see a video about that
@andrewdelmonte1172
@andrewdelmonte1172 3 жыл бұрын
Thank you Leo!
@shaohaolin517
@shaohaolin517 2 жыл бұрын
Hey Leo, thank you for the content. Is it possible to add support for Jest testing for packages?
@curiousprogrammer90
@curiousprogrammer90 Жыл бұрын
Why aren't testing dev deps installed in config workspace but rather in the root? Thanks! :)
@edwinvw
@edwinvw 3 жыл бұрын
Big thanks!
@TheNarstonerz
@TheNarstonerz 2 жыл бұрын
Thanks for this video, what about environment variables? To allow the frontend to access the server do you pass localhost:4000 as variable?
@CodeDunks
@CodeDunks 2 жыл бұрын
You could pass in some environment variable for whatever the path to your running server is. So if your server is on port 8000 you could add an env value like SERVER_ENDPOINT=localhost:8000
@TheNarstonerz
@TheNarstonerz 2 жыл бұрын
@@CodeDunks I have tried but it's not working at all, I wrote and issue and waiting for an anwer :)
@7iomka
@7iomka 2 жыл бұрын
Error: The file "/vercel/path0/apps/next-app/.next/routes-manifest.json" couldn't be found. This is normally caused by a misconfiguration in your project. Why I have this error? Help please!
@fluffy_raptor
@fluffy_raptor 2 жыл бұрын
try putting `npm install --prefix=../..` as the "INSTALL COMMAND"
@ajiehatajie
@ajiehatajie 2 жыл бұрын
What a docker file for monorepo ?
@strustproduct371
@strustproduct371 2 жыл бұрын
hi Can you please help on the issue with current turborepo SyntaxError: Cannot use import statement outside a module. I followed what you showed, but nothing is working it's been 2 days I have been trying
@CodeDunks
@CodeDunks 2 жыл бұрын
Sorry without more context it is a little difficult for me to fully help. But maybe this link will. stackoverflow.com/questions/58384179/syntaxerror-cannot-use-import-statement-outside-a-module
How to structure a JS/TS monorepo (From Zero to Turbo - Part 1)
11:58
Do this before you deploy to Vercel
20:28
Web Dev Cody
Рет қаралды 31 М.
Why use a monorepo?
6:32
Vercel
Рет қаралды 109 М.
End-to-end tests in 200ms with Turborepo
8:34
Vercel
Рет қаралды 43 М.
Node.js: The Documentary | An origin story
1:02:49
Honeypot
Рет қаралды 685 М.
Intro to the Zig Programming Language • Andrew Kelley • GOTO 2022
50:14
What is Turbopack?
7:03
Vercel
Рет қаралды 30 М.