Urgent.News

What's breaking now, across thousands of outlets.

Tech

From Monorepo to Turborepo: Managing Multiple Projects

Why a Monorepo? A monorepo is a single repository containing multiple distinct projects, with well-defined relationships. — Monorepo Explained A monorepo makes sense when multiple projects have meaningful relationships: Shared libraries and utilities — reuse common code across projects. Shared contracts — keep API types consistent between producers and consumers. Cross-project changes — update…

Monorepos are repositories containing multiple related projects. They are beneficial when projects share libraries, contracts, changes, and tooling. However, managing dependencies and packages in a monorepo can be challenging. Workspaces in npm CLI provide a solution by allowing multiple packages to be managed within a single top-level root package. This enables shared packages without each project managing local references and updates independently.

With workspaces, each package declares its own dependencies, which are installed and managed from the repository root. This allows for easier management of shared packages and relationships between projects. For example, the Web project can depend on shared API types in the workspace using the `workspace:*` protocol. This allows pnpm to use the local workspace package instead of resolving the package from a local file dependency.

While workspaces simplify package management, they are not a complete solution. As the number of projects and dependencies grows, coordinating builds, tests, and other tasks becomes increasingly complex. Task orchestration can help by defining a task graph that describes dependencies between tasks and determining their execution order. This can automate the selection of relevant tasks based on package relationships and changes, making it easier to manage the development process in a large monorepo.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Reading the CVSS 7.1 Score for CVE-2025-38680: Local, Low Complexity, High Confidentiality Impact

Reading the CVSS 7.1 Score for CVE-2025-38680: Local, Low Complexity, High Confidentiality Impact Vulnerability overview CVE-2025-38680 is a Linux kernel out-of-bounds read in the USB Video Class…

  • CVE-2025-38680 affects Linux kernel due to out-of-bounds read in USB Video Class driver.
  • NVD assigns high severity score of 7.1 based on CVSS 3.1.
  • Local attacker can exploit vulnerability with low attack complexity and privileges.

What feature would you want in a Roblox account manager?

I maintain MultiAlt , a free, open-source (GPL-3.0) Windows app that keeps several Roblox accounts signed in and opens them side by side.

  • Users want features not in current MultiAlt, such as simultaneous group joining.
  • Primary uses include farming, trading, testing games, and playing with friends.
  • Violating Roblox's terms is prohibited in future account manager development.

More from Friday 9 October →