Commit Graph

1126 Commits

Author SHA1 Message Date
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
Dan Abramov
c04091b180 Add missing breaking change description from 0.3.0 (#562) 2016-09-03 12:19:03 +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
Eric Ferraiuolo
ae36f2df94 Fix version in CHANGELOG npm install command (#557)
For the 0.4.0 CHANGELOG entry, the npm install command should be:
```
npm install --save-dev --save-exact react-scripts@0.4.0
```

Not:
```
npm install --save-dev --save-exact react-scripts@0.3.1
```
2016-09-03 10:29:18 +01:00
ippa
05fc913ab5 fix typo setupTest.js -> setupTests.js (#555) 2016-09-02 23:12:01 +01:00
Dan Abramov
3baad4ee92 Fix typo 2016-09-02 23:10:31 +01:00
Dan Abramov
c43b249258 Fix tasks 2016-09-02 22:24:09 +01:00
Chris Castle
841ae0471c Clarify proxy instructions in generated app README (#537)
* Clarify proxy instructions in generated app README

* Add backticks to format text/html as code
2016-09-02 22:23:36 +01:00
Dan Abramov
d6e8939a4b Mention npm test in init output 2016-09-02 22:12:26 +01:00
Dan Abramov
106267cde3 0.4.0 v0.4.0 2016-09-02 21:36:21 +01:00
Dan Abramov
1a7d015e07 Add 0.4.0 changelog 2016-09-02 21:32:03 +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
Dan Abramov
88ed8832d0 Reorder deployment instructions by alphabet + minor tweaks 2016-09-02 18:01:13 +01:00
Jeremiah Harlan
10012f3f33 Add Modulus to list of deployment options (#416) 2016-09-02 17:57:14 +01:00
Dan Abramov
c71337f63b Tweak how NODE_PATH is handled 2016-09-02 17:52:58 +01:00