-
Notifications
You must be signed in to change notification settings - Fork 205
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 for scoped naming, e.g., @myscope/package-name? #186
Comments
There is no upcoming support for scopes. We don't store extensions in NPM, but in the VS Marketplace. |
I find it a bit confusing the vscode extensions use the If vscode extensions are meant to be published only to the vscode markeplace, they could have their own manifest for publishing to that marketplace, with a different name, e.g. This way it would not conflict with |
microsoft/vscode-vsce#186 also: fixed package script to fail on error
* fix: vscode extension name cannot be scoped microsoft/vscode-vsce#186 also: fixed package script to fail on error
vscode-private-extension-manager suport store extensions in NPM |
+1 for scoped extension packages. If trying to use a private extension registry scoped naming is preferable. |
Hey folks, I know this ticket is eons old at this point, but I wanted to reopen the discussion around allowing a valid Context: My company has been ramping up an internal extension marketplace, and we need to ensure our engineers don't accidentally publish their extensions to the public marketplace, as they're only intended for internal, company-specific consumption. As a result, we've gain permissions to a number of Netflix-specific NPM scopes, just in case somebody does, accidentally, publish something to the public marketplace (NPM, in, particular). We use an internal NPM registry as our publishing location, hence the desire to allow for How might we best renew the discussion about this? Without an official solution from Microsoft, we're likely to start hacking around the VSCode and |
@benduran i'm not fully clear on what you're asking but check out joelspadin-garmin/vscode-private-extension-manager#16 (comment) |
Thanks for sharing that extension! It came up during my research phase last
year, but it didn’t fully serve the needs we have here. We’ve created our
own, internal, “extension-of-extensions” that taps into our internal NPM
registry, and provides a number of additional IDE enrichment features.
Ultimately, having the vsce CLI support a @my-scope/ package prefix would
be a convenience when compiling the extension. Otherwise, I’ve found a
workaround that performs okay, which involves dropping the scope when using
vsce, then re-adding it before we publish to our internal NPM registry.
- Benjamin
…On Mon, Mar 4, 2024 at 9:53 PM Matthew Strasiotto ***@***.***> wrote:
@benduran <https://github.com/benduran> does this work for you? joelspadin-garmin/vscode-private-extension-manager#16
(comment)
<joelspadin-garmin/vscode-private-extension-manager#16 (comment)>
—
Reply to this email directly, view it on GitHub
<#186 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABQYTH4KXHEYQHJP446N73DYWVMVNAVCNFSM4DRDJBYKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJXHAYDCNRWGE4Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I have an VS Code extension that I would like to scope to my org. In usual NPM, I would set
name: @myscope/package-name
in package.json.However, when I use that with vsce, it says
I think this is because of the regex check at https://github.com/Microsoft/vscode-vsce/blob/master/src/validation.ts#L3
Are there plans to support scoped names for extensions?
The text was updated successfully, but these errors were encountered: