Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Commit e3b4040

Browse files
committed
Merge branch 'master' into feature/loader-graphql
2 parents d3716d5 + b60cbad commit e3b4040

File tree

257 files changed

+138
-96303
lines changed

Some content is hidden

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

257 files changed

+138
-96303
lines changed

Diff for: .travis.yml

+1-18
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,10 @@
22
dist: trusty
33
language: node_js
44
node_js:
5-
- 8
65
- 9
76
cache:
87
directories:
98
- node_modules
10-
- packages/create-react-app/node_modules
11-
- packages/react-scripts/node_modules
129
install: true
1310
script:
14-
- 'if [ $TEST_SUITE = "simple" ]; then tasks/e2e-simple.sh; fi'
15-
- 'if [ $TEST_SUITE = "kitchensink" ]; then tasks/e2e-kitchensink.sh; fi'
16-
- 'if [ $TEST_SUITE = "old-node" ]; then tasks/e2e-old-node.sh; fi'
17-
# Disabled for the moment, since it requires additional work to be done.
18-
# - 'if [ $TEST_SUITE = "installs" ]; then tasks/e2e-installs.sh; fi'
19-
env:
20-
matrix:
21-
- TEST_SUITE=simple
22-
- TEST_SUITE=kitchensink
23-
# See comment above
24-
# - TEST_SUITE=installs
25-
matrix:
26-
include:
27-
- node_js: 6
28-
env: TEST_SUITE=kitchensink
11+
- 'tasks/e2e-simple.sh'

Diff for: CHANGELOG-0.x.md

-1,374
This file was deleted.

Diff for: CHANGELOG.md

Whitespace-only changes.

Diff for: CODE_OF_CONDUCT.md

-3
This file was deleted.

Diff for: CONTRIBUTING.md

-132
This file was deleted.

Diff for: LICENSE

-21
This file was deleted.

Diff for: README.md

+10
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ npm start
2121

2222
In general, most upgrades won't require any migration steps to work, but if you experience problems after an upgrade, please file an issue, and we'll add it to the list of migration steps below.
2323

24+
### From `<2.16.0` to `>=2.16.0`
25+
26+
Since `2.16.0`, the template uses different `tsconfig` files for both development and production mode. For the latter, unfortunately, the path resolver is not smart enough to fall back to the basic `tsconfig.json` in case the expected `tsconfig.prod.json` is not present, so you have to create this file manually like shown [here](https://github.com/wmonk/create-react-app-typescript/blob/master/packages/react-scripts/template/tsconfig.prod.json).
27+
2428
### From `<2.13.0` to `>=2.13.0`
2529

2630
Since `2.13.0`, `typescript` is listed as a peer dependency of `react-scripts-ts`. For projects generated with at least this version, the init script takes care of properly installing it as dev dependency to the generated projects. Older projects require manual installation, in case you have not already done that.
@@ -53,6 +57,12 @@ To fix this, create a new file *in the root of the project* called `tsconfig.tes
5357

5458
## Changelog
5559

60+
### 2.17.0
61+
* Update migration instructions - @DorianGrey
62+
* tslint updates - @alexandrudanpop
63+
* Stop eslint includes - @aurerua
64+
* Resolve commited merge conflig - @AndrewKvalheim
65+
5666
### 2.16.0
5767
* Allow `moduleNameMapper` config override - @sebald
5868
* Fix travis build - @DorianGrey

Diff for: appveyor.cleanup-cache.txt

-6
This file was deleted.

Diff for: appveyor.yml

-42
This file was deleted.
File renamed without changes.

Diff for: bootstrap.js

-67
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: packages/react-scripts/config/webpack.config.prod.js renamed to config/webpack.config.prod.js

+6-3
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ module.exports = {
131131
// please link the files into your node_modules/ and let module-resolution kick in.
132132
// Make sure your source files are compiled, as they will not be processed in any way.
133133
new ModuleScopePlugin(paths.appSrc, [paths.appPackageJson]),
134-
new TsconfigPathsPlugin({ configFile: paths.appTsConfig }),
134+
new TsconfigPathsPlugin({ configFile: paths.appTsProdConfig }),
135135
],
136136
},
137137
module: {
@@ -183,7 +183,7 @@ module.exports = {
183183
options: {
184184
// disable type checker - we will use it in fork plugin
185185
transpileOnly: true,
186-
configFile: paths.appTsProdConfig
186+
configFile: paths.appTsProdConfig,
187187
},
188188
},
189189
],
@@ -320,6 +320,9 @@ module.exports = {
320320
// Pending further investigation:
321321
// https://github.com/mishoo/UglifyJS2/issues/2011
322322
comparisons: false,
323+
// Don't inline functions with arguments, to avoid name collisions:
324+
// https://github.com/mishoo/UglifyJS2/issues/2842
325+
inline: 1,
323326
},
324327
mangle: {
325328
safari10: true,
@@ -338,7 +341,7 @@ module.exports = {
338341
// Enable file caching
339342
cache: true,
340343
sourceMap: shouldUseSourceMap,
341-
}), // Note: this won't work without ExtractTextPlugin.extract(..) in `loaders`.
344+
}), // Note: this won't work without ExtractTextPlugin.extract(..) in `loaders`.
342345
new ExtractTextPlugin({
343346
filename: cssFilename,
344347
}),
File renamed without changes.

Diff for: lerna.json

-18
This file was deleted.

0 commit comments

Comments
 (0)