Commit graph

110 commits

Author SHA1 Message Date
Matt Bierner f71bd27ec9
Adding type annotations 2022-02-28 14:32:12 -08:00
Alex Dima bd369c638e
Add check that the editor's ESM JS files can be loaded in a browser 2022-01-25 15:19:30 +01:00
Alex Dima 3860b772e4
Revert "Simplify external .d.ts"
This reverts commit 65b10df98f.

See https://www.typescriptlang.org/docs/handbook/modules.html#export--and-import--require
2021-10-08 16:58:02 +02:00
Alex Dima 65b10df98f
Simplify external .d.ts 2021-10-08 08:51:26 +02:00
Alex Dima 96353e2bcf
Fix typo 2021-09-28 14:14:06 +02:00
Alex Dima 8d3ce8d7f5
Fix the transformation to an external module .d.ts 2021-09-21 17:20:30 +02:00
João Moreno 980becda8d main rename
fixes #116341
2021-02-14 20:10:24 +01:00
Alexandru Dima c1eb24b027
Load expensive node modules lazily 2020-12-22 19:55:56 +01:00
Martin Aeschlimann 542a82754c yarn watch: save errors in separate files, make error regex multiline aware 2020-11-20 14:06:42 +01:00
Alex Dima dd6bd3ae6a
Reduce the number of folders where we use TS 2020-09-24 17:39:48 +02:00
ChaseKnowlden e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Alex Dima 4578463f90
Do not tree shake interfaces or classes that extend or inherit from symbols defined in the default library 2020-05-08 14:41:03 +02:00
Martin Aeschlimann ec02bcd1cc codicon definitions in browser/ui/codicon/codicon 2020-04-17 13:39:54 +02:00
Matt Bierner 273a4a389d
Convert most ts-ignore-calls to ts-expect-error (#93617)
Changes over to use ts-expect-error: https://devblogs.microsoft.com/typescript/announcing-typescript-3-9-beta/#ts-expect-error-comments

This revealed a number of places where we no longer need to supress errors
2020-03-30 17:31:37 -07:00
Alex Dima ee64b77af9
Reduce noise in diff and use files with the same absolute imports when troubleshooting treeshaking 2020-03-05 10:25:06 +01:00
Alex Dima 58bdc8aecb
Improve troubleshooting treeshaking failures 2020-03-05 10:25:06 +01:00
Johannes Rieken 02f23e5680 remove polyfill promise 2020-03-02 15:30:43 +01:00
Johannes Rieken 27bc032975 nuke special lib options and use compiler option's lib instead 2020-03-02 13:44:22 +01:00
Johannes Rieken 8fac4133c5 adopt inline compile config for editor src task 2020-03-02 12:51:32 +01:00
Alex Dima 4d92b1d1f8
Fix minor issues 2020-02-22 16:02:23 +01:00
Alex Dima 4f21fd58a8
Move gulp specific code to gulpfile.editor.js 2020-02-22 15:01:58 +01:00
Alex Dima f81397f451
Merge remote-tracking branch 'origin/master' into monaco/ci 2020-02-22 00:45:38 +01:00
Alex Dima 65fee79198
Add types for MonacoEnvironment (microsoft/monaco-editor#1795) 2020-02-04 18:39:04 +01:00
Alexandru Dima b4a79d682a
Add getters for computed editor options (Fixes microsoft/monaco-editor#1734) 2020-01-14 16:31:16 +01:00
Alexandru Dima f3f7bc580a
Fixes microsoft/monaco-editor#1729: Fix running the build on Windows (files with \r\n) 2020-01-06 10:07:58 +01:00
Johannes Rieken 2141437fdc fix eslint issues in build/gulpfile.* 2020-01-02 20:35:07 +01:00
Miguel Solorio 82ed3d45ee Revert "Merge pull request #87320 from microsoft/misolori/codicon-consolidation"
This reverts commit 6c9b23edc4, reversing
changes made to 085abd5f1a.
2019-12-19 13:44:49 -08:00
Miguel Solorio 641543b6ee Consolidate codicon files to vs/base/parts/codicon 2019-12-18 22:30:07 -08:00
Alexandru Dima 8d3200b7a7
Merge branch 'master' into monaco/ci 2019-11-13 11:16:07 +01:00
Alexandru Dima b5ce6014d7
Improve output in case of errors and generate an analysis folder with the source content (for easy diffing) 2019-11-13 11:15:38 +01:00
Alexandru Dima f6b6a97807
Take typings from tsconfig.monaco.json 2019-11-13 11:15:36 +01:00
Peng Lyu d9fb87d002 CI for Monaco Editor compile and bundling. 2019-11-12 15:55:21 -08:00
Peng Lyu 1101eb829d Fix monaco editor build npe. 2019-11-04 15:01:08 -08:00
Miguel Solorio 26f879145d Remove codiconLabel.mock 2019-10-17 12:22:28 -07:00
Miguel Solorio 1f9045f47c Replace Octicons with Codicons 2019-10-14 19:15:35 -07:00
Alex Dima fe5315badc
Ship codicon with the standalone editor 2019-09-23 13:18:39 +02:00
Miguel Solorio 0fa53a6e66 Update refs to include codicon 2019-09-17 09:05:42 -07:00
Alex Dima 57f34ad851 monaco-editor-core@0.16.0 2019-03-02 02:35:13 +01:00
Alex Dima af95b7d343 Adopt task.define (better task names) 2019-02-12 20:43:55 +01:00
Alex Dima c25de7d09f Extract task code to its own file 2019-02-12 15:13:43 +01:00
Alex Dima f88e4f457a Adopt changes in gulp.src 2019-02-06 10:15:36 +01:00
Alex Dima f9da04c392 Fix eslint errors 2019-02-05 23:39:23 +01:00
Alex Dima 84bebd0ff6 Final adoption (#67863) 2019-02-05 21:23:35 +01:00
Alex Dima c9352c4ca9 Adopt new style gulp tasks for the editor (#67863) 2019-02-05 19:23:51 +01:00
Alex Dima cf19bcf862 More task simplifications (#67863) 2019-02-04 17:34:26 +01:00
Johannes Rieken 3646ede2d1 add lib.es2018.promise.d.to to yet another place, #65040 2019-02-04 09:35:09 +01:00
Alex Dima e4b1db51cc Fixes #65040 2018-12-17 15:43:09 +01:00
Alex Dima 6e465986a7 Fix editor publishing scripts (on Windows) 2018-11-13 15:31:28 +01:00
Alex Dima d729e50521 Fix standalone editor gulp scripts.
Tree Shaking:
- do not proceed with tree shaking when there are compilation errors
- load .d.ts files in the language service
- adopt TS 3.1.1 in symbol resolution
- use the real tsconfig.json / with "node" resolution

Bundling:
- fix issue where files were being looked for in out-build instead of out-editor-build
2018-10-10 11:09:29 +02:00
Benjamin Pasero 6607a81c12 debt - do not use deprecated Buffer() ctor 2018-08-22 10:42:36 +02:00