-
Notifications
You must be signed in to change notification settings - Fork 212
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
Support the files
property in package.json
#867
Comments
Sounds good. I suggest the following:
|
The |
I'd like to take this up @joaomoreno. A minimal fix for this could be adding a Line 1567 in 6e959ca
i.e. if there exists a |
files
property in package.json
files
property in package.json
@benibenj, thank you! Could you please let us know when we might be able to start using this? |
@vanyauhalin We just released a new version which includes the change |
@vanyauhalin Have you adopted the |
as of `@vscode/[email protected]`, `vsce ls` supports the more minimal `files` allowlist in `package.json` in addition to the `.vscodeignore` file. this removes the need for a `.vscodeignore` file in the project root. (the `@vscode/vsce` package has also been updated to `^2.25.0`.) see: microsoft/vscode-vsce#867
Currently,
vsce ls
ignores myfiles
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, andfiles
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.The text was updated successfully, but these errors were encountered: