Nx - Project Crystal

preview_player
Показать описание
What if Nx plugins were more like VSCode extensions? You drop them in and they automatically start enhancing your experience and productivity. This is what Nx Project Crystal is all about: enhance, don't interfere.

🔗 Links:

📢 Socials:

Chapters:
0:00 Intro
1:48 Reduced configuration by inferring targets automatically
2:52 Visualizing what targets have been inferred
3:36 The underlying framework config as the single source of truth
5:30 Adding new plugins incrementally
6:28 Adopting Nx in a npm/yarn/pnpm monorepo
8:56 Migrating to an Nx plugin-based workspace
11:29 Distributing e2e tests with dynamically inferred targets
Рекомендации по теме
Комментарии
Автор

Definitely intriguing move, how to find so much time & focus to keep up with the ever changing approaches.

AlexanderMazuruk
Автор

Great, Good to see these exciting changes.
I was expecting one more in NX 18, run angular and react in a single project like in case of micro frontend angular is the host and react run as remote under an angular host

malikrajat
Автор

How to migrate a 17 nx monorepo to this, because NX disables the plugins when using nx migrate

JohanVrolix
Автор

Great news, JiT for my migration from yarn workspaces to nx

teachernr
Автор

looking forward to this :)
the very last bit of the video about speeding up e2e test.. i'm a bit stuck sometimes wondering if i should mock the database (can be difficult for complex usecases) or to use a transaction so tests can run in parallel, or make the tests so they are safe to run in parallel of the same database, or provide a new database to every test.

RobertKing
Автор

00:27 OMG how did you get that command line prompt menu ? ? ?

i-heart-google
Автор

Does this work for `package-based` monorepos too? And what should I do to use this features, is it enough to install the new version (Nx 18) by doing a migration? (I'm asking about a package-based monorepo that's already using Nx)

keteremillpario
Автор

Amazing. How can we add environemnt variables & ignore in command and dependencies?

pawan
Автор

I must say I have been anticipating it. Makes it easier to maintain large code bases where almost every project.json is the same.

Question: I know this may be difficult, but are there any plans to make plugins created in repository to be used without publishing, just like you are handling executors and generators? I know it may be more difficult with plugins, but I just would like to know if there are plans for that.
Also, I would love to see plugins be more configurable. As it stands today I couldn't use them in a more complex setup, as inputs and configurations are more complicated.

Bielik
Автор

Nice.. would love to see how it works with vitest workspace feature. Can I create workspace level config at once?

ankushkalia
Автор

should we start the migration or wait for the @19 release in April ?

yassinebouchoucha
Автор

Am I missing smth or `watch` option is missing in cypress component tests?

alextarasenko
Автор

very one; but I'm fighting to setup my monorepo with MF faced with errors errors errors... pls I need some littler help.
from this command
npx nx g @nx/angular:host host --directory=apps/host
I'm getting this error message " > NX Cannot read properties of undefined (reading 'executor')"
I've nx 18.0.x installed

canergurelsoy