-
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 @theia/monaco-editor-core (currently 0.20) to the latest Monaco (currently standalone/0.23.x) #8969
Comments
Previous upgrade for reference: #8010 |
Thank you @danarad05 for registering the issue. |
The main required steps for Monaco upgrade:
I described the required steps above, I'm going to add some items within the next upgrade if I missed something. Also it will be the first Monaco upgrade after removing |
Agree 👍 |
Assigned this to @danarad05. If someone else started looking into it, please let us know. |
@RomanNikitenko
|
Hello! |
@RomanNikitenko |
@danarad05 @akosyakov please take a look #8969 (comment) |
@kittaakos @marcdumais-work @vince-fugnitto Maybe someone knows who has the required permissions to publish a new version of The problem is: at the current step @danarad05 can not push the changes to https://github.com/theia-ide/vscode. Thanks in advance! |
@RomanNikitenko I have just given @danarad05 write access to that repo - just need to accept GH's invite, |
(and you too @RomanNikitenko, in case you need it) |
@RomanNikitenko You will need to fine someone else to review. I don't have time for Theia recently. |
@RomanNikitenko |
@danarad05
I meant that probably we have to update some dependencies on https://github.com/eclipse-theia/theia side. I think we don't need any other changes for The next step is publishing a new version of |
Not able to publish to npmjs. Please advise.
|
@danarad05 |
@RomanNikitenko |
Hi @danarad05 ,
I think so. Did someone provide you with an npm publish token for @Theia? If not you probably need one. |
I don't have AFAIK @danarad05 prepared the corresponding branch for the publishing. |
One option would be to add the publish token as a secure variable or whatever it's called and publish from a GitHub action. WDYT? |
BTW, would it make sense for that repo to be hosted at the Foundation? Similarly to https://github.com/eclipse-theia/vscode-builtin-extensions? |
Sounds good for me! @benoitf @azatsarynnyy |
you mean a GitHub secret? sounds good 👍 |
@eclipse-theia/ecd-theia-committers can anyone can help Dan? |
Dan, unfortunately I have no experience in the mentioned above problem - so - sorry - I can not provide any help/advise. |
If I understood correctly from today's Theia Dev meeting, @JonasHelming's team is going to look at the ES6 migration issue. |
Thank you @marcdumais-work @RomanNikitenko @azatsarynnyy. Unfortunately I couldn't attend this week's meeting. Also, I might have managed to compile For instance - compile completed successfully although TS file shows TS problem: Not sure yet if |
@marcdumais-work @RomanNikitenko @azatsarynnyy @offer8 Please check changes I've made to Seems to me as changes we could live with (?) - if all is working properly. If there are objections for this route - please let me know now. I will now test it in Theia and let you know |
@danarad05 rather than modifying the TS sources should you transpile the JS output from ES6 to ES5? This is what @akosyakov had done if I understand correctly: theia/dev-packages/application-manager/src/generator/webpack-generator.ts Lines 177 to 196 in 71f762c
|
@marechal-p |
I quoted a Theia configuration that is used to consume ES6. If Theia can consume ES6 that way maybe you don't need to change monaco's target from ES6 to ES5 then. Since we already transpile in Theia? |
In any case - even if we can refrain for the changes I've done, we still need to transpile to ES5 the library as it won't be transpiled by Theia (as long as Theia is configured for ES5). |
Hey All! Is there any update on this? We are hoping this will resolve #8752 so we may update the Go VS Code extension in our deployment. Is there anything we can do to assist? |
I hope that in a few days/week we'll have a complete solution which consists of 2 parts:
When #9154 will be completed we would need a lot of testing as this is a large refactoring. So your help with that would be appreciated. Thanks |
@danarad05 from the Red Hat side, we have a couple of people to help with testing and reviewing the contribution. |
@caseyflynn-google @westbury
PR #9154 is ready for review / testing - if you would like to join in the effort - you are welcome. Thanks |
Reopening....I have a follow-up refactoring we decided to do post-merge of the first PR. |
Followup refactoring now merged. |
Currently these feature are missing from Theia monaco-editor-core (obviously could be other features as well):
https://github.com/microsoft/vscode/blob/standalone/0.23.x/src/vs/base/common/uri.ts
https://github.com/microsoft/vscode/blob/standalone/0.20.x/src/vs/base/common/uri.ts
References:
Migration basic Guidelines - https://github.com/eclipse-theia/theia/wiki/LSP-and-Monaco-integration#migration-guidelines
#5412 (comment) - althought I think that is outdated as current repo is @theia/monaco-editor-core and not TypeFox/monaco-editor-core.
The text was updated successfully, but these errors were encountered: