-
Notifications
You must be signed in to change notification settings - Fork 210
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
vsce@1.92.0 breaks my (admittedly weird) .vscodeignore configuration #576
Comments
me too .vscode/**
.vscode-test/**
src/**
.gitignore
**/tsconfig.json
**/*.map
**/*.ts
web/**
node_modules
!node_modules/prettier
!node_modules/@iceworks/code-generator
the |
same issue here, 1.88.0,
1.92.0,
|
Having adopted ignore, vsce now follows the exact rules of @Pustur, see in the .gitignore documentation:
That would mean for you:
@fyangstudio If you give me a pointer to your repo, I can try to figure out what adoption you need. @larshp Can you try this?
|
Thanks @joaomoreno your solution works perfectly for me. Feel free to close the issue or keep it open in case someone needs further assistance. |
yea, thanks, I'll figure it out 👍 |
My extension:https://github.com/appworks-lab/pack/tree/master/extensions/material-helper .vscodeignore:
Using webpack to build my project, for some reason we external the Unfortunately, it not working with vsce@1.92.x. |
@fyangstudio It's exactly the same suggestion as for the others, can you try this:
|
thx a lot |
By the way @joaomoreno why this break change not upgrade to 2.0.0 |
@fyangstudio It's a good point, we maybe should. I wasn't aware of the massive breakage. At the same time, the ignore rules weren't documented at all. Now they are actually defined to be 100% matching what |
Just commenting that it broke publishing of https://marketplace.visualstudio.com/items?itemName=denoland.vscode-deno. Suddenly getting reports that the extension is broken, and narrowed it down that v1.91.0 works but v1.92.0 and later breaks. Going to have to figure out what to change to make it work again. 😢 |
The Python scripts is missing due to this issue: microsoft/vscode-vsce#576. Fix #125.
@kitsonk Oh no, sorry about that. I see you have found the issue and pushed a fix meanwhile, good to know. |
Signed-off-by: Sora Morimoto <sora@morimoto.io>
vsce recently changed their interpretation of .vscodeignore [1]. This change causes node_modules/quick-lint-js-wasm/dist/quick-lint-js-vscode.wasm and other important files to be omitted from the .vsix package. Fix our .vscodeignore syntax to work with newer versions of vsce. [1] microsoft/vscode-vsce#576
quick-lint-js' .vsix packaging broke because of an upstream update to vsce [1][2]. Prevent such problems from happening in the future by requesting a specific version of vsce. For publishing, always using the latest version of vsce is probably a good idea, so leave the publishing instructions as-is. [1] #356 [2] microsoft/vscode-vsce#576
Fix not packaging the resource folder per microsoft/vscode-vsce#576
Thanks to a breaking change on vsce's side: microsoft/vscode-vsce#576.
Thanks to a breaking change on vsce's side: microsoft/vscode-vsce#576.
Closing this as people have started adopting the new syntax. Admittedly we should've bumped the major version. By now it feels we might be on the tail end of changes though. |
So as I understand it there's now no way to ignore everything by default and then whitelist files to include? |
In particular, the official LSP extension example surely no longer works?
|
Correct, just like gitignore.
I'll fix it accordingly. |
This reverts commit 2fa6672.
Related to [vsce@1.92.0 breaks .vscodeignore configuration · Issue #576 · microsoft/vscode-vsce](microsoft/vscode-vsce#576)
This reverts commit 2fa6672.
Signed-off-by: Sora Morimoto <sora@morimoto.io>
This reverts commit 2fa6672.
Signed-off-by: Sora Morimoto <sora@morimoto.io>
This reverts commit 2fa6672.
Thanks to a breaking change on vsce's side: microsoft/vscode-vsce#576.
Hello,
I maintain a vscode theme and with
vsce@1.92.0
I noticed that I couldn't runvsce package
anymore, it would throw the following error:After a bit of digging I noticed that the command
vsce ls
would not list all the needed files and would only outputHere's what it should output:
So I think something changed in how the
.vscodeignore
file is handled. Here's my ignore file, I think the "weird hack" I was using doesn't work anymore:Was working with
vsce@1.91.0
and below.Is there any better way to whitelist files that I need instead of blacklisting the files that I don't need?
Thanks in advance.
PS: repo where this happens: Pustur/rapture-vscode
The text was updated successfully, but these errors were encountered: