Commit Graph

1007 Commits

Author SHA1 Message Date
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
Max Stoiber
25a0b66fcf Disable dot rule of connect-history-api-fallback (#422)
Ref #387
2016-08-11 22:04:29 +01:00
Luigi Maselli
623e1bd189 Add React Native Web support (#407) 2016-08-09 11:42:37 +01:00
Dan Abramov
8ae36c6ef5 Make missing module output slimmer
Thanks to @geowarin for the tip in https://github.com/facebookincubator/create-react-app/issues/401#issuecomment-238291901
2016-08-08 18:58:35 +01:00
Dan Abramov
505ddbe6d9 Make build output more chill 2016-08-08 18:49:51 +01:00
Dan Abramov
d21b7da85f Allow popular test path conventions (#400) 2016-08-08 14:23:12 +01:00
Marco Botto
b16f6c4c60 Add Surge.sh to deploy instructions (#379)
* Add Surge.sh to deploy instructions

* Add it also to the Table of Contents
2016-08-08 14:19:17 +01:00
Dan Abramov
10b0b406cc Bump case-sensitive-paths-webpack-plugin
Fixes #391
2016-08-08 13:58:42 +01:00
Dan Abramov
bd2509a0e4 Add Object.assign() polyfill (#399) 2016-08-08 13:50:49 +01:00
Gregory Shehet
ed97055e24 Update package.json (#397) 2016-08-08 12:53:38 +01:00
Rifat Nabi
e26b8d9f88 Creating a new app in the current directory (#368)
* Creating a new app in the current directory

* Fixed style mistakes
2016-08-07 21:05:58 -07:00
Kamil Burzynski
db5f8746ef Fixed typo (#382) 2016-08-06 10:54:22 +02:00
Dan Abramov
8084a326f0 Tweak Jest default settings (#378)
Disable timer mocking and enable verbose output.
2016-08-05 18:39:50 +01:00
Matt Brennan
6fb517a32b add shebang to tasks scripts (#376) 2016-08-05 09:27:25 -07:00
Dan Abramov
2cff34cd4c Clarify why we only need css?-autoprefixer in development
Fixes #377
2016-08-05 17:15:49 +01:00
Anton Kaminsky
c5cdbd5532 Small grammatical correction (#367)
* Small grammatical correction

* Fix another grammatical error for consistency
2016-08-05 14:33:57 +01:00
Dan Abramov
db4c6f666b 0.3.0-alpha 2016-08-04 21:06:04 +01:00
Dan Abramov
468103b54a Update some deps 2016-08-04 21:05:54 +01:00
Dan Abramov
c1a984d98e Document configuration and build process (#362) 2016-08-04 20:56:52 +01:00
Dan Abramov
c13f7f40a2 Style tweaks 2016-08-04 19:21:07 +01:00