Commit graph

118 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
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
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
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 e617076801 added ipynb/esbuild.js to the media scripts when building extensions 2022-07-27 09:34:22 -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 3622010b64
Merge branch 'main' into joh/voluminous-lobster 2022-06-09 09:08:20 +02:00
Matt Bierner 640898db17
Update to build using latest TS nightly (#151576) 2022-06-08 22:02:49 -04:00
Johannes 0656d21d11
auto-fixed prefer-const violation 2022-06-08 17:49:21 +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
rebornix f2b7964599
re #142429. Image renderer moved to extension. 2022-02-07 12:49:20 -08:00
Johannes Rieken 4a130c40ed
enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Martin Aeschlimann 51c39d0df3
update isWebExtension check in built script (fixes microsoft/vscode-internalbacklog#2295) 2021-08-16 15:57:36 +02:00
Matt Bierner ab598a53ab
Only include prod node_modules from extensions
Fixes #130158
2021-08-05 13:39:04 -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
Sandeep Somavarapu c80fba9f9a
clean up 2021-06-22 16:58:33 +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
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 0e7f3d0d8c
Revert "remove colorize-tests extension usage"
This reverts commit d577c4b18d.
2021-01-19 11:39:39 +01:00
João Moreno ed8655201a fix web extensions 2021-01-18 14:35:58 +01:00
João Moreno d577c4b18d
remove colorize-tests extension usage 2021-01-15 12:59:42 +01:00
João Moreno fc4b40b633
fix type casts 2021-01-04 15:54:59 +01:00
Alexandru Dima c1eb24b027
Load expensive node modules lazily 2020-12-22 19:55:56 +01: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 05bdb6a975
split web extensions 2020-08-03 16:53:08 +02:00
Eric Amodio c9a2f78283 Adds protection if the folder doesn't exist 2020-07-31 00:38:48 -04:00
Eric Amodio ea63321bc6 Removes internal gh browser & adds external 2020-07-29 23:49:17 -04:00
Matt Bierner bdd3721849 Add custom editor test extension
Adds a simple set of tests for custom editors in a new extension. This is currently not run during CI since we want more testing to make sure it is reliable
2020-07-29 14:05:44 -07:00
Alex Dima 3584cd9325
Builtin extensions: also inline the package.nls.json contents 2020-07-29 11:32:18 +02:00
Alex Dima 547c1c2c61
Add web extensions filder in scanBuiltinExtensions 2020-07-27 14:23:10 +02:00
Alex Dima c3ed1c89cb
Fix problem with missing vscode-web-playground 2020-07-27 14:23:10 +02:00
Alex Dima 5ba8591765
Align build scripts 2020-07-27 13:18:17 +02:00
Alex Dima d42e9162b9
Remove some extension package.json patching 2020-07-24 14:38:10 +02:00