Commit Graph

1023 Commits

Author SHA1 Message Date
Will Farley
3e9955ddb6 Update sw-precache-webpack-plugin to lastest version (#2429)
* Update sw-precache-webpack-plugin to v0.11.3

* Pin the version
2017-06-26 17:29:52 +01:00
Jay V
76bd132157 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-06-26 17:28:56 +01:00
Mico Piira
6e2898e596 Add empty mock for dgram (#2600) 2017-06-26 16:48:21 +01:00
Mikhail Osher
58ef08f798 Support PhpStorm in launchEditor (#2622)
https://www.jetbrains.com/help/webstorm/opening-files-from-command-line.html
https://www.jetbrains.com/help/phpstorm/opening-files-from-command-line.html

Both editors have the same signature `<editor> <projectPath> --line <number> <filePath>` to open file from the command line.
It seems to work even if `<projectPath>` is omitted (commit 02f88ba157).

Tested on `Win10`+`PhpStorm2016` and `macOS 10.12`+`PhpStorm2017`.
2017-06-26 16:19:21 +01:00
Joe Haddad
31a4d14b33 Fix a potential issue (#2569) 2017-06-19 13:27:02 -04:00
varnav
5b38c5439d 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-06-19 12:36:28 -04:00
Levin Rickert
b1c0faaffe Show warning when trying to run on port below 1024 without admin permissions under Linux (#2518) 2017-06-19 18:00:11 +02:00
Andi N. Dirgantara
2ab7ead907 Fix wrong comment on Proxy guide (#2447)
It should be `baz` instead of `bar` on last example.
2017-06-18 12:52:34 -04:00
Roman
e6f99359e8 Fix broken link to React Router docs (#2538)
* Update README.md

Fix broken link to React Router documentation

* Update README.md
2017-06-18 12:50:19 -04:00
Joseph Frazier
acb1957555 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-06-18 12:48:40 -04:00
Khang Lu
67f6163b0d Simplify flow init docs (#2522)
- Call `npm run flow --init` won't create a .flowconfig file, it should be `npm run flow init`
2017-06-12 13:19:12 -04:00
Michael Shilman
9b3cf2f57d Fix link to Storybook docs (#2521) 2017-06-11 23:15:26 -04:00
Alexandre Nicastro
cccd855fc8 Fix minor docs typo (#2500) 2017-06-08 02:41:29 -04:00
Joe Haddad
dc4ce606ef Unscope detect-port (#2483)
Resolves #2481
2017-06-06 14:02:27 -04:00
Zac Kwan
c78c1fae62 Added NamedModulesPlugin in webpack.config.dev.js (#2458)
* Added NamedModulesPlugin in webpack.config.dev.js

* Update webpack.config.dev.js
2017-06-06 14:06:39 +01:00
bryankang
b264b8de33 Prioritize index.css over the implicit App.css (#2470) 2017-06-06 00:36:13 +01:00
Norbert de Langen
e898215b7f re-add storybook && update the documentation and links (#2331)
* re-add storybook && update the documentation and links

* Change to new documentation domain
2017-06-04 08:14:16 -04:00
Ryan Sullivan
d1f37d98ab Update Travis CI Node versions in User Guide (#2454)
Removed Node v4 (CRA only supports Node >= 6)
2017-06-02 14:05:25 +01:00
Rustem Kakimov
e91648a9bb Fix docs typo (#2420)
"ensuring that you web app" ->
"ensuring that your web app"
2017-05-31 09:40:46 -04:00
Marius Wirtherle
02f88ba157 Add WebStorm >2017 launchEditor Support (#2414) 2017-05-30 14:00:16 +01:00
Lufty Wiranda
19c5277593 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-05-29 19:50:32 +01:00
Frédéric Miserey
bcf398d75b Fix detection of parent directory in ModuleScopePlugin (#2405)
* Fix detection of parent directory

* Correct parent directory detection fix

Add windows specific path and extend to issuer path
2017-05-29 19:49:57 +01:00
Dan Abramov
70bf12505c Suggest just "yarn build" (#2385) 2017-05-27 21:26:53 +01:00
Dan Abramov
58d8c5c05c Publish
- react-dev-utils@3.0.0
 - react-error-overlay@1.0.7
 - react-scripts@1.0.7
2017-05-27 12:42:54 +01:00
Dan Abramov
1421010ae2 Update webpack to 2.6.1 (#2383) 2017-05-27 12:38:40 +01:00
Dan Abramov
2069e8ac43 Consistently set environment variables (#2382) 2017-05-27 12:37:07 +01:00
David Ascher
f6d8544033 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-05-27 12:36:42 +01:00
Zac Kwan
c1ba38dbf5 Removed the overriding of reduce_vars to false since webpack v2.6.0 included the fixed for Uglify bug (#2351) 2017-05-27 12:33:13 +01:00
Mirza Joldic
fbaeff2d6e 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-05-26 12:33:02 +01:00
Jin Zheng
b60f55c6bf Print file sizes with correct build folder path. (#2361)
* Print file sizes with correct build folder path.

* Just use the print the basename.
2017-05-25 16:18:29 +01:00
Dan Abramov
36e279da13 Fix broken links (#2350) 2017-05-24 16:49:56 +01:00
Emanuele Ingrosso
90f9c6bbf9 Update webpack to v2.6.0 in react-scripts (#2349) 2017-05-24 14:57:34 +01:00
Dan Abramov
7a1873c0a7 Publish
- eslint-config-react-app@1.0.4
 - react-dev-utils@2.0.1
 - react-error-overlay@1.0.6
 - react-scripts@1.0.6
2017-05-24 13:22:25 +01:00
Ryan Sullivan
55fe1369d7 Add navigateFallbackWhitelist /__* to SW Precache config (#2347)
* Add navigateFallbackWhitelist /__* to SW Precache config

* Add comments
2017-05-24 13:07:45 +01:00
Iain Beeston
0d2989ba6d Resolve flow errors in eslint JSX a11y (#2346)
* Upgraded eslint-plugin-jsx-a11y to 5.0.3 to take advantage of
  d70ac7d7975819e7a52b85465ec67a0d93eb962a
2017-05-24 11:01:31 +01:00
Joe Haddad
a29808a2c8 Don't resolve localhost if on network (#2332)
* Don't resolve if on network

* Update WebpackDevServerUtils.js
2017-05-24 11:00:24 +01:00
Dan Abramov
2558c3e32f Publish
- eslint-config-react-app@1.0.3
 - react-dev-utils@2.0.0
 - react-error-overlay@1.0.5
 - react-scripts@1.0.5
2017-05-22 17:09:28 +01:00
Dan Abramov
25f81f2bea Files in public/ folder should not be requested through proxy (#2326) 2017-05-22 17:04:17 +01:00
Dan Abramov
9cfa3552ba Limit console warnings to 5 files at most (#2327) 2017-05-22 16:36:53 +01:00
Dan Abramov
42efedbeb2 Allow declaring variables before use in a scope above (#2325) 2017-05-22 16:04:35 +01:00
Pavol Madar
0d1521aabf Remove connect-history-api-fallback and cross-spawn dependencies from react-scripts (#751) (#2320) 2017-05-22 12:46:51 +01:00
Dan Abramov
7e25c9a604 Publish
- react-error-overlay@1.0.4
 - react-scripts@1.0.4
2017-05-22 12:43:47 +01:00
Dan Abramov
d649b8a0de Publish
- eslint-config-react-app@1.0.2
 - react-dev-utils@1.0.3
 - react-error-overlay@1.0.3
 - react-scripts@1.0.3
2017-05-21 20:56:22 +01:00
Joe Haddad
2430b5615f Ensure address is private (#2297)
* Ensure address is private
Resolves #2296

* adjust rule

* Update WebpackDevServerUtils.js
2017-05-21 20:44:28 +01:00
Robert DeLuca
3260d17f07 Remove flowtype/require-valid-file-annotation temporarily. (#2311)
Until this issue (https://github.com/gajus/eslint-plugin-flowtype/issues/165) is
fixed we're disabling `flowtype/require-valid-file-annotation`.
2017-05-21 20:42:55 +01:00
Broda Noel
7348ca9bd1 Wrap console calls into a check (#2301)
* Wrap console calls into a check

* Add another check
2017-05-21 20:42:28 +01:00
Dan Abramov
d558eaa94e Roll back to an older version of case-sensitive-paths-webpack-plugin (#2314) 2017-05-21 20:38:53 +01:00
Dan Abramov
ae0cb23dc9 Publish
- react-dev-utils@1.0.2
 - react-error-overlay@1.0.2
 - react-scripts@1.0.2
2017-05-20 19:20:46 +01:00
pmadar
a1749f9154 Remove unnecessary dependencies(#751) (#2283)
* Remove unnecessary dependencies(#751)

* Sort alphabetically
2017-05-20 19:08:58 +01:00
Jeffrey Posnick
eadfad28f4 Provide a no-op SW that will be served by the dev environment. (#2276)
* Provide a no-op SW that will be served by the dev environment.

* Hide no-op service worker from user
2017-05-20 19:07:43 +01:00