Skip to content

Commit 26f5afb

Browse files
merge master
2 parents d87a148 + 0b1d636 commit 26f5afb

File tree

25 files changed

+375
-140
lines changed

25 files changed

+375
-140
lines changed

.travis.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
dist: trusty
33
language: node_js
44
node_js:
5-
- 6
65
- 8
6+
- 9
77
cache:
88
directories:
99
- node_modules
@@ -24,3 +24,5 @@ matrix:
2424
include:
2525
- node_js: 0.10
2626
env: TEST_SUITE=old-node
27+
- node_js: 6
28+
env: TEST_SUITE=kitchensink

.yarnrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--install.no-lockfile true
2+
--install.check-files true
3+
--add.no-lockfile true

CHANGELOG.md

+227
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,230 @@
1+
## 1.1.1 (February 2, 2018)
2+
3+
#### :bug: Bug Fix
4+
* `react-scripts`
5+
* [#4000](https://github.com/facebook/create-react-app/pull/4000) Fix escaping `$` in environment variables. ([@iansu](https://github.com/iansu))
6+
7+
#### :nail_care: Enhancement
8+
* `react-scripts`
9+
* [#4006](https://github.com/facebook/create-react-app/pull/4006) Add Node 9 compatibility for `fsevents`. ([@gaearon](https://github.com/gaearon))
10+
11+
#### :memo: Documentation
12+
* `react-scripts`
13+
* [#3971](https://github.com/facebook/create-react-app/pull/3971) Update instructions for continuous delivery with Netlify. ([@hubgit](https://github.com/hubgit))
14+
* [#3894](https://github.com/facebook/create-react-app/pull/3894) Include `{json,css}` files in prettier command. ([@reyronald](https://github.com/reyronald))
15+
16+
#### :house: Internal
17+
* `create-react-app`
18+
* [#3853](https://github.com/facebook/create-react-app/pull/3853) pin envinfo version to 3.4.2. ([@bondz](https://github.com/bondz))
19+
20+
#### Committers: 6
21+
- Alf Eaton ([hubgit](https://github.com/hubgit))
22+
- Bond ([bondz](https://github.com/bondz))
23+
- Dan Abramov ([gaearon](https://github.com/gaearon))
24+
- Ian Sutherland ([iansu](https://github.com/iansu))
25+
- Ronald Rey ([reyronald](https://github.com/reyronald))
26+
27+
### Migrating from 1.1.0 to 1.1.1
28+
29+
Inside any created project that has not been ejected, run:
30+
31+
```
32+
npm install --save --save-exact [email protected]
33+
```
34+
35+
or
36+
37+
```
38+
yarn add --exact [email protected]
39+
```
40+
41+
## 1.1.0 (January 15, 2018)
42+
43+
#### :rocket: New Feature
44+
45+
* `react-scripts`
46+
47+
* [#3387](https://github.com/facebookincubator/create-react-app/pull/3387) Add support for variable expansion in `.env` files. ([@moos](https://github.com/moos))
48+
49+
* `react-error-overlay`
50+
51+
* [#3474](https://github.com/facebookincubator/create-react-app/pull/3474) Allow the error overlay to be unregistered. ([@Timer](https://github.com/Timer))
52+
53+
* `create-react-app`
54+
55+
* [#3408](https://github.com/facebookincubator/create-react-app/pull/3408) Add `--info` flag to help gather bug reports. ([@tabrindle](https://github.com/tabrindle))
56+
* [#3409](https://github.com/facebookincubator/create-react-app/pull/3409) Add `--use-npm` flag to bypass Yarn even on systems that have it. ([@tabrindle](https://github.com/tabrindle))
57+
* [#3725](https://github.com/facebookincubator/create-react-app/pull/3725) Extend `--scripts-version` to include `.tar.gz` format. ([@SaschaDens](https://github.com/SaschaDens))
58+
* [#3629](https://github.com/facebookincubator/create-react-app/pull/3629) Allowing `"file:<path>"` `--scripts-version` values. ([@GreenGremlin](https://github.com/GreenGremlin))
59+
60+
61+
#### :bug: Bug Fix
62+
63+
* `babel-preset-react-app`, `react-scripts`
64+
65+
* [#3788](https://github.com/facebookincubator/create-react-app/pull/3788) Fix object destructuring inside an array on Node 6. ([@gaearon](https://github.com/gaearon))
66+
67+
* `react-dev-utils`
68+
69+
* [#3784](https://github.com/facebookincubator/create-react-app/pull/3784) Detach browser process from the shell on Linux. ([@gaearon](https://github.com/gaearon))
70+
* [#3726](https://github.com/facebookincubator/create-react-app/pull/3726) Use proxy for all request methods other than `GET`. ([@doshisid](https://github.com/doshisid))
71+
* [#3440](https://github.com/facebookincubator/create-react-app/pull/3440) Print full directory name from `lsof`. ([@rmccue](https://github.com/rmccue))
72+
* [#2071](https://github.com/facebookincubator/create-react-app/pull/2071) Fix broken console clearing on Windows. ([@danielverejan](https://github.com/danielverejan))
73+
* [#3686](https://github.com/facebookincubator/create-react-app/pull/3686) Fix starting a project in directory with `++` in the name. ([@Norris1z](https://github.com/Norris1z))
74+
75+
* `create-react-app`
76+
77+
* [#3320](https://github.com/facebookincubator/create-react-app/pull/3320) Fix offline installation to respect proxy from `.npmrc`. ([@mdogadailo](https://github.com/mdogadailo))
78+
79+
* `react-scripts`
80+
81+
* [#3537](https://github.com/facebookincubator/create-react-app/pull/3537) Add `mjs` and `jsx` filename extensions to `file-loader` exclude pattern. ([@iansu](https://github.com/iansu))
82+
* [#3511](https://github.com/facebookincubator/create-react-app/pull/3511) Unmount the component in the default generated test. ([@gaearon](https://github.com/gaearon))
83+
84+
#### :nail_care: Enhancement
85+
86+
* `react-scripts`
87+
88+
* [#3730](https://github.com/facebookincubator/create-react-app/pull/3730) Print when `HOST` environment variable is set. ([@iansu](https://github.com/iansu))
89+
* [#3455](https://github.com/facebookincubator/create-react-app/pull/3455) Add a localhost-only log message pointing folks to the PWA docs. ([@jeffposnick](https://github.com/jeffposnick))
90+
* [#3416](https://github.com/facebookincubator/create-react-app/pull/3416) Improve eject message. ([@xjlim](https://github.com/xjlim))
91+
92+
* `create-react-app`
93+
94+
* [#3740](https://github.com/facebookincubator/create-react-app/pull/3740) Allow more non-conflicting files in initial project directory. ([@GreenGremlin](https://github.com/GreenGremlin))
95+
96+
* `react-dev-utils`
97+
98+
* [#3104](https://github.com/facebookincubator/create-react-app/pull/3104) Add link to deployment docs after build. ([@viankakrisna](https://github.com/viankakrisna))
99+
* [#3652](https://github.com/facebookincubator/create-react-app/pull/3652) Add `code-insiders` to the editor list. ([@shrynx](https://github.com/shrynx))
100+
* [#3700](https://github.com/facebookincubator/create-react-app/pull/3700) Add editor support for Sublime Dev & VSCode Insiders. ([@yyx990803](https://github.com/yyx990803))
101+
* [#3545](https://github.com/facebookincubator/create-react-app/pull/3545) Autodetect MacVim editor. ([@gnapse](https://github.com/gnapse))
102+
103+
* `react-dev-utils`, `react-error-overlay`
104+
105+
* [#3465](https://github.com/facebookincubator/create-react-app/pull/3465) Open editor to exact column from build error overlay. ([@tharakawj](https://github.com/tharakawj))
106+
107+
* `react-dev-utils`, `react-scripts`
108+
109+
* [#3721](https://github.com/facebookincubator/create-react-app/pull/3721) Support setting `none` in `REACT_EDITOR` environment variable. ([@raerpo](https://github.com/raerpo))
110+
111+
* `eslint-config-react-app`
112+
113+
* [#3716](https://github.com/facebookincubator/create-react-app/pull/3716) Relax `no-cond-assign` rule. ([@gaearon](https://github.com/gaearon))
114+
115+
#### :memo: Documentation
116+
117+
* User Guide
118+
119+
* [#3659](https://github.com/facebookincubator/create-react-app/pull/3659) Add info about service-worker and HTTP caching headers into Firebase section. ([@bobrosoft](https://github.com/bobrosoft))
120+
* [#3515](https://github.com/facebookincubator/create-react-app/pull/3515) Add Powershell commands to README.md. ([@Gua-naiko-che](https://github.com/Gua-naiko-che))
121+
* [#3656](https://github.com/facebookincubator/create-react-app/pull/3656) Better documentation for setupTests.js when ejecting. ([@dannycalleri](https://github.com/dannycalleri))
122+
* [#1791](https://github.com/facebookincubator/create-react-app/pull/1791) Add link for automatic deployment to azure. ([@ulrikstrid](https://github.com/ulrikstrid))
123+
* [#3717](https://github.com/facebookincubator/create-react-app/pull/3717) Update README.md. ([@maecapozzi](https://github.com/maecapozzi))
124+
* [#3710](https://github.com/facebookincubator/create-react-app/pull/3710) Link to an explanation for forking react-scripts. ([@gaearon](https://github.com/gaearon))
125+
* [#3709](https://github.com/facebookincubator/create-react-app/pull/3709) Document adding a router. ([@gaearon](https://github.com/gaearon))
126+
* [#3670](https://github.com/facebookincubator/create-react-app/pull/3670) Fix typo in the User Guide. ([@qbahers](https://github.com/qbahers))
127+
* [#3645](https://github.com/facebookincubator/create-react-app/pull/3645) Update README.md. ([@elie222](https://github.com/elie222))
128+
* [#3533](https://github.com/facebookincubator/create-react-app/pull/3533) Use safer/more aesthetic syntax for setting environment variables on Windows. ([@cdanielsen](https://github.com/cdanielsen))
129+
* [#3605](https://github.com/facebookincubator/create-react-app/pull/3605) Updated Debugging Tests for VSCode. ([@amadeogallardo](https://github.com/amadeogallardo))
130+
* [#3601](https://github.com/facebookincubator/create-react-app/pull/3601) Fixed typo in webpack.config.dev.js. ([@nmenglund](https://github.com/nmenglund))
131+
* [#3576](https://github.com/facebookincubator/create-react-app/pull/3576) Updates comment to reflect codebase. ([@rahulcs](https://github.com/rahulcs))
132+
* [#3510](https://github.com/facebookincubator/create-react-app/pull/3510) Update User Guide with deploying to GitHub User pages. ([@aaronlna](https://github.com/aaronlna))
133+
* [#3503](https://github.com/facebookincubator/create-react-app/pull/3503) Update Prettier editor integration link. ([@gaving](https://github.com/gaving))
134+
* [#3453](https://github.com/facebookincubator/create-react-app/pull/3453) Fix dead links. ([@vannio](https://github.com/vannio))
135+
* [#2992](https://github.com/facebookincubator/create-react-app/pull/2992) Docs: How to Debug Unit Tests. ([@MattMorgis](https://github.com/MattMorgis))
136+
137+
* Other
138+
139+
* [#3729](https://github.com/facebookincubator/create-react-app/pull/3729) Update README.md to note Neutrino's support of react components. ([@eliperelman](https://github.com/eliperelman))
140+
* [#2841](https://github.com/facebookincubator/create-react-app/pull/2841) Documentation to help windows contributors. ([@Dubes](https://github.com/Dubes))
141+
* [#3489](https://github.com/facebookincubator/create-react-app/pull/3489) Add link to nvm-windows. ([@davidgilbertson](https://github.com/davidgilbertson))
142+
143+
* `eslint-config-react-app`
144+
145+
* [#3460](https://github.com/facebookincubator/create-react-app/pull/3460) Fix broken link to `href-no-hash` eslint rule. ([@hazolsky](https://github.com/hazolsky))
146+
147+
#### :house: Internal
148+
149+
* Other
150+
151+
* [#3769](https://github.com/facebookincubator/create-react-app/pull/3769) Enable Yarn check files. ([@Timer](https://github.com/Timer))
152+
* [#3756](https://github.com/facebookincubator/create-react-app/pull/3756) Clean up changes to npm and yarn registry in E2E tests. ([@viankakrisna](https://github.com/viankakrisna))
153+
* [#3744](https://github.com/facebookincubator/create-react-app/pull/3744) Use private registry in E2E tests. ([@Timer](https://github.com/Timer))
154+
* [#3738](https://github.com/facebookincubator/create-react-app/pull/3738) Always use Yarn on CI. ([@gaearon](https://github.com/gaearon))
155+
* [#2309](https://github.com/facebookincubator/create-react-app/pull/2309) Port `cra.sh` development task to javascript. ([@ianschmitz](https://github.com/ianschmitz))
156+
* [#3411](https://github.com/facebookincubator/create-react-app/pull/3411) Simplify waiting for app start in E2E tests. ([@xjlim](https://github.com/xjlim))
157+
* [#3755](https://github.com/facebookincubator/create-react-app/pull/3755) Switch to Yarn Workspaces. ([@gaearon](https://github.com/gaearon))
158+
* [#3757](https://github.com/facebookincubator/create-react-app/pull/3757) Try updating Flow. ([@gaearon](https://github.com/gaearon))
159+
* [#3414](https://github.com/facebookincubator/create-react-app/pull/3414) Export `dismissRuntimeErrors` function. ([@skidding](https://github.com/skidding))
160+
* [#3036](https://github.com/facebookincubator/create-react-app/pull/3036) Cleaning up `printHostingInstructions` a bit. ([@GreenGremlin](https://github.com/GreenGremlin))
161+
* [#3514](https://github.com/facebookincubator/create-react-app/pull/3514) Fix `FileSizeReporter` for multi build Webpack setups. ([@iiska](https://github.com/iiska))
162+
* [#3362](https://github.com/facebookincubator/create-react-app/pull/3362) Refactor extra watch options regex to `react-dev-utils`. ([@xjlim](https://github.com/xjlim))
163+
164+
#### Committers: 47
165+
166+
- Aaron Lamb ([aaronlna](https://github.com/aaronlna))
167+
- Ade Viankakrisna Fadlil ([viankakrisna](https://github.com/viankakrisna))
168+
- Amadeo Gallardo ([amadeogallardo](https://github.com/amadeogallardo))
169+
- Andy Kenward ([andykenward](https://github.com/andykenward))
170+
- Christian Danielsen ([cdanielsen](https://github.com/cdanielsen))
171+
- Clayton Ray ([iamclaytonray](https://github.com/iamclaytonray))
172+
- Dan Abramov ([gaearon](https://github.com/gaearon))
173+
- Daniel Verejan ([danielverejan](https://github.com/danielverejan))
174+
- Danny Calleri ([dannycalleri](https://github.com/dannycalleri))
175+
- David Boyne ([boyney123](https://github.com/boyney123))
176+
- David Gilbertson ([davidgilbertson](https://github.com/davidgilbertson))
177+
- Eli Perelman ([eliperelman](https://github.com/eliperelman))
178+
- Elie ([elie222](https://github.com/elie222))
179+
- Ernesto García ([gnapse](https://github.com/gnapse))
180+
- Evan You ([yyx990803](https://github.com/yyx990803))
181+
- Gavin Gilmour ([gaving](https://github.com/gaving))
182+
- Ian Schmitz ([ianschmitz](https://github.com/ianschmitz))
183+
- Ian Sutherland ([iansu](https://github.com/iansu))
184+
- JANG SUN HYUK ([wkdtjsgur100](https://github.com/wkdtjsgur100))
185+
- Jeffrey Posnick ([jeffposnick](https://github.com/jeffposnick))
186+
- Joe Haddad ([Timer](https://github.com/Timer))
187+
- Joe Lim ([xjlim](https://github.com/xjlim))
188+
- Jonathan ([GreenGremlin](https://github.com/GreenGremlin))
189+
- Juhamatti Niemelä ([iiska](https://github.com/iiska))
190+
- Mae Capozzi ([maecapozzi](https://github.com/maecapozzi))
191+
- Maksym Dogadailo ([mdogadailo](https://github.com/mdogadailo))
192+
- Mario Nebl ([marionebl](https://github.com/marionebl))
193+
- Matt Morgis ([MattMorgis](https://github.com/MattMorgis))
194+
- Misha Khokhlov ([hazolsky](https://github.com/hazolsky))
195+
- Moos ([moos](https://github.com/moos))
196+
- Nils Magnus Englund ([nmenglund](https://github.com/nmenglund))
197+
- Norris Oduro ([Norris1z](https://github.com/Norris1z))
198+
- Ovidiu Cherecheș ([skidding](https://github.com/skidding))
199+
- Quentin Bahers ([qbahers](https://github.com/qbahers))
200+
- Rafael E. Poveda ([raerpo](https://github.com/raerpo))
201+
- Rahul Chanila ([rahulcs](https://github.com/rahulcs))
202+
- Ryan McCue ([rmccue](https://github.com/rmccue))
203+
- Sascha Dens ([SaschaDens](https://github.com/SaschaDens))
204+
- Siddharth Doshi ([doshisid](https://github.com/doshisid))
205+
- Tao Gómez Gil ([Gua-naiko-che](https://github.com/Gua-naiko-che))
206+
- Tharaka Wijebandara ([tharakawj](https://github.com/tharakawj))
207+
- Trevor Brindle ([tabrindle](https://github.com/tabrindle))
208+
- Ulrik Strid ([ulrikstrid](https://github.com/ulrikstrid))
209+
- Vladimir Tolstikov ([bobrosoft](https://github.com/bobrosoft))
210+
- [Dubes](https://github.com/Dubes)
211+
- [vannio](https://github.com/vannio)
212+
- shrynx ([shrynx](https://github.com/shrynx))
213+
214+
### Migrating from 1.0.17 to 1.1.0
215+
216+
Inside any created project that has not been ejected, run:
217+
218+
```
219+
npm install --save --save-exact [email protected]
220+
```
221+
222+
or
223+
224+
```
225+
yarn add --exact [email protected]
226+
```
227+
1228
## 1.0.17 (November 3, 2017)
2229

3230
#### :nail_care: Enhancement

CODE_OF_CONDUCT.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Code of Conduct
2+
3+
Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please [read the full text](https://code.facebook.com/pages/876921332402685/open-source-code-of-conduct) so that you can understand what actions will and will not be tolerated.

CONTRIBUTING.md

+8-10
Original file line numberDiff line numberDiff line change
@@ -75,20 +75,18 @@ All functionality must be retained (and configuration given to the user) if they
7575

7676
1. Clone the repo with `git clone https://github.com/facebookincubator/create-react-app`
7777

78-
2. Run `npm install` in the root `create-react-app` folder.
78+
2. Run `yarn` in the root `create-react-app` folder.
7979

80-
Once it is done, you can modify any file locally and run `npm start`, `npm test` or `npm run build` just like in a generated project.
80+
Once it is done, you can modify any file locally and run `yarn start`, `yarn test` or `yarn build` just like in a generated project.
8181

8282
If you want to try out the end-to-end flow with the global CLI, you can do this too:
8383

8484
```
85-
npm run create-react-app my-app
85+
yarn create-react-app my-app
8686
cd my-app
8787
```
8888

89-
and then run `npm start` or `npm run build`.
90-
91-
*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.*
89+
and then run `yarn start` or `yarn build`.
9290

9391
## Contributing to E2E (end to end) tests
9492

@@ -104,8 +102,8 @@ The scripts in tasks folder and other scripts in `package.json` will not work in
104102

105103
A good step by step guide can be found [here](https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/)
106104

107-
### Install Node.js and npm
108-
Even if you have node and npm installed on your windows, it would not be accessible from the bash shell. You would have to install it again. Installing via [`nvm`](https://github.com/creationix/nvm#install-script) is recommended.
105+
### Install Node.js and yarn
106+
Even if you have node and yarn installed on your windows, it would not be accessible from the bash shell. You would have to install it again. Installing via [`nvm`](https://github.com/creationix/nvm#install-script) is recommended.
109107

110108
### Line endings
111109

@@ -119,11 +117,11 @@ By default git would use `CRLF` line endings which would cause the scripts to fa
119117
4. Note that files in `packages/create-react-app` should be modified with extreme caution. Since it’s a global CLI, any version of `create-react-app` (global CLI) including very old ones should work with the latest version of `react-scripts`.
120118
5. Create a change log entry for the release:
121119
* You'll need an [access token for the GitHub API](https://help.github.com/articles/creating-an-access-token-for-command-line-use/). Save it to this environment variable: `export GITHUB_AUTH="..."`
122-
* Run `npm run changelog`. The command will find all the labeled pull requests merged since the last release and group them by the label and affected packages, and create a change log entry with all the changes and links to PRs and their authors. Copy and paste it to `CHANGELOG.md`.
120+
* Run `yarn changelog`. The command will find all the labeled pull requests merged since the last release and group them by the label and affected packages, and create a change log entry with all the changes and links to PRs and their authors. Copy and paste it to `CHANGELOG.md`.
123121
* 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.
124122
* 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.
125123
6. Make sure to include “Migrating from ...” instructions for the previous release. Often you can copy and paste them.
126-
7. **Do not run `npm publish`. Instead, run `npm run publish`.**
124+
7. Run `npm run publish`. (It has to be `npm run publish` exactly, not just `npm publish` or `yarn publish`.)
127125
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.
128126
9. After publishing, create a GitHub Release with the same text as the changelog entry. See previous Releases for inspiration.
129127

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ cd my-app
1616
npm start
1717
```
1818

19+
*([npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) comes with npm 5.2+ and higher, see [instructions for older npm versions](https://gist.github.com/gaearon/4064d3c23a77c74a3614c498a8bb1c5f))*
20+
1921
Then open [http://localhost:3000/](http://localhost:3000/) to see your app.<br>
2022
When you’re ready to deploy to production, create a minified bundle with `npm run build`.
2123

0 commit comments

Comments
 (0)