Commit graph

129 commits

Author SHA1 Message Date
Johannes Rieken 7e69465303
don't use underscore for native JS things (#173282) 2023-02-03 03:47:51 -08:00
João Moreno 326876fa9e
bump vsce (#168071)
* bump vsce

* remainder

* use latest vsce

* compile build output
2022-12-22 17:00:21 +01:00
Matt Bierner ce934ff443
Also run cleanNodeModules on extensions/node_modules (#167476)
Also run cleanNodeModules on extensions/node_modules

Fixes #166652
2022-11-29 12:15:09 -08:00
Martin Aeschlimann 86ff830c3a
fix string.replace (for #167239) (#167259) 2022-11-25 14:45:57 +00:00
Johannes fdc39b56e4
missing JS files 2022-11-16 13:47:07 +01:00
Johannes Rieken 3ffb834054
Merge branch 'main' into joh/rewrite-privates 2022-11-16 10:20:49 +01:00
Matt Bierner d0d28a6295
Reapply building of web server (#166391)
* Reapply building of web server

Revert 8b4642ab23

* Fix critical dep error
2022-11-15 14:55:40 -08:00
Henning Dieterichs b11207c539 Revert "Copy webServer from Typescript to VS Code (#165771)"
This reverts commit cb43019d6a.
2022-11-15 14:45:32 +01:00
Johannes c281755a1b
more missing JS files 2022-11-15 09:45:01 +01:00
Johannes 5912ad3ff1
Merge branch 'main' into joh/rewrite-privates 2022-11-15 09:44:34 +01:00
Nathan Shively-Sanders cb43019d6a
Copy webServer from Typescript to VS Code (#165771)
* Initial draft.

Not working.
Also not correctly formatted, I'll do that later.

* Various fixes

It works now

* A bit of cleanup

* Move webServer to its own directory

And prepare for getting rid of dynamicImportCompat.js hack

* Remove dynamicImportCompat.js hack

* Revert unrelated change

* Webpac tsserver.web.js with webServer.ts as entrypoint

Instead of using CopyPlugin.

1. Shipping multiple entrypoints in a single file required fixes to
build code.
2. There are a couple of warnings from `require` calls in
tsserverlibrary.js. Those are not relevant since they're in non-web
code, but I haven't figured how to turn them off; they are fully dynamic
so `externals` didn't work.

* Ignore warnings from dynamic import in tsserver

* Add to .vscodeignore files
2022-11-14 10:56:31 -08:00
Johannes 696c1cf199
build utils with source map to enable JS debug console 2022-11-10 15:05:47 +01:00
Matt Bierner d950552131
Allow trailing commas while minifying json resources (#165870)
I noticed a few of our built-in extension's json resources were not being minified. The root cause appears to be trailing commas in the json
2022-11-08 14:38:53 -08:00
Connor Peet 18f743d534
address pr comments 2022-10-05 12:56:07 -07:00
Rob Lourens c717237d7c
Reenable a couple notebook smoketests (#159521)
* Remove vscode-notebook-tests in favor of an .ipynb in vscode-smoketest-express

* Update build folder

* Add build task to correct platform

* Build for smoke tests on other platforms

* Fix repo url and remove comment

* Just -media?

* Update darwin/win32 as well
2022-09-14 13:22:16 -07:00
Tyler James Leonhardt 49394cc44d
Enable translations for extension code for the web (#155355)
* Initial attempt

* alex feedback
2022-08-08 09:11:16 -07:00
Connor Peet ca48c64699
build: cache built-in extensions to avoid rate limiting (#156918) 2022-08-03 00:27:16 +02:00
Michael Lively 3c0dba1c00 oh. had to run yarn compile from within the /build/ folder 2022-07-27 10:30:01 -07:00
Matt Bierner bbe7b54cf4
Remove custom editor tests (#152777)
These tests are not actively being run or maintained. Removing them for now
2022-06-21 15:37:19 -04:00
Johannes 2c004b870f
recompile build folder with const over let 2022-06-09 10:59:11 +02:00
Connor Peet 5e86e40fab
extensions: pull from github in OSS build (#146863)
* extensions: pull from github in OSS build

* fixup! address pr comment
2022-04-10 22:36:12 -07:00
Matt Bierner fb6cf37ea9
Move simple-browser to use esbuild for webview scripts 2022-03-08 16:23:14 -08:00
Matt Bierner e65a786a92
Fix build script to use esbuild 2022-03-08 16:09:23 -08:00
Matt Bierner 433bf7cd88
Update build scripts to target es2020 2022-02-28 14:00:17 -08:00
rebornix f2b7964599
re #142429. Image renderer moved to extension. 2022-02-07 12:49:20 -08:00
Johannes Rieken 7e2452498f
fix https://github.com/microsoft/vscode/issues/130073 2021-08-31 14:44:42 +02:00
Matt Bierner ab598a53ab
Only include prod node_modules from extensions
Fixes #130158
2021-08-05 13:39:04 -07:00
Martin Aeschlimann 7ded90e452
Merge branch 'main' into joh/webpack5 2021-07-09 09:50:10 +02:00
Matt Bierner 0762d23ae7
Build VS Code using TS 4.4 (#127823)
* Build VS Code using TS 4.4

* Remove usages of deprecated `ClientRectList`

* Add any casts for missing `caretRangeFromPoint`

* Add temporary any casts for `zoom` css propery

This non-standard css property no longer exists in lib.dom.d.ts

* MouseWheelEvent -> WheelEvent

* Pick up new TS nightly

Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2021-07-08 14:27:39 -07:00
Johannes Rieken a3e07245ee
Revert "Revert "Merge pull request #127874 from microsoft/joh/webpack5""
This reverts commit c5f12c7226.
2021-07-08 10:28:33 +02:00
Johannes Rieken c5f12c7226
Revert "Merge pull request #127874 from microsoft/joh/webpack5"
This reverts commit 1f5b688e9c, reversing
changes made to 6efcb92e34.
2021-07-07 18:04:11 +02:00
Johannes Rieken 6b5129650b
adopt webpack stream changes 2021-07-02 16:34:51 +02:00
Johannes Rieken 413b9019a6
configure esbuild with esnext. means no harm since TS already compiles with lower es2020, https://github.com/microsoft/vscode/issues/121144 2021-06-25 16:31:44 +02:00
Dirk Baeumer 9c3a109adf
Fixes #126408: Support changes in vscode-nls-dev that allow hint comments in package.nls.json 2021-06-16 11:53:10 +02:00
Matt Bierner 34f0fcaf52
Rename notebook-markdown-extension to markdown-math
This makes it more clear what this extension is contributing
2021-06-08 09:58:54 -07:00
Benjamin Pasero 15aca96cd5
build - unblock lauching 2021-06-03 07:21:15 +02:00
João Moreno d0d80ec337
fix build 2021-05-27 11:50:04 +02:00
João Moreno d777991656
move buildExtensionMedia to lib 2021-05-26 20:38:28 +02:00
João Moreno 0a7a69f190
fix build compilation 2021-05-26 13:30:43 +02:00
João Moreno 239213eaeb push it real good 2021-01-19 20:04:43 +01:00
João Moreno 9995d12824 missing build output 2021-01-18 15:02:55 +01:00
Alexandru Dima c1eb24b027
Load expensive node modules lazily 2020-12-22 19:55:56 +01:00
Alexandru Dima d1fff1a083
Check in .js files from the /build/ folder to improve build speeds 2020-12-14 11:13:16 +01:00
João Moreno 2469bf6832
remove build compilation output 2020-09-22 11:12:55 +02:00
Benjamin Pasero 4491427ac7 web - move playground out of sources
We will consume the playground from https://github.com/microsoft/vscode-web-playground going forward.
2020-08-18 09:18:23 +02:00
Alex Dima edf34c7cbc
Allow passing in an exclude list to scanBuiltinExtensions 2020-08-03 23:22:39 +02:00
Alex Dima 49fd2b4f97
Do not inline vscode-web-playground (even if it is packaged) 2020-08-03 21:08:00 +02:00
Alex Dima 34005e2a48
Avoid NPE 2020-08-03 20:24:40 +02:00
João Moreno 2954ffb2fd
build 2020-08-03 16:54:56 +02:00
Eric Amodio c9a2f78283 Adds protection if the folder doesn't exist 2020-07-31 00:38:48 -04:00