Repository navigation
fix(deps): pin @typespec/openapi to 1.16.0 [NOTASK] - #1173
Merged
Merged
Conversation
There is no lockfile, so npm resolved the @typespec/openapi peer of @typespec/openapi3 to 1.17.0, which requires @typespec/compiler ^1.17.0 and conflicts with the pinned 1.16.0. installTypeSpec failed on every build. Pinning the peer to the same release as the rest of the toolchain restores the install. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every
build.ymlrun has failed at:installTypeSpecsince 2026-10-08.There is no
package-lock.json, so npm resolves the@typespec/openapipeer of@typespec/openapi3@1.16.0(^1.16.0) to the newest release.@typespec/openapi@1.17.0, published 2026-10-08, requires@typespec/compiler^1.17.0. That conflicts with the pinned1.16.0, and npm aborts withERESOLVE.This PR cherry-picks the fix from #1165 (756eb3c, by @cristianrcv), which pins
@typespec/openapito1.16.0, so master is unblocked without waiting for that feature PR.npm still prints a non-fatal
ERESOLVE overriding peer dependencywarning:@typespec/asset-emitter@0.79.3(transitive via openapi3) asks for compiler^1.17.0. A follow-up can move all@typespec/*packages to 1.17.0 and/or commit a lockfile withnpm ci.Verified locally: a clean
npm installandtsp compilesucceed.🤖 Generated with Claude Code