deps: bump typespec packages to 0.68.x / 1.12.x#5399
Conversation
AROSLSRE-949
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: raelga The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Pull request overview
Updates /api TypeSpec-related dependencies to the 0.68.x / 1.12.x releases, along with the corresponding package-lock.json refresh.
Changes:
- Bump
@azure-tools/typespec-*packages to0.68.xand@typespec/*packages to1.12.x/0.82.xinapi/package.json. - Regenerate
api/package-lock.jsonto reflect the updated dependency graph.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| api/package.json | Updates TypeSpec dependency versions used for API compilation/emission. |
| api/package-lock.json | Updates resolved TypeSpec packages and transitive dependencies to match the new versions. |
Files not reviewed (1)
- api/package-lock.json: Language not supported
Comments suppressed due to low confidence (2)
api/package.json:17
- The updated TypeSpec dependencies now require Node >=22 (see package-lock entries like @azure-tools/typespec-autorest), but this package still declares an engine of ">=20.12.0". This will mislead contributors and can break installs/runs on Node 20; please bump api/package.json "engines.node" to >=22 (and ensure CI/dev tooling uses Node 22).
"engines": {
"node": ">=20.12.0"
},
api/package-lock.json:28
- package-lock.json still records the root package engine as Node ">=20.12.0", but the newly resolved TypeSpec packages in this lockfile declare engines of ">=22.0.0". Please update the root "packages[""].engines.node" (and keep it consistent with api/package.json) so consumers don’t try to install/run this lockfile on unsupported Node versions.
| "node_modules/@azure-tools/typespec-autorest": { | ||
| "version": "0.67.0", | ||
| "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.67.0.tgz", | ||
| "integrity": "sha512-RP0TZB46tnYGfN5FKaaXDP5/rDff0PEERKz4epoYsm4RmXeRDYXVcOjw7DXLbcgFpMLTLBf/w/5dqJZBx03KpQ==", | ||
| "version": "0.68.0", | ||
| "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.68.0.tgz", | ||
| "integrity": "sha512-ywcB68x0jOuplKg1u9ZpjOamHbIEEgAaMuXTP72cvWXE7q1eGLCN1DQx1Uk5ME8VLJKAX6cMOMHK4hcmg9tvuw==", | ||
| "license": "MIT", | ||
| "engines": { | ||
| "node": ">=20.0.0" | ||
| "node": ">=22.0.0" | ||
| }, |
|
@raelga: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
AROSLSRE-949
What
Bump typespec packages from 0.67.x / 1.11.x to 0.68.x / 1.12.x in
/api.Packages updated:
@azure-tools/typespec-autorest:0.67.0->0.68.0@azure-tools/typespec-azure-core:0.67.1->0.68.0@azure-tools/typespec-azure-resource-manager:0.67.1->0.68.0@azure-tools/typespec-azure-rulesets:0.67.0->0.68.0@azure-tools/typespec-client-generator-core:0.67.4->0.68.1@typespec/http:1.11.0->1.12.0@typespec/openapi:1.11.0->1.12.0@typespec/openapi3:1.11.0->1.12.0@typespec/rest:0.81.0->0.82.0@typespec/versioning:0.81.0->0.82.0@typespec/compiler:1.11.0->1.12.0Why
Dependency update.
Testing
npm install --package-lock-onlypassesCloses #5301