Commit Graph

1693 Commits

Author SHA1 Message Date
Dan Abramov
7d2304090f 0.4.2 v0.4.2 2016-09-18 14:38:34 +03:00
Dan Abramov
6fb2eb9662 Add 0.4.2 changelog (#673)
* Add 0.4.2 changelog

* Update CHANGELOG.md
2016-09-18 14:37:58 +03:00
Dan Abramov
061aa2cd23 Tweak app name error message 2016-09-18 14:16:18 +03:00
Dan Abramov
3a42ff9009 Provide empty Node mocks for fs, net, tls (#672) 2016-09-18 14:09:12 +03:00
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
58c5483633 Emphasize we recommend Node 6 and npm 3 2016-09-18 12:45:23 +03:00
Dan Abramov
36a69d7ab2 Update dependencies 2016-09-18 12:25:43 +03:00
Dan Abramov
0e846f967c Update postcss-loader for colorful errors 2016-09-18 12:15:40 +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
Wei Zhu
2dd105df3e Make --scripts-version work with forked react-scripts (#632) 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 Abramov
0be495fdb4 Clarify why we use find-cache-dir 2016-09-18 00:50:22 +03:00
Dan Abramov
d45f0c5417 Remove caret 2016-09-18 00:46:17 +03:00
Dan Abramov
5572cb7f8f Minor tweaks to issue template 2016-09-17 23:22:03 +03:00
Gosha Arinich
6bdd335645 Add the GitHub issue template (#668)
Collecting all the relevant details early on means less back and forth
between the poster and project contributors. Asking to create a small
reproducible demo means less time wasted trying to repro the bug.

Brunch has been doing this for a while and it has really helped.
There are people who deleted the template and went free-form in their
bug reports but for the most part, people have actually been filling
that in:
https://github.com/brunch/brunch/issues?q=is%3Aissue+is%3Aclosed

A lesser percentage of the people were creating the demos, but a few
definitely were. The details, and the demos especially, led to faster
resolution times, which a win for everyone.
2016-09-17 23:15:09 +03:00
Dan Abramov
feae8f05d4 Promote no-undef to be treated as an error (#669)
Fixes #498
2016-09-17 23:08:58 +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
yangtze
310ab8ac98 Update file structure in README (#664) 2016-09-17 22:10:00 +03:00
Juan Soto
fc3ab46d2a Add ES5 version of path-exists to CLI 2016-09-17 00:50:31 +03:00
Vesa Laakso
e333b8b86c Exempt variables prefixed with underscore from no-unused-vars rule (#640)
* Split no-unused-vars ESLint config to multiple lines

* Exempt variables prefixed with underscore from no-unused-vars rule

This is useful when e.g. using object spread operator to remove only a
certain field from the object.

For example, this can be used to ignore a property from React
component's `this.props`:

    render() {
        const { someAttribute: _unused, ...rest } = this.props;
        return <pre>{ JSON.stringify(rest) }</pre>;
    }
2016-09-17 00:38:42 +03:00
Moti Zilberman
07105bfd87 Resolve app paths from realpath of CWD, fix #637 (#648)
* Resolve app paths from realpath of CWD, fix #637

* Use new resolveApp() for NODE_PATH too
2016-09-17 00:13:38 +03:00
Dave Ceddia
e71378f442 Bump webpack-dev-server to version 1.15.2 to fix #574 (#652) 2016-09-16 23:42:31 +03:00
Dan Abramov
b98c55682a Add kyt as an alternative 2016-09-15 18:36:01 +03:00
Ville Immonen
f4a53eea4d Remove eslintConfig from package.json (#649) 2016-09-14 20:05:48 +03:00
Maxime Thirouin
052336db6a Readme: add Travis-CI badge so people can easily see there is tests (#646)
* Readme: add Travis-CI badge so people can easily see there is tests

Following https://twitter.com/MoOx/status/776008513252392960

* Readme: add Travis-CI badge so people can easily see there is tests, round 2
2016-09-14 19:30:52 +03:00
Jerome Smadja
edddc50af7 Fixed typo in code comment (#635) 2016-09-13 16:57:19 +03:00
Dan Abramov
e45053cf13 Readme: Relative links are broken in lists (GitHub bug?) 2016-09-12 16:23:36 +03:00
Dan Abramov
f08c01657e Make User Guide stand out more 2016-09-12 16:14:27 +03:00
Marek Suscak
d8b65295a6 Check the app name before proceeding. (#628)
* Check the app name before proceeding.

* Refactor.

* Use arrow function and template string.

* Remove comment.

* Rephrase the error.

* Add missing semicolons.
2016-09-12 01:53:56 +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
Michael Pratt
341d4597b9 Bump case-sensitive-paths-webpack-plugin version (#593)
Resolves an issue that can occur in certain situations that causes a build error when user has CDed into an incorrectly cased directory.
2016-09-11 17:17:08 +03:00
Marek Suscak
2c6f1da4d0 Add support for *.jpeg file extension. (#624) 2016-09-11 15:48:58 +03:00
Khoa Nguyen
66702915e6 Avoid tons of *.json.gzip-files created in project root when running with docker node (#620)
* Specify cache directory for babel loader

* Use `react-scripts` for folder name instead
2016-09-10 23:16:43 +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
Ville Immonen
d3530f48ad Warn about unsupported Node.js versions (#575)
* Warn about unsupported Node.js versions

Add the `engines` field to package.json so users of old Node.js versions
will at least get a warning when trying to install create-react-app or
react-scripts, e.g.:

  npm WARN engine create-react-app@0.3.0: wanted: {"node":">=6"} (current: {"node":"4.2.3","npm":"2.14.7"})

* Remove duplicated field and extra whitespace

* Change the engine version back to 4
2016-09-06 08:45:50 -07: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
Dan Abramov
f4d9d8dc9a Add a note on decorators 2016-09-03 21:08:15 +01:00
Dan Abramov
4534fd0954 Update Flow instructions (#567) 2016-09-03 20:35:20 +01:00
Dan Abramov
4185a9d311 0.4.1 v0.4.1 2016-09-03 19:44:57 +01:00
Dan Abramov
c33b7329e8 Add 0.4.1 changelog 2016-09-03 19:44:45 +01:00
Dan Abramov
ab1f74fc68 Fix local end-to-end testing flow (#566) 2016-09-03 19:14:56 +01: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
Dan Abramov
6da29550de Document #564 2016-09-03 14:02:12 +01:00
Dan Abramov
a53da2228f Fix e2e test (#561) 2016-09-03 12:56:36 +01:00