Commit Graph

1693 Commits

Author SHA1 Message Date
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
Jimmy Miller
82066ac4d6 Added ability to specify multiple directories in node_path. 2016-09-02 17:21:53 +01:00
Jimmy Miller
6e94bd8426 Removed NODE_PATH from env.js
env.js is only for variables injected into the app.
2016-09-02 17:10:29 +01:00
Jimmy Miller
afe25dfe5c Made webpack respect NODE_PATH environment variable
Fixes: #253
2016-09-02 17:10:29 +01:00
Dan Abramov
2f62ff84db Clarify some of the comments 2016-09-02 16:47:23 +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
Marshall Bowers
2d99415fa0 Fix some typos (#547) 2016-09-02 15:21:00 +01:00
Dan Abramov
daf85e66b9 Update CONTRIBUTING.md 2016-09-02 15:20:11 +01:00
Dan Abramov
f600ddaa10 Explain focusing and excluding tests 2016-09-02 15:00:09 +01:00
Dan Abramov
46cf3fc435 Update CONTRIBUTING.md 2016-09-02 14:29:08 +01:00
Dan Abramov
080cacd432 Add 0.3.1 to changelog 2016-09-02 13:50:42 +01:00
Dan Abramov
b484e3eb65 0.3.1 v0.3.1 2016-09-02 13:45:55 +01:00
Dan Abramov
baa2e47a28 Bump Jest 2016-09-02 13:45:48 +01:00
Christoph Pojer
7119660c17 Small testing docs tweaks. (#540) 2016-09-02 01:25:07 +01:00
Loïs Desplat
ac04277421 Ignore coverage folder generated by jest (#541) 2016-09-02 01:24:13 +01:00
Dan Abramov
706dc94da3 0.3.0 v0.3.0 2016-09-02 00:39:02 +01:00
Dan Abramov
bac0fce171 Add 0.3.0 changelog (#539) 2016-09-02 00:38:26 +01:00
Dan Abramov
58195ec286 Document testing (#538)
* Document testing

* Update README.md

* Update README.md

* Clarify our recommendations on testing

* Okay, that was too much. :-)

* Add a few more things
2016-09-02 00:37:37 +01:00
Dan Abramov
48aa7ab74b Update deps 2016-09-01 20:40:15 +01:00
Dan Abramov
bb725e09b2 Remove unnecessary describe() 2016-09-01 18:26:07 +01:00
Dan Abramov
5645aa921d Resolve babel-runtime relative to the config (#535)
This makes generators work with Jest.

Fixes #255.
Replaces #262.
2016-09-01 18:01:11 +01:00
Dan Abramov
6fe904cd8f Disable react-constant-elements because of bugs (#534)
Disabled because of issues:
 * https://github.com/facebookincubator/create-react-app/issues/525
 * https://phabricator.babeljs.io/search/query/pCNlnC2xzwzx/

TODO: Enable again when these issues are resolved.
2016-09-01 17:51:28 +01:00
Dan Abramov
a52b697d1e Enable watch implicitly unless on CI (#533)
Fixes #532
2016-09-01 17:25:21 +01:00
Dan Abramov
e48b617156 0.3.0-beta 2016-09-01 02:09:13 +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
Sophia
497371b619 removing no-return-assign lint rule (#528) (#529) 2016-08-31 22:24:34 +01:00
Cory House
f1134810a0 Typo fix (#526) 2016-08-31 16:28:19 +01:00
Ville Immonen
364392b9d9 Add a more prominent link to the guide (#524)
* Add a more prominent link to the guide

As a contributor, I know where to find the documentation/guide since
know the codebase, but I've seen people miss the link to it in the
README, because it's not very prominent. Let's try to make it more
discoverable by including a link to it right on top of the page.

* Make the wording of links more obvious

* Rename the "How Do I...?" section to "User Guide" for consistency
2016-08-31 14:58:46 +01:00
Dennis Ushakov
a3f327ac07 ignore .idea folder (#522)
* ignore .idea folder
this change is requred for IntelliJ-based products because project information files are written before actual generator is invoked

* better method name and explanation
2016-08-31 14:21:57 +01:00
Dan Abramov
4f26ebf2e4 Add a link back to CRA 2016-08-31 14:00:57 +01:00
Dan Abramov
9d9d31eccc Add instructions on <meta> tags 2016-08-31 12:31:10 +01:00
Geoffroy Warin
d803e520c3 Add tarec to the alternatives (#516)
Shameless plug of course.

If you want hot reloading and the best DX experience (friendly errors, desktop notifications, decorators, very fast reload times with dlls...) you should really check out [The Awsesom REact Cli](https://github.com/geowarin/tarec) (tarec).

I have used it in numerous projects that now run in production and I continue to make it better day after day with a lot of love 😄

Typescript and SSR are on the roadmap!

Thanks for create-react-app, it's an awesome project and a great source of inspiration ❤️
2016-08-30 00:32:43 +01:00
Ville Immonen
c27570ede4 Allow importing static file outside src and node_modules folders (#504)
Remove the `include` setting from webpack loaders for CSS, JSON and other static assets.
This way it's possible to import files from a separate config folder, a parent directory etc.
2016-08-28 18:49:25 +01:00
Dan Abramov
73c940a732 Mark react-scripts as executable 2016-08-28 13:32:17 +01:00