Make it a proper multipackage monorepo
See original GitHub issueI think we should change the directory structure to make it easier to add more packages to the project in the future. I’m thinking something like this:
packages
- create-react-app (this is global-cli in current layout)
- index.js
- package.json
- react-scripts (this is project root in current layout)
- bin
- config
- scripts
- package.json
tasks
template
A PR doing this is welcome. (You’ll probably want to adjust config/paths.js
to account for this change.)
If you plan to work on this please leave a comment here so multiple people don’t work on the same thing. Please respect it if somebody has taken the task, and let them finish it.
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (3 by maintainers)
Top Results From Across the Web
How to Create a Monorepo for Multiple Node Packages
1. Github Repository Creation · 2. Install Lerna & Setup the Project Locally: · 3. Create Lerna managed packages · 4. Generating a...
Read more >A Guide to Monorepos for Front-end Code - Toptal
A monorepo or monorepository is a code management and architectural concept whereby you keep all your isolated bits of code inside one super...
Read more >Cross-repository Component Sharing using Mono-repo Multi ...
A tool for managing JavaScript projects with multiple packages. · Setting up a dev environment for every single package it now just 3...
Read more >Managing a full-stack, multipackage monorepo using pnpm
With a monorepo, we can make code changes to both and commit to a single code repository, updating both components at the same....
Read more >Setting up a TypeScript multi-package mono-repo for ...
Step 1: Setting up the top-level NPM project · Step 2: Create scoped packages in workspaces · Step 3: Configuring out TypeScript setup...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Done thanks to @ryanyogan and @fson. This unlocked many opportunities for us so thank you for moving this project forward.
I agree Lerna isn’t necessary atm but it’s relatively simple to setup with independent mode (you don’t need crazy options)
Should write up that usage guide sometime…