Skip to content

Commit 06d769f

Browse files
committed
merge with master
2 parents 0488228 + 91f54af commit 06d769f

Some content is hidden

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

65 files changed

+1976
-1338
lines changed
File renamed without changes.

.github/ISSUE_TEMPLATE.md

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
<!--
1010
If you answered "Yes":
11-
11+
1212
Please note that your issue will be fixed much faster if you spend about
1313
half an hour preparing it, including the exact reproduction steps and a demo.
14-
14+
1515
If you're in a hurry or don't feel confident, it's fine to report bugs with
1616
less details, but this makes it less likely they'll get fixed soon.
1717
@@ -37,14 +37,14 @@
3737
Then you need to decide which package manager you prefer to use.
3838
We support both npm (https://npmjs.com) and yarn (http://yarnpkg.com/).
3939
However, **they can't be used together in one project** so you need to pick one.
40-
40+
4141
If you decided to use npm, run this in your project directory:
4242
4343
npm install -g npm@latest
4444
npm install
4545
4646
This should fix your project.
47-
47+
4848
If you decided to use yarn, update it first (https://yarnpkg.com/en/docs/install).
4949
Then run in your project directory:
5050
@@ -68,20 +68,19 @@
6868
There are a few common documented problems, such as watcher not detecting changes, or build failing.
6969
They are described in the Troubleshooting section of the User Guide:
7070
71-
https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#troubleshooting
71+
https://facebook.github.io/create-react-app/docs/troubleshooting
7272
7373
Please scan these few sections for common problems.
7474
Additionally, you can search the User Guide itself for something you're having issues with:
75-
76-
https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md
77-
75+
76+
https://facebook.github.io/create-react-app/
77+
7878
If you didn't find the solution, please share which words you searched for.
7979
This helps us improve documentation for future readers who might encounter the same problem.
8080
-->
8181

8282
(Write your answer here if relevant.)
8383

84-
8584
### Environment
8685

8786
<!--
@@ -107,10 +106,9 @@
107106

108107
(Write your steps here:)
109108

110-
1.
111-
2.
112-
3.
113-
109+
1.
110+
2.
111+
3.
114112

115113
### Expected Behavior
116114

@@ -122,7 +120,6 @@
122120

123121
(Write what you thought would happen.)
124122

125-
126123
### Actual Behavior
127124

128125
<!--
@@ -133,7 +130,6 @@
133130

134131
(Write what happened. Please add screenshots!)
135132

136-
137133
### Reproducible Demo
138134

139135
<!--
@@ -156,11 +152,11 @@
156152

157153
<!--
158154
What happens if you skip this step?
159-
155+
160156
We will try to help you, but in many cases it is impossible because crucial
161157
information is missing. In that case we'll tag an issue as having a low priority,
162158
and eventually close it if there is no clear direction.
163-
159+
164160
We still appreciate the report though, as eventually somebody else might
165161
create a reproducible example for it.
166162

.github/lock.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
# Number of days of inactivity before a closed issue or pull request is locked
44
daysUntilLock: 5
55

6+
# Issues and pull requests with these labels will not be locked. Set to `[]` to disable
7+
exemptLabels: []
8+
69
# Do not comment when locking
710
setLockReason: false
811
lockComment: false

.github/stale.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,14 @@ daysUntilClose: 5
99

1010
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
1111
exemptLabels:
12-
- "issue: proposal"
12+
- "contributions: claimed"
13+
- "contributions: up for grabs!"
14+
- "good first issue"
1315
- "issue: announcement"
16+
- "issue: bug"
17+
- "issue: proposal"
18+
- "tag: bug fix"
19+
- "tag: needs investigation"
1420

1521
# Set to true to ignore issues in a project (defaults to false)
1622
exemptProjects: true

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cache:
1010
directories:
1111
- .npm
1212
before_install:
13-
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --nightly
13+
- curl -o- -L https://yarnpkg.com/install.sh | bash -s
1414
- export PATH="$HOME/.yarn/bin:$PATH"
1515
install: true
1616
script:

CHANGELOG.md

Lines changed: 189 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,192 @@
1+
## 2.1.3 (January 4, 2019)
2+
3+
v2.1.3 is a maintenance release to fix a [vulnerability in webpack-dev-server](https://www.npmjs.com/advisories/725).
4+
5+
#### :memo: Documentation
6+
7+
- Other
8+
- [#6067](https://github.com/facebook/create-react-app/pull/6067) Correct an error for documentation. ([@hardo](https://github.com/hardo))
9+
- [#6110](https://github.com/facebook/create-react-app/pull/6110) Replace deprecated VSCode launch.json variable. ([@raiskila](https://github.com/raiskila))
10+
- [#5631](https://github.com/facebook/create-react-app/pull/5631) Generalize the adding bootstrap documentation. ([@jquense](https://github.com/jquense))
11+
- [#6084](https://github.com/facebook/create-react-app/pull/6084) Remove outdated docs for setting up eslint in editor. ([@LukasWerfel](https://github.com/LukasWerfel))
12+
- [#6061](https://github.com/facebook/create-react-app/pull/6061) Fix control comment of CSS Grid prefixing. ([@denexapp](https://github.com/denexapp))
13+
- `react-scripts`
14+
- [#6036](https://github.com/facebook/create-react-app/pull/6036) Fix comment typo. ([@shawtung](https://github.com/shawtung))
15+
16+
#### :house: Internal
17+
18+
- `create-react-app`, `react-error-overlay`
19+
- [#6104](https://github.com/facebook/create-react-app/pull/6104) Typo fixes. ([@prashant-andani](https://github.com/prashant-andani))
20+
21+
#### :hammer: Underlying Tools
22+
23+
- `react-scripts`
24+
- [#6064](https://github.com/facebook/create-react-app/pull/6064) Update webpack-dev-server 3.1.9 -> 3.1.14. ([@Friss](https://github.com/Friss))
25+
26+
#### Committers: 8
27+
28+
- Denis Mukhametov ([denexapp](https://github.com/denexapp))
29+
- Hardo ([hardo](https://github.com/hardo))
30+
- Janne Raiskila ([raiskila](https://github.com/raiskila))
31+
- Jason Quense ([jquense](https://github.com/jquense))
32+
- Lukas Werfel ([LukasWerfel](https://github.com/LukasWerfel))
33+
- Prashant Andani ([prashant-andani](https://github.com/prashant-andani))
34+
- Zachary Friss ([Friss](https://github.com/Friss))
35+
- [shawtung](https://github.com/shawtung)
36+
37+
### Migrating from 2.1.2 to 2.1.3
38+
39+
Inside any created project that has not been ejected, run:
40+
41+
```bash
42+
npm install --save --save-exact [email protected]
43+
```
44+
45+
or
46+
47+
```
48+
yarn add --exact [email protected]
49+
```
50+
51+
## 2.1.2 (December 23, 2018)
52+
53+
v2.1.2 is a maintenance release including various bug fixes.
54+
55+
#### :rocket: New Feature
56+
57+
- `babel-preset-react-app`
58+
- [#5487](https://github.com/facebook/create-react-app/pull/5487) Add `allowESModules` option to `babel-preset-react-app` ([@Pajn](https://github.com/Pajn))
59+
60+
#### :bug: Bug Fix
61+
62+
- `create-react-app`
63+
- [#5905](https://github.com/facebook/create-react-app/pull/5905) Disable copy to clipboard in `create-react-app --info` ([@heyimalex](https://github.com/heyimalex))
64+
- [#5685](https://github.com/facebook/create-react-app/pull/5685) Update envinfo to `5.11.1` ([@tabrindle](https://github.com/tabrindle))
65+
- `babel-preset-react-app`
66+
- [#5783](https://github.com/facebook/create-react-app/pull/5783) Fix TypeScript decorator support ([@ianschmitz](https://github.com/ianschmitz))
67+
- `babel-plugin-named-asset-import`
68+
- [#5573](https://github.com/facebook/create-react-app/pull/5573) Fix named-asset-import plugin to work with export-as syntax ([@NShahri](https://github.com/NShahri))
69+
- `react-app-polyfill`
70+
- [#5789](https://github.com/facebook/create-react-app/pull/5789) Don't polyfill fetch for Node ([@gshilin](https://github.com/gshilin))
71+
- `react-scripts`
72+
- [#5721](https://github.com/facebook/create-react-app/pull/5721) Version bump `postcss-preset-env` to latest ([@BPScott](https://github.com/BPScott))
73+
- [#5701](https://github.com/facebook/create-react-app/pull/5701) Fix `tsconfig.json` lib suggested value ([@ianschmitz](https://github.com/ianschmitz))
74+
75+
#### :nail_care: Enhancement
76+
77+
- `react-scripts`
78+
- [#5698](https://github.com/facebook/create-react-app/pull/5698) Add support for `setupTests.ts` ([@ianschmitz](https://github.com/ianschmitz))
79+
80+
#### :memo: Documentation
81+
82+
- Other
83+
- [#6009](https://github.com/facebook/create-react-app/pull/6009) Correct markdown to avoid comment. ([@souzasmatheus](https://github.com/souzasmatheus))
84+
- [#6015](https://github.com/facebook/create-react-app/pull/6015) Add example command to create typed project. ([@mbelsky](https://github.com/mbelsky))
85+
- [#6000](https://github.com/facebook/create-react-app/pull/6000) Make links to docs consistent in README. ([@iansu](https://github.com/iansu))
86+
- [#5900](https://github.com/facebook/create-react-app/pull/5900) Add production build section to docs. ([@ianschmitz](https://github.com/ianschmitz))
87+
- [#5985](https://github.com/facebook/create-react-app/pull/5985) Use https for linked images to fix mixed content warnings. ([@iansu](https://github.com/iansu))
88+
- [#5919](https://github.com/facebook/create-react-app/pull/5919) Docs: update localStorage mock in “Running Tests”. ([@phacks](https://github.com/phacks))
89+
- [#5917](https://github.com/facebook/create-react-app/pull/5917) Add SASS_PATH instructions to Sass stylesheet docs. ([@jayantbh](https://github.com/jayantbh))
90+
- [#5823](https://github.com/facebook/create-react-app/pull/5823) Add default values to `file_ext` note. ([@alaycock](https://github.com/alaycock))
91+
- [#5907](https://github.com/facebook/create-react-app/pull/5907) Update README.md with updated link about PWAs. ([@wuweiweiwu](https://github.com/wuweiweiwu))
92+
- [#5858](https://github.com/facebook/create-react-app/pull/5858) Some Grammar fixes. ([@nikhilknoldus](https://github.com/nikhilknoldus))
93+
- [#5883](https://github.com/facebook/create-react-app/pull/5883) Fix link to page about running tests. ([@wsmoak](https://github.com/wsmoak))
94+
- [#5849](https://github.com/facebook/create-react-app/pull/5849) React native repository updated in `README.md`. ([@pavinthan](https://github.com/pavinthan))
95+
- [#5806](https://github.com/facebook/create-react-app/pull/5806) Rename 'getting started' link to 'docs'. ([@kulek1](https://github.com/kulek1))
96+
- [#5788](https://github.com/facebook/create-react-app/pull/5788) docs: Simplify installing Storybook with `npx` ([@sagirk](https://github.com/sagirk))
97+
- [#5779](https://github.com/facebook/create-react-app/pull/5779) docs: Change story book command to `sb init` ([@andys8](https://github.com/andys8))
98+
- [#5759](https://github.com/facebook/create-react-app/pull/5759) Add PR welcoming badge ([@open-source-explorer](https://github.com/open-source-explorer))
99+
- [#5730](https://github.com/facebook/create-react-app/pull/5730) Suggest Encore when not building a SPA with Symfony ([@dunglas](https://github.com/dunglas))
100+
- [#5710](https://github.com/facebook/create-react-app/pull/5710) Updated the link to firebase hosting ([@githubsaturn](https://github.com/githubsaturn))
101+
- [#5704](https://github.com/facebook/create-react-app/pull/5704) Fixed link to manifest.json file ([@m4jing](https://github.com/m4jing))
102+
- [#5670](https://github.com/facebook/create-react-app/pull/5670) Fix public folder documentation link ([@makovkastar](https://github.com/makovkastar))
103+
- `eslint-config-react-app`
104+
- [#5990](https://github.com/facebook/create-react-app/pull/5990) Updated docs for `.eslintrc` ([@ManoelLobo](https://github.com/ManoelLobo))
105+
- `babel-preset-react-app`, `create-react-app`, `eslint-config-react-app`, `react-dev-utils`, `react-scripts`
106+
- [#5912](https://github.com/facebook/create-react-app/pull/5912) Update links to docs in all package README files ([@iansu](https://github.com/iansu))
107+
- `react-scripts`
108+
- [#5974](https://github.com/facebook/create-react-app/pull/5974) Improve advice in `verifyPackageTree.js` ([@sjalgeo](https://github.com/sjalgeo))
109+
- [#5954](https://github.com/facebook/create-react-app/pull/5954) Add pre-eject message about new features in v2 ([@iansu](https://github.com/iansu))
110+
- [#5808](https://github.com/facebook/create-react-app/pull/5808) Add placeholders to template README for bit.ly links ([@iansu](https://github.com/iansu))
111+
- `react-app-polyfill`
112+
- [#5814](https://github.com/facebook/create-react-app/pull/5814) Note that extra polyfills must be included manually ([@ajwann](https://github.com/ajwann))
113+
- `babel-preset-react-app`, `eslint-config-react-app`, `react-error-overlay`, `react-scripts`
114+
- [#5727](https://github.com/facebook/create-react-app/pull/5727) Fix typo ([@noelyoo](https://github.com/noelyoo))
115+
116+
#### :house: Internal
117+
118+
- `react-scripts`
119+
- [#5978](https://github.com/facebook/create-react-app/pull/5978) Add `webp` support for TypeScript. ([@dugagjin](https://github.com/dugagjin))
120+
- [#5959](https://github.com/facebook/create-react-app/pull/5959) Suggest a different default for speed reasons. ([@Timer](https://github.com/Timer))
121+
- [#5839](https://github.com/facebook/create-react-app/pull/5839) Run prettier on HTML files. ([@sibiraj-s](https://github.com/sibiraj-s))
122+
- [#5722](https://github.com/facebook/create-react-app/pull/5722) Merge webpack configuration. ([@Timer](https://github.com/Timer))
123+
- [#5694](https://github.com/facebook/create-react-app/pull/5694) Add permissive TS lib defaults. ([@Timer](https://github.com/Timer))
124+
- Other
125+
- [#5988](https://github.com/facebook/create-react-app/pull/5988) Added extension to `.eslintrc` ([@ManoelLobo](https://github.com/ManoelLobo))
126+
- [#5546](https://github.com/facebook/create-react-app/pull/5546) Add the latest stable node version. ([@noelyoo](https://github.com/noelyoo))
127+
- `react-dev-utils`
128+
- [#5927](https://github.com/facebook/create-react-app/pull/5927) Correct some comments. ([@mjackson](https://github.com/mjackson))
129+
- [#5879](https://github.com/facebook/create-react-app/pull/5879) fix: make typescriptformatter support 0.5 of fork checker. ([@SimenB](https://github.com/SimenB))
130+
- `react-error-overlay`
131+
- [#5451](https://github.com/facebook/create-react-app/pull/5451) fix: add `sideEffects: false` to react-error-overlay. ([@SimenB](https://github.com/SimenB))
132+
- `babel-preset-react-app`
133+
- [#5487](https://github.com/facebook/create-react-app/pull/5487) Add allowESModules option to babel-preset-react-app. ([@Pajn](https://github.com/Pajn))
134+
- `create-react-app`
135+
- [#4605](https://github.com/facebook/create-react-app/pull/4605) ignore intellij module files when generating an app. ([@denofevil](https://github.com/denofevil))
136+
137+
#### Committers: 36
138+
139+
- \<Explorer /\> ([open-source-explorer](https://github.com/open-source-explorer))
140+
- Adam Laycock ([alaycock](https://github.com/alaycock))
141+
- Adam Wanninger ([ajwann](https://github.com/ajwann))
142+
- Alex Guerra ([heyimalex](https://github.com/heyimalex))
143+
- Andy ([andys8](https://github.com/andys8))
144+
- Ben Scott ([BPScott](https://github.com/BPScott))
145+
- Dennis Ushakov ([denofevil](https://github.com/denofevil))
146+
- Dugagjin Lashi ([dugagjin](https://github.com/dugagjin))
147+
- Gregory Shilin ([gshilin](https://github.com/gshilin))
148+
- Ian Schmitz ([ianschmitz](https://github.com/ianschmitz))
149+
- Ian Sutherland ([iansu](https://github.com/iansu))
150+
- Jayant Bhawal ([jayantbh](https://github.com/jayantbh))
151+
- Jing Ma ([m4jing](https://github.com/m4jing))
152+
- Joe Haddad ([Timer](https://github.com/Timer))
153+
- Kasra Bigdeli ([githubsaturn](https://github.com/githubsaturn))
154+
- Kévin Dunglas ([dunglas](https://github.com/dunglas))
155+
- Manoel ([ManoelLobo](https://github.com/ManoelLobo))
156+
- Matheus Souza ([souzasmatheus](https://github.com/souzasmatheus))
157+
- Max Belsky ([mbelsky](https://github.com/mbelsky))
158+
- Michael Jackson ([mjackson](https://github.com/mjackson))
159+
- Nicolas Goutay ([phacks](https://github.com/phacks))
160+
- Nikhil ([nikhilknoldus](https://github.com/nikhilknoldus))
161+
- Nima Shahri ([NShahri](https://github.com/NShahri))
162+
- Noel Yoo ([noelyoo](https://github.com/noelyoo))
163+
- Oleksandr Melnykov ([makovkastar](https://github.com/makovkastar))
164+
- Pavinthan ([pavinthan](https://github.com/pavinthan))
165+
- Rasmus Eneman ([Pajn](https://github.com/Pajn))
166+
- Sagir Khan ([sagirk](https://github.com/sagirk))
167+
- Sibiraj ([sibiraj-s](https://github.com/sibiraj-s))
168+
- Simen Bekkhus ([SimenB](https://github.com/SimenB))
169+
- Stephen Algeo ([sjalgeo](https://github.com/sjalgeo))
170+
- Trevor Brindle ([tabrindle](https://github.com/tabrindle))
171+
- Wei-Wei Wu ([wuweiweiwu](https://github.com/wuweiweiwu))
172+
- Wendy Smoak ([wsmoak](https://github.com/wsmoak))
173+
- [kulek1](https://github.com/kulek1)
174+
- swyx ([sw-yx](https://github.com/sw-yx))
175+
176+
### Migrating from 2.1.1 to 2.1.2
177+
178+
Inside any created project that has not been ejected, run:
179+
180+
```bash
181+
npm install --save --save-exact [email protected]
182+
```
183+
184+
or
185+
186+
```
187+
yarn add --exact [email protected]
188+
```
189+
1190
## 2.1.1 (October 31, 2018)
2191

3192
Happy Halloween 🎃 👻! This spooky release brings a treat: decorator support in TypeScript files!

CONTRIBUTING.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,7 @@ By default git would use `CRLF` line endings which would cause the scripts to fa
142142
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.
143143
10. After publishing, create a GitHub Release with the same text as the changelog entry. See previous Releases for inspiration.
144144

145-
Make sure to test the released version! If you want to be extra careful, you can publish a prerelease by running `npm run publish -- --npm-tag=next` instead of `npm run publish`.
146-
147-
Optionally, you can cut a prerelease instead by running `npm run publish -- --canary=next --exact --cd-version patch --npm-tag=next`.
145+
Make sure to test the released version! If you want to be extra careful, you can publish a prerelease by running `npm run publish -- --canary=next --exact --cd-version patch --npm-tag=next` instead of `npm run publish`.
148146

149147
---
150148

0 commit comments

Comments
 (0)