* Make error overlay to run in the context of the iframe
* Configure webpack to build the entire package
* Remove inline raw-loader config
* Configure watch mode for error-overlay webpack build
* Add polyfills to the error-overlay iframe script
* Add header comment
* Configure to fail CI on error or warning
* Suppress flow-type error on importing iframe-bundle
* Change webpack to a dev dependency and pin some versions
* Disable webpack cache
* Update license headers to MIT
* Allow the dev server to watch for changes in src/node_modules
* fix eslint error
* fix broken regex
* handle trailing slash edge case for file paths
Closes#2760Fixes#3223
* Resolved issue #2971
- changed h2 to h1 in template to adhere to accessibility guidelines.
- Added h1 styles to maintain same font size.
* Added header tag to template
Corrected templete to use semantically correct header tag for header instead of div
* Added className for App-title
- Added className="App-title" to h1 tag
- Changed CSS selector to target class instead of element
* Updated react-error-overlay to latest Flow (0.54.0)
* Revert "Updated react-error-overlay to latest Flow (0.54.0)"
This reverts commit 6deaffbdb0b2e7c72a7f4053a299f28db174383b.
* Fixed unit tests.
* Updated code as per code review.
* Fixed code as per code review.
* Updated the code as per review.
* Auto-detect running editor on Linux for error overlay
Basic support of auto detecting running editor for #2636.
Tested on Ubuntu 16.04.
It detects few editors. JetBrains products should start by
wrapper like /usr/local/bin/webstorm. Otherwise it takes a
lot of time to open editor.
* Comments fixed.
* List all processes owned by you
* Comment rewording
* 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
* 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
* 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
* 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