Skip to content

Update Node.js packages to latest versions#3180

Merged
weidongxu-microsoft merged 4 commits into
mainfrom
copilot/fix-3179
Aug 11, 2025
Merged

Update Node.js packages to latest versions#3180
weidongxu-microsoft merged 4 commits into
mainfrom
copilot/fix-3179

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Aug 11, 2025

This PR updates Node.js packages to their latest versions following the established workflow for dependency management in the autorest.java repository.

Changes Made

Package Updates:

  • @types/node: ~24.2.0 → ~24.2.1 (typespec-extension)
  • eslint: ~9.32.0 → ~9.33.0 (typespec-extension)
  • @azure-tools/azure-http-specs: 0.1.0-alpha.25 → 0.1.0-alpha.26 (typespec-tests)

Core Infrastructure:

  • Updated the core submodule (microsoft/typespec.git) to the latest main branch
  • Regenerated package-lock.json in typespec-extension
  • Synchronized test files with the latest TypeSpec changes

Process Followed

The update followed the team's documented workflow:

  1. Updated the core TypeSpec submodule to fetch latest upstream changes
  2. Used npm-check-updates (ncu) to identify and apply package updates
  3. Verified peerDependencies and overrides remain properly aligned
  4. Ran npm install to update lockfiles
  5. Executed SyncTests.ps1 to regenerate test files based on the updated core

Test Impact

The core submodule update included hierarchy building client refactoring, which resulted in:

  • Renamed client classes (HierarchyBuildingClient → AnimalOperationsClient)
  • Added new operation-specific clients (DogOperations, PetOperations)
  • Updated implementation and test files accordingly

All builds and linting pass successfully with the updated dependencies.

Fixes #3179.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI and others added 3 commits August 11, 2025 06:19
Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com>
Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com>
Co-authored-by: weidongxu-microsoft <53292327+weidongxu-microsoft@users.noreply.github.com>
Copilot AI changed the title [WIP] update node.js packages to latest Update Node.js packages to latest versions Aug 11, 2025
@weidongxu-microsoft weidongxu-microsoft marked this pull request as ready for review August 11, 2025 06:48
@weidongxu-microsoft
Copy link
Copy Markdown
Member

/check-enforcer evaluate

@weidongxu-microsoft weidongxu-microsoft merged commit d7538e8 into main Aug 11, 2025
5 checks passed
@weidongxu-microsoft weidongxu-microsoft deleted the copilot/fix-3179 branch August 11, 2025 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update node.js packages to latest

3 participants