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

Publish extension API package to npm #670

Open
wss29 opened this issue Aug 8, 2024 · 1 comment
Open

Publish extension API package to npm #670

wss29 opened this issue Aug 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@wss29
Copy link

wss29 commented Aug 8, 2024

Note: we mostly implement features in the clangd language server, and rely on Microsoft's LSP client framework to expose these in VSCode. Features requiring a lot of VSCode-specific work are unlikely to be implemented.
It is necessary to publish the extension API to npm and yarn for third-party extension use, this can avoid Error: command 'clangd.applyFix' already exists
details discussed is here

@wss29 wss29 added the enhancement New feature or request label Aug 8, 2024
@HighCommander4 HighCommander4 changed the title publishing of extension API to npm and yarn Publish extension API package to npm Aug 8, 2024
@HighCommander4
Copy link
Contributor

Thanks for filing. To provide some context, in #575 we added code for a new npm package in this repository called @clangd/vscode-clangd, to host the type definition files for the extension API added in that PR.

This package should be published to the npm registry, but I don't think I have the permissions to do that. I think the people who do have such permissions might be @sam-mccall and @kadircet.

As for yarn, I'm not quite sure how that works. I do see that @clangd/install shows up at https://yarnpkg.com/package?q=clangd&name=%40clangd%2Finstall; I suspect this may happen automatically (it's mirrored from npm)? If that's not the case and it requires a separate account and publishing process, then that's best discussed in a separate issue after this one is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants