# Migrating to Workspaces and Nx

DevFeed: [Migrating to Workspaces and Nx](<https://devfeed.tech/articles/migrating-to-workspaces-and-nx-51835.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/migrating-to-workspaces-and-nx>)

Published: 2026-03-10T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [npm-workspaces](<https://devfeed.tech/topics/npm-workspaces.md>), [monorepo](<https://devfeed.tech/topics/monorepo.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [Docker Compose](<https://devfeed.tech/topics/docker-compose.md>), [React Router](<https://devfeed.tech/topics/react-router.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>)

Tags: [docker](<https://devfeed.tech/tags/docker.md>), [fly](<https://devfeed.tech/tags/fly.md>), [github](<https://devfeed.tech/tags/github.md>), [monorepo](<https://devfeed.tech/tags/monorepo.md>), [npm-workspaces](<https://devfeed.tech/tags/npm-workspaces.md>), [nx](<https://devfeed.tech/tags/nx.md>), [react-router](<https://devfeed.tech/tags/react-router.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>)

## AI overview

An account of migrating a repository with multiple deployable applications to npm workspaces and a lightweight Nx setup. The migration consolidated nested lockfiles, clarified package boundaries, and exposed import-path and working-directory assumptions.

## Source excerpt

The interesting part of moving kentcdodds.com to npm workspaces was not the file moves. It was everything the file moves broke.