Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !405

multipackage monorepo base configuration

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/ryanyogan/monorepo into master Aug 08, 2016
  • Overview 5
  • Commits 8
  • Pipelines 0
  • Changes 42

Created by: ryanyogan

Monorepo basic configuration in reference to #403 (closed)

Changes made to directory structure

|- packages (new root directory) |-- create-react-app (was parent directory) |-- react-scripts (was global-cli)

Testing

To test as you would use npm i create-react-app -g cd packages/create-react-app && npm i . -g to install locally or npm link create-react-app my-app should work as before

To test the build process cd packages/react-scripts && npm i && npm run build

Notes

This is just the directory structure changes, perhaps a little discussion around @hzoo's comment regarding Lerna Independant is warranted?

# or global?
npm install lerna --save-dev
./node_modules/.bin/lerna init (add lerna.json)
./node_modules/.bin/lerna bootstrap (npm installs packages, links)
# when publish is necessary
./node_modules/.bin/lerna publish --independent
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/ryanyogan/monorepo