bit
bit copied to clipboard
dependencies issues
Few different categories of deps issues:
exact version of @testing-library/react
We need to make sure it is set with ^12.1.5
these two components are deprecated, so maybe it's time to replace them?
- added teambit.base-react/navigation/router-context 95 new version(s) available, latest 1.80.9, currently used version 1.80.9 deprecated
- added teambit.base-react/navigation/use-location 95 new version(s) available, latest 1.80.9, currently used version 1.80.9 deprecated
I also see that component-card is using a very old version of navigation.link (the new version is no longer dependent on the deprecated components, so maybe we can just upgrade it.
@teambit/defender.content.formatter-overview
│ └─┬ @teambit/components.blocks.component-card-display
│ ├─┬ @teambit/explorer.plugins.preview-plugin
│ │ └── ✕ unmet peer @testing-library/[email protected]: found 12.1.5
│ └─┬ @teambit/explorer.ui.component-card-grid
│ └─┬ @teambit/explorer.ui.component-card
│ └─┬ @teambit/base-react.navigation.link
│ ├── ✕ unmet peer @testing-library/[email protected]: found 12.1.5
│ ├─┬ @teambit/base-react.navigation.router-context
│ │ └── ✕ unmet peer @testing-library/[email protected]: found 12.1.5
│ └─┬ @teambit/base-react.navigation.use-location
│ └── ✕ unmet peer @testing-library/[email protected]: found 12.1.5
types/react as peer instead of dev dep
need to re-tag all of these components when the @types/react is dev dep
@teambit/explorer.ui.command-bar
│ └── ✕ unmet peer @types/[email protected]: found 17.0.8
├─┬ @teambit/react.ui.component-highlighter
│ ├── ✕ unmet peer @types/[email protected]: found 17.0.8
│ ├── ✕ unmet peer @types/[email protected]: found 17.0.17
│ ├─┬ @teambit/react.modules.dom-to-react
│ │ └── ✕ unmet peer @types/[email protected]: found 17.0.8
│ └─┬ @teambit/react.ui.hover-selector
│ └── ✕ unmet peer @types/[email protected]: found 17.0.8
External deps that uses old react version
we need to update:
-
react-tooltip -
react-use-dimensions -
react-flow-renderer
@teambit/design.ui.avatar
│ └─┬ react-tooltip
│ ├── ✕ unmet peer react-dom@>=^16.0.0: found 17.0.2
│ └── ✕ unmet peer react@>=^16.0.0: found 17.0.2
├─┬ @teambit/documenter.ui.property-table
│ └─┬ react-use-dimensions
│ ├── ✕ unmet peer react@^16.8.x: found 17.0.2
│ ├── ✕ unmet peer @types/react@^16.8.20: found 17.0.8
│ └── ✕ unmet peer typescript@^3.5.2: found 4.4.2
├─┬ react-flow-renderer
│ └─┬ easy-peasy
│ └── ✕ unmet peer react@^16.8.0: found 17.0.2