Skip to content

update peer dependencies for openapi3 emitter #6666

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .chronus/changes/peerDep-2025-2-25-12-32-51.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: internal
packages:
- "@typespec/openapi3"
---

Add all dev dependencies starting with @typespec into peer dependencies.
8 changes: 7 additions & 1 deletion packages/openapi3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@
"@typespec/http": "workspace:^",
"@typespec/json-schema": "workspace:^",
"@typespec/openapi": "workspace:^",
"@typespec/versioning": "workspace:^"
"@typespec/versioning": "workspace:^",
"@typespec/rest": "workspace:^",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you explain more why rest is expected it is not a dependency? it is not used in any of openapi3 code.

"@typespec/tspd": "workspace:^",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tspd is a dev depedency that's not even published

"@typespec/xml": "workspace:^"
},
"peerDependenciesMeta": {
"@typespec/json-schema": {
Expand All @@ -80,6 +83,9 @@
},
"@typespec/versioning": {
"optional": true
},
"@typespec/tspd": {
"optional": true
}
},
"devDependencies": {
Expand Down
Loading