Skip to content

fix(install): support JFrog registry metadata JSON format#1249

Merged
fengmk2 merged 1 commit intomainfrom
support-jfrog-registry-meta-format
Apr 1, 2026
Merged

fix(install): support JFrog registry metadata JSON format#1249
fengmk2 merged 1 commit intomainfrom
support-jfrog-registry-meta-format

Conversation

@fengmk2
Copy link
Copy Markdown
Member

@fengmk2 fengmk2 commented Apr 1, 2026

JFrog npm registries return package metadata with spaces around colons
(e.g. "version" : "0.1.12") which caused version extraction to fail.
Relax grep patterns to allow optional spaces and add ConvertFrom-Json
fallback in install.ps1 for registries returning non-JSON content types.
Also include the metadata URL in error messages for easier debugging.

Closes #962

JFrog npm registries return package metadata with spaces around colons
(e.g. `"version" : "0.1.12"`) which caused version extraction to fail.
Relax grep patterns to allow optional spaces and add ConvertFrom-Json
fallback in install.ps1 for registries returning non-JSON content types.
Also include the metadata URL in error messages for easier debugging.

Closes #962
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 1, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit 591f968
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/69cc7a7154ec5d000808a81f

Copy link
Copy Markdown
Member Author

fengmk2 commented Apr 1, 2026


How to use the Graphite Merge Queue

Add the label auto-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@fengmk2 fengmk2 marked this pull request as ready for review April 1, 2026 01:53
@fengmk2 fengmk2 requested review from branchseer and cpojer April 1, 2026 01:53
@fengmk2 fengmk2 merged commit 9322199 into main Apr 1, 2026
43 checks passed
@fengmk2 fengmk2 deleted the support-jfrog-registry-meta-format branch April 1, 2026 02: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.

Install failure with no error cause

2 participants