Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
9a4e9678
Commit
9a4e9678
authored
8 years ago
by
Dan Abramov
Browse files
Options
Download
Email Patches
Plain Diff
Add some newlines to the console output
parent
f8bb37fb
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
global-cli/index.js
+1
-0
global-cli/index.js
scripts/init.js
+2
-0
scripts/init.js
with
3 additions
and
0 deletions
+3
-0
global-cli/index.js
+
1
-
0
View file @
9a4e9678
...
...
@@ -93,6 +93,7 @@ function createApp(name, verbose, version) {
console
.
log
(
'
Installing packages. This might take a couple minutes.
'
);
console
.
log
(
'
Installing react-scripts from npm...
'
);
console
.
log
();
run
(
root
,
appName
,
version
,
verbose
,
originalDirectory
);
}
...
...
This diff is collapsed.
Click to expand it.
scripts/init.js
+
2
-
0
View file @
9a4e9678
...
...
@@ -48,6 +48,7 @@ module.exports = function(appPath, appName, verbose, originalDirectory) {
// Run another npm install for react and react-dom
console
.
log
(
'
Installing react and react-dom from npm...
'
);
console
.
log
();
// TODO: having to do two npm installs is bad, can we avoid it?
var
args
=
[
'
install
'
,
...
...
@@ -71,6 +72,7 @@ module.exports = function(appPath, appName, verbose, originalDirectory) {
cdpath
=
appPath
;
}
console
.
log
();
console
.
log
(
'
Success! Created
'
+
appName
+
'
at
'
+
appPath
+
'
.
'
);
console
.
log
(
'
Inside that directory, you can run several commands:
'
);
console
.
log
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets