Commit Graph

1165 Commits

Author SHA1 Message Date
Joe Haddad
342867e147 appveyor: Build all branches 2017-02-28 20:56:12 -05:00
Dan Abramov
10a8dc66d3 Published 0.9.3 from 0.9.x
- create-react-app@1.2.0
 - react-scripts@0.9.3
2017-02-28 20:56:00 -05:00
Joe Haddad
a85ae1d951 False expression should not be in dependencies 2017-02-28 18:03:37 -05:00
Dan Abramov
ee3b788f8f Add "migrating" section for 0.9.3 2017-02-28 17:35:00 +00:00
Dan Abramov
15e1ec287f Add 0.9.3 changelog (#1683) 2017-02-28 17:33:12 +00:00
Simon Vocella
bf948bf24d Use offline cached version with yarn when it's possible (#1423)
* add --offline flag when we are using yarn and we are offline

* Revert changes to init script

We only run these commands for backward compat mode, in which we wouldn't receive the offline flag anyway

* Don't pass isOnline to init script because it doesn't need it

* Don't ping the Yarn registry if user doesn't have Yarn

* Remove unused/wrong arguments

* Move logs to error handler

* Fix error handling

* Report to the user that they're offline
2017-02-28 15:27:53 +00:00
Johann Hubert Sonntagbauer
2b824d8bc3 add X-FORWARDED headers for proxy requests (#1677) 2017-02-28 14:07:29 +00:00
Dan Abramov
7c899fc392 Revert "Enable eslint caching in development" (#1665) 2017-02-28 14:02:45 +00:00
Johann Hubert Sonntagbauer
3509dcd1f7 fix project cleanup on windows (#1675) 2017-02-28 14:00:58 +00:00
Johann Hubert Sonntagbauer
c51a6119a7 add project name validation (#1662)
* add project name validation

* Tweak console output
2017-02-28 13:58:15 +00:00
Joe Haddad
715968ecc1 Remove Windows 0.10 simple test 2017-02-28 08:50:28 -05:00
Johann Hubert Sonntagbauer
2d93ae125f fix react dependency versions during initial install (#1669)
* fix react dependency versions during initial install

* add review remarks
2017-02-28 13:45:41 +00:00
Joe Haddad
a3a223aa1e Add appveyor.yml (#1648)
* Add appveyor.yml

* Execute mocha directly in e2e test

* Replace e2e process substitution

* Kill nohup node processes after e2e

* Disable known failing Windows test

* Only build master
2017-02-27 18:41:49 -05:00
Joe Haddad
a1858c7b38 Fix e2e-simple (cont.) 2017-02-27 18:39:41 -05:00
Joe Haddad
d0695f7d5d Fix e2e when used with cold cache (#1667)
Resolves #1666
2017-02-27 10:46:42 -05:00
Ryan Sullivan
432ba82ad2 Set Chrome userDataDir to be under .vscode folder (#1657) 2017-02-27 01:10:42 +00:00
Dan Abramov
68e9bb9d86 Format differently 2017-02-26 14:00:22 +00:00
Dan Abramov
e1e28d961a Merge changelogs 2017-02-26 13:56:26 +00:00
Dan Abramov
ba5da93b58 0.9.2 2017-02-26 13:52:58 +00:00
Dan Abramov
fbae44aec7 Add 0.9.2 changelog v0.9.2 2017-02-26 13:38:21 +00:00
Dan Abramov
2f6fac9f93 Fix npm test on Windows (#1647) 2017-02-26 13:35:24 +00:00
Dan Abramov
253c1e01c4 Add a note about known issue 2017-02-26 13:00:43 +00:00
Joe Haddad
f68cc67cc7 Update changelog 2017-02-25 22:10:39 -05:00
Joe Haddad
e1aaf39718 Add changelog for 0.9.1 2017-02-25 22:10:39 -05:00
Joe Haddad
f3d8ffff0f Published 0.9.1 at 9e2624f332
- 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 22:10:11 -05:00
Vicente Jr Yuchitcho
6876c40259 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 11:48:53 -05:00
Joe Haddad
2288ddf3b6 Support & test import() for non-bundled code (#1615)
* Test basic import syntax

* Compile import() in test, only support syntax otherwise
2017-02-25 00:03:12 -05:00
Dan Abramov
3289c32021 Fix up broken line 2017-02-24 22:29:36 +00:00
Matt Crampton
dbf17fd0e4 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 22:28:36 +00:00
Joe Haddad
b609ac96fe Use posix paths for Jest config during eject (#1635)
Resolves #1417 and #1498.
2017-02-24 17:06:54 -05:00
sbritoig
5155797983 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 20:51:53 +00:00
chyipin
925ab7268f 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 20:32:15 +00:00
Ade Viankakrisna Fadlil
8d41328342 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 20:29:25 +00:00
Mo Binni
53db95a8c3 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 20:25:18 +00:00
Charlie Gleason
c8d9c47897 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 19:44:47 +00:00
Vlad
dd801e218c Disallow event global variable with no-restricted-globals rule (#1530) (#1532)
* Disallow event global variable with no-restricted-globals rule (#1530)

* changed event global variable usage liniting from warn to error
2017-02-24 19:29:04 +00:00
wtgtybhertgeghgtwtg
41d1469445 Bump recursive-readdir. (#1560) 2017-02-24 18:00:37 +00:00
Valerii Sorokobatko
d6a83aa887 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 18:00:09 +00:00
Daniel Riquelme
1c0851deb5 Update index.js (#1603)
To avoid file conflict issue with IJ static web projects
2017-02-24 17:58:49 +00:00
myappincome
c3240a18ab Adding link to “Customizing” create-react-app (#1121)
Add documentation for customizing Bootstrap theme
2017-02-24 17:48:16 +00:00
Tharaka Wijebandara
09cfcde018 Add lint rule to disallow require.ensure and System.import (#1536) 2017-02-24 17:29:45 +00:00
Johann Hubert Sonntagbauer
0ef9e80349 (feat): add webpack validation error logging (#1596)
* (feat): add webpack validation error logging

* Style nit

* Style tweak

* Style nit
2017-02-24 17:28:54 +00:00
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