Commit Graph

5928 Commits

Author SHA1 Message Date
João Moreno
9ec34a5b60 Revert "stop shipping build-only dependencies (#162172)" (#162254)
This reverts commit 582aa29f85.
2022-09-28 13:50:35 -07:00
João Moreno
582aa29f85 stop shipping build-only dependencies (#162172) 2022-09-28 06:20:58 -07:00
Ladislau Szomoru
7ff04babc6 Revert "Engineering - use specific image version (#160878)" (#162052)
This reverts commit 924d7622fa.
2022-09-28 09:49:59 +02:00
Matt Bierner
c2a2ad4f63 Rename image-preview extension to media-preview (#162093)
Fixes #162092

Also removes `aac` from the list of supported audio formats
2022-09-27 21:01:14 -07:00
João Moreno
70a7ce4d1a Auto releasing a build needs peer approval (#161981)
* make sure VSCODE_RELEASE has peer approval

* boom
2022-09-27 16:55:34 +02:00
João Moreno
43894c6ea0 add Cargo.toml for inno-updater (#161976) 2022-09-27 07:29:29 -07:00
Connor Peet
889fbd2f1b add detection for integrated cli, verify 2022-09-26 07:22:58 +02:00
Connor Peet
07453efc00 cli: implement better self-updating
- Start separating a "standalone" CLI. This is a little awkward with clap-
  derive, but I got it working. Detection of whether the CLI _is_
  standalone is still todo.
- Remove the old ad-hoc update code for code-server, and use the update
  service instead.
- Fix some of the "permission denied" errors people got while updating
  before. We need to rename the old running binary, not just overwrite it.
2022-09-23 17:47:39 -07:00
Connor Peet
a9bcb15b75 cli: run ci on pr 2022-09-23 14:31:37 -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
Connor Peet
c3ae579592 Merge pull request #161268 from microsoft/connor4312/import-cli
Initial import of code-tunnel code
2022-09-22 18:28:04 -07:00
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
Connor Peet
5e2ce13287 Merge branch 'connor4312/import-cli' into build-integrated-cli 2022-09-20 09:12:03 -07:00
Connor Peet
a9e38fe925 ignore rust code when doing hygenie check 2022-09-20 08:49:29 -07:00
Connor Peet
3762635fe1 move cli to top level 2022-09-20 08:42:44 -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
Connor Peet
e02895941d build: include the integrated CLI in product builds 2022-09-19 23:16:19 -07:00
Connor Peet
3ca6d73169 exclude rust cli from linting/hygenie 2022-09-19 13:29:24 -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
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