Commit Graph

4511 Commits

Author SHA1 Message Date
Robo 0d5fbcc577 chore: use plugin executable for utility process on macOS (#161102)
chore: update app entitlements
2022-09-21 08:18:39 -07:00
Alexandru Dima 869fd7bbfb Only do the /build/ folder check on OSS, where we don't mixin (#161381) 2022-09-21 01:59:57 -07:00
Alexandru Dima 7041b71cd6 Retire basic checks GH action (#161376)
* Add /build/ folder checks (just like GH action)

* Add more checks that were only present in the GH action

* Disable basic checks GH action
2022-09-21 00:58:06 -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
Alexandru Dima 0bc9f9b606 Add missing build file (#161373) 2022-09-21 09:10:35 +02:00
Benjamin Pasero 772289fd6a tests - update playwright (#161367) 2022-09-20 22:07:05 -07:00
Benjamin Pasero ca745eea7c tests - do not retryCountOnTaskFailure playwright (#161299)
* tests - do not `retryCountOnTaskFailure` playwright

* compile
2022-09-20 09:55:06 +02: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 42cbf7dde0 build - debug playwright install (#161099) 2022-09-16 06:52:48 -07:00
Tyler James Leonhardt 869733274b Have createAsset not short circuit (#161030) 2022-09-16 06:34:58 -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
Robo 22cbb8e958 chore: update electron@19.0.17 (#161027)
* chore: update electron@19.0.17

* chore: update API typings

* fix: compilation errors

* build: add libcups dependency
2022-09-16 12:41:52 +02:00
Matt Bierner 3c37a5a8d7 Reapply JavaScript and Node.js walkthrough (#161003)
This reverts commit cfc0119755.

Brings the walkthrough back in but makes sure it is only loaded on desktop
2022-09-15 13:02:43 -07:00
Benjamin Pasero cfc0119755 Revert "JavaScript and Node.js walkthrough" (#160959)
Revert "JavaScript and Node.js walkthrough (#157965)"

This reverts commit 0cbcb1b1ab.
2022-09-15 08:26:22 +02: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
Daniel Rosenwasser 0cbcb1b1ab JavaScript and Node.js walkthrough (#157965)
* Initial contents for JavaScript walkthrough.

* Just suggest a `.js` file.

* Switch the walkthrough to be a Node.js walkthrough.

* Remove leftover file from HTML walkthrough.

* Add basic detection mechanism for node.

* Don't check for a Node install until the user runs debug.

* Add "learn more" link.

* Some assets.

* Remove "run" section.

* Add a "try debugging anyway" option just in case.

* Remove "view terminal" command in run & debug.

* More copy.

* Remove unused command.

* Update icon and themed walkthrough SVGs

* Default to not showing the extension.

* Replace icon

* Delete TODO.md

* jsWelcome -> nodejsWelcome

Co-authored-by: David Dossett <ddossett@microsoft.com>
Co-authored-by: Matt Bierner <matb@microsoft.com>
2022-09-14 09:53:37 -07:00
Ladislau Szomoru 924d7622fa Engineering - use specific image version (#160878) 2022-09-14 09:14:46 +02:00
Ladislau Szomoru 95caaea452 Engineering - Add timeout and retries to the task to download Electron and Playwright (#160490)
Add timeout and retries to the task to download Electron and Playwright
2022-09-09 10:47:29 +02: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
João Moreno d868c444a8 Build: Properly verify signed macOS application bundle (#160056)
* properly test signed macos application

fixes #159873

* more checks

* hm
2022-09-05 07:54:37 +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 52193cfc09 make to run buildWebNodePaths when using transpile-swc 2022-08-30 14:27:20 +02:00
Johannes a252938303 Merge branch 'main' into joh/swc 2022-08-30 14:14:22 +02:00
Benjamin Pasero 2ba046482d bump esbuild@1.15.5 (#159533)
bump esbuild
2022-08-30 12:52:31 +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 71c216d91f Fix lint errors in our npm scripts (#159501) 2022-08-29 15:35:23 -07: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
Ladislau Szomoru 31acf4253d Engineering - Disable Terrapin (#159441)
Disable Terrapin
2022-08-29 02:39:00 -07:00
Matt Bierner b5a1bb34e9 Pick up latest TS for building VS Code (#158420) 2022-08-26 23:00:38 +02:00
Johannes 46bab7505c let builds use transpile-client-swc 2022-08-26 15:03:31 +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
Robo 3933a69210 fix: remove debian dependency on libgcc-s1 (#158883) 2022-08-23 10:06:12 -07:00
Johannes c7c4b4999b Merge branch 'main' into joh/swc 2022-08-23 18:56:48 +02:00
isidor f1143ac3d6 make sure to include mp3 files in our build 2022-08-22 12:48:59 +02:00
isidor a5db59ad6b use .mp3 files for audio cues 2022-08-22 10:58:58 +02:00
João Moreno 235a92a369 feat: windows: set rc strings for *.node files (#158590)
Fixes: #156408
2022-08-20 19:48:18 +02:00
João Moreno 866bddc98b build: retry policy generation (#158581)
Fixes: #157736
2022-08-19 15:38:35 +02:00
Tyler James Leonhardt dd0ed9381a fix accidental removal of desktop strings (#158330) 2022-08-16 20:58:17 -07: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
Raymond Zhao 17c169a7b7 Refactor package dependencies generators (#157845) 2022-08-11 17:09:00 -07:00