Commit Graph

101 Commits

Author SHA1 Message Date
Dan Abramov
ac39a46d07 Bump lerna 2017-02-11 00:21:40 +00:00
Fabrizio Castellarin
9099570b94 Use a more sophisticated template for end-to-end testing. (#1187)
* Use a more sophisticated template for end-to-end testing.

* Not publish integration tests to npm

* Use "commander" for  cli argv handling

* Handle different scripts version forms and exits without a name given

* Prepare the commands for testing with a template

* Fix dev "template" path

* Add various features to test

* Test various features separately

* Test language features

* Comment unused e2e.sh lines

* Add "development" tests

* Test environment variables

* Test webpack plugins

* Replace kitchensink README

* Switch integration tests from jest to mocha

* Use `fs-extra`

* Use the correct folders

* Do some cleanup

* Print a better message for `--template`

* Test `npm start` with and without https

* Separate fast e2e testing from kitchensink testing

* Hide `--internal-testing-template` (former `--template`) CLI option
2017-01-23 20:43:16 +01:00
Ville Immonen
e167e45a2c Update changelog for 0.8.0 and add Lerna Changelog (#1141) 2016-12-03 17:53:03 +02:00
Ville Immonen
d5de99e00b Update dependencies (#945)
* Update dependencies

* Use published version of eslint-config-react-app for development

We dogfood on our eslint-config-react-app by using it as our ESLint config,
but installing it from the local folder causes problems when its peerDependencies
are updated, because npm won't update it unless the version number changes.

Use the published version for dogfooding so it can be installed from npm.
2016-10-22 22:36:15 +03:00
Dan Abramov
1d348cf431 Bump lerna 2016-09-24 00:37:43 +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
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
Ville Immonen
26464096d5 Set up a monorepo with Lerna 2016-09-19 10:52:19 +03:00
Dan Abramov
bc874caa38 0.4.3 2016-09-19 00:19:36 +03:00
Dan Abramov
7d2304090f 0.4.2 2016-09-18 14:38:34 +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
1220683276 Update webpack-dev-server and add clientLogLevel option 2016-09-18 11:52:58 +03:00
Dan Abramov
d45f0c5417 Remove caret 2016-09-18 00:46:17 +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
Michael Pratt
341d4597b9 Bump case-sensitive-paths-webpack-plugin version (#593)
Resolves an issue that can occur in certain situations that causes a build error when user has CDed into an incorrectly cased directory.
2016-09-11 17:17:08 +03:00
Khoa Nguyen
66702915e6 Avoid tons of *.json.gzip-files created in project root when running with docker node (#620)
* Specify cache directory for babel loader

* Use `react-scripts` for folder name instead
2016-09-10 23:16:43 +03:00
Dan Abramov
4185a9d311 0.4.1 2016-09-03 19:44:57 +01:00
Dan Abramov
ab1f74fc68 Fix local end-to-end testing flow (#566) 2016-09-03 19:14:56 +01:00
Dan Abramov
106267cde3 0.4.0 2016-09-02 21:36:21 +01:00
Dan Abramov
98f74a8c65 Remove code that is unused after publish (#550) 2016-09-02 20:27:58 +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
Dan Abramov
b484e3eb65 0.3.1 2016-09-02 13:45:55 +01:00
Dan Abramov
baa2e47a28 Bump Jest 2016-09-02 13:45:48 +01:00
Dan Abramov
706dc94da3 0.3.0 2016-09-02 00:39:02 +01:00
Dan Abramov
48aa7ab74b Update deps 2016-09-01 20:40:15 +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
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
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
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
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
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
379cf5c96d Add proxy option to package.json (#282)
This allows users to avoid CORS in simple projects that are hosted on the same server as backend.
2016-08-04 16:49:59 +01:00
Dan Abramov
4ac60e536f Remove carets 2016-08-04 12:41:46 +01:00
Elijah Manor
6b6d7ee303 Adjust colors and account for unicode when padding 2016-08-04 00:57:33 -05:00
Elijah Manor
cfc4325e4c Display Build Size Difference 2016-08-04 00:57:33 -05:00
Ville Immonen
6ea7ec5a4b Transform async functions with regenerator (#332)
* Transform async functions with regenerator

Remove `transform-async-to-generator`, which to my understanding is meant
to be used in environments that support generators natively.

Because we're compiling generators to ES5 anyway, we can simply use
`regenerator` to transform async functions too, which results in
slightly simpler output and only uses the regenerator runtime instead
regenerator runtime + _asyncToGenerator Babel helper.

* Add babel-plugin-transform-regenerator

* Use dependencies with an exact version
2016-08-03 00:44:09 +01:00
Dan Abramov
fa38991b75 Support async/await (#327)
* Make Babel config more verbose and simpler

* Support async/await
2016-08-02 14:38:43 +01:00
Christoph Pojer
0e5abada75 Add Jest. (#250) 2016-08-02 00:22:33 +01:00
Dan Abramov
c7c1f51d51 Bump detect-port to 1.0.0 2016-08-01 18:10:57 +01:00
Dan Abramov
b29a943169 Revert "Fix port detection lag on OS X with Firewall enabled (#319)"
The problem has since been fixed upstream.

This reverts commit f7011e0472.
2016-08-01 18:10:57 +01:00
Dan Abramov
9fe983a091 0.2.1 2016-08-01 15:53:29 +01:00
Dan Abramov
f7011e0472 Fix port detection lag on OS X with Firewall enabled (#319)
This fixes #302 by temporarily forking `detect-port`.
Hopefully this fix will be merged into the original project, and we can refer to it again.
2016-08-01 15:38:05 +01:00