Commit Graph

532 Commits

Author SHA1 Message Date
Joe Haddad
6443441bd5 Update README.md 2017-08-01 21:47:01 -04:00
Kiho · Cham
a73252f06f Use modern syntax feature (#2873)
The create-react-app need node >= 6, and node version 6 support a lot of ES6, and let's switch using '+' to concat string with template string.
2017-08-01 21:04:25 -04:00
themre
b1c12241e4 Bump Webpack 3.4 (#2850)
* bump wp3

* try bump babel-loader
2017-07-26 09:58:42 +01:00
themre
bc82755aff Feature/webpack3 (#2574)
* Add source-map-loader to support source maps of dependencies

* merge with latest develop

* add ModuleConcatenationPlugin

* revert source-map-loader

* bump to 3.1 and update dev-server

* rebase to master

* rebase again

* bump webpack

* remove ModuleConcatenationPlugin, downgraded react packages, bump etwp

* ETWP rc1 only for testing

* bump ETWP and webpack 3

* bump WP3

* revert to 3.2.0

* bump sw-precache-webpack-plugin

* bump back to 3.3.0

* bump dev-server and manifest
2017-07-25 20:28:45 +01:00
Dan Abramov
d679843d05 Add explicit "Opting Out of Caching" header (#2822) 2017-07-19 18:19:18 +01:00
Christian Bundy
0482058724 Upgrade webpack-dev-server (#2806) 2017-07-18 02:16:38 -04:00
zeel
3ffad55e68 Moved npm run build before npm test (#2725)
Closes #2713
2017-07-13 11:28:12 -04:00
Ade Viankakrisna Fadlil
a7e71442c6 Docs for react-router v4 basename feature (#2668)
* Docs for react-router v4 basename feature

Fix https://github.com/facebookincubator/create-react-app/issues/2593

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2017-07-12 15:49:43 -04:00
Andreas Hoffmann
a08eb3b44b Use Rule.oneOf to resolve correct loader (#2747)
* Use oneOf to resolve correct loader

* Add html and json fallthrough again

* Use oneOf to resolve correct loader in dev

* Document file-loaders `js` exclusion

* Remove `jsx` from exclusion in prod config
2017-07-09 21:59:19 +01:00
Đinh Quang Trung
bbbc15dc8e ESLint 4 (#2735)
* Update eslint-loader 1.7.1 -> 1.9.0

* Add eslintPath option

* Update eslint 3.19.0 -> 4.1.1

* Update peer dependencies

* Move eslintPath config to outside @remove-on-eject
2017-07-07 11:40:29 +01:00
Mostafa Hajizadeh
16f0d4a56c Add "node" to Jest's moduleFileExtensions (#2738)
Jest's default value for this option is ["js", "json", "jsx", "node"].
CRA's current value is ["web.js", "js", "json", "web.jsx", "jsx"], which
is missing one of default ones: "node". This change fixes that.

This "node" extension is used in packages that use native code.
2017-07-07 11:37:32 +01:00
Danny Ho
85a9bc8590 Remove Windows note for source-map-explorer (#2719)
Glob support has been added in source-map-explorer@1.4+
2017-07-03 21:03:00 +01:00
Dan Abramov
ad35fd1d13 Publish
- create-react-app@1.3.3
 - react-dev-utils@3.0.2
 - react-error-overlay@1.0.9
 - react-scripts@1.0.10
2017-06-29 19:03:41 +01:00
Dan Abramov
adf334f886 Publish
- react-scripts@1.0.9
2017-06-29 13:11:46 +01:00
Dan Abramov
567d981ee2 Fix external CSS imports (#2680)
* Fix external CSS imports

* Add external CSS import to integration test

* Fix assertion
2017-06-29 12:59:49 +01:00
Daniel Banck
7b5a589f3d Fix minor typo (#2679)
"Styleguidist combines of a style guide, ..." --> "Styleguidist combines a style guide, ..."
2017-06-29 11:33:20 +01:00
Ade Viankakrisna Fadlil
a0bc9493b4 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-06-29 00:14:16 -04:00
Jaco Bovenschen
d0aa6b2392 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-06-28 20:35:20 +01:00
Dan Abramov
7796c94d79 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-06-28 17:30:24 +01:00
Dan Abramov
a171d93064 Reformat source code with Prettier 1.5.2 2017-06-28 16:23:16 +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
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
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
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
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