You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What are best practices to manage monorepo setup with Nx, Nestjs and pnpm with buildable libs?
We have nx/dependency-check eslint rule, but it doesn't have quick fix for local deps (@org/lib: "workspace:*"), it sets 0.0.1 always, so we need manually change it.
Also looks like we can't use webpack with Nest and pnpm, it ignores local node_modules at all.
Watch mode is buggy with tsc or swc and runTargetDependencies (sometimes hangs forever, doesn't respect app graceful shutdown, so our server hangs forever)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What are best practices to manage monorepo setup with Nx, Nestjs and pnpm with buildable libs?
We have nx/dependency-check eslint rule, but it doesn't have quick fix for local deps (@org/lib: "workspace:*"), it sets 0.0.1 always, so we need manually change it.
Also looks like we can't use webpack with Nest and pnpm, it ignores local node_modules at all.
Watch mode is buggy with tsc or swc and runTargetDependencies (sometimes hangs forever, doesn't respect app graceful shutdown, so our server hangs forever)
Beta Was this translation helpful? Give feedback.
All reactions