Consider committing transpiled code (the out
directory)
#80
Replies: 1 comment 3 replies
-
Hi, I'll give this some more thought/read through. Sounds like more of a MS problem though. I used to use that download feature too! Primarily, I think, so that I could get vim+jumpy running in Azure Data Studio. I intentionally don't commit any bin/compiled code (or at least last I checked, definitely don't intend to!). It all builds on the Azure. And the code for that is open and anyone can see the builds etc. (I think MS/VS Code should actually force/assist that kind of build env for extensions btw, but last I checked you could just upload a zip with basically anything in it). So basically you're saying...ideally that the releases downloads in gh should include a .vsix ....so if I could generate that AFTER the build and bundle it.... that would be ideal, since allegedly there's no way to grab that file from the vscode marketplace these days? I actually trigger the builds with a "release" ....I forget when that zip is actually generated but I assume it's frozen to the tag/gh sha that started it all..... Atom had a cooler way of doing pretty much all of this through the command line Are you good with build env's / azure? I'd def consider accepting a PR for this! Thanks for bringing it to my attention! |
Beta Was this translation helpful? Give feedback.
-
Hi,
Since Microsoft recently disabled the vs marketplace feature that allowed downloading .vsix files, installing extensions became more difficult for users in areas with very poor internet, or those working in offline environments. Using another, internet-connected copy of VS Code to download the files is often not an option for these users. Using a GitHub zip download as an installation package is still possible with a directory rename hack: just download the repo as a zip, rename the top level directory to
extension
, then re-zip it, rename to.vsix
and install.For this to work end to end however, the transpiled form of the extension should exist in the zip file. For these offline users however, having the build-time dependencies or even a build environment can be another significant hurdle. On that note, and to finally get to the point, in order to support this user group, please consider either a) committing the transpiled form of the extension code, or b) submitting
.vsix
files as artifacts on your releases.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions