-
Notifications
You must be signed in to change notification settings - Fork 29k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning An icon requires a repository with HTTPS protocol to be specified in this package.json.
on icon
in package.json
despite everything working correctly
#170049
Comments
I get the same warning despite my fields being defined as
Interestingly the icon shows up in the marketplace just fine. |
@joaomoreno I see the icon is served from the CDN now and we can remove the warning about the relative icon path. What about badges in the package.json and images in the README markdown, are these also served from CDN? |
Those are all served from the raw GitHub routes, this is why vsce needs to know what repository hosts the sources. |
But the icon isn't, not anymore at least... Our repo is private, the icon works just fine and is uploaded along with the vsix and hosted in some CDN. Images in the readme are indeed served directly so will require this check or an absolute URLs. |
Ah! This is just the workbench linter. I also forgot that we actually show the icons served directly from the MP, not GH. Sorry about the confusion, thanks for following up @segevfiner. @chrmarti This warning is unnecessary by now, let's remove it. |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
icon
in thepackage.json
in png format, and specify repository as"repository": {}
. (Our repository is private)An icon requires a repository with HTTPS protocol to be specified in this package.json.
, despite the icon showing correctly in the marketplace and the VS Code extension manager (We also have images in ourREADME.md
that we hosted externally. Our repository is private after all).Extension: https://marketplace.visualstudio.com/items?itemName=Swimm.swimm
The text was updated successfully, but these errors were encountered: