Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Merge upstream create-react-app v1.0.7 #90

Merged
merged 427 commits into from
Aug 2, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
427 commits
Select commit Hold shift + click to select a range
e0365a5
Bust AppVeoyr cache
gaearon Mar 6, 2017
03d15f4
Relax ESLint config peerDependency (#1740)
gaearon Mar 6, 2017
1bfd5da
Fix internal linting setup and add missing headers (#1741)
gaearon Mar 6, 2017
d7bcc19
Fix eject for linked react-scripts (#1736)
tuchk4 Mar 6, 2017
abe3b84
Add changelog for 0.9.4
Timer Mar 6, 2017
956322b
Published branch 0.9.x
Timer Mar 6, 2017
cc35b8e
Adjust changelog wording
Timer Mar 6, 2017
24f38f8
Switch to preset-env (#1742)
Timer Mar 7, 2017
ed5c016
Add runtime error overlay (#1101)
Timer Mar 7, 2017
2ac1b38
Whitelist files that can be embedded through url-loader (#1305)
pugnascotia Mar 7, 2017
3b15f0a
Update deps for webpack 2
Timer Mar 7, 2017
7dd124c
Update broken link
gaearon Mar 7, 2017
43873dc
Display yarn instead of yarnpkg when creating a new app (#1747)
lpalmes Mar 7, 2017
fe7b5c2
update to modern code style (#1738)
tuchk4 Mar 7, 2017
8885f8f
Create PR_TEMPLATE.md
gaearon Mar 7, 2017
66dda48
Rename PR_TEMPLATE.md to PULL_REQUEST_TEMPLATE.md
gaearon Mar 7, 2017
db008e6
Update PULL_REQUEST_TEMPLATE.md
gaearon Mar 7, 2017
837f544
Add yarn steps for adding flow (#1756)
zertosh Mar 7, 2017
a235694
Add lint-staged + husky for prettier auto-formatting on commit (#1759)
Mar 8, 2017
a002317
Clarify philosophy about configuration (#1679)
alberto Mar 8, 2017
4bc9e79
Update configuration philosophy (#1768)
Timer Mar 8, 2017
8c00af1
Suggest `serve` for running in production (#1760)
leo Mar 8, 2017
9c9f8f6
Remove 'guard-for-in' lint rule (#1773)
sophiebits Mar 9, 2017
0c0c5c1
Run CI on Node 7; Bump detect-port: 1.0.1 -> 1.1.0 (#1776) (#1783)
ryanwalters Mar 9, 2017
2a03137
Add 0.9.5 changelog (#1784)
gaearon Mar 9, 2017
76680ae
docs(babel-preset): Update comment info about babel-preset-env. (#1787)
evenchange4 Mar 10, 2017
0a66347
Feature/readme-nomoretools (#1799)
moniuch Mar 11, 2017
052fcdd
Suggest "yarn build" rather than "yarn run build" (#1800)
geoffdavis92 Mar 12, 2017
b55a7d8
Tweak the wording
gaearon Mar 13, 2017
ccb5f84
Fixes a silent crash when ejecting (#1810)
gaearon Mar 14, 2017
b3dc81d
Link to CRNA
gaearon Mar 14, 2017
0ace417
Make scripts crash on unhandled rejections (#1819)
dbismut Mar 14, 2017
9512d97
Allow creation of apps in empty mercurial repos (#1811)
GreenGremlin Mar 15, 2017
35d84ef
Make Surge guide more focused
gaearon Mar 18, 2017
c436bf3
User Guide: Removed blockquote from code section, due to markdown con…
Mar 21, 2017
2574a7e
Fix AppVeyor CI (#1876)
darrenscerri Mar 22, 2017
82cebbf
Provide commander with package name (#1867)
mkazantsev Mar 22, 2017
2ac3f99
Fix responsive behavior in iOS 9+ (#1821)
GreenGremlin Mar 22, 2017
0d4d59f
Check internet connectivity with lookup instead of resolve (#1863)
kdleijer Mar 22, 2017
bc6fc95
Update `detect-port` (#1861)
Andreyco Mar 22, 2017
47a8148
Fix importing npm linked libraries (#1359)
AsaAyers Mar 23, 2017
1e1a3cb
Test for accidental extraneous dependencies (#1825)
lpalmes Mar 23, 2017
b403048
Fix AppVeyor CI (#1868)
darrenscerri Mar 24, 2017
7b124e7
Re-disable babel modules transform (#1894)
Timer Mar 27, 2017
5364908
Duplicate CLI file warning header
Timer Mar 27, 2017
c83ee7a
Suggest Yarn in HTML template (#1911)
tmos Apr 5, 2017
798572a
Note that only jest-enzyme@2.x is compatible
gaearon Apr 9, 2017
53943a8
Add sku to the list of alternatives (#1962)
markdalgleish Apr 10, 2017
cb41a76
Update information in User Guide for Enzyme dependency (#1982)
josephrace Apr 14, 2017
f61cba1
Ensure proxy url starts with `http://` or `https://` (#1890)
bunshar Apr 15, 2017
3124328
Add linked modules test (#1913)
Timer Apr 15, 2017
ef86877
Start the dev server at the specified host (#1301)
GAumala Apr 19, 2017
0b9c65f
Add folder structure docs for new contributors (#1991)
anilreddykatta Apr 19, 2017
a0b16df
Relax label rules (#1989)
anilreddykatta Apr 19, 2017
05f3f5e
Update doc server example to work from any directory (#1988)
isramos Apr 19, 2017
31a38b3
removed options in UglifyJsPlugin which are equal to the defaults (#1…
marcofugaro Apr 19, 2017
c0fd569
Resolve localhost when offline on Windows (#1839)
bunshar Apr 21, 2017
d6173fd
Minify and map css (#2013)
viankakrisna Apr 22, 2017
a53f22b
Fix AppVeyor CI (#2010)
Timer Apr 22, 2017
a1b56cf
Update README.md CSS Preprocessor --> node-sass-chokidar alternative …
michaelwayman Apr 22, 2017
5bb502a
Turn off CSS source maps
Timer Apr 24, 2017
927c539
Use custom sourcemap file names
Timer Apr 25, 2017
d721d4a
Modularize and extract crashOverlay to iframe (#1842)
Timer Apr 25, 2017
88f4f95
Upgrade webpack deps and use strictExportPresence (#2028)
Timer Apr 25, 2017
33a9700
Fix Netlify heading level. (#2033)
benpickles Apr 25, 2017
d65070e
Use prop-types package (#2029)
Timer Apr 25, 2017
bed9a39
Update README.md (#2040)
tijwelch Apr 28, 2017
3fac036
Define dev chunk names (#2050)
jstcki May 1, 2017
851a404
Suggest to create .eslintrc for IDE lint plugins (#2054)
gaearon May 1, 2017
629d575
Update README.md (#2058)
luftywiranda13 May 1, 2017
f762728
Fix instructions for serving with now (#2052)
davidascher May 2, 2017
f1563b9
Temporarily pin Yarn to fix CI
gaearon May 3, 2017
59c439b
Fixed documentation link for storybook in README.md (#2081)
May 4, 2017
5a7d8e8
Forbid using window properties as global variables (#1840)
sidoshi May 5, 2017
94149c7
Ignore the yarn cache directory (#2063)
jmorrell May 8, 2017
3a527f2
Revert "Forbid using window properties as global variables" (#2099)
gaearon May 8, 2017
2d7a1bb
Minor tweaks for crash overlay (#2101)
gaearon May 9, 2017
f35593c
Bump minimal Node version to 6 (#1897)
ianschmitz May 9, 2017
0a50395
Prettify errors and warnings for Webpack 2 (#2113)
gaearon May 10, 2017
1acc3a4
Do not parse `.eslintignore` (#2115)
Timer May 10, 2017
70768b3
Add `react-error-overlay` package (#2111)
Timer May 10, 2017
8d4604e
Default to 0.0.0.0 (#2117)
Timer May 11, 2017
6959077
Omit ESLint warnings when there are ESLint errors (#2120)
gaearon May 11, 2017
942cf62
Adds tests for the overlay (#2118)
Timer May 11, 2017
efd99a9
disable ignoring unused vars prefixed with _ (#1763)
sidoshi May 11, 2017
a4bd567
Bump React in development (#2122)
gaearon May 11, 2017
3521eb7
Make error box messages friendlier (#2123)
gaearon May 11, 2017
1ede6a8
Only show first error (#2125)
gaearon May 11, 2017
2b59654
Fix a bad condition
gaearon May 11, 2017
2de95c4
Update Sass docs (#2114)
kellyrmilligan May 12, 2017
80a7fc3
Feature/different env config files #1343 (#1344)
tuchk4 May 12, 2017
68fcba4
Add note about yarn.lock in CONTRIBUTING.md (#2135)
viankakrisna May 12, 2017
fa48296
Update README.md (#2137)
cesarvarela May 12, 2017
76d2d84
Improve unmapper file heuristic, add limited warning support, and ign…
Timer May 13, 2017
b25c133
Skip React frames that are too close (#2143)
gaearon May 14, 2017
4434467
Click to view source from error overlay (#2141)
gaearon May 14, 2017
ac7777d
Work around weird inferred name in Chrome
gaearon May 14, 2017
8b451c3
Don't collapse unintentional top-level errors (#2145)
gaearon May 14, 2017
dbd12f1
Add a missing color mapping (#2146)
Timer May 14, 2017
06e73fa
Blacklist confusing global variables (#2130)
sidoshi May 14, 2017
be43292
Temporarily fork detect-port (#2147)
Timer May 14, 2017
82687dd
Replace prompt function from react-dev-utils with Inquirer.js. (#1772)
iansu May 14, 2017
10c734b
Print error messages for editor integration (#2150)
gaearon May 14, 2017
f17448e
Add custom eslint formatter (#2138)
sidoshi May 14, 2017
77087da
Fix CI
Timer May 14, 2017
21349c5
Tweak error and warning output (#2152)
gaearon May 15, 2017
5e35645
Focus on line in eslint messages
gaearon May 15, 2017
75fc094
Fix CI
Timer May 15, 2017
9b22817
[Internal] Warn for missing brackets (#2151)
Timer May 15, 2017
71a27c0
Allow custom proxies in development (#1790)
jamesblight May 15, 2017
281e8d2
Add support for IPv6 hosts
Timer May 15, 2017
4dc7c86
Prefer localhost as an address (#2154)
Timer May 15, 2017
ac63130
Show network address on start (#2155)
Timer May 15, 2017
172264e
Bump webpack packages
gaearon May 15, 2017
9e733b5
Internal Webpack paths should not be clickable
gaearon May 15, 2017
f87e613
Make error/warning output more useful (#2161)
gaearon May 15, 2017
e17c392
Fix lint
Timer May 15, 2017
f366028
Fix CI
Timer May 15, 2017
71e0960
Update to Jest 19 (#1614)
rogeliog May 15, 2017
fcb7dcf
Put console.stack() behind a react vendor prefix (#2164)
gaearon May 15, 2017
5ecda24
Unpin Yarn (#2124)
gaearon May 15, 2017
7bff715
ESLint Config: Upgrade eslint-plugin-jsx-a11y and activate more rules…
AlmeroSteyn May 15, 2017
814365b
Removing extra `eslint` rules (#2064)
anilreddykatta May 15, 2017
d6dbfc0
Support hoisting react-scripts and add require.resolve() to loaders (…
gaearon May 15, 2017
8f028ae
Support node scripts in BROWSER (#1590)
GAumala May 15, 2017
9b231d4
Enable CSS sourcemaps in production (#2168)
gaearon May 15, 2017
044e57b
Adding plugin postcss-flexbugs-fixes and flexbox: 'no-2009' to Autopr…
cr101 May 16, 2017
1832b76
Try to fix CI
gaearon May 16, 2017
9f8a001
Try again
gaearon May 16, 2017
c5e5eb5
Only run tests in <rootDir>/src (#544) (#1808)
kindrowboat May 16, 2017
0ffed85
Bump dependencies (#2170)
gaearon May 16, 2017
98fec2d
react-dev-utils/openBrowser now supports urls with 2+ params (#2076)
alisonmonteiro May 16, 2017
db2f2ed
Jest 20 (#2171)
gaearon May 16, 2017
10a180b
Make coverage and snapshot Jest options overridable in package.json (…
ryansully May 16, 2017
5868913
Bump versions
gaearon May 16, 2017
50aaae6
Resolve regenerator runtime relative to react-scripts (#2175)
gaearon May 16, 2017
66792dd
Fix Flow hopefully
gaearon May 16, 2017
dadf93b
Disable require.ensure() warning (#2177)
gaearon May 16, 2017
134d229
Reenable require.ensure()
gaearon May 16, 2017
46eeabc
Tweak colors for better contrast on Windows (#2180)
gaearon May 16, 2017
e280254
Handle errors from port detector (#2182)
gaearon May 16, 2017
493e5a6
Tweak lint rules (#2186)
gaearon May 16, 2017
65ff548
Ignore Moment.js locales by default (#2187)
gaearon May 16, 2017
e1f22b5
Disable Yarn on CI temporarily
gaearon May 17, 2017
a61be9c
Add module scope plugin (#2189)
Timer May 17, 2017
e7c113e
Webpack config typo (#2193)
Justkant May 17, 2017
c7c3a52
PWA-ification, via SWPrecacheWebpackPlugin + manifest.json (#1728)
jeffposnick May 17, 2017
d9a2974
Tidy up some build logs (#2197)
gaearon May 17, 2017
ee850f5
Bump Jest to 20.0.3 (#2196)
gaearon May 17, 2017
c27d765
Test module scoping (#2198)
Timer May 17, 2017
fd2a800
Disable Uglify reduce_vars (#2200)
gaearon May 17, 2017
68f95d4
Tweaking error overlay styles (#2201)
bvaughn May 17, 2017
c82c4f0
Refactor and improve build output (#2202)
gaearon May 18, 2017
0681e24
Tweaked error overlay styles (pt2) (#2208)
bvaughn May 18, 2017
8dc9217
Move more logic from react-scripts to react-dev-utils (#2209)
gaearon May 18, 2017
0d0536f
Fix vertical alignment of close button
gaearon May 18, 2017
02968ec
Cleaned up next/prev error arrow styles; arrows wrap around when clic…
bvaughn May 18, 2017
2ae1772
Add temporary support for Node 4.x to global CLI (#2214)
gaearon May 18, 2017
07c75aa
Replace text-align: start with left to fix Edge (#2215)
gaearon May 18, 2017
5f93bc4
ES6 syntax (#2213)
shashkovdanil May 18, 2017
55afd86
Move error overlay middleware (#2216)
gaearon May 18, 2017
43b819c
"rule keywords" => "keywords"
gaearon May 18, 2017
6c8b18b
Improve interaction between compile and runtime overlays (#2219)
gaearon May 18, 2017
b98ba3d
Better document PWA stuff
gaearon May 19, 2017
741c4f0
Enable 1.0 docs (#2220)
Timer May 19, 2017
54ea478
Add documentation about using code splitting (#1801)
tharakawj May 19, 2017
a5e88cd
Swap changelogs (#2222)
gaearon May 19, 2017
bf9eca2
Publish
gaearon May 19, 2017
26c9a3d
Update CHANGELOG.md
gaearon May 19, 2017
af7fbae
March -> May
gaearon May 19, 2017
499adbe
Fix shortcut handling in react-error-overlay (#2238)
Gandem May 19, 2017
70a7f28
Add explicit package dependence (#2243)
Timer May 19, 2017
4a32171
Fix read of .env variables (#2242)
ApacheEx May 19, 2017
e0b444e
Gracefully shut down the server on signals (#2246)
gaearon May 19, 2017
2023e44
Shame on me
gaearon May 19, 2017
5410aa4
Correct docs on which .env.* files are supported. (#2247)
AJamesPhillips May 19, 2017
9d98ca9
Hide React Storybook from the User Guide while it's incompatible (#2252)
gaearon May 19, 2017
1834cb5
Show customized build path for serve instruction (#2229)
chyipin May 19, 2017
f3f5599
Ignore .env.local in test environment (#2250)
gaearon May 19, 2017
c749de7
add noscript to template's index.html (#2224)
viankakrisna May 19, 2017
22ca584
Work around Windows path issue in SWPrecacheWebpackPlugin (#2255)
gaearon May 19, 2017
e939a5b
Turn off operator-assignment stylistic rule (#2256)
gaearon May 19, 2017
bf7df73
update readme with example of include path (#2258)
kellyrmilligan May 19, 2017
d6d2f6d
update reference with new name (#2259)
enguerran May 19, 2017
3cd2267
Additional fix to service worker config for "homepage" field (#2262)
gaearon May 19, 2017
d24311e
Always resolve NODE_PATH (#2261)
gaearon May 19, 2017
3a3be74
Fix a bug on empty NODE_PATH (#2264)
gaearon May 19, 2017
e806332
Shut down server silently, as it is too noisy
gaearon May 19, 2017
b460795
Add changelog for 1.0.1 (#2266)
gaearon May 19, 2017
cd5c6d5
Publish
gaearon May 19, 2017
68cd598
Fix missing dependency (#2269)
GreenGremlin May 19, 2017
2143a30
Describe build in less fluffy terms
gaearon May 19, 2017
34b4ad8
Update README.md
gaearon May 19, 2017
95cbcc4
Update README.md
gaearon May 19, 2017
4e886f7
Update CHANGELOG.md
gaearon May 19, 2017
d3e8536
Add WSL support to launchEditor utility (#2282)
noinkling May 20, 2017
ba0d0da
Only enable host check if you use proxy, and add a way to opt out of …
gaearon May 20, 2017
a257e7d
Ejecting should ensure you have clean git status (#2221)
milocosmopolitan May 20, 2017
f3ff3f2
Add missing license headers
gaearon May 20, 2017
d76c1b7
Wrap console calls into a check (#2290)
gaearon May 20, 2017
eadfad2
Provide a no-op SW that will be served by the dev environment. (#2276)
jeffposnick May 20, 2017
a1749f9
Remove unnecessary dependencies(#751) (#2283)
pmadar May 20, 2017
73356a1
Add changelog for 1.0.2 (#2291)
gaearon May 20, 2017
ae0cb23
Publish
gaearon May 20, 2017
d558eaa
Roll back to an older version of case-sensitive-paths-webpack-plugin …
gaearon May 21, 2017
7348ca9
Wrap console calls into a check (#2301)
BrodaNoel May 21, 2017
3260d17
Remove `flowtype/require-valid-file-annotation` temporarily. (#2311)
Robdel12 May 21, 2017
2430b56
Ensure address is private (#2297)
Timer May 21, 2017
d34a892
Changelog for 1.0.3 (#2315)
gaearon May 21, 2017
d649b8a
Publish
gaearon May 21, 2017
6c9b574
Remove tarec from README (#2323)
geowarin May 22, 2017
812658a
1.0.4 changelog
gaearon May 22, 2017
7e25c9a
Publish
gaearon May 22, 2017
0d1521a
Remove connect-history-api-fallback and cross-spawn dependencies from…
pmadar May 22, 2017
42efedb
Allow declaring variables before use in a scope above (#2325)
gaearon May 22, 2017
9cfa355
Limit console warnings to 5 files at most (#2327)
gaearon May 22, 2017
25f81f2
Files in public/ folder should not be requested through proxy (#2326)
gaearon May 22, 2017
d72b6b4
Add changelog for 1.0.5 (#2329)
gaearon May 22, 2017
6e9b730
Add "Migrating" section
gaearon May 22, 2017
2558c3e
Publish
gaearon May 22, 2017
bef503e
Add missing files to README (#2334)
jesselpalmer May 23, 2017
913689f
Update CHANGELOG.md
gaearon May 23, 2017
a29808a
Don't resolve localhost if on network (#2332)
Timer May 24, 2017
0d2989b
Resolve flow errors in eslint JSX a11y (#2346)
iainbeeston May 24, 2017
55fe136
Add navigateFallbackWhitelist /__* to SW Precache config (#2347)
ryansully May 24, 2017
e4f7d54
Add changelog for 1.0.6 (#2348)
gaearon May 24, 2017
7a1873c
Publish
gaearon May 24, 2017
90f9c6b
Update webpack to v2.6.0 in react-scripts (#2349)
ingro May 24, 2017
36e279d
Fix broken links (#2350)
gaearon May 24, 2017
b60f55c
Print file sizes with correct build folder path. (#2361)
fezhengjin May 25, 2017
fbaeff2
Update README.md for `now` deployments (#2372)
purplecones May 26, 2017
c1ba38d
Removed the overriding of reduce_vars to false since webpack v2.6.0 i…
Zaccc123 May 27, 2017
f6d8544
Disable comparisons feature in uglify compression in production (#2379)
davidascher May 27, 2017
2069e8a
Consistently set environment variables (#2382)
gaearon May 27, 2017
1421010
Update webpack to 2.6.1 (#2383)
gaearon May 27, 2017
84efd45
Add changelog for 1.0.7 (#2384)
gaearon May 27, 2017
58d8c5c
Publish
gaearon May 27, 2017
e1d5587
Merge commit '58d8c5c05cc90d9286beb6b4200f5ac1918a8910' into merge-up…
Jun 30, 2017
afa1603
Bump beta version
Jun 30, 2017
ef5defa
Fix deploy script env vars
Jun 30, 2017
83e061d
Bump react-scripts beta version
Jun 30, 2017
d1c1d84
Fix Sass transforms and module mapping in the Jest config
Jun 30, 2017
ca3e438
Update babel-preset-trunkclub beta version; add code coverage to tests
Jul 5, 2017
28d4cbc
Update Flow dependency, remove old devDeps, bump beta version
Jul 5, 2017
7d6949e
Update the v8 upgrade docs
Jul 5, 2017
07076c5
Update Jest config
Jul 6, 2017
cefc1b2
Run prettier on build-module script before merging TC upstream
Jul 31, 2017
4780cf7
Merge branch 'master' into merge-upstream-107
Jul 31, 2017
78b10f5
Update upgrade docs
Aug 2, 2017
ca72cf5
Release v9.0.0
Aug 2, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"rules": {
"no-console": "off",
"strict": ["error", "global"]
"strict": ["error", "global"],
"curly": "warn"
}
}
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ matrix:
include:
- node_js: 0.10
env: TEST_SUITE=simple
- node_js: 6
env: USE_YARN=yes TEST_SUITE=simple
# There's a weird Yarn/Lerna bug related to prerelease versions.
# TODO: reenable after we ship 1.0.
# - node_js: 6
# env: USE_YARN=yes TEST_SUITE=simple
1,374 changes: 1,374 additions & 0 deletions CHANGELOG-0.x.md

Large diffs are not rendered by default.

1,606 changes: 481 additions & 1,125 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ cd my-app

and then run `npm start` or `npm run build`.

*Note: if you are using yarn, we suggest that you use `yarn install --no-lockfile` instead of the bare `yarn` or `yarn install` because we [intentionally](https://github.com/facebookincubator/create-react-app/pull/2014#issuecomment-300811661) do not ignore or add yarn.lock to our repo.*

## Cutting a Release

1. Tag all merged pull requests that go into the release with the relevant milestone. Each merged PR should also be labeled with one of the [labels](https://github.com/facebookincubator/create-react-app/labels) named `tag: ...` to indicate what kind of change it is.
Expand Down
8 changes: 8 additions & 0 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!--
Thank you for sending the PR!
If you changed any code, there are just two more things to do:

* Provide us with clear instructions on how you verified your changes work. Bonus points for screenshots!

Happy contributing!
-->
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ Install it once globally:
npm install -g create-react-app
```

**You’ll need to have Node >= 4 on your machine**.

**We strongly recommend to use Node >= 6 and npm >= 3 for faster installation speed and better disk usage.** You can use [nvm](https://github.com/creationix/nvm#usage) to easily switch Node versions between different projects.
**You’ll need to have Node >= 6 on your machine**. You can use [nvm](https://github.com/creationix/nvm#usage) to easily switch Node versions between different projects.

**This tool doesn’t assume a Node backend**. The Node installation is only required for Create React App itself.

Expand All @@ -67,13 +65,15 @@ my-app/
public/
favicon.ico
index.html
manifest.json
src/
App.css
App.js
App.test.js
index.css
index.js
logo.svg
registerServiceWorker.js
```

No configuration or complicated folder structures, just the files you need to build your app.<br>
Expand All @@ -92,7 +92,7 @@ You will see the build errors and lint warnings in the console.
### `npm test` or `yarn test`

Runs the test watcher in an interactive mode.<br>
By default, runs tests related to files changes since the last commit.
By default, runs tests related to files changed since the last commit.

[Read more about testing.](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#running-tests)

Expand All @@ -102,7 +102,9 @@ Builds the app for production to the `build` folder.<br>
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br>
Your app is ready to be deployed!
By default, it also [includes a service worker](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#making-a-progressive-web-app) so that your app loads from local cache on future visits.

Your app is ready to be deployed.

## User Guide

Expand All @@ -118,10 +120,11 @@ The [User Guide](https://github.com/facebookincubator/create-react-app/blob/mast
- [Changing the Page `<title>`](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#changing-the-page-title)
- [Installing a Dependency](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#installing-a-dependency)
- [Importing a Component](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#importing-a-component)
- [Code Splitting](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#code-splitting)
- [Adding a Stylesheet](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-a-stylesheet)
- [Post-Processing CSS](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#post-processing-css)
- [Adding a CSS Preprocessor (Sass, Less etc.)](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-a-css-preprocessor-sass-less-etc)
- [Adding Images and Fonts](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-images-and-fonts)
- [Adding Images, Fonts, and Files](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-images-fonts-and-files)
- [Using the `public` Folder](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#using-the-public-folder)
- [Using Global Variables](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#using-global-variables)
- [Adding Bootstrap](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-bootstrap)
Expand All @@ -134,7 +137,6 @@ The [User Guide](https://github.com/facebookincubator/create-react-app/blob/mast
- [Generating Dynamic `<meta>` Tags on the Server](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#generating-dynamic-meta-tags-on-the-server)
- [Pre-Rendering into Static HTML Files](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#pre-rendering-into-static-html-files)
- [Running Tests](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#running-tests)
- [Developing Components in Isolation](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#developing-components-in-isolation)
- [Making a Progressive Web App](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#making-a-progressive-web-app)
- [Deployment](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#deployment)
- [Advanced Configuration](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#advanced-configuration)
Expand All @@ -150,7 +152,7 @@ Please refer to the [User Guide](https://github.com/facebookincubator/create-rea

* **One Dependency:** There is just one build dependency. It uses Webpack, Babel, ESLint, and other amazing projects, but provides a cohesive curated experience on top of them.

* **Convention over Configuration:** You don't need to configure anything by default. Reasonably good configuration of both development and production builds is handled for you so you can focus on writing code.
* **No Configuration Required:** You don't need to configure anything. Reasonably good configuration of both development and production builds is handled for you so you can focus on writing code.

* **No Lock-In:** You can “eject” to a custom setup at any time. Run a single command, and all the configuration and build dependencies will be moved directly into your project, so you can pick up right where you left off.

Expand All @@ -164,6 +166,7 @@ Please refer to the [User Guide](https://github.com/facebookincubator/create-rea
* Import CSS and image files directly from JavaScript.
* Autoprefixed CSS, so you don’t need `-webkit` or other prefixes.
* A `build` script to bundle JS, CSS, and images for production, with sourcemaps.
* An offline-first [service worker](https://developers.google.com/web/fundamentals/getting-started/primers/service-workers) and a [web app manifest](https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/), meeting all the [Progressive Web App](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#making-a-progressive-web-app) criteria.

**The feature set is intentionally limited**. It doesn’t support advanced features such as server rendering or CSS modules. The tool is also **non-configurable** because it is hard to provide a cohesive experience and easy updates across a set of tools when the user can tweak anything.

Expand Down Expand Up @@ -243,7 +246,6 @@ Notable alternatives also include:
* [aik](https://github.com/d4rkr00t/aik)
* [react-app](https://github.com/kriasoft/react-app)
* [dev-toolkit](https://github.com/stoikerty/dev-toolkit)
* [tarec](https://github.com/geowarin/tarec)
* [sku](https://github.com/seek-oss/sku)

You can also use module bundlers like [webpack](http://webpack.github.io) and [Browserify](http://browserify.org/) directly.<br>
Expand Down
6 changes: 0 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ environment:
test_suite: "installs"
- nodejs_version: 6
test_suite: "kitchensink"
- nodejs_version: 4
test_suite: "simple"
- nodejs_version: 4
test_suite: "installs"
- nodejs_version: 4
test_suite: "kitchensink"

cache:
- node_modules -> appveyor.cleanup-cache.txt
Expand Down
File renamed without changes.
6 changes: 6 additions & 0 deletions docs/UPGRADING-V8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Upgrading to v8

*This doc assumes you have already upgraded to v7.*

v8 removes the linting feature from the `build-module` task, therefore there
shouldn't be any changes required to upgrade.
68 changes: 68 additions & 0 deletions docs/UPGRADING-V9.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Upgrading to v9

*This doc assumes you have already upgraded to v8.*

## Build Errors

### Module not found

You may encounter a build error about a module that isn't a dependency
of your app. Usually this means a webpack loader module was not found.

```
Failed to compile.

./src/components/SvgIcon.js
Module not found: Can't resolve 'html' in '/Users/michaellacroix/trunkclub/stylist_app/src/components'
```

Webpack 2 expects the full module name, so if there are any inline loaders
missing the `-loader` suffix then you will need to update them:

```diff
-require(`!!html!assets/svg-icons/${name}.svg`)
+require(`!!html-loader!assets/svg-icons/${name}.svg`)
```

### TypeError: Cannot read property 'request' of undefined

Sometimes this can be fixed by nuking the node_modules folder with `rm -rf node_modules`
and reinstalling with `yarn` or `npm install`.

If that doesn't work, there might be a loader dependency that is declared at the app-level
which is not compatible with webpack 2.

## Runtime Errors

### Cannot assign to read only property 'exports' of object

This is caused by the mixing of ES2015 `import` statements and CommonJS `module.exports`.
These cannot be combined in webpack 2+. There error _should_ list the filename
so you might be able to search for it in your project.

More context: https://github.com/webpack/webpack/issues/4039

Update your code like the following to fix the error:

```diff
import React from 'react'

const Spinner = ...

-module.exports = Spinner
+export default Spinner
```

## Testing Errors

### Failing Snapshots

Jest updated the format of snapshots, so you may have a lot of failing snapshot tests.
In most cases, it should be safe to just update your snapshots.

### Jest Fails to Run Due to a TypeError for Path

If Jest won't even run and it complains about a expecting a string for path,
then it's likely due to multiple versions of Jest installed in `node_modules`.

Nuking your `node_modules` folder _should_ fix it.
19 changes: 15 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,25 @@
"changelog": "lerna-changelog",
"create-react-app": "tasks/cra.sh",
"e2e": "tasks/e2e-simple.sh",
"postinstall": "lerna bootstrap",
"postinstall": "lerna bootstrap && cd packages/react-error-overlay/ && npm run build:prod",
"publish": "tasks/release.sh",
"start": "node packages/react-scripts/scripts/start.js",
"test": "node packages/react-scripts/scripts/test.js --env=jsdom"
"test": "node packages/react-scripts/scripts/test.js --env=jsdom",
"format": "prettier --trailing-comma es5 --single-quote --write 'packages/*/*.js' 'packages/*/!(node_modules)/**/*.js'",
"precommit": "lint-staged"
},
"devDependencies": {
"eslint": "3.16.1",
"eslint": "3.19.0",
"husky": "^0.13.2",
"lerna": "2.0.0-beta.38",
"lerna-changelog": "^0.2.3"
"lerna-changelog": "^0.2.3",
"lint-staged": "^3.3.1",
"prettier": "^0.21.0"
},
"lint-staged": {
"*.js": [
"prettier --trailing-comma es5 --single-quote --write",
"git add"
]
}
}
Loading