Commit Graph

1107 Commits

Author SHA1 Message Date
Dan Abramov
a171d93064 Reformat source code with Prettier 1.5.2 2017-06-28 16:23:16 +01:00
Ian Schmitz
29c8733ec4 Update Prettier to v1 (#2465)
* Update Prettier to v1

* Update package.json
2017-06-28 16:19:42 +01:00
Dan Abramov
f947669ff7 Update ISSUE_TEMPLATE.md 2017-06-28 16:18:47 +01:00
Fabrizio Castellarin
60ae2b6d4c Local testing docker links (#2662)
* Fix a command style in docs

* Add a link to docker's docs
2017-06-28 16:01:08 +01:00
Evan Jones
6ab0ec0075 Better React Native Web support (#2511)
* Better React Native Web support

* Adding better react-native-web support for jest testing
2017-06-28 15:29:58 +01:00
Dan Abramov
16e5d15e92 Bump dependencies (#2658) 2017-06-28 15:05:30 +01:00
Dan Abramov
0cebe046e1 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-06-28 15:05:12 +01:00
Dan Abramov
c578d148b7 Don't ask to install webpack for using Styleguidist (#2656)
* Don't ask to install webpack for using Styleguidist

* Update README.md
2017-06-28 14:27:52 +01:00
Dan Abramov
9559ba486e Put react-scripts in dependencies, not devDependencies (#2657)
* Put react-scripts in dependencies, not devDependencies

* Sort dependencies on eject

* Remove CI check
2017-06-28 14:04:26 +01:00
Erik Engi
4605e6c38a Razzle added to the alternatives (#2517) 2017-06-28 00:10:18 +01:00
Dan Abramov
7cf4de71fa Warn about large bundle sizes (#2648) 2017-06-28 00:00:49 +01:00
Colin Galindo
a4197b610e Add instructions to use source-map-explorer (#1641) 2017-06-27 22:40:33 +01:00
Dan Abramov
91064a1c7f Ignore "Skipping static resource" message from SW precache (#2645) 2017-06-27 22:28:00 +01:00
Artem Sapegin
12a2e42a94 Add React Styleguidist (#2044) 2017-06-27 21:52:30 +01:00
Ashton
8dfc630c58 Update ISSUE_TEMPLATE.md (#2643)
Adding the word "also" to "Can you also reproduce the problem with npm 4.x?" clarifies that contributors aren't _expected_ to use NPM v4, but we're interested in understanding which environments the reported issue affects.
2017-06-27 21:47:36 +01:00
Pete Nykänen
84299ceb23 Add Brackets to launchEditor.js (#2637) 2017-06-27 21:46:59 +01:00
shaun wallace
4edec9e834 Updated README (#1931)
* adding comment on windows support of nvm

* adding tree structure for intial project output

* applying feedback from this thread create-react-app/pull/1931
2017-06-27 18:21:16 +01:00
Dan Abramov
0b6c7ffc9e Less passive-aggressive issue template 2017-06-27 18:15:02 +01:00
Maarten Hus
5474e2dff9 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-06-27 17:51:58 +01:00
Colin Eberhardt
b4b3d02e6b Fix CLI grammar (#1945)
I know this is a very minor thing, but correct grammar makes it easier to understand.
2017-06-27 17:40:38 +01:00
Heng Li
60691e6b1c Update README.md (#1813) 2017-06-27 17:32:51 +01:00
Gabriel Aumala
117d82b28d 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-06-27 17:26:54 +01:00
James Blight
0ed6c8d6fd Update docs with WebSocket proxy information (#2305)
* Update docs with WebSocket proxy information

* Tweak wording
2017-06-27 17:21:51 +01:00
Brian Douglas
77993e73d0 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-06-27 17:16:59 +01:00
Ro Savage
78dbf7bf2b Add simplified service worker invalidation (#2551)
* Add service worker invalidation

* Update valid service worker check only on local host
2017-06-27 17:07:38 +01:00
Daniel Ciao
a9ac78996b Fix sourcemap directory organizing on Windows (#2456) (#2610)
* Fix sourcemap directory organizing on Windows

* Update comments
2017-06-27 16:55:28 +01:00
Marius Wirtherle
6a09ed1e6e docs: added REACT_EDITOR to Advanced Configuration section (#2445)
* docs: added REACT_EDITOR to `Advanced Configuration` section

* Update README.md

* Update launchEditor.js
2017-06-27 16:30:26 +01:00
Levin Rickert
2874e1209e Auto-detect running editor on Windows for error overlay (#2552)
* Auto-detect running editor on Windows for error overlay

* Ignore process output if powershell call fails

* Support Notepad++
2017-06-27 16:16:02 +01:00
Dan Abramov
3747144f9a Set npm loglevel to 'error' (#2635) 2017-06-27 15:39:42 +01:00
Dan Abramov
bed875c83d Don't run yarn after ejecting (#2634) 2017-06-27 15:09:46 +01:00
Paweł Jędrzejczyk
0644e80d36 add check to filter out custom scripts in eject command (#2562) 2017-06-27 14:11:14 +01:00
Ade Viankakrisna Fadlil
41f2013260 turn on ascii_only for issue with emoji and regex (#2596) 2017-06-27 14:05:15 +01:00
Dan Abramov
7a0fb4c62b Use Babel compact mode in production (#2389) 2017-06-26 17:35:18 +01:00
Fabrizio Castellarin
1f91848d51 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-06-26 17:34:03 +01:00
Mateusz Zatorski
c22c8b3007 add docs for setting up CircleCI for CRA (#2423)
* add docs for setting up CircleCI for CRA

* Reword
2017-06-26 17:33:19 +01:00
Andy Kenward
43d0307bc1 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-06-26 17:31:25 +01:00
Jeffrey Posnick
a7d31d9fa8 Determines whether PUBLIC_URL is same-origin before registering SW. (#2432) 2017-06-26 17:30:43 +01:00
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
Dan Abramov
839c7bf652 Update ISSUE_TEMPLATE.md 2017-06-26 15:19:16 +01:00
Dan Abramov
de839e9cc5 Update ISSUE_TEMPLATE.md 2017-06-26 15:10:12 +01:00
Dan Abramov
7a8466a560 Update ISSUE_TEMPLATE.md 2017-06-26 15:09:34 +01:00
Dan Abramov
4289fcef84 Whitespace 2017-06-26 15:08:37 +01:00
Dan Abramov
d468a80f25 Update issue & PR templates (#2618)
* New issue template

* Update PULL_REQUEST_TEMPLATE.md

* Update ISSUE_TEMPLATE.md
2017-06-26 15:02:42 +01:00
Dan Abramov
70e36f04f4 Warn about npm 5 in issue template 2017-06-23 17:26:42 +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