Skip to content
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 package is broken (again) #989

Closed
complyue opened this issue Jun 4, 2024 · 11 comments
Closed

vsce package is broken (again) #989

complyue opened this issue Jun 4, 2024 · 11 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@complyue
Copy link

complyue commented Jun 4, 2024

Regression of #929 ?

% vsce --version
2.26.1
% vsce package
 ERROR  Extension entrypoint(s) missing. Make sure these files exist and aren't ignored by '.vscodeignore':
  extension/out/extension.js

extension/out/extension.js there an apparent signature.

@benibenj benibenj added the info-needed Issue requires more information from poster label Jun 7, 2024
@benibenj
Copy link
Contributor

benibenj commented Jun 7, 2024

We have a newer version (2.27). Can you check if you still see this happen with that version?

@complyue
Copy link
Author

complyue commented Jun 8, 2024

@benibenj

Using https://github.com/koka-lang/koka/tree/dev/support/vscode/koka.language-koka

$ vsce -V
2.27.0
$ vsce package
 ERROR  Extension entrypoint(s) missing. Make sure these files exist and aren't ignored by '.vscodeignore':
  extension/out/extension.js
$ 

@joaomoreno
Copy link
Member

@complyue VSCE can't find extension/out/extension.js. Did you forget to compile the TypeScript sources? What does vsce ls return?

@complyue
Copy link
Author

Did you forget to compile the TypeScript sources? What does vsce ls return?

There does exist out/extension.js, vsce seems to insist on an extra extension/ prefix, which may due to workspace support (see #929), which may still be buggy on non-workspace cases so far.

@joaomoreno
Copy link
Member

What does vsce ls return?

@complyue
Copy link
Author

complyue commented Jun 17, 2024

% vsce -V
2.27.0
% vsce ls
images/codelens.png
images/impliciteq.png
images/inlayhints-off.png
images/inlayhints.png
images/koka-logo-filled-dark.svg
images/koka-logo-filled-light.svg
images/koka-logo-filled.png
images/koka-logo-filled.svg
package.json
README.md
syntaxes/koka.json
whatsnew.md

@joaomoreno
Copy link
Member

I don't see out/extension.js, are you sure it's in disk? What does tree return?

@complyue
Copy link
Author

% find . | grep -v node_modules
.
./LICENSE.md
./out
./out/debugger.js.map
./out/extension.js.map
./out/workspace.js
./out/code-lens.js
./out/lang-server.js
./out/code-lens.js.map
./out/debugger.js
./out/lang-server.js.map
./out/workspace.js.map
./out/extension.js
./images
./images/koka-logo-filled.svg
./images/impliciteq.png
./images/koka-logo-filled-light.svg
./images/codelens.png
./images/inlayhints.png
./images/koka-logo-filled.png
./images/koka-logo-filled-dark.svg
./images/inlayhints-off.png
./README.md
./koka-configuration.json
./whatsnew.md
./package-lock.json
./package.json
./tsconfig.json
./syntaxes
./syntaxes/koka.json
./language-koka-3.1.2.vsix
./src
./src/code-lens.ts
./src/lang-server.ts
./src/workspace.ts
./src/extension.ts
./src/debugger.ts

@joaomoreno
Copy link
Member

Are you sure you don't have a .vscodeignore file? How come src, out and other files like koka-configuration.json do not seem to be collected by vsce?

@complyue
Copy link
Author

complyue commented Jun 17, 2024

No this file, it's open source and you can verify if in doubt: https://github.com/koka-lang/koka/tree/dev/support/vscode/koka.language-koka


FYI, vsce 2.22.0 works okay, as reported in #929, but vsce ls with that version does show a different listing:

% vsce -V 
2.22.0
% vsce ls
images/codelens.png
images/impliciteq.png
images/inlayhints-off.png
images/inlayhints.png
images/koka-logo-filled-dark.svg
images/koka-logo-filled-light.svg
images/koka-logo-filled.png
images/koka-logo-filled.svg
koka-configuration.json
LICENSE.md
out/code-lens.js
out/code-lens.js.map
out/debugger.js
out/debugger.js.map
out/extension.js
out/extension.js.map
out/lang-server.js
out/lang-server.js.map
out/workspace.js
out/workspace.js.map
package.json
README.md
src/code-lens.ts
src/debugger.ts
src/extension.ts
src/lang-server.ts
src/workspace.ts
syntaxes/koka.json
tsconfig.json
whatsnew.md
node_modules/@vscode/debugadapter/lib/debugSession.d.ts
node_modules/@vscode/debugadapter/lib/debugSession.js
node_modules/@vscode/debugadapter/lib/handles.d.ts
node_modules/@vscode/debugadapter/lib/handles.js
node_modules/@vscode/debugadapter/lib/internalLogger.d.ts
node_modules/@vscode/debugadapter/lib/internalLogger.js
node_modules/@vscode/debugadapter/lib/logger.d.ts
node_modules/@vscode/debugadapter/lib/logger.js
node_modules/@vscode/debugadapter/lib/loggingDebugSession.d.ts
node_modules/@vscode/debugadapter/lib/loggingDebugSession.js
node_modules/@vscode/debugadapter/lib/main.d.ts
node_modules/@vscode/debugadapter/lib/main.js
node_modules/@vscode/debugadapter/lib/messages.d.ts
node_modules/@vscode/debugadapter/lib/messages.js
node_modules/@vscode/debugadapter/lib/protocol.d.ts
node_modules/@vscode/debugadapter/lib/protocol.js
node_modules/@vscode/debugadapter/lib/runDebugAdapter.d.ts
node_modules/@vscode/debugadapter/lib/runDebugAdapter.js
node_modules/@vscode/debugadapter/lib/tests/DebugAdapter.test.d.ts
node_modules/@vscode/debugadapter/lib/tests/DebugAdapter.test.js
node_modules/@vscode/debugadapter/lib/web/internalLoggerStub.d.ts
node_modules/@vscode/debugadapter/lib/web/internalLoggerStub.js
node_modules/@vscode/debugadapter/lib/web/runDebugAdapterStub.d.ts
node_modules/@vscode/debugadapter/lib/web/runDebugAdapterStub.js
node_modules/@vscode/debugadapter/License.txt
node_modules/@vscode/debugadapter/package.json
node_modules/@vscode/debugadapter/README.md
node_modules/@vscode/debugadapter/thirdpartynotices.txt
node_modules/@vscode/debugprotocol/lib/debugProtocol.d.ts
node_modules/@vscode/debugprotocol/lib/debugProtocol.js
node_modules/@vscode/debugprotocol/License.txt
node_modules/@vscode/debugprotocol/package.json
node_modules/@vscode/debugprotocol/README.md
node_modules/await-notify/index.js
node_modules/await-notify/package.json
node_modules/await-notify/README.md
node_modules/semver/bin/semver.js
node_modules/semver/classes/comparator.js
node_modules/semver/classes/index.js
node_modules/semver/classes/range.js
node_modules/semver/classes/semver.js
node_modules/semver/functions/clean.js
node_modules/semver/functions/cmp.js
node_modules/semver/functions/coerce.js
node_modules/semver/functions/compare-build.js
node_modules/semver/functions/compare-loose.js
node_modules/semver/functions/compare.js
node_modules/semver/functions/diff.js
node_modules/semver/functions/eq.js
node_modules/semver/functions/gt.js
node_modules/semver/functions/gte.js
node_modules/semver/functions/inc.js
node_modules/semver/functions/lt.js
node_modules/semver/functions/lte.js
node_modules/semver/functions/major.js
node_modules/semver/functions/minor.js
node_modules/semver/functions/neq.js
node_modules/semver/functions/parse.js
node_modules/semver/functions/patch.js
node_modules/semver/functions/prerelease.js
node_modules/semver/functions/rcompare.js
node_modules/semver/functions/rsort.js
node_modules/semver/functions/satisfies.js
node_modules/semver/functions/sort.js
node_modules/semver/functions/valid.js
node_modules/semver/index.js
node_modules/semver/internal/constants.js
node_modules/semver/internal/debug.js
node_modules/semver/internal/identifiers.js
node_modules/semver/internal/lrucache.js
node_modules/semver/internal/parse-options.js
node_modules/semver/internal/re.js
node_modules/semver/LICENSE
node_modules/semver/package.json
node_modules/semver/preload.js
node_modules/semver/range.bnf
node_modules/semver/ranges/gtr.js
node_modules/semver/ranges/intersects.js
node_modules/semver/ranges/ltr.js
node_modules/semver/ranges/max-satisfying.js
node_modules/semver/ranges/min-satisfying.js
node_modules/semver/ranges/min-version.js
node_modules/semver/ranges/outside.js
node_modules/semver/ranges/simplify.js
node_modules/semver/ranges/subset.js
node_modules/semver/ranges/to-comparators.js
node_modules/semver/ranges/valid.js
node_modules/semver/README.md
node_modules/vscode-languageclient/browser.d.ts
node_modules/vscode-languageclient/browser.js
node_modules/vscode-languageclient/lib/browser/main.d.ts
node_modules/vscode-languageclient/lib/browser/main.js
node_modules/vscode-languageclient/lib/common/api.d.ts
node_modules/vscode-languageclient/lib/common/api.js
node_modules/vscode-languageclient/lib/common/callHierarchy.d.ts
node_modules/vscode-languageclient/lib/common/callHierarchy.js
node_modules/vscode-languageclient/lib/common/client.d.ts
node_modules/vscode-languageclient/lib/common/client.js
node_modules/vscode-languageclient/lib/common/codeAction.d.ts
node_modules/vscode-languageclient/lib/common/codeAction.js
node_modules/vscode-languageclient/lib/common/codeConverter.d.ts
node_modules/vscode-languageclient/lib/common/codeConverter.js
node_modules/vscode-languageclient/lib/common/codeLens.d.ts
node_modules/vscode-languageclient/lib/common/codeLens.js
node_modules/vscode-languageclient/lib/common/colorProvider.d.ts
node_modules/vscode-languageclient/lib/common/colorProvider.js
node_modules/vscode-languageclient/lib/common/completion.d.ts
node_modules/vscode-languageclient/lib/common/completion.js
node_modules/vscode-languageclient/lib/common/configuration.d.ts
node_modules/vscode-languageclient/lib/common/configuration.js
node_modules/vscode-languageclient/lib/common/declaration.d.ts
node_modules/vscode-languageclient/lib/common/declaration.js
node_modules/vscode-languageclient/lib/common/definition.d.ts
node_modules/vscode-languageclient/lib/common/definition.js
node_modules/vscode-languageclient/lib/common/diagnostic.d.ts
node_modules/vscode-languageclient/lib/common/diagnostic.js
node_modules/vscode-languageclient/lib/common/documentHighlight.d.ts
node_modules/vscode-languageclient/lib/common/documentHighlight.js
node_modules/vscode-languageclient/lib/common/documentLink.d.ts
node_modules/vscode-languageclient/lib/common/documentLink.js
node_modules/vscode-languageclient/lib/common/documentSymbol.d.ts
node_modules/vscode-languageclient/lib/common/documentSymbol.js
node_modules/vscode-languageclient/lib/common/executeCommand.d.ts
node_modules/vscode-languageclient/lib/common/executeCommand.js
node_modules/vscode-languageclient/lib/common/features.d.ts
node_modules/vscode-languageclient/lib/common/features.js
node_modules/vscode-languageclient/lib/common/fileOperations.d.ts
node_modules/vscode-languageclient/lib/common/fileOperations.js
node_modules/vscode-languageclient/lib/common/fileSystemWatcher.d.ts
node_modules/vscode-languageclient/lib/common/fileSystemWatcher.js
node_modules/vscode-languageclient/lib/common/foldingRange.d.ts
node_modules/vscode-languageclient/lib/common/foldingRange.js
node_modules/vscode-languageclient/lib/common/formatting.d.ts
node_modules/vscode-languageclient/lib/common/formatting.js
node_modules/vscode-languageclient/lib/common/hover.d.ts
node_modules/vscode-languageclient/lib/common/hover.js
node_modules/vscode-languageclient/lib/common/implementation.d.ts
node_modules/vscode-languageclient/lib/common/implementation.js
node_modules/vscode-languageclient/lib/common/inlayHint.d.ts
node_modules/vscode-languageclient/lib/common/inlayHint.js
node_modules/vscode-languageclient/lib/common/inlineValue.d.ts
node_modules/vscode-languageclient/lib/common/inlineValue.js
node_modules/vscode-languageclient/lib/common/linkedEditingRange.d.ts
node_modules/vscode-languageclient/lib/common/linkedEditingRange.js
node_modules/vscode-languageclient/lib/common/notebook.d.ts
node_modules/vscode-languageclient/lib/common/notebook.js
node_modules/vscode-languageclient/lib/common/progress.d.ts
node_modules/vscode-languageclient/lib/common/progress.js
node_modules/vscode-languageclient/lib/common/progressPart.d.ts
node_modules/vscode-languageclient/lib/common/progressPart.js
node_modules/vscode-languageclient/lib/common/protocolCallHierarchyItem.d.ts
node_modules/vscode-languageclient/lib/common/protocolCallHierarchyItem.js
node_modules/vscode-languageclient/lib/common/protocolCodeAction.d.ts
node_modules/vscode-languageclient/lib/common/protocolCodeAction.js
node_modules/vscode-languageclient/lib/common/protocolCodeLens.d.ts
node_modules/vscode-languageclient/lib/common/protocolCodeLens.js
node_modules/vscode-languageclient/lib/common/protocolCompletionItem.d.ts
node_modules/vscode-languageclient/lib/common/protocolCompletionItem.js
node_modules/vscode-languageclient/lib/common/protocolConverter.d.ts
node_modules/vscode-languageclient/lib/common/protocolConverter.js
node_modules/vscode-languageclient/lib/common/protocolDiagnostic.d.ts
node_modules/vscode-languageclient/lib/common/protocolDiagnostic.js
node_modules/vscode-languageclient/lib/common/protocolDocumentLink.d.ts
node_modules/vscode-languageclient/lib/common/protocolDocumentLink.js
node_modules/vscode-languageclient/lib/common/protocolInlayHint.d.ts
node_modules/vscode-languageclient/lib/common/protocolInlayHint.js
node_modules/vscode-languageclient/lib/common/protocolTypeHierarchyItem.d.ts
node_modules/vscode-languageclient/lib/common/protocolTypeHierarchyItem.js
node_modules/vscode-languageclient/lib/common/protocolWorkspaceSymbol.d.ts
node_modules/vscode-languageclient/lib/common/protocolWorkspaceSymbol.js
node_modules/vscode-languageclient/lib/common/reference.d.ts
node_modules/vscode-languageclient/lib/common/reference.js
node_modules/vscode-languageclient/lib/common/rename.d.ts
node_modules/vscode-languageclient/lib/common/rename.js
node_modules/vscode-languageclient/lib/common/selectionRange.d.ts
node_modules/vscode-languageclient/lib/common/selectionRange.js
node_modules/vscode-languageclient/lib/common/semanticTokens.d.ts
node_modules/vscode-languageclient/lib/common/semanticTokens.js
node_modules/vscode-languageclient/lib/common/signatureHelp.d.ts
node_modules/vscode-languageclient/lib/common/signatureHelp.js
node_modules/vscode-languageclient/lib/common/textSynchronization.d.ts
node_modules/vscode-languageclient/lib/common/textSynchronization.js
node_modules/vscode-languageclient/lib/common/typeDefinition.d.ts
node_modules/vscode-languageclient/lib/common/typeDefinition.js
node_modules/vscode-languageclient/lib/common/typeHierarchy.d.ts
node_modules/vscode-languageclient/lib/common/typeHierarchy.js
node_modules/vscode-languageclient/lib/common/utils/async.d.ts
node_modules/vscode-languageclient/lib/common/utils/async.js
node_modules/vscode-languageclient/lib/common/utils/is.d.ts
node_modules/vscode-languageclient/lib/common/utils/is.js
node_modules/vscode-languageclient/lib/common/utils/uuid.d.ts
node_modules/vscode-languageclient/lib/common/utils/uuid.js
node_modules/vscode-languageclient/lib/common/workspaceFolder.d.ts
node_modules/vscode-languageclient/lib/common/workspaceFolder.js
node_modules/vscode-languageclient/lib/common/workspaceSymbol.d.ts
node_modules/vscode-languageclient/lib/common/workspaceSymbol.js
node_modules/vscode-languageclient/lib/node/main.d.ts
node_modules/vscode-languageclient/lib/node/main.js
node_modules/vscode-languageclient/lib/node/processes.d.ts
node_modules/vscode-languageclient/lib/node/processes.js
node_modules/vscode-languageclient/lib/node/terminateProcess.sh
node_modules/vscode-languageclient/License.txt
node_modules/vscode-languageclient/node.cmd
node_modules/vscode-languageclient/node.d.ts
node_modules/vscode-languageclient/node.js
node_modules/vscode-languageclient/package.json
node_modules/vscode-languageclient/README.md
node_modules/vscode-languageclient/node_modules/minimatch/lib/path.js
node_modules/vscode-languageclient/node_modules/minimatch/LICENSE
node_modules/vscode-languageclient/node_modules/minimatch/minimatch.js
node_modules/vscode-languageclient/node_modules/minimatch/package.json
node_modules/vscode-languageclient/node_modules/minimatch/README.md
node_modules/vscode-languageserver-protocol/browser.d.ts
node_modules/vscode-languageserver-protocol/browser.js
node_modules/vscode-languageserver-protocol/lib/browser/main.d.ts
node_modules/vscode-languageserver-protocol/lib/browser/main.js
node_modules/vscode-languageserver-protocol/lib/common/api.d.ts
node_modules/vscode-languageserver-protocol/lib/common/api.js
node_modules/vscode-languageserver-protocol/lib/common/connection.d.ts
node_modules/vscode-languageserver-protocol/lib/common/connection.js
node_modules/vscode-languageserver-protocol/lib/common/messages.d.ts
node_modules/vscode-languageserver-protocol/lib/common/messages.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.$.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.$.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.callHierarchy.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.colorProvider.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.configuration.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.declaration.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.diagnostic.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.fileOperations.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.foldingRange.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.implementation.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.inlayHint.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.inlineValue.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.linkedEditingRange.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.moniker.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.notebook.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.progress.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.selectionRange.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.semanticTokens.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.showDocument.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.typeDefinition.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.typeHierarchy.js
node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.d.ts
node_modules/vscode-languageserver-protocol/lib/common/protocol.workspaceFolder.js
node_modules/vscode-languageserver-protocol/lib/common/utils/is.d.ts
node_modules/vscode-languageserver-protocol/lib/common/utils/is.js
node_modules/vscode-languageserver-protocol/lib/node/main.d.ts
node_modules/vscode-languageserver-protocol/lib/node/main.js
node_modules/vscode-languageserver-protocol/License.txt
node_modules/vscode-languageserver-protocol/metaModel.schema.json
node_modules/vscode-languageserver-protocol/node.cmd
node_modules/vscode-languageserver-protocol/node.d.ts
node_modules/vscode-languageserver-protocol/node.js
node_modules/vscode-languageserver-protocol/package.json
node_modules/vscode-languageserver-protocol/README.md
node_modules/vscode-languageserver-protocol/thirdpartynotices.txt
node_modules/vscode-languageclient/node_modules/brace-expansion/.github/FUNDING.yml
node_modules/vscode-languageclient/node_modules/brace-expansion/index.js
node_modules/vscode-languageclient/node_modules/brace-expansion/LICENSE
node_modules/vscode-languageclient/node_modules/brace-expansion/package.json
node_modules/vscode-languageclient/node_modules/brace-expansion/README.md
node_modules/vscode-jsonrpc/browser.d.ts
node_modules/vscode-jsonrpc/browser.js
node_modules/vscode-jsonrpc/lib/browser/main.d.ts
node_modules/vscode-jsonrpc/lib/browser/main.js
node_modules/vscode-jsonrpc/lib/browser/ril.d.ts
node_modules/vscode-jsonrpc/lib/browser/ril.js
node_modules/vscode-jsonrpc/lib/common/api.d.ts
node_modules/vscode-jsonrpc/lib/common/api.js
node_modules/vscode-jsonrpc/lib/common/cancellation.d.ts
node_modules/vscode-jsonrpc/lib/common/cancellation.js
node_modules/vscode-jsonrpc/lib/common/connection.d.ts
node_modules/vscode-jsonrpc/lib/common/connection.js
node_modules/vscode-jsonrpc/lib/common/disposable.d.ts
node_modules/vscode-jsonrpc/lib/common/disposable.js
node_modules/vscode-jsonrpc/lib/common/encoding.d.ts
node_modules/vscode-jsonrpc/lib/common/encoding.js
node_modules/vscode-jsonrpc/lib/common/events.d.ts
node_modules/vscode-jsonrpc/lib/common/events.js
node_modules/vscode-jsonrpc/lib/common/is.d.ts
node_modules/vscode-jsonrpc/lib/common/is.js
node_modules/vscode-jsonrpc/lib/common/linkedMap.d.ts
node_modules/vscode-jsonrpc/lib/common/linkedMap.js
node_modules/vscode-jsonrpc/lib/common/messageBuffer.d.ts
node_modules/vscode-jsonrpc/lib/common/messageBuffer.js
node_modules/vscode-jsonrpc/lib/common/messageReader.d.ts
node_modules/vscode-jsonrpc/lib/common/messageReader.js
node_modules/vscode-jsonrpc/lib/common/messages.d.ts
node_modules/vscode-jsonrpc/lib/common/messages.js
node_modules/vscode-jsonrpc/lib/common/messageWriter.d.ts
node_modules/vscode-jsonrpc/lib/common/messageWriter.js
node_modules/vscode-jsonrpc/lib/common/ral.d.ts
node_modules/vscode-jsonrpc/lib/common/ral.js
node_modules/vscode-jsonrpc/lib/common/semaphore.d.ts
node_modules/vscode-jsonrpc/lib/common/semaphore.js
node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.d.ts
node_modules/vscode-jsonrpc/lib/common/sharedArrayCancellation.js
node_modules/vscode-jsonrpc/lib/node/main.d.ts
node_modules/vscode-jsonrpc/lib/node/main.js
node_modules/vscode-jsonrpc/lib/node/ril.d.ts
node_modules/vscode-jsonrpc/lib/node/ril.js
node_modules/vscode-jsonrpc/License.txt
node_modules/vscode-jsonrpc/node.cmd
node_modules/vscode-jsonrpc/node.d.ts
node_modules/vscode-jsonrpc/node.js
node_modules/vscode-jsonrpc/package.json
node_modules/vscode-jsonrpc/README.md
node_modules/vscode-jsonrpc/thirdpartynotices.txt
node_modules/vscode-jsonrpc/typings/thenable.d.ts
node_modules/vscode-languageserver-types/lib/esm/main.d.ts
node_modules/vscode-languageserver-types/lib/esm/main.js
node_modules/vscode-languageserver-types/lib/umd/main.d.ts
node_modules/vscode-languageserver-types/lib/umd/main.js
node_modules/vscode-languageserver-types/License.txt
node_modules/vscode-languageserver-types/package.json
node_modules/vscode-languageserver-types/README.md
node_modules/vscode-languageserver-types/thirdpartynotices.txt
node_modules/balanced-match/.github/FUNDING.yml
node_modules/balanced-match/index.js
node_modules/balanced-match/LICENSE.md
node_modules/balanced-match/package.json
node_modules/balanced-match/README.md
 INFO  
The latest version of @vscode/vsce is 2.27.0 and you have 2.22.0.
Update it now: npm install -g @vscode/vsce

@benibenj
Copy link
Contributor

benibenj commented Jun 17, 2024

I have identified the issue you're experiencing. The root cause is the use of the files property in the package.json file. We introduced support for this property in version 2.25.0, which is why updating vsce has caused problems, sorry about that. The files property acts as an inclusion list for all files and directories that should be packaged. Consequently, files in the image folder are listed with vsce ls because you included "images/" in the files list. However, files in the out folder are not included since they are not specified in the files list.

To resolve this issue, you can either:

  • Add all the folders/files you want to package to the files property in your package.json, or
  • Remove the files property from package.json and instead use a .vscodeignore file to list the files/folders that should not be packaged.

We are working on improving the visibility of which files are being packaged and why, to prevent such issues in the future. You can track our progress on this improvement here: Issue #995.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants