Commit Graph

1723 Commits

Author SHA1 Message Date
Dan Abramov
e14e0036dd Link to "Debugging in the Editor" 2017-02-24 17:00:43 +00:00
Bond
577c4e85a3 Document debugging in the browser. (#1540)
* Document debugging in the browser.

* Styling
2017-02-24 16:59:58 +00:00
Valerii Sorokobatko
bec009ce71 Fix workflow if react-scripts package is linked via npm-link (#1356)
* add npm-link support

* - remove extra veriable
- simplify condition

* update code after review:
- remove utils/isReactScriptsLinked
- add appPath and ownPath to paths.js (but only for "before eject" export case)

* update code after review:
- remove utils/isReactScriptsLinked
- add appPath and ownPath to paths.js (but only for "before eject" export case)

* update code after review:
- remove utils/isReactScriptsLinked
- add appPath and ownPath to paths.js (but only for "before eject" export case)
- remove "if" block for fs.removeSync(ownPath) at ejec.tjs

* change ownPath value
2017-02-24 11:51:16 -05:00
Dan Abramov
67d0d49ac5 Document Sass imports 2017-02-24 16:36:47 +00:00
Joe Woodhouse
92a068054b Add note about when to import bootstrap CSS. (#1618)
* Add note about when to import bootstrap CSS.

* Tweak
2017-02-24 16:32:29 +00:00
SBrown52
646690b2ba Update flow configuration documentation (#1518)
* Update flow configuration documentation

The documentation was missing creating the .flowconfig file

* Update flow configuration documentation

Adding in suggested changes

* Wording

* Wording
2017-02-24 16:21:53 +00:00
Michael DeRazon
7be0f4de1e add a comment about NODE_ENV value set to 'production' during build step (#1625)
* add a comment about NODE_ENV value set to 'production' during build step

https://github.com/facebookincubator/create-react-app/issues/790#issuecomment-281986264

* Move words around
2017-02-24 16:17:23 +00:00
Joe Haddad
21fe19ab0f Bump deps for webpack 2 compat (#1621) 2017-02-23 00:57:53 -05:00
Jirat Ki
a82896c3e3 Install react, react-dom, and react-scripts at the same time (#1253)
* Install react and react-dom along with react-scripts

- Install react, react-dom and react-script in a same time
- Move react-scripts to devDependencies.

* Check if react, react-dom has been already installed

- To backward compatibility with old CRA’s cli
- In case old CRA doesn’t install react, react-don along with
react-scripts

* Use packageName to find script dependency

- use packageName to find dependency
- fix pathExists.sync

* Check dependencies.react in package.json instead of actual files

* Process exit when dependencies not found

- Show error and exit when dependencies not found.
- Log install show custom package name

* Remove template string

* Install dependencies if template is preseted

* Remove dangling comma

Resolves #1239
2017-02-22 22:55:41 -05:00
Tom Conroy
d9453703e6 Allow --scripts-version to be a git url (#1570) 2017-02-22 22:06:07 -05:00
Alexander James Phillips
2a8535b5d5 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 18:37:18 +00:00
Christophe Hurpeau
1aa4b2b8cb babel-preset: remove babel-plugin-transform-es2015-parameters (#1598)
https://github.com/babel/babel/issues/4851 is closed
2017-02-21 16:36:55 +00:00
Mato Ilic
dd9ec7bcfb fixes #1584 PORT env variable not always an integer (#1585) 2017-02-18 23:05:56 +00:00
Eli Perelman
bee4ecec86 Switch from Neo to Neutrino (#1576)
* Switch from Neo to Neutrino

* Edited format to be consistent
2017-02-17 17:25:08 +00:00
Dan Abramov
41632fb1a5 Revert "Bump babel deps and re-enable transform-react-constant-elements" (#1575) 2017-02-16 18:01:02 +00:00
Dan Abramov
e9493a2552 MacOS => macOS 2017-02-16 13:32:52 +00:00
Mohammad Kermani
1fc1d8296a Update README.md (#1573)
Update links to jest expect function.
2017-02-16 11:50:51 +00:00
Dan Abramov
c8cbbd06ca Reorder 2017-02-16 00:05:26 +00:00
Dan Abramov
5e65f0d139 Mention Windows support explicitly 2017-02-15 23:54:14 +00:00
Alessandro Burato
075e729865 add --recursive to sass watch script (#1564) 2017-02-15 13:15:10 +00:00
Darío Javier Cravero
b0bc46eaf8 Use https in link to Ignoring files at Github (#1561) 2017-02-15 10:06:08 +00:00
kiran ps
6d22a789f2 modified documentation for setting up jest-enzyme (#1562) 2017-02-15 10:05:34 +00:00
Brian Ng
9c33f60239 Re-enable transform-react-constant-elements (#1552)
* Bump babel deps

* Re-enable transform-react-constant-elements

Resolves #553
2017-02-14 22:06:19 -05:00
Kees Kluskens
1d5a277367 Enable watchContentBase for webpack-dev-server (#1546)
Resolves #1508
2017-02-14 21:41:31 -05:00
Joe Haddad
fc49946ccb Add support for dynamic import & disable require.ensure (#1538)
* Disable require.ensure

* Replace require.ensure with import

* Add babel plugin for parsing import()

* Get the default

* Upgrade babel-eslint to support dynamic import

* Fix dep

* Update deps
2017-02-14 20:51:23 -05:00
Dan Abramov
745d341ffb Use Yarn latest in e2e (#1534)
* Use Yarn latest in e2e

* Here too

* And here plz
2017-02-15 00:34:05 +00:00
Joe Haddad
9df3104bf1 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-13 15:25:19 -05:00
Alessandro Burato
ce0d6eeb60 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-13 18:44:07 +00:00
Rory Hunter
915b130093 Make node version check more robust in e2e.sh (#1295) 2017-02-13 09:44:20 -05:00
Dan Abramov
c9bc6ce3f7 Tweak syntax doc (#1539)
* Tweak syntax doc

* Shorter version
2017-02-12 20:17:33 +00:00
Joe Haddad
411347f5cc Update language support wording to ES2017 2017-02-12 14:33:12 -05:00
pd4d10
434e85849e Add useful link to react-scripts (#1495) 2017-02-12 15:01:20 +00:00
Toni Petrina
6c85568c5f Added link to Azure deployment tutorial (#1338) 2017-02-12 02:03:49 +00:00
Roman Rubas
ca7fb22123 [documentation] how to disable autoprefix feature (#1320)
* added how to disable autoprefix feature in doc

* Just link to the doc
2017-02-12 02:01:01 +00:00
Dan Abramov
96ebb7588c Add a link to supported features 2017-02-12 01:58:38 +00:00
Jonathan Conway
c7ba1303b8 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-12 01:57:41 +00:00
Phawin Khongkhasawan
9ffa9e462d Correctly Command in README.md (#1275)
* change npm to yarn command

* Keep npm primary option
2017-02-12 01:41:09 +00:00
Marcus R. Brown
f840b4d4ba 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-12 01:34:15 +00:00
Dan Abramov
071d996390 Clarify Less/Sass support 2017-02-12 00:55:48 +00:00
Dan Abramov
e8ae98d4bf Link to new Sass doc 2017-02-12 00:40:24 +00:00
Dimitris Tsironis
1fe6f5502c 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-12 00:38:59 +00:00
Blaine Kasten
8ec99b6fff Suggest jest-enzyme for simplifying test matchers (#994)
* Suggest jest-enzyme for simplifying test matchers

* Update README.md

* Update README.md
2017-02-11 23:05:54 +00:00
Joe Haddad
12288836e1 Upgrade webpack (#1291)
* Upgrade webpack

* Address more webpack v2 ...

* Update html-webpack-plugin

* Remove LoaderOptionsPlugin from dev config

* ExtractTextPlugin still uses webpack 1 syntax
... and doesn't support complex options (yet)

* Grammar nit

* Update extract text webpack plugin

* - Remove webpack.LoaderOptionsPlugin
- Update deps

* Lerna hoists packages

* Update extract-text-webpack-plugin

* Update webpack-dev-server

* Remove imports for the tests

* stop removing babelrc
2017-02-11 14:11:00 -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