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
Tharaka Wijebandara
51d0df4902
Rename Overlay to ErrorOvelay ( #3051 )
2017-09-01 17:59:37 -07:00
Dan Abramov
a51be9582a
Publish
...
- react-dev-utils@4.0.0
- react-error-overlay@2.0.0
- react-scripts@1.0.12
2017-08-27 19:26:52 -07:00
Dan Abramov
cc2e270d0e
Relax React dep requirements
2017-08-27 19:20:54 -07: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
Dan Abramov
5c010e0335
Fix module function name in error overlay ( #3012 )
2017-08-26 17:35:25 -06: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
2017-08-08 23:39:58 -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
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
2017-06-29 19:03:41 +01:00
Joe Haddad
82ed81a03c
Upgrade flow ( #2693 )
...
Resolves #2670
2017-06-29 13:39:24 -04: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
2017-06-28 17:30:24 +01:00
Dan Abramov
a171d93064
Reformat source code with Prettier 1.5.2
2017-06-28 16:23:16 +01:00
Dan Abramov
58d8c5c05c
Publish
...
- react-dev-utils@3.0.0
- react-error-overlay@1.0.7
- react-scripts@1.0.7
2017-05-27 12:42:54 +01:00
Dan Abramov
7a1873c0a7
Publish
...
- eslint-config-react-app@1.0.4
- react-dev-utils@2.0.1
- react-error-overlay@1.0.6
- react-scripts@1.0.6
2017-05-24 13:22:25 +01:00
Iain Beeston
0d2989ba6d
Resolve flow errors in eslint JSX a11y ( #2346 )
...
* Upgraded eslint-plugin-jsx-a11y to 5.0.3 to take advantage of
d70ac7d7975819e7a52b85465ec67a0d93eb962a
2017-05-24 11:01:31 +01:00
Dan Abramov
2558c3e32f
Publish
...
- eslint-config-react-app@1.0.3
- react-dev-utils@2.0.0
- react-error-overlay@1.0.5
- react-scripts@1.0.5
2017-05-22 17:09:28 +01:00
Dan Abramov
7e25c9a604
Publish
...
- react-error-overlay@1.0.4
- react-scripts@1.0.4
2017-05-22 12:43:47 +01:00
Dan Abramov
d649b8a0de
Publish
...
- eslint-config-react-app@1.0.2
- react-dev-utils@1.0.3
- react-error-overlay@1.0.3
- react-scripts@1.0.3
2017-05-21 20:56:22 +01:00
Broda Noel
7348ca9bd1
Wrap console calls into a check ( #2301 )
...
* Wrap console calls into a check
* Add another check
2017-05-21 20:42:28 +01:00
Dan Abramov
ae0cb23dc9
Publish
...
- react-dev-utils@1.0.2
- react-error-overlay@1.0.2
- react-scripts@1.0.2
2017-05-20 19:20:46 +01:00
Dan Abramov
d76c1b78eb
Wrap console calls into a check ( #2290 )
2017-05-20 19:06:48 +01:00
Dan Abramov
f3ff3f2473
Add missing license headers
2017-05-20 18:59:22 +01:00
Dan Abramov
cd5c6d5717
Publish
...
- eslint-config-react-app@1.0.1
- react-dev-utils@1.0.1
- react-error-overlay@1.0.1
- react-scripts@1.0.1
2017-05-19 20:22:12 +01:00
Joe Haddad
70a7f28e2b
Add explicit package dependence ( #2243 )
...
Closes #2232
2017-05-19 08:19:04 -04:00
Nayef Ghattas
499adbe7ea
Fix shortcut handling in react-error-overlay ( #2238 )
2017-05-19 08:04:09 -04:00
Dan Abramov
6c8b18b0cd
Improve interaction between compile and runtime overlays ( #2219 )
2017-05-18 23:07:56 +01:00
Dan Abramov
55afd862c8
Move error overlay middleware ( #2216 )
2017-05-18 21:01:26 +01:00
Dan Abramov
07c75aa5fd
Replace text-align: start with left to fix Edge ( #2215 )
2017-05-18 19:04:43 +01:00
Brian Vaughn
02968ecdb2
Cleaned up next/prev error arrow styles; arrows wrap around when clicked now ( #2210 )
2017-05-18 13:33:18 +01:00
Dan Abramov
0d0536f9d7
Fix vertical alignment of close button
2017-05-18 13:06:28 +01:00
Brian Vaughn
0681e24531
Tweaked error overlay styles (pt2) ( #2208 )
...
* Fixed several of the issues and nits from PR:
* Moved margin between header and file name to header, so when content was scrolled, the header would remain more separate
* Made build-time and runtime overlays better match
* Secondary error <pre> style now uses yellow bg instead of red
* 'Scrollable Header' (see above comment to why this is necessary) but I did increase the max-height from 35% to 50%.
* Fixed header and 'X' button vertical alignment
* Temporary stack margin fix
* Move "N errors" to the top
2017-05-18 12:25:43 +01:00
Brian Vaughn
68f95d4133
Tweaking error overlay styles ( #2201 )
...
* Tweaked overlay styles
* Tweaked pre-style
* Clicked to background overlay dismiss
* Tidied up styles tobe more mobile Safari friendly
* Re-enabled pre-wrap
* Margin fixes
* Base font-size 10 -> 11px
* Error overlay is full-screen now based on feedback
* Make "N errors on the page" visible again
* Fix bottom margin of frame location and lack of tab nav
* Add tooltip to close button
* Bring compile error styles closer to runtime overlay
* s/when/if/
2017-05-18 00:48:33 +01:00
Dan Abramov
66792dde64
Fix Flow hopefully
2017-05-16 15:40:50 +01:00
Dan Abramov
58689133a1
Bump versions
2017-05-16 09:49:04 +01:00
Dan Abramov
db2f2ed9d9
Jest 20 ( #2171 )
2017-05-16 03:37:55 +01:00
Dan Abramov
0ffed85e6c
Bump dependencies ( #2170 )
...
* Bump dependencies
* Bump CSS deps
* Somehow I missed dotenv
* Bump ESLint deps
* Tweak ESLint rules
2017-05-16 02:59:32 +01:00
Dan Abramov
9f8a00126a
Try again
2017-05-16 01:26:04 +01:00
Dan Abramov
1832b76ffb
Try to fix CI
2017-05-16 01:04:10 +01:00
Almero Steyn
7bff7154d9
ESLint Config: Upgrade eslint-plugin-jsx-a11y and activate more rules. ( #2163 )
...
* ESLint Config: Upgrade eslint-plugin-jsx-a11y and activate more rules.
* Try to fix Lerna
* Update README.md
* Remove html-has-lang
* Update README.md
2017-05-15 23:25:40 +01:00
Dan Abramov
fcb7dcf1da
Put console.stack() behind a react vendor prefix ( #2164 )
...
Matches what we did in https://github.com/facebook/react/pull/9679
2017-05-15 21:03:18 +01:00
Dan Abramov
9e733b57f8
Internal Webpack paths should not be clickable
2017-05-15 16:50:40 +01:00
Joe Haddad
9b228176f0
[Internal] Warn for missing brackets ( #2151 )
...
* Warn for missing braces
* Overlay, too
2017-05-14 20:59:20 -04:00
Dan Abramov
8b451c38fa
Don't collapse unintentional top-level errors ( #2145 )
...
* Don't collapse unintentional top-level errors
* Linkify internal stack frames too
2017-05-14 15:21:42 +01:00
Dan Abramov
ac7777d52d
Work around weird inferred name in Chrome
2017-05-14 12:35:18 +01:00
Dan Abramov
4434467a43
Click to view source from error overlay ( #2141 )
...
* Click to view source
* Update package.json
* Update package.json
* Fix lint
2017-05-14 12:17:05 +01:00
Dan Abramov
b25c13394f
Skip React frames that are too close ( #2143 )
2017-05-14 12:14:22 +01:00
Joe Haddad
76d2d848c6
Improve unmapper file heuristic, add limited warning support, and ignore internal errors ( #2128 )
...
* Browser sort is not stable
* Fix ordering of final message
* Register the warning capture
* Display only createElement warnings
* Use different method name
* Fix regression
* Ignore errors with only node_module files
* Ignore null files, too
* Revise count
* Revise warning
* Update overlay.js
* Add support for https://github.com/facebook/react/pull/9679
* Use absolute paths
* Trim path if it's absolute
* Make sure it's an absolute path
* Oops
* Tweak for new behavior
* Make it safer
* More resilient warnings
* Prettier output
* Fix flow
2017-05-13 14:39:32 +01:00
Dan Abramov
2b596547c8
Fix a bad condition
...
https://github.com/facebookincubator/create-react-app/pull/2123#discussion_r116062043
2017-05-11 19:07:40 +01:00
Dan Abramov
3521eb7c8b
Make error box messages friendlier ( #2123 )
2017-05-11 15:37:48 +01:00