Commit Graph

708 Commits

Author SHA1 Message Date
Alexander James Phillips
bf0c02e026 Add note for using CHOKIDAR_USEPOLLING in virtual machines to enable HMR (#1608)
* Add note for using CHOKIDAR_USEPOLLING in virtual machines to enable HMR

* Use br in react-scripts template README md

* Use br in md for new line breaks

* Update troubleshooting HMR to allow for VMs running Windows

* Fix up the instructions
2017-02-22 23:33:28 -05:00
Christophe Hurpeau
0a413348f7 babel-preset: remove babel-plugin-transform-es2015-parameters (#1598)
https://github.com/babel/babel/issues/4851 is closed
2017-02-22 23:33:28 -05:00
Mato Ilic
71be55bc16 fixes #1584 PORT env variable not always an integer (#1585) 2017-02-22 23:33:27 -05:00
Eli Perelman
20b85ba827 Switch from Neo to Neutrino (#1576)
* Switch from Neo to Neutrino

* Edited format to be consistent
2017-02-22 23:33:27 -05:00
Dan Abramov
af345f0a2f MacOS => macOS 2017-02-22 23:33:27 -05:00
Mohammad Kermani
c7d6a5de34 Update README.md (#1573)
Update links to jest expect function.
2017-02-22 23:33:27 -05:00
Dan Abramov
d6781afd10 Reorder 2017-02-22 23:33:27 -05:00
Dan Abramov
8780078b41 Mention Windows support explicitly 2017-02-22 23:33:27 -05:00
Alessandro Burato
6ae2d06b61 add --recursive to sass watch script (#1564) 2017-02-22 23:33:27 -05:00
Darío Javier Cravero
41f9d20a97 Use https in link to Ignoring files at Github (#1561) 2017-02-22 23:33:27 -05:00
kiran ps
8c375ac4d2 modified documentation for setting up jest-enzyme (#1562) 2017-02-22 23:33:26 -05:00
Dan Abramov
cb95889556 Use Yarn latest in e2e (#1534)
* Use Yarn latest in e2e

* Here too

* And here plz
2017-02-22 23:33:26 -05:00
Joe Haddad
01f66db932 Revert "Don't run CI on Node 0.10" (#1547)
* Revert "Don't run CI on Node 0.10"

* Install after checking node version

* Don't use travis install
2017-02-22 23:33:26 -05:00
Alessandro Burato
677896a9a8 update CSS preprocessor instructions (#1543)
* update CSS preprocessor instructions
- Windows shell users should note that running two programs simultaneously is not supported.

* fix the order of SASS build step
- the suggested build step with integrated CSS preprocessing is wrong. The SASS preprocessor should run first, then the react-scripts build will pick the up-to-date final CSS

* Add tweaks from PR discussion
2017-02-22 23:33:26 -05:00
Rory Hunter
b279e3f861 Make node version check more robust in e2e.sh (#1295) 2017-02-22 23:33:26 -05:00
Dan Abramov
1aefc2c17d Tweak syntax doc (#1539)
* Tweak syntax doc

* Shorter version
2017-02-22 23:33:26 -05:00
Joe Haddad
963383afaf Update language support wording to ES2017 2017-02-22 23:33:26 -05:00
pd4d10
572d07b677 Add useful link to react-scripts (#1495) 2017-02-22 23:33:26 -05:00
Toni Petrina
ed47cc3725 Added link to Azure deployment tutorial (#1338) 2017-02-22 23:33:25 -05:00
Roman Rubas
d53228d267 [documentation] how to disable autoprefix feature (#1320)
* added how to disable autoprefix feature in doc

* Just link to the doc
2017-02-22 23:33:25 -05:00
Dan Abramov
c861f74f55 Add a link to supported features 2017-02-22 23:33:25 -05:00
Jonathan Conway
60902dc715 reactjs/redux#2004 List features beyond ES6 supported by create-react-app (#1313)
* reactjs/redux#2004 List features beyond ES6 supported by create-react-app

* Add more info
2017-02-22 23:33:25 -05:00
Phawin Khongkhasawan
7f35c79f63 Correctly Command in README.md (#1275)
* change npm to yarn command

* Keep npm primary option
2017-02-22 23:33:25 -05:00
Marcus R. Brown
6a0edc4a3a Fix test -e with wildcard arguments. (#1503)
The `test` command fails with multiple arguments when given a unary operator such as '-e'. Add a function that can test one or more files by looping over all files.
2017-02-22 23:33:25 -05:00
Dan Abramov
1b3403b245 Clarify Less/Sass support 2017-02-22 23:33:25 -05:00
Dan Abramov
27c99b5662 Link to new Sass doc 2017-02-22 23:33:25 -05:00
Dimitris Tsironis
645ba66d41 Add SASS support documentation #1007 (#1008)
* Add SASS support documentation #1007

* Change SASS section title to more generic label

* Fix link in Table of Contents

* Chain build-css with watch-css script, fix typos

* Update Sass and Less naming style

* Fix wording, remove offensive words

* Slightly rewite
2017-02-22 23:33:25 -05:00
Blaine Kasten
12e8ceae9d Suggest jest-enzyme for simplifying test matchers (#994)
* Suggest jest-enzyme for simplifying test matchers

* Update README.md

* Update README.md
2017-02-22 23:33:24 -05:00
Dan Abramov
3e226b26aa Some changelog formatting 2017-02-11 14:47:22 +00:00
Dan Abramov
0bcb28493f Markdown whitespace fixes 2017-02-11 14:41:43 +00:00
Dan Abramov
7ea799d432 Tweak indentation 2017-02-11 14:31:52 +00:00
Dan Abramov
0e745391f7 Add release cutters to changelog 2017-02-11 14:27:58 +00:00
Dan Abramov
c8644e294d Massage 0.9.0 changelog 2017-02-11 14:25:10 +00:00
Dan Abramov
9f1276314d Add additional info about env variables 2017-02-11 14:00:26 +00:00
Dan Abramov
dc4e8bb462 Make index.html interpolation instructions less clashing with env syntax 2017-02-11 13:45:30 +00:00
Joe Haddad
67e6cf5a52 Publish
- babel-preset-react-app@2.1.0
 - create-react-app@1.0.4
 - eslint-config-react-app@0.5.1
 - react-dev-utils@0.5.0
 - react-scripts@0.9.0
eslint-config-react-app@0.5.1 react-scripts@0.9.0 babel-preset-react-app@2.1.0 create-react-app@1.0.4 react-dev-utils@0.5.0
2017-02-10 22:33:41 -05:00
Joe Haddad
84be4dd0bd Add CHANGELOG v0.9.0 2017-02-10 22:27:43 -05:00
Joe Haddad
15e0b98479 Upgrade dependencies (#1522)
* Upgrade dependencies

* Re-add caret
2017-02-10 21:31:15 -05:00
Anders D. Johnson
b0b0e6da55 fix: add yarn gitignores (#1507)
* fix: add yarn gitignores to template

* fix: add yarn gitignores to root

* fix: add wildcard to npm-debug.log ignore
2017-02-11 01:30:11 +00:00
Dan Abramov
7556997fcf Don't run CI on Node 0.10 (#1521) 2017-02-11 01:24:39 +00:00
Joe Haddad
354fce0678 Upgrade babel dependencies 2017-02-10 20:11:30 -05:00
Dan Abramov
5211141321 Add an annoying nit 2017-02-11 00:36:03 +00:00
Joe Haddad
b9d679ae69 Add test cases for PUBLIC_URL and relative path (#1519)
* Add test cases to evaluate increased CI time

* Add positive test cases

* Add negative cases

* Test default behavior

* Exit on failure

* Fix test
2017-02-11 00:23:31 +00:00
Dan Abramov
ac39a46d07 Bump lerna 2017-02-11 00:21:40 +00:00
Brandon Istenes
e19b0f6373 Make build exit with error code when interrupted (#1496)
* Make build exit with error code when interrupted

This addresses issue #1493.

Current behavior is that `npm run build` exits code 0 without creating a bundle when interrupted. This change makes the build script catch catchable interruptions and exit with the appropriate error code.

* Better error messages for kill signals

* Don't catch SIGINT

Ctrl+C should exit silently, and already produces a non-zero exit code when sent to the console while `npm run build` is running. Exit code 0 is produced if SIGINT is sent directly to the `node build.js` process, but this is unlikely to happen. A SIGINT handler in `build.js` will also be triggered by Ctrl+C in the console, potentially producing unnecessary noise.

* Style fix

* No changes needed to build.js

Problem is coming from the parent process, `react-scripts`

* Make react-scripts script handle signals

* Clarify context
2017-02-11 00:12:36 +00:00
Joe Haddad
7a02f9a41a readme: Add Advanced Configuration (#1515)
* Add Advanced Configuration section

* Reference package.json instead

* Add HOST, HTTPS, and CI

* Switch wording from Amazon to a CDN

* Add test runner comment

* Add top-level README link

* Simplify wording

* Link to relevant docs

* Link to apps

* Add .env link

* Simpler links

* Add a CI flag note
2017-02-10 16:20:53 -05:00
Thibault Derousseaux
8e127aaa38 Support relative asset paths for special case (#1489)
* Fix paths in CSS files when homepage is set to "./"

In the production build, ExtractTextPlugin is used to generate a separate CSS file instead of injecting style through JavaScript. This plugin does not work well by default with nested output structure. To fix it, we give it a relative publicPath pointing to the build folder.

* Add section in README to explain how to make builds deployable anywhere

* Apply review requested change

* Apply review changes 2
2017-02-10 00:44:00 -05:00
Joe Haddad
613b584f42 Add PUBLIC_URL env variable for advanced use (#937) (#1504)
* Add `PUBLIC_URL` env variable for advanced use (#937)
* Add support for `PUBLIC_URL` env variable
* Remove unnecessary duplications
* Simplify served path choice logic
* Honor PUBLIC_URL in development
* Add e2e tests

Enables serving static assets from specified host.
2017-02-09 23:15:15 -05:00
Jih-Chi Lee
1d9159de23 Make all react app vars accessible in index.html (#1440)
* Make all vars accessiable in index.html

* Fix wrong env provieded to DefinePlugin

* Separate results from getClientEnvironment

* The `string` should be object instead of string

* Fix accessing wrong field

* Changed variables naming to `raw` and `stringified`

* Remove trailing commas
2017-02-09 22:41:03 -05:00
pd4d10
b999405c67 Add missing '\n' to the end of package.json file (#1510) 2017-02-09 16:36:20 -05:00