normalize-package-data icon indicating copy to clipboard operation
normalize-package-data copied to clipboard

[FEATURE] Normalize `repository` using hosted-git-info

Open sonicdoe opened this issue 7 years ago • 1 comments

Since #58 hosted-git-info is used to normalize dependencies. To be consistent, I suggest doing the same for the repository property.

This would mean that

"repository": "npm/normalize-package-data"

would be normalized to

"repository": "github:npm/normalize-package-data"

instead of

"repository": {
  "type": "git",
  "url": "git+https://github.com/npm/normalize-package-data.git"
}

sonicdoe avatar Mar 06 '17 13:03 sonicdoe

Are there any updates?

Wxh16144 avatar Apr 07 '23 11:04 Wxh16144