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

Поделиться
HTML-код
  • Опубликовано: 9 янв 2025

Комментарии • 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.

  • @doobtom271
    @doobtom271 2 года назад +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

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

  • @binov5012
    @binov5012 2 года назад

    Thanks for your courses! Best for you!

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

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

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

    • @TheNarstonerz
      @TheNarstonerz 2 года назад +1

      Wondering the same

    • @ohana83
      @ohana83 Год назад

      @@TheNarstonerz same here

  • @oussamasethoum1665
    @oussamasethoum1665 2 года назад +2

    can you make a video on how to use turborepo with other backend frameworks such as NestJs

  • @nilskoch990
    @nilskoch990 2 года назад

    Great video! Thank you a lot!

  • @shaohaolin517
    @shaohaolin517 2 года назад +1

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

  • @andrewdelmonte1172
    @andrewdelmonte1172 3 года назад

    Thank you Leo!

  • @curiousprogrammer90
    @curiousprogrammer90 Год назад

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

  • @7iomka
    @7iomka 3 года назад +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"

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

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

  • @edwinvw
    @edwinvw 3 года назад

    Big thanks!

  • @ajiehatajie
    @ajiehatajie 2 года назад

    What a docker file for monorepo ?