Skip to content

Commit c6d0f32

Browse files
Merge pull request #21 from CodingZeal/chores/cra-1.0.17
Update to create-react-app 1.0.17
2 parents cc232dd + 3b03e00 commit c6d0f32

File tree

184 files changed

+1729
-1088
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+1729
-1088
lines changed

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
---
2+
# Use Ubuntu Precise instead of new default Trusty which cause build fail
3+
# with pre installed yarn v0.17.8
4+
# https://github.com/facebookincubator/create-react-app/issues/3054
5+
# TODO: remove after Trusty environment is updated with a lastet version of yarn
6+
dist: precise
27
language: node_js
38
node_js:
49
- 6

CHANGELOG.md

+318
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,319 @@
1+
## 1.0.17 (November 3, 2017)
2+
3+
#### :nail_care: Enhancement
4+
5+
* `react-scripts`
6+
7+
* [#3401](https://github.com/facebookincubator/create-react-app/pull/3401) Stop using a deprecated option. ([@gaearon](https://github.com/gaearon))
8+
9+
#### :memo: Documentation
10+
11+
* `react-scripts`
12+
13+
* [#3399](https://github.com/facebookincubator/create-react-app/pull/3399) Add link to VS Code troubleshooting guide. ([@auchenberg](https://github.com/auchenberg))
14+
* [#3400](https://github.com/facebookincubator/create-react-app/pull/3400) Update VS Code debug configuration. ([@auchenberg](https://github.com/auchenberg))
15+
16+
#### Committers: 3
17+
18+
- Dan Abramov ([gaearon](https://github.com/gaearon))
19+
- Kenneth Auchenberg ([auchenberg](https://github.com/auchenberg))
20+
- Loren Sands-Ramshaw ([lorensr](https://github.com/lorensr))
21+
22+
### Migrating from 1.0.16 to 1.0.17
23+
24+
Inside any created project that has not been ejected, run:
25+
26+
```
27+
npm install --save --save-exact react-scripts@1.0.17
28+
```
29+
30+
or
31+
32+
```
33+
yarn add --exact react-scripts@1.0.17
34+
```
35+
36+
## 1.0.16 (October 31, 2017) 🎃
37+
38+
#### :bug: Bug Fix
39+
40+
* `react-scripts`
41+
42+
* [#3374](https://github.com/facebookincubator/create-react-app/pull/3374) Set correct image type and sizes in `manifest.json`. ([@piotr-cz](https://github.com/piotr-cz))
43+
44+
* `react-dev-utils`
45+
46+
* [#3368](https://github.com/facebookincubator/create-react-app/pull/3368) Fix a crash in development mode in older browsers. ([@felthy](https://github.com/felthy))
47+
48+
#### Committers: 2
49+
50+
- Dan Abramov ([gaearon](https://github.com/gaearon))
51+
- Piotr ([piotr-cz](https://github.com/piotr-cz))
52+
53+
### Migrating from 1.0.15 to 1.0.16
54+
55+
Inside any created project that has not been ejected, run:
56+
57+
```
58+
npm install --save --save-exact react-scripts@1.0.16
59+
```
60+
61+
or
62+
63+
```
64+
yarn add --exact react-scripts@1.0.16
65+
```
66+
67+
## 1.0.15 (October 30, 2017)
68+
69+
#### :bug: Bug Fix
70+
71+
* `react-scripts`
72+
73+
* [#3287](https://github.com/facebookincubator/create-react-app/pull/3287) Fix favicon sizes value in the project manifest. ([@ryansully](https://github.com/ryansully))
74+
75+
* `react-dev-utils`, `react-scripts`
76+
77+
* [#3230](https://github.com/facebookincubator/create-react-app/pull/3230) Fix watching for changes in `src/node_modules`. ([@xjlim](https://github.com/xjlim))
78+
79+
#### :nail_care: Enhancement
80+
81+
* `react-scripts`
82+
83+
* [#3239](https://github.com/facebookincubator/create-react-app/pull/3239) Allow importing `.mjs` files. ([@Timer](https://github.com/Timer))
84+
* [#3340](https://github.com/facebookincubator/create-react-app/pull/3340) Polyfill `requestAnimationFrame` in test environment. ([@gaearon](https://github.com/gaearon))
85+
86+
* `babel-preset-react-app`, `react-dev-utils`, `react-error-overlay`, `react-scripts`
87+
88+
* [#3342](https://github.com/facebookincubator/create-react-app/pull/3342) Bump dependencies. ([@gaearon](https://github.com/gaearon))
89+
90+
* `react-dev-utils`, `react-error-overlay`
91+
92+
* [#3100](https://github.com/facebookincubator/create-react-app/pull/3100) Add click-to-open support for build errors. ([@tharakawj](https://github.com/tharakawj))
93+
94+
* `create-react-app`
95+
96+
* [#3355](https://github.com/facebookincubator/create-react-app/pull/3355) Add preflight CWD check for npm to detect bad Windows setups. ([@gaearon](https://github.com/gaearon))
97+
98+
#### :memo: Documentation
99+
100+
* User Guide
101+
102+
* [#2957](https://github.com/facebookincubator/create-react-app/pull/2957) Use `npm-run-all` to build Sass and JS. ([@shime](https://github.com/shime))
103+
* [#3108](https://github.com/facebookincubator/create-react-app/pull/3108) Update the Service Worker opt-out documentation. ([@captDaylight](https://github.com/captDaylight))
104+
* [#3286](https://github.com/facebookincubator/create-react-app/pull/3286) Add documentation for Enzyme 3 integration. ([@ryansully](https://github.com/ryansully))
105+
* [#3328](https://github.com/facebookincubator/create-react-app/pull/3328) Recommend react-snap as an alternative to react-snapshot. ([@aaronshaf](https://github.com/aaronshaf))
106+
* [#3279](https://github.com/facebookincubator/create-react-app/pull/3279) Add jest coverage configuration docs. ([@mattphillips](https://github.com/mattphillips))
107+
* [#3303](https://github.com/facebookincubator/create-react-app/pull/3303) Update link to Jest Expect docs. ([@jbranchaud](https://github.com/jbranchaud))
108+
* [#3289](https://github.com/facebookincubator/create-react-app/pull/3289) Fix dead link to Jest "expect" docs. ([@alexkrolick](https://github.com/alexkrolick))
109+
* [#3265](https://github.com/facebookincubator/create-react-app/pull/3265) Add external links to deployment services. ([@aericson](https://github.com/aericson))
110+
* [#3075](https://github.com/facebookincubator/create-react-app/pull/3075) Minor docs change to highlight dev proxy behaviour. ([@davidjb](https://github.com/davidjb))
111+
* [#3185](https://github.com/facebookincubator/create-react-app/pull/3185) Correct manual proxy documentation. ([@robertpanzer](https://github.com/robertpanzer))
112+
113+
* README
114+
115+
* [#3227](https://github.com/facebookincubator/create-react-app/pull/3227) Fix package management link in README for issue #3218. ([@nishina555](https://github.com/nishina555))
116+
* [#3211](https://github.com/facebookincubator/create-react-app/pull/3211) Improve grammar in README. ([@Mohamed3on](https://github.com/Mohamed3on))
117+
118+
#### :house: Internal
119+
120+
* Other
121+
122+
* [#3345](https://github.com/facebookincubator/create-react-app/pull/3345) Stop using `npm link` in tests. ([@Timer](https://github.com/Timer))
123+
124+
* `react-error-overlay`
125+
126+
* [#3122](https://github.com/facebookincubator/create-react-app/pull/3122) Fix for add .gitattributes file #3080. ([@ijajmulani](https://github.com/ijajmulani))
127+
* [#3267](https://github.com/facebookincubator/create-react-app/pull/3267) Use production React version for bundled overlay. ([@Timer](https://github.com/Timer))
128+
* [#3264](https://github.com/facebookincubator/create-react-app/pull/3264) Add warning when using `react-error-overlay` in production. ([@Timer](https://github.com/Timer))
129+
* [#3263](https://github.com/facebookincubator/create-react-app/pull/3263) `react-error-overlay` has no dependencies now (it's bundled). ([@Timer](https://github.com/Timer))
130+
* [#3142](https://github.com/facebookincubator/create-react-app/pull/3142) Make error overlay run in the context of the iframe. ([@tharakawj](https://github.com/tharakawj))
131+
132+
* `react-scripts`
133+
134+
* [#3150](https://github.com/facebookincubator/create-react-app/pull/3150) Remove an useless negation in `registerServiceWorker.js`. ([@dunglas](https://github.com/dunglas))
135+
* [#3158](https://github.com/facebookincubator/create-react-app/pull/3158) Remove `output.path` from dev webpack config. ([@nikolas](https://github.com/nikolas))
136+
* [#3281](https://github.com/facebookincubator/create-react-app/pull/3281) Add a workaround for Uglify incompatiblity with Safari 10.0 in the future. ([@satyavh](https://github.com/satyavh))
137+
* [#3146](https://github.com/facebookincubator/create-react-app/pull/3146) Fix `reason-react` support. ([@lpalmes](https://github.com/lpalmes))
138+
* [#3236](https://github.com/facebookincubator/create-react-app/pull/3236) Update `style-loader` and disable inclusion of its HMR code in builds. ([@insin](https://github.com/insin))
139+
* [#3246](https://github.com/facebookincubator/create-react-app/pull/3246) Update `url-loader` to 0.6.2 for mime ReDoS vulnerability. ([@d3viant0ne](https://github.com/d3viant0ne))
140+
* [#2914](https://github.com/facebookincubator/create-react-app/pull/2914) `<!doctype html>` -> `<!DOCTYPE html>`. ([@Hurtak](https://github.com/Hurtak))
141+
142+
#### Committers: 24
143+
144+
- Aaron Shafovaloff ([aaronshaf](https://github.com/aaronshaf))
145+
- Alex ([alexkrolick](https://github.com/alexkrolick))
146+
- André Ericson ([aericson](https://github.com/aericson))
147+
- Dan Abramov ([gaearon](https://github.com/gaearon))
148+
- David Beitey ([davidjb](https://github.com/davidjb))
149+
- Hrvoje Šimić ([shime](https://github.com/shime))
150+
- IJAJ MULANI ([ijajmulani](https://github.com/ijajmulani))
151+
- Joe Haddad ([Timer](https://github.com/Timer))
152+
- Joe Lim ([xjlim](https://github.com/xjlim))
153+
- Jonny Buchanan ([insin](https://github.com/insin))
154+
- Josh Branchaud ([jbranchaud](https://github.com/jbranchaud))
155+
- Joshua Wiens ([d3viant0ne](https://github.com/d3viant0ne))
156+
- Kévin Dunglas ([dunglas](https://github.com/dunglas))
157+
- Lorenzo Palmes ([lpalmes](https://github.com/lpalmes))
158+
- Matt Phillips ([mattphillips](https://github.com/mattphillips))
159+
- Mohamed Oun ([Mohamed3on](https://github.com/Mohamed3on))
160+
- Nik Nyby ([nikolas](https://github.com/nikolas))
161+
- Petr Huřťák ([Hurtak](https://github.com/Hurtak))
162+
- Robert Panzer ([robertpanzer](https://github.com/robertpanzer))
163+
- Ryan Sullivan ([ryansully](https://github.com/ryansully))
164+
- Satya van Heummen ([satyavh](https://github.com/satyavh))
165+
- Tharaka Wijebandara ([tharakawj](https://github.com/tharakawj))
166+
- Toshiharu Nishina ([nishina555](https://github.com/nishina555))
167+
- [captDaylight](https://github.com/captDaylight)
168+
169+
### Migrating from 1.0.14 to 1.0.15
170+
171+
Inside any created project that has not been ejected, run:
172+
173+
```
174+
npm install --save --save-exact react-scripts@1.0.15
175+
```
176+
177+
or
178+
179+
```
180+
yarn add --exact react-scripts@1.0.15
181+
```
182+
183+
## 1.0.14 (September 26, 2017)
184+
185+
#### :bug: Bug Fix
186+
187+
* `react-dev-utils`
188+
189+
* [#3098](https://github.com/facebookincubator/create-react-app/pull/3098) Always reload the page on next compile after a runtime error. ([@Timer](https://github.com/Timer))
190+
191+
* `react-error-overlay`
192+
193+
* [#3079](https://github.com/facebookincubator/create-react-app/pull/3079) Fix code context on Windows. ([@Timer](https://github.com/Timer))
194+
195+
#### :nail_care: Enhancement
196+
197+
* `react-dev-utils`
198+
199+
* [#3077](https://github.com/facebookincubator/create-react-app/pull/3077) Auto-detect running editor on Linux for error overlay. ([@gulderov](https://github.com/gulderov))
200+
201+
* [#3131](https://github.com/facebookincubator/create-react-app/pull/3131) Display process pid in already running message. ([@Pajn](https://github.com/Pajn))
202+
203+
#### :memo: Documentation
204+
205+
* Other
206+
207+
* [#3163](https://github.com/facebookincubator/create-react-app/pull/3163) Add link to active CSS modules discussion. ([@NeekSandhu](https://github.com/NeekSandhu))
208+
209+
* `react-scripts`
210+
211+
* [#2908](https://github.com/facebookincubator/create-react-app/pull/2908) Note that class fields have progressed to stage 3. ([@rickbeerendonk](https://github.com/rickbeerendonk))
212+
213+
* [#3160](https://github.com/facebookincubator/create-react-app/pull/3160) Update unclear wording in webpack configuration (file loader section). ([@kristiehoward](https://github.com/kristiehoward))
214+
215+
* `eslint-config-react-app`
216+
217+
* [#3072](https://github.com/facebookincubator/create-react-app/pull/3072) Update eslint versions for install instructions. ([@jdcrensh](https://github.com/jdcrensh))
218+
219+
#### :house: Internal
220+
221+
* `react-scripts`
222+
223+
* [#3157](https://github.com/facebookincubator/create-react-app/pull/3157) Update `webpack-dev-server` to `2.8.2`. ([@nikolas](https://github.com/nikolas))
224+
225+
* [#2989](https://github.com/facebookincubator/create-react-app/pull/2989) Update install template to match accessibility guidelines. ([@davidleger95](https://github.com/davidleger95))
226+
227+
* `react-error-overlay`
228+
229+
* [#3065](https://github.com/facebookincubator/create-react-app/pull/3065) Updated `react-error-overlay` to latest Flow (`0.54.0`). ([@duvet86](https://github.com/duvet86))
230+
231+
* [#3102](https://github.com/facebookincubator/create-react-app/pull/3102) Clean target directory before compiling overlay. ([@Timer](https://github.com/Timer))
232+
233+
* `create-react-app`, `react-dev-utils`, `react-error-overlay`, `react-scripts`
234+
235+
* [#3058](https://github.com/facebookincubator/create-react-app/pull/3058) Re-run prettier for all files and pin the version. ([@viankakrisna](https://github.com/viankakrisna))
236+
237+
* [#3107](https://github.com/facebookincubator/create-react-app/pull/3107) Run CI on `npm@^4`. ([@viankakrisna](https://github.com/viankakrisna))
238+
239+
#### Committers: 12
240+
241+
- Ade Viankakrisna Fadlil ([viankakrisna](https://github.com/viankakrisna))
242+
- David Leger ([davidleger95](https://github.com/davidleger95))
243+
- Joe Haddad ([Timer](https://github.com/Timer))
244+
- Jon Crenshaw ([jdcrensh](https://github.com/jdcrensh))
245+
- Kristie Howard ([kristiehoward](https://github.com/kristiehoward))
246+
- Luca ([duvet86](https://github.com/duvet86))
247+
- Neek Sandhu ([NeekSandhu](https://github.com/NeekSandhu))
248+
- Nik Nyby ([nikolas](https://github.com/nikolas))
249+
- Rasmus Eneman ([Pajn](https://github.com/Pajn))
250+
- Rick Beerendonk ([rickbeerendonk](https://github.com/rickbeerendonk))
251+
- Sophie Alpert ([sophiebits](https://github.com/sophiebits))
252+
- [gulderov](https://github.com/gulderov)
253+
254+
### Migrating from 1.0.13 to 1.0.14
255+
256+
Inside any created project that has not been ejected, run:
257+
258+
```
259+
npm install --save --save-exact react-scripts@1.0.14
260+
```
261+
262+
or
263+
264+
```
265+
yarn add --exact react-scripts@1.0.14
266+
```
267+
268+
## 1.0.13 (September 2, 2017)
269+
270+
#### :bug: Bug Fix
271+
272+
* `react-error-overlay`
273+
274+
* [#3051](https://github.com/facebookincubator/create-react-app/pull/3051) Fix case-sensitivity issue with upgrading the package version. ([@tharakawj](https://github.com/tharakawj))
275+
276+
* `react-dev-utils`
277+
278+
* [#3049](https://github.com/facebookincubator/create-react-app/pull/3049) Print filesize difference for chunks. ([@esturcke](https://github.com/esturcke))
279+
280+
* `react-scripts`
281+
282+
* [#3046](https://github.com/facebookincubator/create-react-app/pull/3046) Fix crash in development mode on IE11. ([@tharakawj](https://github.com/tharakawj))
283+
284+
#### :nail_care: Enhancement
285+
286+
* `react-scripts`
287+
288+
* [#3033](https://github.com/facebookincubator/create-react-app/pull/3033) Add an empty mock for `child_process` to let some libraries compile. ([@McFlurriez](https://github.com/McFlurriez))
289+
290+
#### :house: Internal
291+
292+
* `react-dev-utils`, `react-error-overlay`
293+
294+
* [#3028](https://github.com/facebookincubator/create-react-app/pull/3028) Make error overlay filename configurable. ([@jaredpalmer](https://github.com/jaredpalmer))
295+
296+
#### Committers: 4
297+
298+
- Anthony ([McFlurriez](https://github.com/McFlurriez))
299+
- Erik J. Sturcke ([esturcke](https://github.com/esturcke))
300+
- Jared Palmer ([jaredpalmer](https://github.com/jaredpalmer))
301+
- Tharaka Wijebandara ([tharakawj](https://github.com/tharakawj))
302+
303+
### Migrating from 1.0.12 to 1.0.13
304+
305+
Inside any created project that has not been ejected, run:
306+
307+
```
308+
npm install --save --save-exact react-scripts@1.0.13
309+
```
310+
311+
or
312+
313+
```
314+
yarn add --exact react-scripts@1.0.13
315+
```
316+
1317
## 1.0.12 (August 28, 2017)
2318

3319
#### :bug: Bug Fix
@@ -62,6 +378,8 @@ or
62378
yarn add --exact react-scripts@1.0.12
63379
```
64380

381+
**Note:** there’s a [known issue](https://github.com/facebookincubator/create-react-app/issues/3041) that might cause the project to not compile after upgrading. In this case, migrate straight to `1.0.13` which doesn’t have this issue.
382+
65383
## 1.0.11 (August 9, 2017)
66384

67385
#### :bug: Bug Fix

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ More detailed information are in the dedicated [README](/packages/react-scripts/
108108
* Add a four-space indented paragraph after each non-trivial list item, explaining what changed and why. For each breaking change also write who it affects and instructions for migrating existing code.
109109
* Maybe add some newlines here and there. Preview the result on GitHub to get a feel for it. Changelog generator output is a bit too terse for my taste, so try to make it visually pleasing and well grouped.
110110
6. Make sure to include “Migrating from ...” instructions for the previous release. Often you can copy and paste them.
111-
7. After merging the changelog update, create a GitHub Release with the same text. See previous Releases for inspiration.
112-
8. **Do not run `npm publish`. Instead, run `npm run publish`.**
113-
9. Wait for a long time, and it will get published. Don’t worry that it’s stuck. In the end the publish script will prompt for versions before publishing the packages.
111+
7. **Do not run `npm publish`. Instead, run `npm run publish`.**
112+
8. Wait for a long time, and it will get published. Don’t worry that it’s stuck. In the end the publish script will prompt for versions before publishing the packages.
113+
9. After publishing, create a GitHub Release with the same text as the changelog entry. See previous Releases for inspiration.
114114

115115
Make sure to test the released version! If you want to be extra careful, you can publish a prerelease by running `npm run publish -- --tag next` instead of `npm run publish`.
116116

LICENSE

+17-26
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,21 @@
1-
BSD License
1+
MIT License
22

3-
For create-react-app software
3+
Copyright (c) 2013-present, Facebook, Inc.
44

5-
Copyright (c) 2016-present, Facebook, Inc. All rights reserved.
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
611

7-
Redistribution and use in source and binary forms, with or without modification,
8-
are permitted provided that the following conditions are met:
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
914

10-
* Redistributions of source code must retain the above copyright notice, this
11-
list of conditions and the following disclaimer.
12-
13-
* Redistributions in binary form must reproduce the above copyright notice,
14-
this list of conditions and the following disclaimer in the documentation
15-
and/or other materials provided with the distribution.
16-
17-
* Neither the name Facebook nor the names of its contributors may be used to
18-
endorse or promote products derived from this software without specific
19-
prior written permission.
20-
21-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
25-
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26-
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27-
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
28-
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)