Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

mimiflynn/react-npm-workspaces

Repository files navigation

react-npm-workspaces

Intro

NPM Workspaces is a powerful way to manage a suite of javascript / typescript applications in a monorepo.

Requirements

NPM Workspaces was introduced with version 7, so if you are using an earlier version anywhere in the build flow, the build will fail.

Getting Started

npm run start -w @rnw/todo

Keys to making this work

Create React App doesn't compile outside of its src directory, so react-app-rewired is needed with customize-cra to allow for directories outside of the CRA app to be transpiled.

References

NPM Workspaces

Create React App

About

Demo of how to build multiple React applications with NPM Workspaces in a monorepo

Resources

Readme

License

Apache-2.0 license

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors