Commit Graph

1165 Commits

Author SHA1 Message Date
Joe Haddad
bfaee410c5 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
create-react-app@1.4.0 react-scripts@1.0.11 babel-preset-react-app@3.0.2 react-error-overlay@1.0.10 react-dev-utils@3.1.0 eslint-config-react-app@2.0.0 v1.0.11
2017-08-08 23:39:58 -04:00
Joe Haddad
77265f31b1 Prepare for 1.0.11 release (#2924)
* Prepare for release

* Make sure there's a break
2017-08-08 23:37:21 -04:00
Joe Haddad
9b23be825a Update dev deps (#2923)
* Bump deps

* Fix linter errors

* Whoops

* Try to bump webpack

* Update peer deps to min for eslint 4.x
2017-08-08 23:15:34 -04:00
Joe Haddad
4cdd5ac427 Update README.md 2017-08-08 21:55:13 -04:00
Ade Viankakrisna Fadlil
1e3a64fa43 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-08-08 21:53:37 -04:00
Stéphane Goetz
badfc2a8d9 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-08-08 21:37:04 -04:00
Ben Sykes
d009a99094 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-08-08 21:36:32 -04:00
Konstantin Tarkus
2766bbd1ff 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-08-08 21:35:26 -04:00
themre
e12d053c27 Feature/webpack 3 4 (#2875)
* bump wp3

* try bump babel-loader

* bump 3.4.1
2017-08-02 10:33:13 +01:00
iamdoron
24b18aedd9 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-08-01 22:50:58 -04:00
Oskar Köök
664b7651ae Re-enable flowtype warning (#2718)
* Re-enable flowtype warning

* Update eslint-plugin-flowtype dependency
2017-08-01 22:35:06 -04:00
Ade Viankakrisna Fadlil
b643f5710a 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-08-01 21:57:50 -04:00
Jon Crenshaw
20c953d091 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-08-01 21:52:26 -04:00
Joe Haddad
57f2cd70f7 Update README.md 2017-08-01 21:49:01 -04:00
Joe Haddad
6443441bd5 Update README.md 2017-08-01 21:47:01 -04:00
Animesh Dutta
88dfd497f6 Add Electrode to alternatives (#2728) 2017-08-01 21:25:10 -04:00
864907600cc
cff167f068 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-08-01 21:21:07 -04:00
Forbes Lindesay
13c73603ce 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-08-01 21:19:40 -04:00
Kiho · Cham
a73252f06f 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-08-01 21:04:25 -04:00
Wiley Bennett
ea9427bdfe Allow use of scoped packages with a pinned version (#2853)
Fixes #2883
2017-08-01 20:10:55 -04:00
themre
b1c12241e4 Bump Webpack 3.4 (#2850)
* bump wp3

* try bump babel-loader
2017-07-26 09:58:42 +01:00
themre
bc82755aff 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-07-25 20:28:45 +01:00
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