TutorialsTypeScriptpnpm
pnpm workspaces in a monorepo: the setup that survived CI on Railway and the problems the docs don't warn you about
pnpm workspaces is the best option for TypeScript monorepos in 2026. But the happy path in the docs hides three traps that only show up in CI with real deployments: phantom dependencies, broken hoisting on Railway, and script filtering that doesn't filter what you think it does.
9 min86