Commit Graph

732 Commits

Author SHA1 Message Date
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
create-react-app@1.1.0 babel-preset-react-app@2.1.1 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
Joe Haddad
f160a81824 Add changelog for 0.9.1 2017-02-25 21:05:40 -05:00
Vicente Jr Yuchitcho
36d86b9df8 Gracefully handle initial installation error (#1512)
* Gracefully handle initial installation error

* Print out message when problem occurs
* Delete project folder on errors

* Fix directory deleting message

Resolves #1505
2017-02-25 12:11:28 -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
Mo Binni
3b5434ca35 NPM version check for tip (#1193)
* Implemented a version check of npm to give a soft tip during the install procedure
and fixed gitignore

* Moved NPM check to method, it is only executed when you use NPM and the version is < 3.

* Minor formatting tweaks

* Simplify the code

* Remove unnecessary change
2017-02-24 17:09:04 -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
wtgtybhertgeghgtwtg
627e67d5ec Bump recursive-readdir. (#1560) 2017-02-24 13:01:28 -05:00
Valerii Sorokobatko
2177030e56 Remove .bin files defined at react-scripts/package.json after eject (#1567)
* remove bin files after eject defined at package.json

* add swallowing try/catch
2017-02-24 13:00:29 -05:00
Daniel Riquelme
8cf9155c78 Update index.js (#1603)
To avoid file conflict issue with IJ static web projects
2017-02-24 12:59:36 -05:00
myappincome
0dcf973a6d Adding link to “Customizing” create-react-app (#1121)
Add documentation for customizing Bootstrap theme
2017-02-24 12:59:28 -05:00
Dan Abramov
def004aefc Link to "Debugging in the Editor" 2017-02-24 12:04:10 -05:00
Bond
9e51852ce4 Document debugging in the browser. (#1540)
* Document debugging in the browser.

* Styling
2017-02-24 12:04:07 -05:00
Valerii Sorokobatko
ce90532972 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:55:37 -05:00
Dan Abramov
16a5e55548 Document Sass imports 2017-02-24 11:55:27 -05:00
Joe Woodhouse
5ee655b9ba Add note about when to import bootstrap CSS. (#1618)
* Add note about when to import bootstrap CSS.

* Tweak
2017-02-24 11:55:21 -05:00
SBrown52
fb945898c2 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 11:27:18 -05:00
Michael DeRazon
d4f39851d5 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 11:27:12 -05:00
Jirat Ki
7c4c16710e 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 23:33:28 -05:00
Tom Conroy
321f8b4e27 Allow --scripts-version to be a git url (#1570) 2017-02-22 23:33:28 -05:00
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