-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Cannot develop my extension against latest #1961
Comments
@alexandrudima fyi |
I would expect the validation to not kick in when "*" is specified. |
@jrieken An extension that uses the I don't know how you could signal to the download tool to get you the |
It already is a command: https://github.com/Microsoft/vscode-extension-vscode/blob/master/bin/install and it could accept a version argument to override. It would be nicer though if you could override a value from package.json through the command line and just specify "*" as engine for VSCode. |
@alexandrudima another idea would be to allow "*" as engine but only in combination with "private: true" to disable validation. This then should be something our publish tool reads and understands to prevent from publishing it to the store. |
I personally would prefer to keep things simple:
Perhaps we should do the following:
The two above points are good practice IMHO. Then:
|
Yes, +1 for updating our version in package.json as soon as we release. We currently have I think it is a fair fallback for the vscode.d.ts script to check if the version specified matches with master and then also picking master if that is the case. |
+1 our master package.json should already be
|
I have pushed a fix for the vscode.d.ts module to support picking up our version on master and I pushed 0.10.7 as version to master. I am not sure we need the "pre"-tag because we are not publishing VSCode to NPM and in fact we are using 0.10.7 as if it was already released (just nightlies). I am fine with either pre or not pre and both should work now. @jrieken if you set your engine to 0.10.7 things should work and the vscode.d.ts picked up from master. |
works! |
With the latest changes from #970 I can have
vscode: *
as engine and retrieve the latest vscode.d.ts to prepare my extension for the future. Tho when having it configured like that VS Code will not load my extension because the engine specifier isn't specific enough. We should agree and what we want here.The text was updated successfully, but these errors were encountered: