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
  • !898

Support Yarn

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/fson/yarn into master Oct 12, 2016
  • Overview 14
  • Commits 2
  • Pipelines 0
  • Changes 8

Created by: fson

Yarn is a new fast, reliable and secure alternative to the npm client.

This pull request adds support for Yarn in Create React App. See discussion in #896 (closed).

In the create-react-app command, we try to install packages using Yarn. If Yarn is not installed, we use npm instead. In react-scripts, we detect if the project is using Yarn by checking if a yarn.lock file exists. If the project is using Yarn, all the instructions are displayed with Yarn commands and Yarn is used to install packages in init and eject scripts.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/fson/yarn