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

fix: update envinfo + implementation, update issue_template

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/tabrindle/upgrade-envinfo-5.x into next Apr 27, 2018
  • Overview 11
  • Commits 2
  • Pipelines 0
  • Changes 3

Created by: tabrindle

This PR fixes a few outstanding issues, and supersedes https://github.com/facebook/create-react-app/pull/3859 and https://github.com/facebook/create-react-app/pull/3797.

There were a couple issues with envinfo, and the issue template that never got resolved - this is my attempt to fix all of that. Also, envinfo has been rewritten for size and speed since originally integrated, and a few more features have been added. The command is the same create-react-app --info, but now returns more info, like this:

  System:
    OS: macOS High Sierra 10.13
    CPU: x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
  Binaries:
    Node: 8.11.0 - ~/.nvm/versions/node/v8.11.0/bin/node
    Yarn: 1.5.1 - ~/.yarn/bin/yarn
    npm: 5.6.0 - ~/.nvm/versions/node/v8.11.0/bin/npm
  Browsers:
    Chrome: 65.0.3325.181
    Firefox: 59.0.2
    Safari: 11.0
  npmPackages:
    react: ^16.3.2 => 16.3.2 
    react-dom: ^16.3.2 => 16.3.2 
    react-scripts: 1.1.4 => 1.1.4 
  npmGlobalPackages:
    create-react-app: 1.5.2
screen shot 2018-04-27 at 3 11 03 pm

Since you no longer recommend installing CRA (using via npx instead), also adding npx envinfo --preset create-react-app might be a faster option. envinfo is extremely light and fast via npx, and can be locked to a specific version - npx envinfo@5.2.0 --preset create-react-app, or just installed directly yarn global add envinfo && envinfo --preset create-react-app in the case of pre npm 5.2 installs. I can add this to the template upon request.

@bondz This may interest you.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/tabrindle/upgrade-envinfo-5.x