Commit Graph

575 Commits

Author SHA1 Message Date
William Monk
f2a5c5fc96 Fix tslint 2017-08-07 16:20:05 +02:00
William Monk
7014aeddda Fix Code Review 2017-08-07 16:20:05 +02:00
Dan Abramov
761fe6f2a7 Fix external CSS imports (#2680)
* Fix external CSS imports

* Add external CSS import to integration test

* Fix assertion
2017-08-07 16:17:29 +02:00
Daniel Banck
a720aa0dec Fix minor typo (#2679)
"Styleguidist combines of a style guide, ..." --> "Styleguidist combines a style guide, ..."
2017-08-07 16:17:28 +02:00
Ade Viankakrisna Fadlil
6cafdfc375 Add more info about apache client side routing (#2666)
* Add more info about apache client side routing

After a revelation in https://github.com/facebookincubator/create-react-app/issues/2593#issuecomment-311729534

* Update README.md
2017-08-07 16:17:28 +02:00
Jaco Bovenschen
22a950376c Add json and css to lint-staged in template README (#2671)
* Add json and css to lint-staged in template README

This changes the proposed way about using prettier inside the README.md, because prettier supports css since the 1.4.0 release and json since the 1.5.0 release. 

Was not sure if it was a good idea to add different regexes for json and css inside the README.md don't have a real opinion about it myself, could maybe easier for starters to do so if they wan't to add things like eslint or stylelint the the commit hooks.

* Use capitalization for Javascript, CSS and JSON

* Change 'Javascript to JavaScript'
2017-08-07 16:17:28 +02:00
Dan Abramov
8d156edec6 Publish
- babel-preset-react-app@3.0.1
 - create-react-app@1.3.2
 - eslint-config-react-app@1.0.5
 - react-dev-utils@3.0.1
 - react-error-overlay@1.0.8
 - react-scripts@1.0.8
2017-08-07 16:17:28 +02:00
Dan Abramov
10bd98cbe5 Reformat source code with Prettier 1.5.2 2017-08-07 16:16:16 +02:00
Fabrizio Castellarin
8aca5fd731 Local testing docker links (#2662)
* Fix a command style in docs

* Add a link to docker's docs
2017-08-07 16:16:16 +02:00
Evan Jones
e8e2926e87 Better React Native Web support (#2511)
* Better React Native Web support

* Adding better react-native-web support for jest testing
2017-08-07 16:16:16 +02:00
Dan Abramov
9e64ca3999 Minor code style edits to user guide (#2660)
* Minor code style edits to user guide

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2017-08-07 16:10:59 +02:00
Dan Abramov
a7efc39606 Don't ask to install webpack for using Styleguidist (#2656)
* Don't ask to install webpack for using Styleguidist

* Update README.md
2017-08-07 16:10:59 +02:00
Dan Abramov
853642676e Put react-scripts in dependencies, not devDependencies (#2657)
* Put react-scripts in dependencies, not devDependencies

* Sort dependencies on eject

* Remove CI check
2017-08-07 16:10:59 +02:00
Dan Abramov
a9c8b817f3 Warn about large bundle sizes (#2648) 2017-08-07 16:10:41 +02:00
Colin Galindo
6f4c6969ef Add instructions to use source-map-explorer (#1641) 2017-08-07 16:10:41 +02:00
Dan Abramov
4e3e06bf6c Ignore "Skipping static resource" message from SW precache (#2645) 2017-08-07 16:10:27 +02:00
Artem Sapegin
a3fc196e56 Add React Styleguidist (#2044) 2017-08-07 16:10:27 +02:00
Maarten Hus
6d87749ee7 Added instruction on how to install Prettier (#2006)
* Added instruction on how to install Prettier

* Tweak style

* Update README.md

* Update README.md

* Support JSX

* Update README.md

* Update README.md
2017-08-07 16:09:06 +02:00
Heng Li
9e2c334171 Update README.md (#1813) 2017-08-07 16:08:22 +02:00
Gabriel Aumala
330f480090 Add more info about OOM build failiure [docs] (#2060)
In the section about npm run build fails in troubleshooting added more
info about memory usage of the build script and a link to a tutorial for
adding more swap space as a viable solution.
2017-08-07 16:08:22 +02:00
James Blight
9fc378032a Update docs with WebSocket proxy information (#2305)
* Update docs with WebSocket proxy information

* Tweak wording
2017-08-07 16:08:22 +02:00
Brian Douglas
2bd9c8b919 Add yarn example under "Installing a Dependency" (#2362)
Due to many of the other examples in the README showing both `npm` and `yarn` commands.
I have added an example of how to install a dependency using `yarn`.
2017-08-07 16:08:22 +02:00
Ro Savage
dd4ad7dbcb Add simplified service worker invalidation (#2551)
* Add service worker invalidation

* Update valid service worker check only on local host
2017-08-07 16:08:22 +02:00
Daniel Ciao
03039aa3a4 Fix sourcemap directory organizing on Windows (#2456) (#2610)
* Fix sourcemap directory organizing on Windows

* Update comments
2017-08-07 16:05:30 +02:00
Marius Wirtherle
2a4fe99c62 docs: added REACT_EDITOR to Advanced Configuration section (#2445)
* docs: added REACT_EDITOR to `Advanced Configuration` section

* Update README.md

* Update launchEditor.js
2017-08-07 16:05:30 +02:00
Dan Abramov
88e03cefd3 Set npm loglevel to 'error' (#2635) 2017-08-07 16:05:30 +02:00
Dan Abramov
7478e24973 Don't run yarn after ejecting (#2634) 2017-08-07 16:05:30 +02:00
Paweł Jędrzejczyk
d585b5abda add check to filter out custom scripts in eject command (#2562) 2017-08-07 16:05:30 +02:00
Ade Viankakrisna Fadlil
6d42a3c049 turn on ascii_only for issue with emoji and regex (#2596) 2017-08-07 16:05:30 +02:00
Dan Abramov
d69e4419ee Use Babel compact mode in production (#2389) 2017-08-07 16:05:30 +02:00
Fabrizio Castellarin
4a6c5b4ed7 E2E testing enhancements (#2408)
* Local testing with docker

* Docs on e2e testing

* `bash` callback after docker

* Add a TL;DR in the CONTRIBUTING section

* Local e2e testing with modified files

* Remove the N.B. from the README

* Fixed a fixme in e2e doc
2017-08-07 16:04:26 +02:00
Mateusz Zatorski
408ba258b2 add docs for setting up CircleCI for CRA (#2423)
* add docs for setting up CircleCI for CRA

* Reword
2017-08-07 16:03:41 +02:00
Andy Kenward
e12710bb5f webpack no need for ident if using complex options anymore (#2430)
Since `v2.2.1` of webpack the need for `ident` for complex options is no longer required. See

https://webpack.js.org/guides/migrating/#complex-options
2017-08-07 16:03:41 +02:00
Jeffrey Posnick
3fa1499dd3 Determines whether PUBLIC_URL is same-origin before registering SW. (#2432) 2017-08-07 16:03:40 +02:00
Will Farley
3d6ebe71d6 Update sw-precache-webpack-plugin to lastest version (#2429)
* Update sw-precache-webpack-plugin to v0.11.3

* Pin the version
2017-08-07 16:03:40 +02:00
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