Skip to content

[FEATURE] Normalize repository using hosted-git-info #83

Open
@sonicdoe

Description

@sonicdoe

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"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions