Skip to content

package json get name for packages - js#12368

Merged
scbedd merged 16 commits intoAzure:mainfrom
l0lawrence:changelogfixjs
Oct 14, 2025
Merged

package json get name for packages - js#12368
scbedd merged 16 commits intoAzure:mainfrom
l0lawrence:changelogfixjs

Conversation

@l0lawrence
Copy link
Copy Markdown
Member

No description provided.

@l0lawrence l0lawrence changed the title package json get name package json get name for packages - js Oct 7, 2025
@github-actions github-actions bot added the azsdk-cli Issues related to Azure/azure-sdk-tools::tools/azsdk-cli label Oct 7, 2025
@l0lawrence l0lawrence marked this pull request as ready for review October 7, 2025 20:50
@l0lawrence l0lawrence requested a review from a team as a code owner October 7, 2025 20:50
Copilot AI review requested due to automatic review settings October 7, 2025 20:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR modifies the GetSDKPackagePath method to read the package name from package.json for JavaScript packages instead of relying solely on directory names.

  • Adds JSON parsing capability to extract package names from package.json files
  • Implements fallback behavior to use directory names when JSON parsing fails or for non-JavaScript packages
  • Includes error handling with logging for failed JSON parsing attempts

@l0lawrence l0lawrence enabled auto-merge (squash) October 8, 2025 16:48
@l0lawrence l0lawrence disabled auto-merge October 8, 2025 16:48
Copy link
Copy Markdown
Member

@richardpark-msft richardpark-msft left a comment

Choose a reason for hiding this comment

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

Thank you for fixing my broken code :)

Copy link
Copy Markdown
Member

@scbedd scbedd left a comment

Choose a reason for hiding this comment

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

Move changelog update to unreleased 0.5.2 version instead of older 0.5.1.

l0lawrence and others added 7 commits October 14, 2025 10:21
Co-authored-by: Richard Park <51494936+richardpark-msft@users.noreply.github.com>
@scbedd scbedd merged commit 734df71 into Azure:main Oct 14, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

azsdk-cli Issues related to Azure/azure-sdk-tools::tools/azsdk-cli

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants