From b2c2a91219fda49af7cea0a841330859b9196f07 Mon Sep 17 00:00:00 2001 From: Jonathan Felchlin Date: Mon, 13 Mar 2017 11:41:55 -0700 Subject: [PATCH 1/4] Allow creation of apps in empty mercurial repos --- packages/create-react-app/createReactApp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/create-react-app/createReactApp.js b/packages/create-react-app/createReactApp.js index da9250d4d71..bb5d32564a8 100755 --- a/packages/create-react-app/createReactApp.js +++ b/packages/create-react-app/createReactApp.js @@ -501,6 +501,7 @@ function isSafeToCreateProjectIn(root) { 'README.md', 'LICENSE', 'web.iml', + '.hg', ]; return fs.readdirSync(root).every(file => validFiles.indexOf(file) >= 0); } From af3d9538e42434c8c63ab4dbf739ea646ec7c8bf Mon Sep 17 00:00:00 2001 From: Jonathan Felchlin Date: Mon, 13 Mar 2017 12:38:53 -0700 Subject: [PATCH 2/4] Adding .hgignore to list of validFiles for isSafeToCreateProjectIn check --- packages/create-react-app/createReactApp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/create-react-app/createReactApp.js b/packages/create-react-app/createReactApp.js index bb5d32564a8..097a0fd42e3 100755 --- a/packages/create-react-app/createReactApp.js +++ b/packages/create-react-app/createReactApp.js @@ -502,6 +502,7 @@ function isSafeToCreateProjectIn(root) { 'LICENSE', 'web.iml', '.hg', + '.hgignore', ]; return fs.readdirSync(root).every(file => validFiles.indexOf(file) >= 0); } From 3878d860514034d73fb78720ab3cdab0536764fb Mon Sep 17 00:00:00 2001 From: Jonathan Felchlin Date: Mon, 13 Mar 2017 13:06:26 -0700 Subject: [PATCH 3/4] Adding .hgcheck to list of validFiles for isSafeToCreateProjectIn check --- packages/create-react-app/createReactApp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/create-react-app/createReactApp.js b/packages/create-react-app/createReactApp.js index 097a0fd42e3..4bfd9171633 100755 --- a/packages/create-react-app/createReactApp.js +++ b/packages/create-react-app/createReactApp.js @@ -503,6 +503,7 @@ function isSafeToCreateProjectIn(root) { 'web.iml', '.hg', '.hgignore', + '.hgcheck', ]; return fs.readdirSync(root).every(file => validFiles.indexOf(file) >= 0); } From b9f3002046b9f6a994a8dcac167b43618754a8f5 Mon Sep 17 00:00:00 2001 From: Jonathan Felchlin Date: Tue, 14 Mar 2017 08:46:48 -0700 Subject: [PATCH 4/4] Adding shrink-to-fit=no for proper responsive handling on Safari 9+ --- packages/react-scripts/template/public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/template/public/index.html b/packages/react-scripts/template/public/index.html index aab5e3b00ce..3622e29b418 100644 --- a/packages/react-scripts/template/public/index.html +++ b/packages/react-scripts/template/public/index.html @@ -2,7 +2,7 @@ - +