Skip to content

Commit 06dd17e

Browse files
albertstillTimer
authored andcommitted
add create-react-app --help info for local file path --scripts-version 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
1 parent 8db5e33 commit 06dd17e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/create-react-app/createReactApp.js

+5
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ const program = new commander.Command(packageJson.name)
8989
'my-react-scripts'
9090
)}`
9191
);
92+
console.log(
93+
` - a local path relative to the current working directory: ${chalk.green(
94+
'file:../my-react-scripts'
95+
)}`
96+
);
9297
console.log(
9398
` - a .tgz archive: ${chalk.green(
9499
'https://mysite.com/my-react-scripts-0.8.2.tgz'

0 commit comments

Comments
 (0)