Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

Update dependencies and bump React version#139

Merged
mareklibra merged 1 commit intokubevirt:masterfrom
vojtechszocs:update-deps
Dec 7, 2018
Merged

Update dependencies and bump React version#139
mareklibra merged 1 commit intokubevirt:masterfrom
vojtechszocs:update-deps

Conversation

@vojtechszocs
Copy link
Contributor

This is a follow-up to issue #136.

react and react-dom peer dependencies have their versions loosened from 16.3.x to 16.x. This aligns with Console UI currently depending on react-dom@16.x.

react and react-dom version locks bumped to 16.6.3. This aligns with Console UI currently depending on react@16.6.3.

Following dependencies are now treated as regular dependencies:

  • @patternfly/react-console
  • js-yaml
  • lodash
  • react-dnd
  • react-dnd-html5-backend
  • reactabular-dnd

Everything in devDependencies is now truly needed for build/development only (except for entries that must match peerDependencies).

@mareklibra @rawagner Console UI package.json already contains react-dnd and react-dnd-html5-backend. It seems that we could treat these as peer dependencies from kubevirt-web-ui-components perspective - what do you think?

@mareklibra
Copy link
Contributor

@vojtechszocs , I agree with these changes.
There might be a conflict with the patternfly/react-consoles when consuming by web-ui due to hacks I needed to do to keep the changes to OKD core at bare minimum. But let's resolve it once they arise.

@mareklibra mareklibra merged commit 4cca2f3 into kubevirt:master Dec 7, 2018
@coveralls
Copy link

coveralls commented Dec 8, 2018

Pull Request Test Coverage Report for Build 486

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 86.153%

Totals Coverage Status
Change from base Build 484: 0.0%
Covered Lines: 1222
Relevant Lines: 1353

💛 - Coveralls

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments