Commit Graph

1041 Commits

Author SHA1 Message Date
Tyler James Leonhardt
77d14a4711 use size to check if any files were added (#163571)
use size
2022-10-13 09:54:57 -07:00
Martin Aeschlimann
17c7a08962 Add cli & command to run the code server on the desktop (#163546)
Add cli & command to run the code server on the desktop
2022-10-13 15:02:42 +02:00
Tyler James Leonhardt
a8108049ab Allow extensions to use new API and it get included in Language Packs (#163493)
* Allow extensions to use new API and it get included in Language Packs

This leverages the l10n-dev package to analyze ts files for `l10n.t` calls.

* delete console.logs
2022-10-12 17:28:34 -07:00
Tyler James Leonhardt
342aa9c59a Improvements to i18n (#163372)
* remove dead code from Transifex

* use @vscode/l10n-dev for XLF operations for extensions

* generated files

* more generated files

* remove dead code

* move l10n-dev to where gulp is

* generated
2022-10-12 14:10:57 -07:00
Connor Peet
6353f80f3d Merge pull request #161640 from microsoft/build-integrated-cli
Update build process to include integrated CLI
2022-10-12 08:59:37 -07:00
Alexandru Dima
72a982d0d3 Fix typo in regex (#163404) 2022-10-12 00:08:09 -07:00
Tyler James Leonhardt
3e4e351816 Enforce ILocalizedString usage with f1 property via types (#162991)
* Enforce ILocalizedString usage with f1 property via types

* complete comment

* Visit all symbols when encountering a union type

* use ILocalizedString

* fix tests

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-10-11 21:24:43 -07:00
Matt Bierner
99e126b0b2 Pick up latest TS version for building VS Code (#162786)
Pick up latest TS for building VS Code
2022-10-06 12:08:45 -07:00
Connor Peet
18f743d534 address pr comments 2022-10-05 12:56:07 -07:00
Connor Peet
665eb030a6 Merge remote-tracking branch 'origin/main' into build-integrated-cli 2022-09-23 13:33:35 -07:00
Connor Peet
9bcc88eafe cli: get builds in order 2022-09-23 13:28:26 -07:00
Benjamin Pasero
9db57e76e9 Build: bundle / concat entry points (#161161)
* perf - concatenate windows main files

* Revert "Revert "Use `esbuild` to bundle some CommonJS main files (#160957)" (#161118)"

This reverts commit 84c46b71a5.

* build - exclude server main files

* build - make concat a task that runs like the others

* some renames

* Avoid overwriting the nodejs closure require

* Revert "build - exclude server main files"

This reverts commit 736516624e.

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-09-21 00:38:44 -07:00
Matt Bierner
687712b871 Pick up latest TS nightly for building VS Code (#161127) 2022-09-16 10:37:58 -07:00
Benjamin Pasero
84c46b71a5 Revert "Use esbuild to bundle some CommonJS main files (#160957)" (#161118)
This reverts commit 2179e52fb9.
2022-09-16 09:31:44 -07:00
Benjamin Pasero
2179e52fb9 Use esbuild to bundle some CommonJS main files (#160957)
* ensure node.js `require` is captured

* optimize `main.js` and `cli.js`

* cleanup

* leave out bundled files

* drop package.json from userdata paths

* fix web task

* fix editor distro

* inline version into `product.json`

* also bundle server

* t

* actually do server too

* Keep bundling nls in editor worker

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-09-16 05:24:23 -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
Johannes
d6f5727021 also use SWC for extensions transpile 2022-09-07 11:18:53 +02:00
Johannes
87e54a0759 consume swc as libaray and wire up into the existing transpiler logic 2022-09-07 10:46:27 +02:00
Johannes
d7fafc7ada remove swc as executable task 2022-09-07 10:40:45 +02:00
Johannes
2f390ceb5d add missing JS file 2022-08-31 16:59:37 +02:00
Johannes
872e9dfc81 comments, todos 2022-08-31 14:56:23 +02:00
Johannes
a252938303 Merge branch 'main' into joh/swc 2022-08-30 14:14:22 +02:00
Matt Bierner
5e92794be6 Re-enable running our eslint rules using ts-node (#159495)
Resubmission of #157532 with the following changes:

- Use `eslint-plugin-local` instead of `yarn` link to run our plugins
- Move our plugins to a top level `.eslintplugin` dir (as required by `eslint-plugin-local`)
- Update all names to `local/`
2022-08-30 08:40:04 +02:00
Matt Bierner
9e5248072a Fix ts-node for eslint (#159483)
Bumps the cachesalt to make sure ts-node is installed
2022-08-29 20:51:12 +02:00
Matt Bierner
5b21c7f28b Run our custom eslint rules using ts-node (#157532)
* Run our custom eslint rules using ts-node

Use `ts-node` to run our custom eslint rules.  This lets us delete the pre-compiled js. It also means you can don't have to compile the rules while editing them

As part of this change, I've also switched us to using an eslint plugin instead of a rulesDir. This is now the preferred way to ship custom rules

* Fix two more disables

* Move ts-node to project root

* Enable transpileOnly
2022-08-29 09:39:09 -07:00
Matt Bierner
b5a1bb34e9 Pick up latest TS for building VS Code (#158420) 2022-08-26 23:00:38 +02:00
Johannes
7ec1ebdd5f * tweak createSwcClientStream to have async exec
* add `transpileClientSWC` and corresponding gulp task
2022-08-26 15:02:01 +02:00
Johannes
18e45ac6cd don't use --copy-files options has it seems to break BOM 2022-08-26 11:58:36 +02:00
Johannes
93e346a449 Merge branch 'main' into joh/swc 2022-08-26 08:59:51 +02:00
João Moreno
3e014a7459 argh, still wrong EOL (#159160) 2022-08-25 08:48:58 -04:00
Alex Burgel
c27c1638ec Add swift to supported darwin document types (#159002)
* Add swift to supported darwin document types

* add compilation output

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2022-08-24 13:06:19 +00:00
João Moreno
934940b58d Improve language pack fetching for policies (#159048)
fixes #157219
2022-08-24 14:10:48 +02:00
Johannes
c7c4b4999b Merge branch 'main' into joh/swc 2022-08-23 18:56:48 +02:00
Tyler James Leonhardt
108916901d Pull in web strings into Language Pack (#158053)
remove old tasks and include web strings in export
2022-08-15 13:46:34 -04:00
Benjamin Pasero
0895639566 debt - mention our wiki when putting out layer errors (#157768) 2022-08-10 15:37:21 +02:00
Matt Bierner
460768a452 Update TS versions (#157550)
* Update TS versions

Update the bundled TS and build TS version

* Add explicit annotations

* Recompile JS
2022-08-09 11:26:24 -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
Alexandru Dima
c0560907e9 Merge pull request #157171 from mjbvz/able-rooster
Try using AbortController for disposable dom listeners
2022-08-05 15:06:16 +02:00
Benjamin Pasero
73fd3f1103 fix build (#157217)
* fix build

* fix compile

* flaky

* .
2022-08-05 09:16:20 +02:00
Matt Bierner
a43e9acd68 Add AbortController to core types 2022-08-04 16:26:18 -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
Michael Lively
e617076801 added ipynb/esbuild.js to the media scripts when building extensions 2022-07-27 09:34:22 -07:00
Henning Dieterichs
d392b284c2 Merge branch 'main' into hediet/bp2-usage-telemetry 2022-07-26 09:57:47 +02:00
Alexandru Dima
a649d8f404 Explicitly enqueue files that only forward symbols (#156150)
Fixes #154083: Explicitly enqueue files that only forward symbols
2022-07-25 15:07:54 +02:00
João Moreno
76758809f1 fix api proposal generation EOL (#155991)
on Windows, my files are checked out with LF. the script which generates extensionApiProposals.ts always uses os.EOL, so it always is dirty on my repo every time I compile
2022-07-22 14:21:20 -07:00
Henning Dieterichs
5f21c372de Make treeshaking work on windows (#155952) 2022-07-22 14:07:44 +02:00
Johannes
e93326976a add node-script to run swc 2022-07-19 14:32:46 +02:00
Henning Dieterichs
d29ab10eb6 Implements telemetry for bracket colorizer 2 extension usage 2022-07-18 16:55:11 +02:00
Henning Dieterichs
8630720a0b Fixes #155179 by implementing DeprecatedExtensionMigratorContribution (#155318)
* Fixes #155179 by implementing DeprecatedExtensionMigratorContribution

* Fixes CI.
2022-07-15 18:15:12 +02:00