Commit Graph

282 Commits

Author SHA1 Message Date
Ken Carpenter
5adcac5c1f Update tslint to 5.2.0 - fixes #40 2017-05-17 16:36:46 -04:00
William Monk
e99bc9f6b4 v1.4.0 2017-05-13 17:50:48 +01:00
William Monk
ad0dcc94fb Merge pull request #49 from migerh/fix/end2end-tests
Get tests up and running
2017-05-13 17:39:01 +01:00
Patrick Arminio
4a607e209d Update to typescript 2.3.2 2017-05-08 14:42:12 +01:00
Michael Gerhaeuser
b03c7a4b18 Make build script compatible with node 4
Certain es6 features like destructuring and default parameters are not
supported by node 4.x.
2017-04-29 11:54:44 +02:00
Michael Gerhaeuser
138fb63eea Fix eslint findings 2017-04-29 08:32:37 +02:00
William Monk
00eea076f9 v1.3.0 2017-04-22 20:41:03 +01:00
Jeremi Stadler
6c6e272a3a Upgrade typescript to 2.2.2 2017-04-15 14:08:22 +02:00
Will Monk
31ed0736cf v1.2.0 2017-04-12 14:15:43 +01:00
William Monk
3d1fc09570 Merge pull request #34 from luhmann/add-tsconfig-support
Use "compilerOptions" from projects "tsconfig.json" for jest
2017-04-12 14:14:47 +01:00
Will Monk
0430f5a9d3 v1.1.9 2017-04-12 14:09:51 +01:00
Will Monk
3a47a01c40 Fix Generic Typings For react@15.5.x 2017-04-12 14:08:44 +01:00
Jan Florian Dietrich
dfb348447a Use "compilerOptions" from projects tsconfig for jest
* .. if file is present
* .. if file is valid json
* .. if compilerOptions are set in tsconfig.json
* .. fall back to old value in other cases
2017-03-29 19:09:23 +02:00
William Monk
f3f3e1e99f v1.1.8 2017-03-21 21:28:39 +00:00
William Monk
4ee352b4de Install @types deps on init fixes #30 2017-03-21 21:28:14 +00:00
William Monk
de58ed09c5 v1.1.7 2017-03-20 22:33:09 +00:00
William Monk
757416b04a Merge commit '67d04032a3e4d8d4d44c395e7fe291e0d9a381c8' 2017-03-20 22:19:15 +00:00
Ryan Walters
67d04032a3 Run CI on Node 7; Bump detect-port: 1.0.1 -> 1.1.0 (#1776) (#1783)
* Run CI on Node 7

* Bump detect-port: 1.0.1 -> 1.1.0

* Run AppVeyor CI on Node 7
2017-03-09 21:07:34 +00:00
Leo Lamprecht
f4a4e8f2ee Suggest serve for running in production (#1760)
* Suggest `serve` for serving the `build` directory

* How to handle it with Node in prod (or other platforms)

* Pretty newline added

* Adjusted default port of static server

* Remove `open` command from output

* Removed constant assignment

* Better explanation for not using having to use a static server

* Cute newline added

* Style nits
2017-03-09 21:06:36 +00:00
Andres Suarez
06086f99f9 Add yarn steps for adding flow (#1756)
[skip ci]
2017-03-09 21:04:50 +00:00
Lorenzo Palmes
d24f98ab4d Display yarn instead of yarnpkg when creating a new app (#1747)
* Display yarn instead of yarnpkg

* Refactored displayd commands

* Removed testing directory
2017-03-09 21:04:10 +00:00
Joe Haddad
422847bd7d Publish
- create-react-app@1.3.0
 - eslint-config-react-app@0.6.1
 - react-dev-utils@0.5.2
 - react-scripts@0.9.4
2017-03-06 14:12:03 -05:00
Valerii Sorokobatko
8cc5dcc3dc Fix eject for linked react-scripts (#1736)
* fix eject for linked react-scripts

* path.resolve => resolveApp
2017-03-06 17:46:15 +00:00
Dan Abramov
fc5d405520 Fix lint 2017-03-06 17:43:00 +00:00
Dan Abramov
0d0df6acf1 Fix internal linting setup and add missing headers (#1741) 2017-03-06 14:24:19 +00:00
Ade Viankakrisna Fadlil
556f394c26 extract generic build functions to react-dev-utils (#1726)
* Temp rename

* Rename to change the case

* extract generic build functions to react-dev-utils

* tweak package json files and move removeFileNameHash

* revert removeFileNameHash

* use paths.appBuild in printFileSizes

* use paths.appBuild in removeFileNameHash

* change curried functions to regular functions

* add fs-extra to react-dev-utils deps

* move getDifferenceLabel inside printFileSizes

* inline copyPublicFolder

* combine printFileSizes and removeFileNameHash to fileSizeReporter

* fix typo

* Tweak APIs and fix issues

* Fix heading

* Remove missing file

* Newline

* Newline

* Trailing space

* Update FileSizeReporter.js

* Update build.js
2017-03-06 02:37:47 +00:00
Dan Abramov
1a331e16c6 Fix ejecting from a scoped fork (#1727)
* Read script names from own bin instead of guessing

This fixes ejecting from a fork that uses a different bin script name.

* Fix ejecting for a scoped react-scripts fork

We shouldn't hardcode react-scripts because fork name might differ.
We also shouldn't rely on it being an immediate child because scoped packages are a level deeper.

* Clarify that own* properties only exist before ejecting
2017-03-05 23:46:18 +00:00
Dan Abramov
b210d7a002 Lint internal scripts with eslint:recommended (#1729)
* Lint internal scripts with eslint:recommended

* Warnings r bad
2017-03-05 22:32:10 +00:00
Joe Haddad
b34a679fbb Fix Node 4 e2e tests (#1730) 2017-03-05 22:31:12 +00:00
Bond
b0b9696efc Bump jsx-a11y version (#1542)
* Bump jsx-a11y version

* Update package dependecy for jsx-a11y

* Bump version in react-scripts
2017-03-05 21:41:41 +00:00
Dan Abramov
7daff97cec Fix hot reloading for WebpackDevServer after eject (#1721) 2017-03-05 16:43:34 +00:00
Chris Drackett
474af9ea71 Add support for ignoreRestSiblings in no-unused-vars (#1705)
* updating eslint to 3.16.1

* add support for ignoreRestSiblings in eslint

http://eslint.org/docs/rules/no-unused-vars#ignorerestsiblings

* updating eslint to 3.16.1 in `react-scripts`

* updating eslint

* missing `^`

* missing ^

* pinning main eslint and updating readme

* Pin ESLint version
2017-03-05 16:03:19 +00:00
Ryan Platte
7d82964ff5 Update now.sh deployment instructions. (#1710)
* Update now.sh deployment instructions.

Incorporates changes announced at https://zeit.co/blog/now-static that streamline Now deployments from CRA projects.

* Remove unintentional reference to deployed app.

No emergency; just didn't intend to tout or send traffic to my prototype.
2017-03-05 15:57:58 +00:00
Ade Viankakrisna Fadlil
297ce6ab28 Add docs for apache's client side routing setting (#1717)
* Add docs for apache's client side routing setting

* Tweak advice
2017-03-05 15:57:49 +00:00
Dan Abramov
008d9a1832 Suggest to use .env for enabling polling mode (#1698) 2017-03-04 13:18:45 -05:00
Myk Klemme
290e61993d Fixed missing flag in first preprocess command (#1687) 2017-03-04 13:18:23 -05:00
Dan Abramov
aaf1e81901 Publish
- create-react-app@1.2.0
 - react-scripts@0.9.3
2017-02-28 17:45:25 +00:00
Johann Hubert Sonntagbauer
8591902b97 add X-FORWARDED headers for proxy requests (#1677) 2017-02-28 16:45:46 +00:00
Dan Abramov
5bce8c5c53 Revert "Enable eslint caching in development" (#1665) 2017-02-28 16:45:31 +00:00
Ryan Sullivan
5a91a0132b Set Chrome userDataDir to be under .vscode folder (#1657) 2017-02-28 16:42:38 +00:00
Dan Abramov
0c2603f8aa 0.9.2 2017-02-26 13:50:08 +00:00
Dan Abramov
eb34d80af7 Fix npm test on Windows (#1647) 2017-02-26 13:41:23 +00:00
Joe Haddad
9e2624f332 Publish
- babel-preset-react-app@2.1.1
 - create-react-app@1.1.0
 - eslint-config-react-app@0.5.2
 - react-dev-utils@0.5.1
 - react-scripts@0.9.1
2017-02-25 21:13:45 -05:00
Dan Abramov
11851ee761 Fix up broken line 2017-02-24 19:17:30 -05:00
Matt Crampton
1fe3e14460 Setting a dynamic port value for the pushstate-server URL text (#1628)
* Setting a dynamic port value for the pushstate-server URL text after a build is completed

* Fixing merge conflict
2017-02-24 19:17:26 -05:00
Joe Haddad
913679bf69 Use posix paths for Jest config during eject (#1635)
Resolves #1417 and #1498.
2017-02-24 17:12:06 -05:00
sbritoig
78882d5631 adding a note on how to resolve "Could not find a required file." dep… (#1391)
* adding a note on how to resolve "Could not find a required file." deployment errors because of deleted or ignored files

* Tweak

* Unrelated style nits
2017-02-24 17:11:57 -05:00
chyipin
fd248ecc4b Use real build path name in build output (#1478)
Use the configured appBuild value in paths.js instead of hard-coding it to 'build'.  This is helpful for the ejected case where the appBuild path is changed to another folder name.
2017-02-24 17:11:47 -05:00
Ade Viankakrisna Fadlil
bf11b144a6 Enable eslint caching in development (#1578)
* Enable eslint caching in development

POC for https://github.com/facebookincubator/create-react-app/issues/740. Haven't found any problem, build times improved about 1s on my project and machine.

* Bump eslint-loader to 1.6.3

* move @remove-on-eject block to persist cache config on eject
2017-02-24 17:11:15 -05:00
Charlie Gleason
93f7aeff1c Added a how-to on react-snapshot (#1577)
* Added a how-to on react-snapshot

Added a section with a short description and link to a tutorial on generating static html pages with react-snapshot, and also linked to it from the section on managing the page title.

* Updated link title for react-snapshot overview

* Explained pre-rendering in a more generic way

* Added link to top level README.md, and removed specifics from overview

* Updated html -> HTML

* Updated quotes and apostrophes

* html -> HTML

* Fix link
2017-02-24 17:08:43 -05:00