Commit Graph

54 Commits

Author SHA1 Message Date
Chad Greenburg
32eebfeb7f Bumped jest version to 22.4.1 (#4362)
* Updated jest version.
2018-04-27 08:04:21 +02:00
Andreas Cederström
0fe6fea6e4 bump babel 7 to beta 46 2018-04-27 07:53:56 +02:00
Andreas Cederström
06176e1ea4 bump babel 7 beta (#4253) 2018-04-05 07:28:30 +02:00
Ian Sutherland
8a34b7cc77 Add ESLint check for incorrect propTypes usage (#3840) (#4048) 2018-03-25 16:17:41 -06:00
Brian Ng
cb3f835586 Bump babel-related deps (#4159)
* Add explicit dep on plugin-proposal-object-rest-spread to babel-preset-react-app

* Bump babel-related deps to beta.42

* Pass useBuiltIns directly to react-preset
2018-03-18 14:22:56 -06:00
Michaël De Boey
3767d91886 Fix package repository name (#3900) 2018-01-23 00:25:03 +00:00
Michaël De Boey
25184c4e91 Fix links to package (#3898) 2018-01-22 22:16:22 +00:00
Joe Haddad
9754a23170 Bump deps 2018-01-18 00:04:38 -05:00
Dan Abramov
406ab6c3c0 Bump Babel 2018-01-17 20:44:59 +00:00
Dan Abramov
72c3d4ebb5 Try to fix CI (#3806)
* Try to fix CI

* Bump Jest elsewhere

* Bump Babel elsewhere

* Fix CI on Windows by writing .cmd file back
2018-01-16 18:24:14 +00:00
Dan Abramov
ea46cf4f36 Bump dependencies (#3785)
* Bump dependencies

* Use a more sensible way to compile error overlay

* Keep old chalk for global CLI
2018-01-15 00:08:47 -05:00
Dan Abramov
bf02edbef2 Bump eslint-plugin-jsx-a11y version (#2690)
* Bump eslint-plugin-jsx-a11y

* Update index.js

* Update index.js

* Update package.json

* Don't use links for non-linky things
2018-01-15 00:07:58 -05:00
Clement Hoang
1552949a3b Switch to Babel 7 (#3522)
* Update dependencies in react-scripts

* Add first pass of working dependencies for babel-preset-react-app and react-scripts

* Bump more dependency versions

* Adjust more versions and edit fix options

* Restore functionality of old preset

* Disable Uglify in iframe webpack

* Apply prettier

* Re-enable cache in dev and clean deps

* Lock packages and move babel/core to dep in preset

* Bump babel-jest

* Re-enable uglify

* Nest forceAllTransforms correctly in webpack config

* Install babel-core bridge for jest

* Add jest-cli and babel-core bridge to make tests in react-error-overlay pass

* Re-enable transform-dynamic-import

* Add dynamic import syntax support back

* Use new babel in kitchensink

* Transform modules in test

* Revert "Transform modules in test"

This reverts commit 539e46a1d77259898b7e70d778a5e43fc25edc2a.

* Attempt fix for ejected tests

* try this

* Add regenerator back

* Bump babel deps to beta.34

* Remove bad files

* Use default when requiring babel transform plugin

* Bump deps

* Try the fix?

* Oopsie

* Remove some weird things

* Run Babel on react-error-overlay tests

* Try fixing kitchensink

* Use new API for codeFrame

* Add missing (?) babelrc

* Maybe this helps?

* Maybe fix mocha

* I shouldn't have deleted this 🤦
2018-01-15 00:07:57 -05:00
Dan Abramov
590df7eead Bump Jest to 22.0.6 (#3751) 2018-01-15 00:06:25 -05:00
aisensiy
776d2d6036 Update jest to 22 and support watchPathIgnorePatterns configuration (#3124)
* update jest to 21.0.2 to support watchPathIgnorePatterns configuration

* update jest to 21.1.0

* Try bumping Jest

* Bump babel-jest

* Try to debug weird CI failure

* Remove debug code

* Bump other Jest packages

* ffs

* temp

* Revert "temp"

This reverts commit 62aec9ac1ae70a995a89548feb7ac7870e5324c0.
2018-01-15 00:06:24 -05:00
Dan
e73a783ef1 Publish
- babel-preset-react-app@3.1.1
 - create-react-app@1.5.0
 - eslint-config-react-app@2.1.0
 - react-dev-utils@5.0.0
 - react-error-overlay@4.0.0
 - react-scripts@1.1.0
2018-01-15 00:53:37 +00:00
Dan Abramov
0aeffe62ef Switch to Yarn Workspaces (#3755)
* Switch to Yarn Workspaces

* Feedback

* Move flowconfig

* Use publish script

* Keep git status check

* Fix Flow without perf penalty

* Remove Flow from package.json "test"

* Try running it from script directly (?)

* Try magic incantations

* lol flow COME ON

* Try to skip Flow on AppVeyor

* -df

* -df

* -df

* Try to fix CI

* Revert unrelated changes

* Update CONTRIBUTING.md
2018-01-12 01:54:53 +00:00
Dan Abramov
3f7851deab Try updating Flow (#3757) 2018-01-12 00:01:30 +00:00
Dan Abramov
5e7b9675aa Publish
- babel-preset-react-app@3.1.0
 - react-dev-utils@4.2.0
 - react-error-overlay@3.0.0
 - react-scripts@1.0.15
2017-10-31 09:04:34 +00:00
Dan Abramov
d98b7565b4 Bump dependencies (#3342)
* Bump dependencies

* Downgrade source-map back to 0.5.x

Not sure what changed there but our bundle snapshot doesn't match with minor changes.
I couldn't figure out how to update it, and also whether we need to tweak getPrettyURL in response.
2017-10-28 21:34:47 +01:00
Joe Haddad
991b092c89 Use production React version for bundled overlay (#3267)
* Use production React version

* We cannot strip our own checks if production

* Keep the sourcemap during minify

* Prevent devtools pollution

* Add some comments

* sigh
2017-10-11 18:16:38 -04:00
Joe Haddad
360fa27cf2 react-error-overlay has no dependencies now (#3263)
* `react-error-overlay` has no dependencies now (it's bundled)

* Use babel 6 for now
2017-10-11 10:07:56 -04:00
Tharaka Wijebandara
cd3d04b71e Make error overlay to run in the context of the iframe (#3142)
* 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
2017-10-03 21:45:15 +05:30
Joe Haddad
b2c0b3f74b Publish
- babel-preset-react-app@3.0.3
 - create-react-app@1.4.1
 - eslint-config-react-app@2.0.1
 - react-dev-utils@4.1.0
 - react-error-overlay@2.0.2
 - react-scripts@1.0.14
2017-09-26 20:19:49 -04:00
Sophie Alpert
2e82ebb337 BSD+Patents -> MIT (#3189)
* File headers BSD+Patents -> MIT

* BSD+Patents -> MIT
2017-09-26 10:30:05 +01:00
Luca
eed708a822 Updated react-error-overlay to latest Flow (0.54.0) (#3065)
* 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.
2017-09-11 17:20:50 +01:00
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
Dan Abramov
c22dc70926 Publish
- react-dev-utils@4.0.1
 - react-error-overlay@2.0.1
 - react-scripts@1.0.13
2017-09-02 13:58:21 -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
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
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
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
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
Dan Abramov
55afd862c8 Move error overlay middleware (#2216) 2017-05-18 21:01:26 +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