-
Notifications
You must be signed in to change notification settings - Fork 38
Commit eca0ec0
Refine how TypeScript env types are handled (#5593)
* Specify types in package
* Do not remove types file on eject
* Stop copying types into generated project
* Reference react and react-dom
* Reference node types
* Install node types as well
* Restore copying
* Add Node to the list of installed types
* Reference Jest types
* Remove jest types from install
* Remove jest from CRA install
* Remove Jest reference and let user do this themselves
* Stop copying types file
* Add types key to package.json
* Add appTypeDeclarations and create when missing
* Rename declarations file
* Add Jest back to install instructions
* Minimize diff1 parent 418e6ee commit eca0ec0
File tree
6 files changed
+18
-20
lines changed- docusaurus/docs
- packages
- create-react-app
- react-scripts
- config
- scripts/utils
6 files changed
+18
-20
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 | - | ||
11 | + | ||
12 | 12 |
| |
13 | - | ||
13 | + | ||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
373 | 373 |
| |
374 | 374 |
| |
375 | 375 |
| |
376 | + | ||
376 | 377 |
| |
378 | + | ||
377 | 379 |
| |
378 | 380 |
| |
379 | 381 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
87 | + | ||
87 | 88 |
| |
88 | 89 |
| |
89 | 90 |
| |
| |||
106 | 107 |
| |
107 | 108 |
| |
108 | 109 |
| |
110 | + | ||
109 | 111 |
| |
110 | 112 |
| |
111 | 113 |
| |
| |||
138 | 140 |
| |
139 | 141 |
| |
140 | 142 |
| |
143 | + | ||
141 | 144 |
| |
142 | 145 |
| |
143 | 146 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | - | ||
2 | - | ||
3 | - | ||
1 | + | ||
2 | + | ||
3 | + | ||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
21 | 21 |
| |
22 | 22 |
| |
23 | 23 |
| |
24 | + | ||
24 | 25 |
| |
25 | 26 |
| |
26 | 27 |
| |
|
Lines changed: 7 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
238 | 238 |
| |
239 | 239 |
| |
240 | 240 |
| |
241 | - | ||
242 | - | ||
243 | - | ||
244 | - | ||
245 | - | ||
246 | - | ||
247 | - | ||
248 | - | ||
249 | - | ||
250 | - | ||
251 | - | ||
252 | - | ||
253 | - | ||
254 | - | ||
255 | - | ||
241 | + | ||
242 | + | ||
243 | + | ||
244 | + | ||
245 | + | ||
246 | + | ||
247 | + | ||
256 | 248 |
| |
257 | 249 |
| |
258 | 250 |
|
0 commit comments