Commit Graph

1693 Commits

Author SHA1 Message Date
Futa Ogawa
db9d0ab89b Fix prefix format (#3885)
`-webkit` => `-webkit-`
2018-01-22 16:37:57 -05:00
joelgeorgev
726e5f97c1 Add noscript to body when migrating to 1.0.0 (#3897) 2018-01-22 20:26:11 +00:00
Ronald Rey
eee29075d6 Include {json,css} files in prettier command (#3894)
Update User Guide's README.md to include `json` and `css`
files in the command to format the entire project for the first time
with prettier, that it's consistent with the `lint-staged` command.
2018-01-22 13:51:38 +00:00
Ernesto García
07f374f327 Add Rails Webpacker as alternative to CRA in Rails (#3868)
* Add Rails Webpacker as alternative to CRA in Rails

* Update README.md
2018-01-22 12:29:57 +00:00
Dan Abramov
31118bd6d6 Remove file 2018-01-22 01:45:33 +00:00
Dan Abramov
5aa8ee04ca Remove git from e2e script 2018-01-21 23:38:57 +00:00
Dan Abramov
d49ffde4e6 Fix the E2E script (#3888)
* Fix the E2E script

* Delete .git if committing failed
2018-01-21 23:31:03 +00:00
Dan Abramov
1cf2248c46 Don't use app node_modules folder as a resolve fallback (#3884) 2018-01-21 19:05:24 +00:00
Bond
db75a16a13 Update short link for PWA (#3872) 2018-01-21 11:25:11 +00:00
Dan Abramov
eac8fcee2d Fix integration test (#3879)
* Fix integration test

* More fixes
2018-01-20 20:19:52 +00:00
Robin van der Vleuten
bab2c29522 Set the public path to the asset manifest entries (#2544) 2018-01-20 19:31:27 +00:00
Piotr
39126a102b Provide callbacks in serviceWorker (next) (#3867)
* Provide callbacks in serviceWorker

* revert exporting default function
2018-01-20 19:15:32 +00:00
Magnús Örn Gylfason
6b67f4cfd0 Don't delete error logs when install fails (#2705)
* don't delete error logs

* Style nit

* Fix the logic
2018-01-20 19:07:26 +00:00
Dan Abramov
b3527d7783 Fix git init race condition (#3877) 2018-01-20 18:32:41 +00:00
Dan Abramov
ab2e0f870d Fix the script replacing local deps (#3876) 2018-01-20 18:24:25 +00:00
Maurice de Beijer
247e5c90a0 Create git repository with initial commit (#1288)
* Create git repo with initial commit

* Fixe commit message

* Added the git repo to the docs

* Bail if we are in a mercurial repository

* Removed Chore from commit mesage

* Create repo after installing react and react-dom

* Removed docs

* Commit changes when ejecting

* Update after review

* git add -A instead of git add . after code review
2018-01-19 13:12:34 +00:00
Eduardo Rabelo
d67a9e7932 feat: add opt-out for prestet-flow to work with @babel/preset-typescript (#3865)
* feat: add opt-out for prestet-flow to work with @babel/preset-typescript

* docs: adding example in readme
2018-01-19 13:10:03 +00:00
Ian Sutherland
0e51eef6d7 Disable service worker by default (#3817)
* WIP disable service worker by default (#2554)

* Updated service worker registration

* Readd default export in registerServiceWorker.js

* Updated comments about using Service Worker

* Call it serviceWorker

* Nits
2018-01-19 00:13:54 +00:00
Dan Abramov
864874bfa8 Rewrite issue template to mention yarn/npm problems 2018-01-18 16:11:55 +00:00
Bond
9d67605ab6 Use custom bit.ly links (#3836)
* change link to advanced deployment

* Use custom CRA link for deployment

* use custom link for minification failure

* update link for deployment

* feedback
2018-01-18 09:17:02 -05:00
Dan Abramov
477e060141 1.5.1 2018-01-18 12:10:30 +00:00
Bond
2e59658e66 pin envinfo version to 3.4.2 (#3853)
See #3837
2018-01-18 12:10:23 +00:00
Dan Abramov
034c6ad348 1.5.1 2018-01-18 12:08:58 +00:00
Bond
2bf092967f pin envinfo version to 3.4.2 (#3853)
See #3837
2018-01-18 11:55:02 +00:00
Joe Haddad
9754a23170 Bump deps 2018-01-18 00:04:38 -05:00
Dan Abramov
096703abf2 Clear cache 2018-01-18 03:21:14 +00:00
Joe Haddad
713eec417d Babel 7 disabled code highlighting by default 😢 (#3849) 2018-01-17 22:05:45 -05:00
Joe Haddad
f0719866f2 Remove duplicated stack from thread-loader (#3847) 2018-01-17 22:05:35 -05:00
Sendil Kumar N
ee2dd27ec1 remove radix eslint rule (#3844) 2018-01-17 22:40:04 +00:00
Andrew
c9b289b64d fix small grammatical typo in webpack config documentation (#3842) 2018-01-17 21:34:08 +00:00
Dan Abramov
3b2c4e01f5 Remove stripColor() usage 2018-01-17 20:54:14 +00:00
Dan Abramov
406ab6c3c0 Bump Babel 2018-01-17 20:44:59 +00:00
Ian Sutherland
a00cae77df Remove PropTypes from production build (#209) (#3818)
* Remove PropTypes from production build (#209)

* Added react/forbid-foreign-prop-types rule to eslint config

* Removed react/forbid-foreign-prop-types rule from eslint config
2018-01-17 20:28:59 +00:00
Ian Sutherland
82907fd23c Import SVGs as React components (#1388) (#3718)
* Import SVGs as React components (#1388)

* Updated webpack production config and fixed tests

* Improved Jest SVG file transform

* Improved SVG tests

* Add a comment

* Update webpack.config.prod.js
2018-01-17 19:40:56 +00:00
Luke Jackson
f6ad7fe7f8 Applies new theme and adds docs link to template (#3235)
* Applies dark theme and adds link to reactjs.org

* Just "learn React"

* Tweaks
2018-01-17 19:37:53 +00:00
Levin Rickert
346ea1cc8d Use wmic to get process list on Windows (#3808) 2018-01-17 19:32:05 +00:00
Joe Haddad
11f1aa09b3 Remove CSS modules docs (#3832) 2018-01-17 10:34:38 -05:00
Joe Haddad
f4988e224a Update comments for accuracy 2018-01-17 10:30:45 -05:00
Ro Savage
fc7c9915b0 Add support for CSS Modules with explicit filename (#2285)
* Add css modules with [name].modules.css file convention

* Add e2e for CSS Modules

* Updated based on feedback

* Change css modules class name to be deterministic and fix licences

* Update css modules class naming convention
2018-01-17 10:20:57 -05:00
Edward Ren (Eddie)
0ddc043a97 Updated react-scripts Readme.md to better document GitHub Pages hosting with custom domains (#3821) 2018-01-17 14:34:53 +00:00
Jack Franklin
7969b48cd0 Enhance Jest config error for setupTestFrameworkScriptFile (#3512)
* Enhance Jest config error for `setupTestFrameworkScriptFile`

I wasn't aware of the fact that users of c-r-a could just define
`src/setupTests.js` and it would be configured with Jest - I nearly
ejected before I found a GitHub issue that confirmed this functionality.

I thought it might be a nice idea to add it to the error about Jest
config overrides to stop others ejecting when they don't need to.

* Change the order of Jest config errors.

* Show different error for `setupTestFrameworkScriptFile`

* Tweak the message
2018-01-17 13:26:22 +00:00
Mario Nebl
a3d002e0b3 Add svg rendering for error example (#3825)
* Add svg rendering for error example

* Use static svg error example
2018-01-17 13:00:14 +00:00
Victor Amupitan
ed276295d6 Changes no-unused-expressions lint from warning to error (#2319)
* Changes no-unused-expressions lint from warning to error

* Update index.js

* Update index.js
2018-01-17 12:06:44 +00:00
Mario Nebl
272edffc81 Update screencast to use npx (#3810)
* Use npx for screencast

* Use updated screencast

* Update screencast to version without history

* The previous version was recorded on a fish shell, which has
a history suggestion feature that can not be disabled

* The new version uses zsh as shell to avoid the history
suggestions in the cast

* The new version has been created with scripts that are subject
of a separate PR

* Use screencast without autosuggestions
2018-01-16 19:08:52 +00:00
Mario Nebl
70ef42c3f3 Add screencast task (#3816)
* Automate screencast recordings
* **screencast.js**: Automate screencast.sh, asciinema, svg-term-cli. Removes progress-bar, npm tree data from cast
* **screencast.sh**: Simulate user input, trigger demoed commands
* **screencast-start.js**: Start a shell command and end the process log patterns have been observed
2018-01-16 19:07:45 +00:00
Dan Abramov
72c3d4ebb5 Try to fix CI (#3806)
* Try to fix CI

* Bump Jest elsewhere

* Bump Babel elsewhere

* Fix CI on Windows by writing .cmd file back
2018-01-16 18:24:14 +00:00
Dan Abramov
19e0bb1881 Support Jest --watchAll flag (#3804)
* Support Jest --watchAll flag

* Use clearer condition

* Add comma
2018-01-15 17:49:57 +00:00
Gary Meehan
f5708c67cd Add feature #3116 extended Jest config (#3802) 2018-01-15 17:03:14 +00:00
Joe Haddad
2e59c5412c Offer to set default browsers (#3792)
* Offer to set browser defaults

* Catch error on no

* Add ending newlines

* Ensure we re-check to prevent defaults from leaking

* Reduce nesting

* Add defaults message

* More explicit
2018-01-15 00:09:07 -05:00
Dan Abramov
0ff234949f Add regression test for #3055 (#3791) 2018-01-15 00:08:48 -05:00