teunmooij / payload-tools

Collection of payload plugins and tools: payload-openapi, payload-swagger, create-payload-api-docs, payload-rbac
https://github.com/teunmooij/payload-tools/#readme
MIT License
101 stars 11 forks source link

[Bug]: incorrect payload dependency #88

Open mat-twg opened 2 months ago

mat-twg commented 2 months ago

Package name

payload-openapi

What happened?

with fresh payloadcms install (2.0.0)

warning " > payload-swagger@1.4.0" has incorrect peer dependency "payload@^1.6.22".
warning "payload-swagger > payload-openapi@1.4.0" has incorrect peer dependency "payload@^1.6.22".

What did you expect

No response

Setps to reproduce

install fresh blank payloadcms and try add payload-swagger@latest

Tool version

1.4.0

Payload version

2.0.0

Node version

20.14

OscarCasadoLorenzo commented 1 month ago

I had the same error installing payload-swagger that internally uses payload-openapi image

Payload version: payload@2.28.0 Node version: v22.8.0 Tool version: 1.4.0