Skip to content

Repository shorthand #489

@cbarrick

Description

@cbarrick

With npm, package.json supports a shorthand for GitHub, GitLab, BitBucket, etc.

https://docs.npmjs.com/files/package.json#repository

However, vsce spits out a warning when one of these shorthands is used:

$ cat package.json | grep repository
    "repository": "github:foo/bar",

$ vsce package
 ERROR  Couldn't detect the repository where this extension is published. The link './LICENSE' will be broken in README.md. Please provide the repository URL in package.json or use the --baseContentUrl and --baseImagesUrl options.

It would be nice if vsce would support these shorthands.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunities

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions