Not sure if this would be possible here, but similar libraries (ng-monaco-editor, ngx-monaco-editor) use monaco-editor as a peer dependency to allow independently updating the monaco-editor package. This makes sense as it seems monaco-editor package rarely (if ever) releases breaking changes that will break a wrapper package like this.
Not sure if this would be possible here, but similar libraries (ng-monaco-editor, ngx-monaco-editor) use
monaco-editor
as a peer dependency to allow independently updating themonaco-editor
package. This makes sense as it seemsmonaco-editor
package rarely (if ever) releases breaking changes that will break a wrapper package like this.