Setup a monorepo with PNPM workspaces and add Nx for speed

Setup a monorepo with PNPM workspaces and add Nx for speed

Nx - Smart Monorepos - Fast CI

2 года назад

54,402 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@pawan29121991
@pawan29121991 - 01.11.2023 10:51

Still one of the best video to hook nx into your repo/workspace

Ответить
@TheDakenzi
@TheDakenzi - 27.10.2023 23:05

This is the perfect introduction video I feel like for NX and pnpm workspaces. I got very confused with all of those config files and generator commands etc, but this video cleared up everything for me 👍

Ответить
@mohammadjawad5085
@mohammadjawad5085 - 27.10.2023 14:32

Hello, should we include the ".nx" or ".nx/cache" directories in the .gitignore file? I'm working on a project hosted on GitHub and deployed to Vercel. Thanks.

Ответить
@hrish91
@hrish91 - 08.09.2023 18:07

is it possible to use nx console with pnpm workspace ?

Ответить
@TurboBorsuk
@TurboBorsuk - 05.09.2023 12:37

'clear' command disliked this video 😜

Ответить
@technoscout
@technoscout - 16.07.2023 14:31

How to observe changes in the packages the way like with dev? (not using FileWatchers)

Ответить
@yashkhd1100
@yashkhd1100 - 12.07.2023 22:03

Thanks for this video. This video is very well prepared and full of useful info. I wish I had came across this one few months back when I was trying to setup Nx monorepo with Nx generators. However, I was struggling to get the repo structure I wanted. Generators were polluting root package.json with tons of unused dependencies. Setup you mentioned here is perfect to handle most of the scenarios. This 32 min video literally saved multiple hours of Googling and struggling to get structure I wanted to have..!!

Ответить
@86tiagonunes
@86tiagonunes - 09.07.2023 18:57

Thanks Juri and the Nx team, I started to study about monorepos recently and had issues the recipe for the nx remix (also I my lack of kwonledge made worse to debug). This video helped a lot.
My mistake is that I was thinking that monorepo would have just one node_modules for the entire project, kinda that the package.json of the app would be automatically routed to the root package.json

Ответить
@BenSmith-et9fv
@BenSmith-et9fv - 26.06.2023 13:28

Great work! What a clear presentation, Thanks.

Ответить
@Hugos68
@Hugos68 - 20.06.2023 01:09

Thanks for this clear explanation of setting up a monorepo!

Ответить
@82852578
@82852578 - 31.05.2023 20:26

Very nice and thank you !

Ответить
@AbdulShaiker
@AbdulShaiker - 09.05.2023 12:32

P

Ответить
@LarsRyeJeppesen
@LarsRyeJeppesen - 26.02.2023 13:58

TIP: To avoid installing packages with npm/yarn in your projects, I use this pre-install hook in package.json in my projects: "preinstall": "pnpx only-allow pnpm"

Ответить
@LarsRyeJeppesen
@LarsRyeJeppesen - 25.02.2023 20:36

Great stuff

Ответить
@zBrain0
@zBrain0 - 11.02.2023 16:22

This video is important because it shows that you don't necessarily have to use the code generation features of NX in order to make use of it. I think it's very easy to get the idea that unless a specific plug-in exists for NX for whatever toolkit you're wanting to use that you can't use it. Seeing that you can easily add it to a generic mono repo is definitely important information to get out there.

Ответить
@lekkyjayz6294
@lekkyjayz6294 - 08.02.2023 22:32

In my shared-ui/index.tsx i have
export * from './Button'
and in my package.json dependencies i have
"shared-ui": "workspace:*"
But
import Button from 'shared-ui' does not work for me.
import Button from 'shared-ui/Button' works.
How can i resolve this?
Thanks

Ответить
@adamdrake39
@adamdrake39 - 30.01.2023 11:43

Really nice video and explains a lot especially about the benefits NX brings to a project. Thanks for taking the time to make it. Do you have any videos building on top of this one where you bring building docker images ready for production into the mix using multiple packages and an app in a monorepo?

Ответить
@matheusvictor9629
@matheusvictor9629 - 30.01.2023 03:10

Thanks for the video! About pnpm, can you replace it completely with just Nx? If yes, how?

Ответить
@miotegui
@miotegui - 06.01.2023 21:22

Amazing work, really really clear. Thank you!

Ответить
@RafaelAvilaMartinez
@RafaelAvilaMartinez - 15.12.2022 06:38

pure gold! Thank you!

Ответить
@uquantum
@uquantum - 15.10.2022 18:30

Thanks Juri, first presentation I clearly understood how Nx can build on top of pnpm workspaces and why that is a potential benefit. Pnpm already does a great job of package management and efficient code reuse among projects in a monorepo, then Nx fills the project-management void. For example, Nx can simplify and speed up the way in which we manage, add and subtract projects (distinct from how pnpm manages the packages each project depends on). By the end of your vid, I can see how Nx + pnpm could really help

Ответить
@avimehenwal
@avimehenwal - 10.09.2022 17:24

I mostly work with vuejs (version 3) and I was wondering if NX works as good as it does with react for vue3 projects as well ?

Ответить
@jakubus007
@jakubus007 - 01.09.2022 11:17

Why pnpm created multiple node_modules with redundant packages?

Ответить
@hueyvam6270
@hueyvam6270 - 27.08.2022 06:10

This is the missing presentation that was needed to better show a head-to-head with Turborepo. Thank you for this.

Ответить
@ChronicWhale
@ChronicWhale - 16.08.2022 00:42

Thank you, I will definitely be using nx

Ответить
@leosiek0342
@leosiek0342 - 19.07.2022 23:05

G adobe acrobat cracked ing t adobe acrobat crack r adobe acrobat cracked ug adobe acrobat crack tNi adobe adobe acrobat crack e tut adobe acrobat cracked ri adobe acrobat crack adobe adobe acrobat crack am adobe acrobat cracked adobe acrobat crack rig adobe acrobat crack t n adobe acrobat cracked w

Ответить
@mklueh
@mklueh - 19.07.2022 08:52

Why do I need pnpm workspaces/ yarn workspaces when using NX and what advantage does it have?

Ответить
@freeplickacesso1603
@freeplickacesso1603 - 18.07.2022 00:04

love it!

Ответить
@lucasvtiradentes
@lucasvtiradentes - 16.07.2022 22:13

this video is a masterpiece, thankyou very much, its just a brilliant summary you've made!!!!

Ответить
@autsadathummatipagul7889
@autsadathummatipagul7889 - 14.07.2022 16:04

Very useful, even though I got lost at some points because of fast speaking, but it's a very good explanation overall.

Ответить
@AndiWidjaja
@AndiWidjaja - 13.07.2022 04:56

Nx is using parcel watcher that is broken with pnpm.

Ответить
@sebastiandg7
@sebastiandg7 - 13.07.2022 02:34

What a great explanation Juri!!

Ответить