-
Notifications
You must be signed in to change notification settings - Fork 31
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
Check already patched before checking version #208
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.
LGTM
@kaisalmen By doing so, updating monaco-vscode-api without updading monaco-editor will no longer throw an error, isn't that an issue? |
The |
We don't use peerDependencies anymore but I got your point! Most users ignore those errors though and we introduced the version check to prevent this |
Bold idea: Maybe, this clearer. There is no ideal solution, but it would move the problem to become just a configuration issue |
I really don't know what's best... depending on @codingame/monaco-editor-treemended will probably duplicate monaco-editor if the user uses another library which has monaco-editor as dependency and produce weird behaviors |
@CGNonofr what about a check a runtime that directly logs at a very early point an info or an error if a tree-mended monaco-editor or not is used. This should be fairly easy to add, right? |
I'm not sure, how would you implement it? |
Augment |
Why not, it may help! feel free to implement it 👍 |
Ok, but it won't happen today |
No description provided.