Commit Graph

1126 Commits

Author SHA1 Message Date
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
Dan Abramov
c0ac5c4d2c Update CHANGELOG.md (#492) 2016-08-25 14:57:12 +01:00
Dan Abramov
ef94b0561d Prepare for 0.2.3 release 2016-08-25 14:40:49 +01:00
Kristóf Poduszló
01825465c6 Started using babel-preset-latest (#490)
* Started using babel-preset-latest

* Updated babel dependencies

* Remove redundant babel-plugin-syntax-async-functions

* Disabled redundant regenerator transform
2016-08-25 13:52:16 +01:00
Dan Abramov
59c4eb2d93 Add missing Changelog entry—thanks @elijahmanor! 2016-08-25 13:34:27 +01:00
William Horton
250605fa8f Use most recent React version (#477)
* Get latest version numbers of react and react-dom from npm before install.

* Run separate npm installs for react, react-dom, and react-test-renderer.

* Consolidate into a single npm install.

* Fix misplaced parenthesis, add missing semicolon.

* Add missing semicolon.
2016-08-25 11:32:11 +01:00
Kristóf Poduszló
20f673d204 Fix default package version added by global CLI (#491)
According to the official SemVer FAQ, versioning should start at 0.1.0 (http://semver.org/#how-should-i-deal-with-revisions-in-the-0yz-initial-development-phase)
2016-08-25 11:20:00 +01:00
Dan Abramov
f1b6168a6b Clarify 0.3.0 is not out yet 2016-08-25 11:10:49 +01:00
Gautier
dc95aca558 Correcting typo on README.md (#479)
Small typo line 572 "becasue" to "because"
2016-08-24 10:46:54 +01:00
Dan Abramov
6aabe7e881 Clarify "homepage" field has special meaning 2016-08-23 23:19:37 +01:00
Felipe Moyano
dcdcab0ecc Added support for webp images in #442 (#458) 2016-08-23 16:13:13 +01:00
Dan Abramov
2b5eb82c11 Link to Heroku article 2016-08-22 20:21:35 +01:00
Dan Abramov
caabf5ef5f Add migration instructions 2016-08-22 19:48:59 +01:00
Dan Abramov
5961232df1 Add 0.2.2 changelog (#475) 2016-08-22 19:47:49 +01:00
Robin Ricard
318c803268 Deactivate the new-cap rule in ESLint (#470)
This rule is considered dangerous in certain situations. This is especially true for Immutable.js users. See the discussion at issue #465 for more information about this.
2016-08-22 13:51:20 +01:00
Gregory Shehet
b93e6c0bce add otf font format to loaders (#434)
* add off font format to loaders

* add otf format support
2016-08-18 19:47:39 +01:00
Arunoda Susiripala
7c912b5ffe Add a hash to media files even in the devmode. (#446)
This will work correctly when there are duplicate filenames in different paths.
Fixes: #445
2016-08-15 19:53:19 +01:00
Andrey Popp
60178ac742 Load favicon through html-loader. (#428)
* Load favicon through html-loader.

Fixes #291.

* Add test for *.ico in e2e test suite

* Configure html-loader to process <link href="...">

* Address feedback on html-loader inclusion.

* Place favicon.ico at the root of the build dir

* Make comment style consistent between prod and dev webpack configs

* Fix html-loader config in dev mode
2016-08-12 22:37:54 +01:00