cefn / lauf

Monorepo for lauf packages.
MIT License
5 stars 0 forks source link

Peer Dependencies Issue #184

Open cefn opened 1 year ago

cefn commented 1 year ago

Deal with stray peer dependencies

A recent upgrade produced the following one-off output from just one of the modules. This should be investigated...

node_modules/.pnpm/styled-components@5.3.5_react-dom@18.2.0+react@18.2.0/node_modules/styled-components: Running postinstall script, done in 408ms
 WARN  Issues with peer dependencies found
.
├─┬ eslint-config-standard-with-typescript
│ ├── ✕ missing peer eslint-plugin-n@^15.0.0
│ └─┬ eslint-config-standard
│   └── ✕ missing peer eslint-plugin-n@^15.0.0
├─┬ jest
│ └─┬ jest-cli
│   └─┬ jest-config
│     └── ✕ missing peer @types/node@"*"
├─┬ ts-node
│ └── ✕ missing peer @types/node@"*"
└─┬ @testing-library/react-hooks
  ├── ✕ unmet peer @types/react@"^16.9.0 || ^17.0.0": found 18.0.21
  ├── ✕ unmet peer react@"^16.9.0 || ^17.0.0": found 18.2.0
  └── ✕ unmet peer react-dom@"^16.9.0 || ^17.0.0": found 18.2.0
Peer dependencies that should be installed:
  @types/node@"*"                     eslint-plugin-n@">=15.0.0 <16.0.0"  

apps/counter
└─┬ react-scripts
  └─┬ eslint-config-react-app
    └─┬ eslint-plugin-flowtype
      ├── ✕ missing peer @babel/plugin-syntax-flow@^7.14.5
      └── ✕ missing peer @babel/plugin-transform-react-jsx@^7.14.9
Peer dependencies that should be installed:
  @babel/plugin-syntax-flow@^7.14.5          @babel/plugin-transform-react-jsx@^7.14.9  

apps/nextjs-snake
├─┬ styled-components
│ └── ✕ missing peer react-is@">= 16.8.0"
└─┬ eslint-config-standard-typescript
  └─┬ @typescript-eslint/eslint-plugin
    └── ✕ unmet peer @typescript-eslint/parser@^4.0.0: found 5.38.0
Peer dependencies that should be installed:
  react-is@">= 16.8.0"  

apps/noredux-async
└─┬ react-scripts
  └─┬ eslint-config-react-app
    └─┬ eslint-plugin-flowtype
      ├── ✕ missing peer @babel/plugin-syntax-flow@^7.14.5
      └── ✕ missing peer @babel/plugin-transform-react-jsx@^7.14.9
Peer dependencies that should be installed:
  @babel/plugin-syntax-flow@^7.14.5          @babel/plugin-transform-react-jsx@^7.14.9  

modules/store-react
└─┬ @testing-library/user-event
  └── ✕ missing peer @testing-library/dom@>=7.21.4
Peer dependencies that should be installed:
  @testing-library/dom@>=7.21.4