Martin Aeschlimann
fc6d94b806
[css/json/html] adopt latest lsp, update to `module: node16` ( #230371 )
...
* adopt latest language-server/client
* update package-locks
* transpiler to support Node16
2024-10-03 13:49:56 +02:00
Tyler James Leonhardt
1349397cf7
Remove vscode-nls-dev dependency ( #228002 )
...
This was when extensions used the old localization stuff. None of this is used anymore.
2024-09-09 18:28:32 +02:00
Benjamin Pasero
6f1101d812
Ignore tsserver requests for `createDirectoryWatcher(~/Library)` on macOS ( #227788 )
...
* Ignore tsserver requests for createDirectoryWatcher(~/Library) on macOS
* update deps
---------
Co-authored-by: Aman Karmani <aman@tmm1.net>
2024-09-06 16:25:54 +02:00
Arvid Lunnemark
092bc7309b
Update condition names to allow node ( #198274 )
...
update condition names to allow node
2023-11-17 10:57:50 +00:00
Martin Aeschlimann
e1b62b9b9e
[html/css/json] update language servers ( #195157 )
...
* [html/css/json] update language servers
* extension webpack: add conditionNames to prefer import over require
2023-10-11 09:41:12 +02:00
Matt Bierner
45e2e0bfd0
JS/TS package acquisition ( #184438 )
...
* Experiment with adding ata using `@types` packages shipped in an extension
* Use own file system instead of `https`
* JS/TS type support on web
* Tsconfig needs esModuleInterop not module:nodenext
We actually want webpack to emit commonjs, but need to write ES default
imports to use node-maintainer
* fix package.json indentation
* Adding setting to disable web type acquisition
* Fix merge of yarn lock
* Fixing merge errors
* Fixing errors
* Pick up package externally
* Fixing conflicts
* Bump version
---------
Co-authored-by: Kat Marchán <kzm@zkat.tech>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-08-28 00:49:40 -07:00
Logan Ramos
ecb0c80fc1
Bump extension telemetry module ( #191237 )
...
* Bump extension telemetry module
* Fix webpack
2023-08-24 12:53:41 -07:00
Martin Aeschlimann
59608d3aee
Update webpack, css/file & style loaders ( #179008 )
2023-04-03 16:10:40 +02:00
João Moreno
c6fbb48ec4
Revert "Update webpack ( #177265 )"
...
This reverts commit e88eb65966
.
2023-03-17 18:55:15 +01:00
Martin Aeschlimann
e88eb65966
Update webpack ( #177265 )
...
* update webpack
* update `@types/webpack`
* update copy-webpack-plugin
* update @types/webpack in build
* fix compile error in @types/eslint
2023-03-17 15:07:05 +01:00
Matt Bierner
bf8e26d144
Fix extension private prop mangling when compiling all extensions ( #167626 )
...
Fix extension private prop mangling when compiling all projects
#167269
Re-applies previous commit with a fix for html's custom webpack logic
2022-11-29 14:20:23 -08:00
Matt Bierner
8b9891739b
Revert "Fix extension private prop mangling when compiling all projec… ( #167490 )
...
Revert "Fix extension private prop mangling when compiling all projects (#167464 )"
This reverts commit 725330a7cd
.
2022-11-29 07:42:07 +01:00
Matt Bierner
725330a7cd
Fix extension private prop mangling when compiling all projects ( #167464 )
...
#167269
2022-11-28 16:32:18 -08:00
Matt Bierner
3684289a70
Enable `onlyCompileBundledFiles`
...
This prevents ts-loader from loading desktop files for web builds
2022-11-14 16:45:30 -08:00
Matt Bierner
0b9121953f
Added mangling loader for ts files in extensions
2022-11-14 16:34:04 -08:00
Logan Ramos
bf1697d98c
Consume proposed telemetry API ( #165862 )
...
* Consume proposed telemetry API
* Update webpack
2022-11-08 21:58:28 -05:00
Tyler James Leonhardt
29e985eca0
rev vscode-nls to version that doesn't ask for vscode-nls-web-data ( #161819 )
...
ref #161297
2022-09-26 11:10:54 -07:00
Tyler James Leonhardt
bcb31b9cfb
disable nls on the web for now ( #157665 )
2022-08-09 18:30:23 +02: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
Joyce Er
a0c9ebe6b4
Disable chunking to prevent `importScripts` calls in web ( #155226 )
2022-07-14 18:55:38 +00:00
Johannes
0656d21d11
auto-fixed prefer-const violation
2022-06-08 17:49:21 +02:00
Matt Bierner
e262c88fb1
Fix process.platform for picomatch ( #150430 )
...
The `picomatch` library currently checks `process.platform`. This check fails on web, which causes the markdown extension to not load
To fix this, I'm replacing `process.platform` with the string`'web'`
2022-05-26 01:28:46 +00:00
Logan Ramos
c8e6d08e3a
Update to the latest extension module
2021-07-26 13:44:43 -04:00
Matt Bierner
04485223eb
Fix `undefined` not allowed for `configFile` in ts-load
...
Seems like the presense of `configFile` causes problems if it is not a string
2021-07-23 12:06:39 -07:00
Matt Bierner
134c345351
Try adding browser specific tsconfig
...
Trying to add this to catch dependencies we take on node types
2021-07-22 17:00:17 -07:00
Martin Aeschlimann
cde5781978
polish webpack configs
2021-07-09 11:55:21 +02:00
Martin Aeschlimann
7ebe6a6054
adopt web extensions to webpack 5
2021-07-08 21:41:03 +02:00
SteVen Batten
9fa49ba941
ignore optional dependencies when webpacking
2021-03-22 18:31:21 -07:00
Martin Aeschlimann
60bc00ff63
webpack config typing fix
2021-01-11 09:57:11 +01:00
Martin Aeschlimann
cfc8c5d3d7
extension webpack: do not copy .ts files as resources
2021-01-05 22:37:28 +01:00
Martin Aeschlimann
485c5fc009
Revert "extension webpack: do not copy .ts files as resources"
...
This reverts commit ab1aeb6b73
.
2021-01-05 21:10:37 +01:00
Martin Aeschlimann
ab1aeb6b73
extension webpack: do not copy .ts files as resources
2021-01-05 17:24:22 +01:00
Alexandru Dima
804c90cc49
Adopt more breaking changes from copy-webpack-plugin
2020-12-17 13:05:14 +01:00
Alexandru Dima
2aa92c6e83
Adopt copy-webpack-plugin breaking change
2020-12-17 12:01:07 +01:00
Benjamin Pasero
dc333833e9
eslint - fix linting issues
2020-07-21 07:46:15 +02:00
Martin Aeschlimann
94081f67b6
shared webpack browser config: add WEBWORKER definition
2020-06-26 10:13:08 +02:00
Martin Aeschlimann
16be2c9885
used shared webpack-config for browser
2020-06-25 23:22:02 +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
Johannes Rieken
f01f7ebe93
fix some (future) linting issues
2019-12-31 09:54:04 +01:00
João Moreno
f9e6cc95e2
Update extensions/shared.webpack.config.js
2019-07-10 11:12:30 +02:00
Joao Moreno
cf64ef0884
remove legacy extensions compilation
...
- update vscode-nls-dev
- fix CopyWebpackPlugin usage
- fix extra data in html extension
- add webpack to python
2019-07-10 09:38:05 +02:00
Johannes Rieken
9638b09920
💄
2019-03-04 15:06:29 +01:00
Johannes Rieken
6999ddbab7
update vscode-extension-telemetry
2018-09-20 12:06:55 +02:00
Johannes Rieken
f1962fe5ad
webpack - use `mainFields: ['module', 'main']` for everyone
2018-09-13 11:48:06 +02:00
Johannes Rieken
3830d7b238
webpack - inline vscode-nls for our extensions
2018-09-06 15:12:28 +02:00
Johannes Rieken
f82bcb20ed
webpack - move __dirname-config up into shared config
2018-09-03 12:38:46 +02:00
Joao Moreno
3f8088b5c5
remove transpileOnly flag from webpack
2018-08-27 09:14:48 +02:00
Johannes Rieken
cdb9c0a8f4
update vscode-nls-dev to fixed version, share more config between extensions
2018-08-24 16:37:10 +02:00
Johannes Rieken
ffe5da332d
bundle node_modules and (shallow) exclude them from the extension #56081
2018-08-22 11:35:41 +02:00
Johannes Rieken
a9e3a3d69e
webpack - check js files, declare params, #56081
2018-08-21 16:40:02 +02:00