Commit Graph

540 Commits

Author SHA1 Message Date
Jay V
936fb90c37 Docs: Added link to tutorial on code splitting (#2427)
* Adding link to tutorial on code splitting

Link to tutorial on Code Splitting with React Router

* Update README.md
2017-08-07 16:02:40 +02:00
Mico Piira
ec0f811501 Add empty mock for dgram (#2600) 2017-08-07 16:02:40 +02:00
Joe Haddad
96709b727f Fix a potential issue (#2569) 2017-08-07 16:02:05 +02:00
varnav
1f4db46b9e Check if CI variable is set to 'false' (#2501)
* Fix incorrect check if CI variable is set to true

Originally build would fail on warnings with any value of CI environment variable. Now it will correctly check if it's true.

Discussed here: https://github.com/facebookincubator/create-react-app/issues/2453

* Check for "not false" instead of "not true"

After discussion we decided that this will be closer to current functionality and not break anything.
2017-08-07 16:02:05 +02:00
Andi N. Dirgantara
4aa42e2921 Fix wrong comment on Proxy guide (#2447)
It should be `baz` instead of `bar` on last example.
2017-08-07 16:02:05 +02:00
Roman
e1f7da4c25 Fix broken link to React Router docs (#2538)
* Update README.md

Fix broken link to React Router documentation

* Update README.md
2017-08-07 16:02:05 +02:00
Joseph Frazier
64b69b4162 Upgrade fsevents to 1.1.2 (#2550)
This eliminates a `yarn` warning on OSX machines running Node.js 8. See
here for details: https://github.com/strongloop/fsevents/issues/170

You can see an example of the warning in the second screenshot in
https://github.com/facebookincubator/create-react-app/issues/2422#issuecomment-305218252
2017-08-07 16:02:05 +02:00
Khang Lu
733a1776db Simplify flow init docs (#2522)
- Call `npm run flow --init` won't create a .flowconfig file, it should be `npm run flow init`
2017-08-07 16:02:05 +02:00
Michael Shilman
19c7bf7368 Fix link to Storybook docs (#2521) 2017-08-07 16:02:05 +02:00
Alexandre Nicastro
89b42aaa58 Fix minor docs typo (#2500) 2017-08-07 16:02:05 +02:00
Zac Kwan
e9f1371023 Added NamedModulesPlugin in webpack.config.dev.js (#2458)
* Added NamedModulesPlugin in webpack.config.dev.js

* Update webpack.config.dev.js
2017-08-07 16:00:47 +02:00
bryankang
ad5b884cfb Prioritize index.css over the implicit App.css (#2470) 2017-08-07 16:00:47 +02:00
Norbert de Langen
864ef28ca5 re-add storybook && update the documentation and links (#2331)
* re-add storybook && update the documentation and links

* Change to new documentation domain
2017-08-07 16:00:38 +02:00
Ryan Sullivan
c7f79f756e Update Travis CI Node versions in User Guide (#2454)
Removed Node v4 (CRA only supports Node >= 6)
2017-08-07 16:00:38 +02:00
Rustem Kakimov
a537444d57 Fix docs typo (#2420)
"ensuring that you web app" ->
"ensuring that your web app"
2017-08-07 16:00:38 +02:00
Lufty Wiranda
3d6ead5215 docs: update jest-enzyme section (#2392)
since CRA now use the latest version of Jest under the hood,
`jest-enzyme` v3.2.0 is now working perfectly fine
2017-08-07 16:00:37 +02:00
Dan Abramov
bef6ec65d2 Publish
- react-dev-utils@3.0.0
 - react-error-overlay@1.0.7
 - react-scripts@1.0.7
2017-08-07 16:00:37 +02:00
Dan Abramov
a9e99218b1 Update webpack to 2.6.1 (#2383) 2017-08-07 15:59:41 +02:00
Dan Abramov
993fd306c5 Consistently set environment variables (#2382) 2017-08-07 15:59:41 +02:00
David Ascher
9114aea7ac Disable comparisons feature in uglify compression in production (#2379)
* Disable a micro-option in uglify that appears to be buggy

See https://github.com/facebookincubator/create-react-app/issues/2376

* wrong plugin

* Add a comment
2017-08-07 15:59:41 +02:00
Zac Kwan
bfeb950404 Removed the overriding of reduce_vars to false since webpack v2.6.0 included the fixed for Uglify bug (#2351) 2017-08-07 15:59:41 +02:00
Mirza Joldic
a3b4de1847 Update README.md for now deployments (#2372)
Simplified steps for deploying app to `now` as a static site. No need to `serve` script in `package.json` file. As of May 15, 2017, all static deployments on `now` are free and unlimited.
2017-08-07 15:59:41 +02:00
Jin Zheng
6a48c7cab0 Print file sizes with correct build folder path. (#2361)
* Print file sizes with correct build folder path.

* Just use the print the basename.
2017-08-07 15:59:41 +02:00
Tom Crockett
62cfd49bae Remove unneeded React.Component type parameters
TypeScript's new type parameter defaulting makes these unnecessary.
2017-08-02 00:07:37 -07:00
William Monk
acc5919240 v2.5.0 2017-07-27 13:46:26 +01:00
William Monk
a445a40de5 Merge pull request #115 from nicolaserny/master
Update tsconfig to support dynamic import
2017-07-27 13:45:45 +01:00
nicolaserny
0880881d5b Add missing tsconfig.test.json file 2017-07-25 09:29:07 +02:00
nicolaserny
e1224ed94b Add tsconfig.test.json (instead of using deprecated TS_CONFIG) 2017-07-25 09:24:44 +02:00
nicolaserny
5028178683 Fix tests 2017-07-24 15:44:14 +02:00
nicolaserny
2133270916 update tsconfig to support dynamic import 2017-07-24 13:07:24 +02:00
Jason S
ea3fb7bb53 remove typePatches
closes wmonk/create-react-app-typescript#89
2017-07-20 10:03:50 -07:00
William Monk
358b3194a2 Merge pull request #100 from DorianGrey/master
Use ts-jest instead of custom solution for transforming ts files
2017-07-20 07:52:55 +01:00
DorianGrey
6fa3b6ae49 Use ts-jest instead of custom solution for transforming ts files. 2017-07-13 08:21:20 +02:00
William Monk
12989de447 v2.4.0 2017-07-12 09:40:14 +01:00
Frederick Fogerty
c52098bb11 Upgrade react types dep 2017-07-06 08:57:40 +12:00
Frederick Fogerty
077079115d Upgrade to typescript 2.4 and ts-loader 2.2.1
Ts-loader version 2.2.1 is the minimum version required to work on typescript 2.4.1, see https://github.com/TypeStrong/ts-loader/pull/566 for more details.
2017-07-06 08:52:23 +12:00
William Monk
fdc9e099c2 v2.3.2 2017-06-27 21:28:43 +01:00
William Monk
d0beb34153 Pin typescript to 2.3.x unitl ready for 2.4.x 2017-06-27 21:12:25 +01:00
William Monk
e6633145e7 v2.3.1 2017-06-23 16:37:54 +01:00
William Monk
d2369f887a Fix bug with new @types/react 2017-06-23 16:37:15 +01:00
William Monk
3a75e64e6e v2.3.0 2017-06-23 16:34:33 +01:00
Jan-André Zinser
106599d23f Fix code-coverage reports for ts/tsx 2017-06-23 12:12:52 +02:00
William Monk
0b2821f556 Merge pull request #79 from zinserjan/fix-jest-caching
Jest cache busting for ts/tsx files
2017-06-23 10:36:10 +01:00
William Monk
56ed483394 Merge pull request #81 from zinserjan/remove-unused-jest-config
Remove unused file createJestConfig.js
2017-06-13 22:39:05 +01:00
William Monk
6fcb0143a4 Merge pull request #82 from zinserjan/fix-tsx-extension
Fix transform ignore pattern for tsx
2017-06-13 22:38:52 +01:00
William Monk
459132a57b Merge pull request #75 from DorianGrey/master
fix(typescriptTransform): Let tsc read the config instead of using 'require'
2017-06-08 10:26:57 +01:00
Jan-André Zinser
ad6144942f Fix transform ignore pattern for tsx 2017-06-07 21:27:56 +02:00
Jan-André Zinser
799146d568 Remove unused file createJestConfig.js 2017-06-07 21:14:36 +02:00
Jan-André Zinser
0618b12e9a Jest cache busting for ts/tsx files 2017-06-07 20:58:59 +02:00
Matthew Leffler
5589c0c2e4 Allow loading modules from json files
This adds supports for such packages as:

- [`babel-core`](https://github.com/babel/babel/blob/7ca8170/packages/babel-core/src/index.js#L5)
- [`normalize-package-data`](d8a6a0c17c/lib/fixer.js (L8))
2017-06-06 14:00:40 -06:00