Commit Graph

1440 Commits

Author SHA1 Message Date
Pier-Luc Gendreau
da055d6fb4 Remove Modulus from user guide (#2948)
The service was rebranded to xervo.io and was completely shut down in April 2017
2017-09-09 22:34:18 +02:00
Joe Haddad
f9c601bf8a Remove superfluous lodash usage (#2938) 2017-09-09 22:34:18 +02:00
Thomas Bassetto
72bcf3390e Update README.md (#2927)
Fixing a small typo.
2017-09-09 22:34:18 +02:00
John Nilsson
9a6e32d313 Delete leftover file (upstream 82687dd) 2017-09-09 22:25:59 +02:00
Joe Haddad
0bb9537f06 Publish
- babel-preset-react-app@3.0.2
 - create-react-app@1.4.0
 - eslint-config-react-app@2.0.0
 - react-dev-utils@3.1.0
 - react-error-overlay@1.0.10
 - react-scripts@1.0.11
2017-09-09 22:25:59 +02:00
Joe Haddad
85612852e8 Prepare for 1.0.11 release (#2924)
* Prepare for release

* Make sure there's a break
2017-09-09 22:25:58 +02:00
Joe Haddad
8ace6d5f20 Update dev deps (#2923)
* Bump deps

* Fix linter errors

* Whoops

* Try to bump webpack

* Update peer deps to min for eslint 4.x
2017-09-09 22:25:58 +02:00
Joe Haddad
2d765637cd Update README.md 2017-09-09 22:25:58 +02:00
Ade Viankakrisna Fadlil
2ff3a19364 Use env variable to disable source maps (#2818)
* use env variable to disable source maps

* Rename to use SOURCE_MAP with explicit value

* Update webpack.config.prod.js
2017-09-09 22:25:58 +02:00
Stéphane Goetz
b2593b64aa Make formatWebpackMessages return all messages (#2834)
* Move the reduction of the messages to a single place in the place it is used.

* Fix variable name
2017-09-09 22:25:58 +02:00
Ben Sykes
dcdab42d06 Adjust the checkIfOnline check if in a corporate proxy environment (#2884)
* Adjust the `checkIfOnline` check if in a corporate proxy environment
If the environment variable `https_proxy` is set, test that the proxy name is resolveable rather than 'registry.yarnpkg.com'.
This fixes #2832.

* Adjust to check yarnpkg.com first, then check the proxy address only if that failed
2017-09-09 22:25:58 +02:00
Konstantin Tarkus
dba32bedb9 Fix the order of arguments in spawned child proc (#2913)
* Fix the order of arguments in spawned child proc

* Update react-scripts.js

* Remove a comma

* Update react-scripts.js
2017-09-09 22:25:57 +02:00
themre
eb3f85d2ea Feature/webpack 3 4 (#2875)
* bump wp3

* try bump babel-loader

* bump 3.4.1
2017-09-09 22:25:57 +02:00
iamdoron
9b7901241f Allow importing package.json (#2468)
* Allow importing package.json

* Remove package.json import from App.js template

* fix importing package.json

* Rename variable to reflect path is relative to root

* Check for both package & package.json in ModuleScopePlugin

* Use regex to check relative path to package.json

* Strictly enforce package.json extension on scope plugin

* Add allowedPaths to ModuleScopePlugin ctor and use it to allow app package.json

* Remove package.json import from App.js template

* Add package.json to react-scripts/template, show package version and name in the template

* Remove import package.json from template

* Remove template/package.json and its references in code

* Update ModuleScopePlugin.js

* Update README.md
2017-09-09 22:25:57 +02:00
Oskar Köök
de4615231f Re-enable flowtype warning (#2718)
* Re-enable flowtype warning

* Update eslint-plugin-flowtype dependency
2017-09-09 22:25:57 +02:00
Ade Viankakrisna Fadlil
e08b789c2e Format UglifyJs error (#2650)
* format UglifyJs error

* move formatBuildError to react-dev-utils

* fix readme

* use regex for plucking the path from stack

* make path human readable and fallback to show error if regex not matched

* rename to printBuildError and add link to the docs

* fix link indentation

* improve readibility + shorten link
2017-09-09 22:25:57 +02:00
Jon Crenshaw
adb4c6d1cd Unstage yarn.lock pre-commit (#2700)
Since yarn.lock shouldn't be added to the repo, nor excluded via
.gitignore, lets take advantage of lint-staged to remove any staged
yarn.lock files before they can even be committed.
2017-09-09 22:25:56 +02:00
Joe Haddad
de34cf6501 Update README.md 2017-09-09 22:25:56 +02:00
Joe Haddad
791df185e9 Update README.md 2017-09-09 22:25:56 +02:00
864907600cc
2c988b9282 Fix parsing HTML/JSX tags to real elements (#2796)
* Fix parsing HTML/JSX tags to real elements

* Use `html-entities` to escape instead of pure `replace()`

* Remove unnecessary HTML entity replacing
2017-09-09 22:25:56 +02:00
Forbes Lindesay
a6cd6f30cb Update webpack version note (#2798)
* Remove note about webpackHotDevClient being webpack 1.0 only

It must work in webpack 2 since create-react-app is still using it and is using webpack 2 now.

It would be great if you could add some kind of note about how it differs from the default webpack hot reloaders.

* Update README.md

* Update README.md
2017-09-09 22:25:56 +02:00
Kiho · Cham
3cd47472ab Use modern syntax feature (#2873)
The create-react-app need node >= 6, and node version 6 support a lot of ES6, and let's switch using '+' to concat string with template string.
2017-09-09 22:25:56 +02:00
Wiley Bennett
8dad81d89c Allow use of scoped packages with a pinned version (#2853)
Fixes #2883
2017-09-09 22:25:55 +02:00
themre
27f1256559 Bump Webpack 3.4 (#2850)
* bump wp3

* try bump babel-loader
2017-09-09 22:25:55 +02:00
themre
c93e63090a Feature/webpack3 (#2574)
* Add source-map-loader to support source maps of dependencies

* merge with latest develop

* add ModuleConcatenationPlugin

* revert source-map-loader

* bump to 3.1 and update dev-server

* rebase to master

* rebase again

* bump webpack

* remove ModuleConcatenationPlugin, downgraded react packages, bump etwp

* ETWP rc1 only for testing

* bump ETWP and webpack 3

* bump WP3

* revert to 3.2.0

* bump sw-precache-webpack-plugin

* bump back to 3.3.0

* bump dev-server and manifest
2017-09-09 22:25:51 +02:00
Dan Abramov
64e5869412 Add explicit "Opting Out of Caching" header (#2822) 2017-09-09 22:25:21 +02:00
Christian Bundy
834515f1cb Upgrade webpack-dev-server (#2806) 2017-09-09 22:25:20 +02:00
Owen Flood
777e70ad73 List conflicting files when initializing app (#2785)
* change error wording and list conflicting files when initializing app

* update code

* Update createReactApp.js
2017-09-09 22:25:20 +02:00
zeel
c3f4b7ca06 Moved npm run build before npm test (#2725)
Closes #2713
2017-09-09 22:25:20 +02:00
Ade Viankakrisna Fadlil
494d96fdbe 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-09-09 22:25:20 +02:00
Owen Flood
5eb7c7359a 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-09-09 22:25:20 +02:00
Dan Ristea
772a447247 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-09-09 22:25:19 +02:00
Andreas Hoffmann
e0c2729b0d 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-09-09 22:25:19 +02:00
Đinh Quang Trung
63e8924f99 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-09-09 22:25:19 +02:00
Mostafa Hajizadeh
31e3ffea78 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-09-09 22:25:19 +02:00
Dan Ristea
4b856a7c79 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-09-09 22:25:19 +02:00
Forbes Lindesay
fee4e579b4 Update link to issue blocking JSX hoisting (#2732) 2017-09-09 22:25:19 +02:00
Trygve Aaberge
fc2057c5f0 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-09-09 22:25:18 +02:00
Danny Ho
028b5c55de Remove Windows note for source-map-explorer (#2719)
Glob support has been added in source-map-explorer@1.4+
2017-09-09 22:25:18 +02:00
Kristoffer
c8cb0040ee allowTaggedTemplates to avoid warnings from SC's (#2701) 2017-09-09 22:25:18 +02:00
Dan Abramov
ae40264af6 Publish
- create-react-app@1.3.3
 - react-dev-utils@3.0.2
 - react-error-overlay@1.0.9
 - react-scripts@1.0.10
2017-09-09 22:25:09 +02:00
Will Monk
142dfe4457 Merge pull request #149 from JReinhold/doc_migration_to_2.5.0
added migration steps to v2.5.0
2017-08-30 08:13:18 +01:00
Jeppe Reinhold
de25bd7e6c fixed typo in migration 2017-08-27 11:40:54 +02:00
Will Monk
a32ac09626 Merge pull request #150 from hktonylee/fixed_merge_typo_ISSUE_TEMPLATE.md
fixed merge typo in ISSUE_TEMPLATE.md
2017-08-27 10:28:44 +01:00
Tony Lee
1d8319111c changed list number in ISSUE_TEMPLATE.md 2017-08-27 11:57:25 +08:00
Jeppe Reinhold
14d0ec4795 added migration steps to v2.5.0 2017-08-26 08:02:00 +02:00
Will Monk
e87df91de8 Merge pull request #143 from swengorschewski/dependencies
Install typings as dev dependencies
2017-08-22 13:48:05 +01:00
Will Monk
d0d51332ab Merge pull request #145 from comerc/patch-1
Fixed VSCode warning for tslint trailing-comma
2017-08-22 13:47:54 +01:00
Tony Lee
966d59f8a4 fixed merge typo in ISSUE_TEMPLATE.md 2017-08-22 08:46:48 +08:00
comerc
f140f88506 Fixed VSCode warning for tslint trailing-comma
Incorrect type. Expected "array"
2017-08-20 13:33:08 +03:00