File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77jobs :
88 check :
99 name : Check build
10- runs-on : ubuntu-latest
10+ runs-on : self-hosted
1111
1212 steps :
1313 - name : Checkout
Original file line number Diff line number Diff line change 77jobs :
88 release :
99 name : Release
10- runs-on : ubuntu-latest
10+ runs-on : self-hosted
1111
1212 steps :
1313 - name : Checkout
Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ import { LanguagesRegistry as VScodeLanguagesRegistry } from 'vscode/vs/editor/c
4444import { WorkspaceFolder as MonacoWorkspaceFolder } from 'monaco-editor/esm/vs/platform/workspace/common/workspace.js'
4545import { WorkspaceFolder as VScodeWorkspaceFolder } from 'vscode/vs/platform/workspace/common/workspace.js'
4646// @ts -ignore Creating a d.ts is not worth it
47+ import { List as MonacoList } from 'monaco-editor/esm/vs/base/browser/ui/list/listWidget.js'
48+ import { List as VScodeList } from 'vscode/vs/base/browser/ui/list/listWidget.js'
49+ // @ts -ignore Creating a d.ts is not worth it
4750import { SnippetParser } from 'monaco-editor/esm/vs/editor/contrib/snippet/browser/snippetParser.js'
4851
4952// Monaco build process treeshaking is very aggressive and everything that is not used in monaco is removed
@@ -58,6 +61,7 @@ if (SnippetParser.prototype.text == null) {
5861 console . warn ( 'Useless polyfill: SnippetParser' )
5962}
6063
64+ Object . defineProperties ( MonacoList . prototype , Object . getOwnPropertyDescriptors ( VScodeList . prototype ) )
6165Object . defineProperties ( MonacoWorkspaceFolder . prototype , Object . getOwnPropertyDescriptors ( VScodeWorkspaceFolder . prototype ) )
6266Object . defineProperties ( MonacoLanguagesRegistry . prototype , Object . getOwnPropertyDescriptors ( VScodeLanguagesRegistry . prototype ) )
6367Object . defineProperties ( MonacoErrorHandler . prototype , Object . getOwnPropertyDescriptors ( VScodeErrorHandler . prototype ) )
You can’t perform that action at this time.
0 commit comments