Commit Graph

1693 Commits

Author SHA1 Message Date
Joe Haddad
12f1a8eed8 Clean target directory before compiling overlay (#3102)
* Clean target directory before compiling overlay

* Use rimraf
2017-09-11 07:37:36 -04:00
Ade Viankakrisna Fadlil
44cfbccfda Rerun prettier and pin version (#3058)
* rerun prettier for all files

* pin prettier to 1.6.1
2017-09-10 01:12:38 -04:00
Joe Haddad
5e300cebb3 Reload the page when an error has occurred (#3098)
* Reload the page when an error has occurred
Fixes #3096

* Use a global boolean instead
2017-09-08 22:52:18 -04:00
Ade Viankakrisna Fadlil
fcb6dc5557 run npm 5.4.0 in CI (#3026)
* run npm 5.4.0 in CI

* run npm cache clean with --force in CI

* use link instead of install

* Update e2e-installs.sh

* Update e2e-kitchensink.sh

* Update e2e-simple.sh
2017-09-07 10:47:55 +01:00
Joe Haddad
634dadb440 Unmapper Windows compatibility (#3079)
* Switch to unix path separators before normalizing path for Windows compatibility

* Add comment for posterity

* Revert "Add comment for posterity"

This reverts commit 742baceef97e767527498a2ad8b2ab66ad748333.

* Strictly add comment
2017-09-06 14:42:40 -04:00
Jon Crenshaw
b17fa4123e Update eslint-config npm install command (#3072)
The `npm install` script for outside usage instructions is outdated. Updated to match the package's current peer dependencies.
2017-09-05 22:29:17 -04:00
Tharaka Wijebandara
e8b58edf63 Set travis config to use 'precise' ci environment 2017-09-03 11:11:35 +05:30
Dan Abramov
c22dc70926 Publish
- react-dev-utils@4.0.1
 - react-error-overlay@2.0.1
 - react-scripts@1.0.13
react-dev-utils@4.0.1 react-error-overlay@2.0.1 v1.0.13 react-scripts@1.0.13
2017-09-02 13:58:21 -07:00
Dan Abramov
efeabee92b Changelog for 1.0.13 2017-09-02 13:57:52 -07:00
Dan Abramov
f65a1a90a7 Add missing slash 2017-09-02 13:54:33 -07:00
Jared Palmer
8a72a314bc Make error overlay filename configurable (#3028)
* Make error overlay file configurable

* Add fallback filename
2017-09-02 13:42:04 -07:00
Anthony
6644054fc3 provide empty mock for child_process so importing libraries with it works (#3033) 2017-09-02 13:41:40 -07:00
Tharaka Wijebandara
51d0df4902 Rename Overlay to ErrorOvelay (#3051) 2017-09-01 17:59:37 -07:00
Erik J. Sturcke
270b1dc5cd Strip hash from chunk file name (#3049) 2017-09-01 12:56:17 -07:00
Tharaka Wijebandara
1df16109c9 Fix error overlay 'Object.assign' issue in IE by including polyfills before webpack client (#3046) 2017-09-01 12:54:58 -07:00
Dan Abramov
a51be9582a Publish
- react-dev-utils@4.0.0
 - react-error-overlay@2.0.0
 - react-scripts@1.0.12
react-dev-utils@4.0.0 react-error-overlay@2.0.0 react-scripts@1.0.12 v1.0.12
2017-08-27 19:26:52 -07:00
Dan Abramov
9a072e2bb5 Changelog for 1.0.12 (#3016) 2017-08-27 20:25:03 -06:00
Dan Abramov
cc2e270d0e Relax React dep requirements 2017-08-27 19:20:54 -07:00
Sylvain Baronnet
2cbb76018a Default Favicon lossless optimisation (#2917) 2017-08-27 20:17:21 -06:00
Christophe Hurpeau
fbbc64fce2 update babel-runtime dependency in react-error-overlay and react-scripts (#2991)
* update babel-runtime dependency in react-error-overlay and react-scripts

`babel-runtime@6.23.0` have a dependency on `regenerator-runtime@0.10.5`
`babel-runtime@6.26.0` on `regenerator-runtime@0.11.0`

> npm ls regenerator-runtime

```
└─┬ react-scripts@1.0.11
  ├─┬ babel-core@6.25.0
  │ └─┬ babel-runtime@6.26.0
  │   └── regenerator-runtime@0.11.0
  ├─┬ babel-eslint@7.2.3
  │ └─┬ babel-traverse@6.26.0
  │   └─┬ babel-runtime@6.26.0
  │     └── regenerator-runtime@0.11.0
  ├─┬ babel-runtime@6.23.0
  │ └── regenerator-runtime@0.10.5
  └─┬ react-error-overlay@1.0.10
    └─┬ babel-runtime@6.23.0
      └── regenerator-runtime@0.10.5
```

* fix requested changes
2017-08-27 20:12:11 -06:00
Tharaka Wijebandara
ecd1f0544b Convert react-error-overlay to React (#2515)
* Convert react-error-overlay to React

* Update compile-time error overlay to use react-error-overlay components

 * Refactor react-error-overlay components to container and presentational components.

 * Make the compile-time error overlay a part of react-error-overlay package.

 * Use react-error-overlay as dependency in react-dev-utils to show compile-time errors.

* Run Prettier

* Move the function name fix into StackFrame itself

* Fix clicking on source code snippet to open the code in editor

* Use exact objects + minor style tweak

* Don't linkify frames that don't exist on the disk

* Fix lint

* Consolidate iframe rendering logic

* Remove circular dependency between react-dev-utils and react-error-overlay

* Fix lint

* Fix decoupling of react-dev-utils and react-error-overlay by moving middleware

* Deduplicate identical errors
2017-08-27 19:45:55 -06:00
Joe Haddad
3b9174821e Bump react-dev-utils 2017-08-27 17:17:29 -04:00
Dan Abramov
5c010e0335 Fix module function name in error overlay (#3012) 2017-08-26 17:35:25 -06:00
Ekaterina Prigara
5ea6de91c2 Docs: debugging in WebStorm (#2986)
* Debugging in WebStorm

* Fixed formatting for shortcuts

* Added note about default URL
2017-08-21 11:40:52 -04:00
Yann Pringault
e8a3e4b299 Fix docs for printFileSizesAfterBuild (#2942)
* Fix docs for `printFileSizesAfterBuild`

* Add optionals parameters for `printFileSizesAfterBuild`
2017-08-15 20:17:37 -04:00
Pier-Luc Gendreau
6efab2e12d Remove Modulus from user guide (#2948)
The service was rebranded to xervo.io and was completely shut down in April 2017
2017-08-14 11:51:38 +02:00
Joe Haddad
93029f8368 Remove superfluous lodash usage (#2938) 2017-08-10 16:18:13 -07:00
Thomas Bassetto
10c1f577da Update README.md (#2927)
Fixing a small typo.
2017-08-09 08:57:37 -04:00
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