Commit Graph

1693 Commits

Author SHA1 Message Date
Dan Abramov
d679843d05 Add explicit "Opting Out of Caching" header (#2822) 2017-07-19 18:19:18 +01:00
Christian Bundy
0482058724 Upgrade webpack-dev-server (#2806) 2017-07-18 02:16:38 -04:00
Ade Viankakrisna Fadlil
10918769c0 Update link for motion (#2788)
They moved it to pundle monorepo 2 months ago
2017-07-14 09:32:41 -04:00
Owen Flood
3354ab938c List conflicting files when initializing app (#2785)
* change error wording and list conflicting files when initializing app

* update code

* Update createReactApp.js
2017-07-13 23:19:44 -04:00
zeel
3ffad55e68 Moved npm run build before npm test (#2725)
Closes #2713
2017-07-13 11:28:12 -04:00
Ade Viankakrisna Fadlil
a7e71442c6 Docs for react-router v4 basename feature (#2668)
* Docs for react-router v4 basename feature

Fix https://github.com/facebookincubator/create-react-app/issues/2593

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2017-07-12 15:49:43 -04:00
Owen Flood
3690495999 Don't prompt to install serve if already installed (#2761)
* dont prompt if serve is already installed

* change name for readability

* Pin the version
2017-07-11 00:43:17 +01:00
Dan Ristea
3ca6bae25f Autodetect JetBrains IDEs (#2754)
Autodetect PyCharm (Pro and CE), WebStorm, PhpStorm, IntelliJ IDEA, RubyMine, CLion, and AppCode

Added IntelliJ IDEA, RubyMine, CLion, and AppCode to list of IDEs. It has the same signature as WebStorm and PhpStorm `<editor> <projectPath> --line <number> <filePath>` so it can reuse the logic from those.

Removed older integrations of AppCode, IntelliJ IDEA

https://www.jetbrains.com/help/idea/opening-files-from-command-line.html
https://www.jetbrains.com/help/pycharm/opening-files-from-command-line.html
https://www.jetbrains.com/help/phpstorm/opening-files-from-command-line.html
https://www.jetbrains.com/help/ruby/opening-files-from-command-line.html
https://www.jetbrains.com/help/webstorm/opening-files-from-command-line.html

Tested with Appcode 2017.1.3, CLion 2017.1.3, Intellij Idea 2017.1.5, PhpStorm 2017.1.4, PyCharm (Pro and CE) 2017.1.4, RubyMine 2017.1.5, and WebStorm 2017.1.4 on MacOS 10.12
Tested with 64-bit CLion 2017.1.3, Intellij Idea 2017.1.5, PhpStorm 2017.1.4, PyCharm (Pro and CE) 2017.1.4, RubyMine 2017.1.5, and WebStorm 2017.1.4 on a Windows 10 VM

Relates to #2636
2017-07-09 22:15:43 +01:00
Andreas Hoffmann
a08eb3b44b Use Rule.oneOf to resolve correct loader (#2747)
* Use oneOf to resolve correct loader

* Add html and json fallthrough again

* Use oneOf to resolve correct loader in dev

* Document file-loaders `js` exclusion

* Remove `jsx` from exclusion in prod config
2017-07-09 21:59:19 +01:00
Đinh Quang Trung
bbbc15dc8e ESLint 4 (#2735)
* Update eslint-loader 1.7.1 -> 1.9.0

* Add eslintPath option

* Update eslint 3.19.0 -> 4.1.1

* Update peer dependencies

* Move eslintPath config to outside @remove-on-eject
2017-07-07 11:40:29 +01:00
Mostafa Hajizadeh
16f0d4a56c Add "node" to Jest's moduleFileExtensions (#2738)
Jest's default value for this option is ["js", "json", "jsx", "node"].
CRA's current value is ["web.js", "js", "json", "web.jsx", "jsx"], which
is missing one of default ones: "node". This change fixes that.

This "node" extension is used in packages that use native code.
2017-07-07 11:37:32 +01:00
Dan Ristea
804ac00095 Support PyCharm in launchEditor (#2740)
PyCharm has the same signature as WebStorm and PhpStorm `<editor> <projectPath> --line <number> <filePath>` so it can reuse the logic from those.

https://www.jetbrains.com/help/pycharm/opening-files-from-command-line.html

Tested with PyCharm Pro 2017.1.4 on MacOS 10.12
2017-07-07 11:34:56 +01:00
Forbes Lindesay
8442cf313b Update link to issue blocking JSX hoisting (#2732) 2017-07-06 16:47:41 +01:00
Trygve Aaberge
f495c15578 Reorder vim arguments in launchEditor so --remote works (#2723)
This allows you to set REACT_EDITOR to 'vim --remote', so the file can
be opened in an already running vim process. When using vim without
remote, it works in the same way as before.

When launching vim without --remote, the order of the line and path
arguments doesn't matter. However, when using --remote the line argument
has to precede the path. This happens to be the same as joe and emacs
uses, so the vim cases were just moved there.

I haven't tested this with mvim, but the documentation says the same as
the vim documentation, so I assume it works the same.
2017-07-04 23:44:55 +01:00
Danny Ho
85a9bc8590 Remove Windows note for source-map-explorer (#2719)
Glob support has been added in source-map-explorer@1.4+
2017-07-03 21:03:00 +01:00
Kristoffer
df00d8071a allowTaggedTemplates to avoid warnings from SC's (#2701) 2017-07-01 15:49:49 +01:00
Alexey Raspopov
b0cd28663d Issue template: fix env list ordering (#2697) 2017-07-01 00:05:25 +01:00
Dan Abramov
ad35fd1d13 Publish
- create-react-app@1.3.3
 - react-dev-utils@3.0.2
 - react-error-overlay@1.0.9
 - react-scripts@1.0.10
react-error-overlay@1.0.9 create-react-app@1.3.3 react-dev-utils@3.0.2 react-scripts@1.0.10 v1.0.10
2017-06-29 19:03:41 +01:00
Dan Abramov
c1221eb110 Changelog for 1.0.10 (#2694)
* Add changelog for 1.0.10

* Update CHANGELOG.md

* Update CHANGELOG.md
2017-06-29 19:01:37 +01:00
Dan Abramov
19ba887410 Update CHANGELOG.md 2017-06-29 18:58:19 +01:00
Joe Haddad
82ed81a03c Upgrade flow (#2693)
Resolves #2670
2017-06-29 13:39:24 -04:00
JoeCortopassi
d3518d6254 Added gluestick to the alternatives section (#2402)
Added `gluestick` to the alternatives section
2017-06-29 13:37:26 -04:00
Patrick Hooper
5e11b48b38 Downgrade strip-ansi package to 3.0.1 (#2692) 2017-06-29 18:07:04 +01:00
Ben Brostoff
f9f8125715 Fix typo (#2683) 2017-06-29 18:06:40 +01:00
Forbes Lindesay
29888fcc7a Fix typo in README link (#2684) 2017-06-29 14:00:10 +01:00
Dan Abramov
adf334f886 Publish
- react-scripts@1.0.9
react-scripts@1.0.9 v1.0.9
2017-06-29 13:11:46 +01:00
Dan Abramov
29df7290b9 Changelog for 1.0.9 (#2682) 2017-06-29 13:06:42 +01:00
Dan Abramov
567d981ee2 Fix external CSS imports (#2680)
* Fix external CSS imports

* Add external CSS import to integration test

* Fix assertion
2017-06-29 12:59:49 +01:00
Daniel Banck
7b5a589f3d Fix minor typo (#2679)
"Styleguidist combines of a style guide, ..." --> "Styleguidist combines a style guide, ..."
2017-06-29 11:33:20 +01:00
Joe Haddad
aad5987a03 Bootstrap with Yarn when available (#2673)
* Bootstrap with Yarn if we can

* Update test scripts

* Check OS and npm concurrency ability

* Windows support

* Update bootstrap.js

* Install yarn before bootstrap
2017-06-29 00:45:45 -04:00
Ade Viankakrisna Fadlil
a0bc9493b4 Add more info about apache client side routing (#2666)
* Add more info about apache client side routing

After a revelation in https://github.com/facebookincubator/create-react-app/issues/2593#issuecomment-311729534

* Update README.md
2017-06-29 00:14:16 -04:00
Dan Abramov
657b3fd6c0 Test Node 8 on Travis (#2659)
* Test Node 8 on Travis

We still test Node 7 on AppVeyor

* Update e2e-installs.sh

* Update e2e-kitchensink.sh

* Update e2e-simple.sh

* Update e2e-installs.sh

* Update e2e-kitchensink.sh

* Update e2e-installs.sh

* Update e2e-simple.sh

* Update e2e-simple.sh

* Update e2e-kitchensink.sh

* Update e2e-installs.sh
2017-06-29 00:09:13 +01:00
Jaco Bovenschen
d0aa6b2392 Add json and css to lint-staged in template README (#2671)
* Add json and css to lint-staged in template README

This changes the proposed way about using prettier inside the README.md, because prettier supports css since the 1.4.0 release and json since the 1.5.0 release. 

Was not sure if it was a good idea to add different regexes for json and css inside the README.md don't have a real opinion about it myself, could maybe easier for starters to do so if they wan't to add things like eslint or stylelint the the commit hooks.

* Use capitalization for Javascript, CSS and JSON

* Change 'Javascript to JavaScript'
2017-06-28 20:35:20 +01:00
Dan Abramov
76ad76e313 Add a note about fixed vulnerability in 1.0.8 2017-06-28 18:19:19 +01:00
Dan Abramov
7796c94d79 Publish
- babel-preset-react-app@3.0.1
 - create-react-app@1.3.2
 - eslint-config-react-app@1.0.5
 - react-dev-utils@3.0.1
 - react-error-overlay@1.0.8
 - react-scripts@1.0.8
eslint-config-react-app@1.0.5 v1.0.8 react-dev-utils@3.0.1 babel-preset-react-app@3.0.1 create-react-app@1.3.2 react-scripts@1.0.8 react-error-overlay@1.0.8
2017-06-28 17:30:24 +01:00
Dan Abramov
31028774ea Changelog for 1.0.8 (#2664)
* Add changelog for 1.0.8

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
2017-06-28 17:29:48 +01:00
Dan Abramov
a171d93064 Reformat source code with Prettier 1.5.2 2017-06-28 16:23:16 +01:00
Ian Schmitz
29c8733ec4 Update Prettier to v1 (#2465)
* Update Prettier to v1

* Update package.json
2017-06-28 16:19:42 +01:00
Dan Abramov
f947669ff7 Update ISSUE_TEMPLATE.md 2017-06-28 16:18:47 +01:00
Fabrizio Castellarin
60ae2b6d4c Local testing docker links (#2662)
* Fix a command style in docs

* Add a link to docker's docs
2017-06-28 16:01:08 +01:00
Evan Jones
6ab0ec0075 Better React Native Web support (#2511)
* Better React Native Web support

* Adding better react-native-web support for jest testing
2017-06-28 15:29:58 +01:00
Dan Abramov
16e5d15e92 Bump dependencies (#2658) 2017-06-28 15:05:30 +01:00
Dan Abramov
0cebe046e1 Minor code style edits to user guide (#2660)
* Minor code style edits to user guide

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2017-06-28 15:05:12 +01:00
Dan Abramov
c578d148b7 Don't ask to install webpack for using Styleguidist (#2656)
* Don't ask to install webpack for using Styleguidist

* Update README.md
2017-06-28 14:27:52 +01:00
Dan Abramov
9559ba486e Put react-scripts in dependencies, not devDependencies (#2657)
* Put react-scripts in dependencies, not devDependencies

* Sort dependencies on eject

* Remove CI check
2017-06-28 14:04:26 +01:00
Erik Engi
4605e6c38a Razzle added to the alternatives (#2517) 2017-06-28 00:10:18 +01:00
Dan Abramov
7cf4de71fa Warn about large bundle sizes (#2648) 2017-06-28 00:00:49 +01:00
Colin Galindo
a4197b610e Add instructions to use source-map-explorer (#1641) 2017-06-27 22:40:33 +01:00
Dan Abramov
91064a1c7f Ignore "Skipping static resource" message from SW precache (#2645) 2017-06-27 22:28:00 +01:00
Artem Sapegin
12a2e42a94 Add React Styleguidist (#2044) 2017-06-27 21:52:30 +01:00