You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, vsce ls ignores my files allowlist, which means the only way to configure which files are published is with the .vscodeignore denylist. Allowlists are safer and more maintainable than denylists, and files is the standard in the ecosystem. #12 is an older version of this feature request, and includes 15 upvotes for the workaround, which no longer works.
Reacted by Loren ☺️, Laura Whitaker, Abdul Al-Hasany, K7, Bryan Silverthorn, Lars Reimann, Saurav Maheshkar, SENKEN, Adrián Montesinos González and Ivan Uhalin
Activity
joaomoreno commentedon Jun 12, 2023
Sounds good. I suggest the following:
.vscodeignorefile exists, thefilesproperty can be respected..vscodeignoreis always respected.JacksonTian commentedon Nov 10, 2023
The
.vscodeignoreis blocklist, thefilesis allowlist.[-]Respect the `files` property in `package.json`[/-][+]Support the `files` property in `package.json`[/+]vanyauhalin commentedon Apr 10, 2024
Benjamin Christopher Simmonds (@benibenj), thank you! Could you please let us know when we might be able to start using this?
benibenj commentedon Apr 12, 2024
Ivan Uhalin (@vanyauhalin) We just released a new version which includes the change
benibenj commentedon Apr 22, 2024
Ivan Uhalin (@vanyauhalin) Have you adopted the
filesproperty already? If so, can you confirm it works as intended?vanyauhalin commentedon May 1, 2024
Benjamin Christopher Simmonds (@benibenj) Apologize for the delayed response. Works perfectly. Thank you.
refactor: use `"files"` instead of .vscodeignore