118 Commits

Author SHA1 Message Date
Dan Abramov
cc4aa7be60 Tweak init script output 2016-09-18 14:06:06 +03:00
Dan Abramov
d279aa038a Don't generate absolute paths in Jest config after ejecting 2016-09-18 13:12:21 +03:00
Dan Abramov
bf12c41675 Reword comment 2016-09-18 12:01:46 +03:00
Dan Abramov
1220683276 Update webpack-dev-server and add clientLogLevel option 2016-09-18 11:52:58 +03:00
Dan Abramov
801c20028f Tweak scroll sequences 2016-09-18 11:25:33 +03:00
Dan Abramov
f8b4726052 Add missing file check to npm run build too 2016-09-18 11:25:32 +03:00
Vincent Taing
4a0f39ae80 Crash the app if it does not find index.html or index.js (#653) 2016-09-18 11:25:32 +03:00
Dan Harper
a5bf07476b add audio support (#665) 2016-09-17 22:20:49 +03:00
Rewieer
16a9724964 Corrected a typo in the comments of start.js (#663) 2016-09-17 22:10:39 +03:00
Ville Immonen
f4a53eea4d Remove eslintConfig from package.json (#649) 2016-09-14 20:05:48 +03:00
Jerome Smadja
edddc50af7 Fixed typo in code comment (#635) 2016-09-13 16:57:19 +03:00
Ville Immonen
55f965aa5d Update eject message
Change "configs" to "configuration files" .
2016-09-11 21:42:44 +03:00
Brandon Newton
989fd856f6 Improve the output of scripts/init.js (#629)
* Improve the output of scripts/init.js

* Add semi-colons;
2016-09-11 21:29:24 +03:00
Marek Suscak
2c6f1da4d0 Add support for *.jpeg file extension. (#624) 2016-09-11 15:48:58 +03:00
Ville Immonen
cdd736d9e0 Fix mocking assets with special characters in the file path (#584)
The regexes in the Jest `moduleNameMapper` configs were a bit too strict,
causing them to not pick up files with special characters like `@` in the
file path. Change them to match anything with the correct file extension.
2016-09-10 19:56:43 +03:00
cloudmu
29107ca29b Send proper error response in custom onError handler for httpProxyMiddleware. (#588)
* Change http-proxy-middleware logLevel from silent to error

* provide onError handler for httpProxyMiddleware

* Send proper error reponse upon proxy error.
2016-09-05 21:33:31 +03:00
Jeremy Gayed
49e4f64620 Adds JSX extension support (#563)
* Adds JSX extension support

* PR changes

* Add testRegex

* Add note about not recommending JSX, link to issue
2016-09-03 15:33:54 +01:00
cloudmu
ec60307c68 Provide custom onError handler for http-proxy-middleware (#502)
* Change http-proxy-middleware logLevel from silent to error

* provide onError handler for httpProxyMiddleware
2016-09-03 10:32:19 +01:00
Dan Abramov
d6e8939a4b Mention npm test in init output 2016-09-02 22:12:26 +01:00
Dave Ceddia
c22c96b20a Look for HTTPS environment variable (#430)
With the HTTPS env var set 'true', the dev server will serve over HTTPS.
2016-09-02 20:47:06 +01:00
Dan Abramov
f1c9584352 Disable implicit serving of the source files (#551)
* Disable contentBase in development

* Document #428
2016-09-02 20:35:46 +01:00
Dan Abramov
98f74a8c65 Remove code that is unused after publish (#550) 2016-09-02 20:27:58 +01:00
Gael du Plessix
a94b2523bd Add src/setupTests.js to specify environment setup for Jest (#545) (#548) 2016-09-02 20:27:09 +01:00
Jiansen HE
6c8713b7d1 tagging dev-only code (@remove-on-publish-begin/end) and pre-eject-only code (@remove-on-eject-begin/end) #257 (#257) 2016-09-02 16:34:34 +01:00
Dan Abramov
a52b697d1e Enable watch implicitly unless on CI (#533)
Fixes #532
2016-09-01 17:25:21 +01:00
Dan Abramov
67fe75926a Update Jest (#530)
* Update Jest

* Remove default snapshot test

* Fix a few things

* Add a simple default test

* App.spec.js -> App.test.js

* Fix e2e test

* Bump Jest
2016-09-01 02:08:27 +01:00
William Horton
250605fa8f Use most recent React version (#477)
* Get latest version numbers of react and react-dom from npm before install.

* Run separate npm installs for react, react-dom, and react-test-renderer.

* Consolidate into a single npm install.

* Fix misplaced parenthesis, add missing semicolon.

* Add missing semicolon.
2016-08-25 11:32:11 +01:00
Felipe Moyano
dcdcab0ecc Added support for webp images in #442 (#458) 2016-08-23 16:13:13 +01:00
Gregory Shehet
b93e6c0bce add otf font format to loaders (#434)
* add off font format to loaders

* add otf format support
2016-08-18 19:47:39 +01:00
Max Stoiber
25a0b66fcf Disable dot rule of connect-history-api-fallback (#422)
Ref #387
2016-08-11 22:04:29 +01:00
Dan Abramov
8ae36c6ef5 Make missing module output slimmer
Thanks to @geowarin for the tip in https://github.com/facebookincubator/create-react-app/issues/401#issuecomment-238291901
2016-08-08 18:58:35 +01:00
Dan Abramov
505ddbe6d9 Make build output more chill 2016-08-08 18:49:51 +01:00
Dan Abramov
d21b7da85f Allow popular test path conventions (#400) 2016-08-08 14:23:12 +01:00
Rifat Nabi
e26b8d9f88 Creating a new app in the current directory (#368)
* Creating a new app in the current directory

* Fixed style mistakes
2016-08-07 21:05:58 -07:00
Dan Abramov
8084a326f0 Tweak Jest default settings (#378)
Disable timer mocking and enable verbose output.
2016-08-05 18:39:50 +01:00
Anton Kaminsky
c5cdbd5532 Small grammatical correction (#367)
* Small grammatical correction

* Fix another grammatical error for consistency
2016-08-05 14:33:57 +01:00
Dan Abramov
c1a984d98e Document configuration and build process (#362) 2016-08-04 20:56:52 +01:00
Dan Abramov
c13f7f40a2 Style tweaks 2016-08-04 19:21:07 +01:00
Dan Abramov
379cf5c96d Add proxy option to package.json (#282)
This allows users to avoid CORS in simple projects that are hosted on the same server as backend.
2016-08-04 16:49:59 +01:00
Dan Abramov
cd8bae0d12 Further tweak the build output 2016-08-04 14:21:34 +01:00
Dan Abramov
670e382ccf Minor tweaks to console output 2016-08-04 13:30:03 +01:00
Dan Abramov
f93e02e62f Minor style tweaks 2016-08-04 12:39:48 +01:00
Elijah Manor
6b6d7ee303 Adjust colors and account for unicode when padding 2016-08-04 00:57:33 -05:00
Elijah Manor
cfc4325e4c Display Build Size Difference 2016-08-04 00:57:33 -05:00
Eli Perelman
8f59cad16d Adding namespaced environment variables to DefinePlugin under REACT_APP_ (#342) 2016-08-03 23:54:55 +01:00
Dan Abramov
a7f9016b3a Force rebuild after npm install (#349)
Fixes #186
2016-08-03 23:50:49 +01:00
Dan Abramov
01eeb61394 Tweak npm start to make it clear it’s not optimized
Ref: https://twitter.com/sprjrx/status/760481328886272004
2016-08-02 15:45:47 +01:00
Dan Abramov
44b8313213 Make AppleScript call more bulletproof and silence its output
Fixes #322
2016-08-02 15:00:39 +01:00
Christoph Pojer
0e5abada75 Add Jest. (#250) 2016-08-02 00:22:33 +01:00
Dan Abramov
b29a943169 Revert "Fix port detection lag on OS X with Firewall enabled (#319)"
The problem has since been fixed upstream.

This reverts commit f7011e0472.
2016-08-01 18:10:57 +01:00