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

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ • 28

  • @Gearmaster7
    @Gearmaster7 2 роки тому +4

    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.

  • @binov5012
    @binov5012 2 роки тому

    Thanks for your courses! Best for you!

  • @zillionvfx4786
    @zillionvfx4786 3 роки тому +1

    Thank you so much sir Leo...Been waiting this one for so long...❤

    • @zillionvfx4786
      @zillionvfx4786 3 роки тому +2

      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 роки тому +1

      @@zillionvfx4786 did you figure out the best way share env variables?

  • @doobtom271
    @doobtom271 Рік тому +1

    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!

  • @andrewdelmonte1172
    @andrewdelmonte1172 3 роки тому

    Thank you Leo!

  • @billycatchpole3699
    @billycatchpole3699 2 роки тому +3

    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

  • @edwinvw
    @edwinvw 3 роки тому

    Big thanks!

  • @MiklosGalicz
    @MiklosGalicz 2 роки тому +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

  • @shaohaolin517
    @shaohaolin517 2 роки тому +1

    Hey Leo, thank you for the content. Is it possible to add support for Jest testing for packages?

  • @oussamasethoum1665
    @oussamasethoum1665 2 роки тому +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

  • @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 :)

  • @curiousprogrammer90
    @curiousprogrammer90 Рік тому

    Why aren't testing dev deps installed in config workspace but rather in the root? Thanks! :)

  • @7iomka
    @7iomka 2 роки тому +1

    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"

  • @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

  • @ajiehatajie
    @ajiehatajie 2 роки тому

    What a docker file for monorepo ?