Commit Graph

1723 Commits

Author SHA1 Message Date
ekaradon
fbccb820bb Add host as adjustable parameter through env variables (#717)
* Add host as adjustable parameter through env variables

eg: `HOST=test.dev.local npm start`

* Style nit
2016-09-23 15:01:35 +01:00
Dan Abramov
92afcaf854 Add READMEs for packages 2016-09-23 13:00:11 +01:00
Dan Abramov
5b7a306cba Minor tweaks 2016-09-23 12:41:14 +01:00
Dan Abramov
9a70038b6d Preserve scripts/test.js after ejecting (#715)
Fixes #702
2016-09-23 12:35:26 +01:00
Dan Abramov
f54c9d8fb5 Remove other flow command 2016-09-23 12:07:29 +01:00
Dan Abramov
39d4da6165 Flow files are removed now 2016-09-23 12:06:57 +01:00
Jiansen HE
4e8c5e007a Add notes on enabling Travis CI for created repo (#677) 2016-09-23 12:00:46 +01:00
Ayrton De Craene
8e5183ac1b Load environment file in development (#695)
* Load environment file via dotenv if .env file is present

* Document loading environment variables in .env file

* Minor doc tweaks
2016-09-23 11:59:38 +01:00
Aeneas
2050174631 openBrowser() causes docker-compose set ups to fail because of spawn EACCESS (#711)
* openBrowser() causes docker-compose set ups to fail because of spawn EACCESS - closes #710

Signed-off-by: Aeneas Rekkas (arekkas) <aeneas@ory.am>

* Ignore errors
2016-09-23 11:33:23 +01:00
Dan Abramov
0e611e2374 Remove Flow stubs as Flow now supports CSS and resources out of the box 2016-09-23 10:00:32 +01:00
Dan Abramov
ba34b0b79b Eject .babelrc instead of separate configs (#705)
Fixes #410, #674
2016-09-23 00:33:14 +01:00
Dan Abramov
5bf14f3d18 Fix up eject script 2016-09-23 00:30:36 +01:00
Dan Abramov
435fcef092 Bump babel preset version 2016-09-22 23:38:47 +01:00
Ville Immonen
302b9ec73f Attempt to fix the e2e test (#704)
Only copy our own packages to bundledDependencies in the e2e test
2016-09-22 22:29:52 +01:00
Dan Abramov
bc6392afaf Add support for public/ folder (#703) 2016-09-22 21:25:34 +01:00
Ville Immonen
5b85a3624f Extract Babel configuration to babel-preset-react-app (#701) 2016-09-22 20:17:54 +01:00
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