-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
upgrade NPM builtin version to 1.44.2 #8000
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution @elaihau!
I verified the changes and it works correctly:
- no
Task2
npm error logged - the
npm scripts
tree-view is correctly populated (using theia as workspace) - executing a script from the
npm scipts
tree-view works correctly
@elaihau Where do we use |
@akosyakov In this case, having
In my opinion, we have to add What do you think ? |
@elaihau I believe the issue is that we do not yet support codicons as defined in the microsoft/vscode@573fe9e#diff-45afd42bd496e3cf085556a5c1d1a632R57-R60 |
Thank you for information @vince-fugnitto ! |
@elaihau I don't think there's an issue upgrading the builtin in this repo, downstream projects can choose their own compatible versions. At least with the new |
How hard to add it? If it is hard there should be an issue at least that we are of the issue. Stubbing VS Code API does not mean that they are implemented and does not make Theia compatible, since whenever such APIs are used they don't make any effect. |
- The vs code built in extension `npm` does not work with Theia's plugin extension due to not being able to find the constructor of `Task2`. This pull request addes the missing constructor, and upgrades the version of `npm` in Theia. Signed-off-by: Liang Huang <[email protected]>
- In VS Code a `detail` property can be added to the contributed and configured tasks. The content of that `detail` property is displayed as part of the task quick open menu items. With changes in this commit, `detail` is added to the task config schema. Signed-off-by: Liang Huang <[email protected]>
@akosyakov I added one more commit to this pull request to support using |
@vince-fugnitto Could you retest it please? Please also while reviewing of VS Code compatibility make sure that such APIs are used. 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes work well for me with the latest changes 👍
I verified that:
npm scripts
is correctly populated- executing a script works correctly
- there are no longer errors
run task
continues to work as expected
upgrade NPM builtin version to 1.44.2
npm
does not work with Theia's pluginextension due to not being able to find the constructor of
Task2
. Thispull request addes the missing constructor, and upgrades the version of
npm
in Theia.added
detail
to the task config schemadetail
property can be added to the contributed and configured tasks. The content of thatdetail
property is displayed as part of the task quick open menu items. With changes in this commit,detail
is added to the task config schema.Signed-off-by: Liang Huang [email protected]
How to test
package.json
.Review checklist