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
  • Issues
  • #2280
Closed
Open
Issue created May 20, 2017 by Administrator@rootContributor

Port cra.sh development task to javascript

Created by: ianschmitz

A quick improvement I'd thought I'd propose for those of us looking to contribute to CRA from a Windows machine.

As part of end to end testing while contributing to CRA we can use the npm run create-react-app my-app command to generate a new app. However this fails when run on Windows:

$ npm run create-react-app test

> @ create-react-app C:\Projects\create-react-app
> tasks/cra.sh "test"

'tasks' is not recognized as an internal or external command,
operable program or batch file.

A simple solution may be to port the cra.sh shell script to javascript, which would make it easier to run on a Windows based machine. There are workarounds such as installing Bash on Windows 10, but this would make life a little easier :)

I'd be happy to submit a PR if we think it's worthwhile.

Assignee
Assign to
Time tracking