Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[openapi3] Add missing peer dependency "openapi-types" (#5274)
Fixes warnings (or potentially errors) when installing `@typespec/openapi3`: ``` $ npx yarn add @typespec/openapi3@0.62.0 yarn add v1.22.22 info No lockfile found. [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... warning " > @typespec/openapi3@0.62.0" has unmet peer dependency "@typespec/compiler@~0.62.0". warning " > @typespec/openapi3@0.62.0" has unmet peer dependency "@typespec/http@~0.62.0". warning " > @typespec/openapi3@0.62.0" has unmet peer dependency "@typespec/versioning@~0.62.0". warning " > @typespec/openapi3@0.62.0" has unmet peer dependency "@typespec/openapi@~0.62.0". warning "@typespec/openapi3 > @readme/openapi-parser@2.6.0" has unmet peer dependency "openapi-types@>=7". ``` The first 4 warnings are expected, but the peer dependency on `openapi-types` should either be satisfied by `@typespec/openapi3` itself, or be declared as a peer dependency of `@typespec/openapi3` itself.
- Loading branch information