Commit Graph

1007 Commits

Author SHA1 Message Date
Ville Immonen
d3ecd6dfa6 Fix the e2e test (#699)
* Fix the e2e test

In the end-to-end test, we want to test all the latest packages from
the monorepo instead of the versions from npm.

To do this we will now:
* run `lerna bootstrap` in the repo root folder before packaging react-scripts
* bundle the deps like we do for releases, so the e2e test uses those packages

* Fix copy-pasted comment
2016-09-22 19:09:45 +01:00
Dan Abramov
8b8afd3191 Bump eslint-config-react-app version to 0.2.0 2016-09-22 14:37:45 +01:00
Ville Immonen
2ed2b59a69 Update eslint-plugin-react and enable new rules (#696)
* Update eslint-plugin-react and enable new rules

New rules:
* `react/no-danger-with-children` (yannickcr/eslint-plugin-react#710)
* `react/no-find-dom-node` (yannickcr/eslint-plugin-react#678)
* `react/style-prop-object` (yannickcr/eslint-plugin-react#715)

* Remove react/no-find-dom-node for now
2016-09-22 13:58:23 +01:00
Kyle Roach
d2128b62f0 Added instructions for using local images (#589) 2016-09-21 15:52:13 +01:00
Ville Immonen
a2d0469c39 Create a shareable ESLint configuration package (#689)
* Move ESLint configuration to a separate package

* Remove the ESLint configuration, moved to eslint-config-react-app

* Update ESLint instructions

* Pin the package versions in eslint-config-react-app

* Add a README for eslint-config-react-app

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update package.json

* Update package.json

* Update production eslint-loader config

* Add the ESLint config to devDependencies of the repo
2016-09-21 15:08:02 +01:00
Simen Bekkhus
07623e2f84 Use pre node@4 compatible path-exists (#685)
* Revert "Add ES5 version of `path-exists` to CLI"

This reverts commit fc3ab46d2a.

* Use pre node@4 compatible `path-exists`

Ref #617
2016-09-20 02:00:51 +03:00
Dan Abramov
c217ea5aaa Add a redirect stub because many projects link to old README 2016-09-19 15:41:46 +03:00
Quentin Favrie
1bed0d4f1f Fixed broken links in README.md (#683)
The commit 2646409 moved the documentation files without updating the links in the main README.md
2016-09-19 15:38:44 +03:00
Dan Abramov
ef24fcf619 Highlight more prominent alternatives and remove some
Removed rwb and rackt-cli because they’re not actively maintained and use Babel 5.
Also removed budō because it has a different focus.
2016-09-19 14:30:55 +03:00
Dan Abramov
8f28c56e68 Try to fix e2e 2016-09-19 13:30:04 +03:00
Ville Immonen
26464096d5 Set up a monorepo with Lerna 2016-09-19 10:52:19 +03:00
Wei Zhu
36d68680c1 Add test for special scripts versions (#681) 2016-09-19 10:51:25 +03:00
Dan Abramov
36afd8baa7 Add 0.4.3 changelog v0.4.3 2016-09-19 00:47:25 +03:00
Dan Abramov
bc874caa38 0.4.3 2016-09-19 00:19:36 +03:00
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