Skip to content

Commit

Permalink
add create-react-app --help info for local file path `--scripts-ver…
Browse files Browse the repository at this point in the history
…sion` support (#4015)

* add `create-react-app --help` info for local file path --scripts-version

* make example path `../my-react-scripts` for local file path --help info
  • Loading branch information
albertstill authored and Timer committed Mar 26, 2018
1 parent 8db5e33 commit 06dd17e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/create-react-app/createReactApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ const program = new commander.Command(packageJson.name)
'my-react-scripts'
)}`
);
console.log(
` - a local path relative to the current working directory: ${chalk.green(
'file:../my-react-scripts'
)}`
);
console.log(
` - a .tgz archive: ${chalk.green(
'https://mysite.com/my-react-scripts-0.8.2.tgz'
Expand Down

0 comments on commit 06dd17e

Please sign in to comment.