Commit Graph

5928 Commits

Author SHA1 Message Date
Matt Bierner
0b4691fe56 Fix compile of the github extension
All of our webpack scripts are modules now
2025-08-13 10:09:04 -07:00
Matt Bierner
6ba8c0657d Ignore a few more files for web
`node_modules` should need `.ts` or `.map` files
2025-08-12 15:02:40 -07:00
Robo
61f1c115ad fix: restore old style context menu on windows for stable (#260960) 2025-08-11 03:28:54 -07:00
Matt Bierner
2c749892ad Merge pull request #260466 from mjbvz/sick-marmoset
Convert esbuild scripts to modules
2025-08-07 21:57:27 -07:00
Matt Bierner
e4f9730eae Also update gulp 2025-08-07 20:15:04 -07:00
Matt Bierner
bad96b4abb Also update desktop webpack gulp 2025-08-07 19:40:47 -07:00
Matt Bierner
ed71020bfc Convert extension webpack scripts to modules 2025-08-07 17:20:22 -07:00
Matt Bierner
383b4cd66c Merge pull request #260359 from mjbvz/successive-cockroach
Clean up some typings in build scripts
2025-08-07 10:57:21 -07:00
Matt Bierner
d865a99c49 Clean up some typings in build
- Adding ts-check in a few more js files
- Switching to use `@types` for a few more packages
- Remove some unused code
2025-08-07 09:38:52 -07:00
Matt Bierner
67655690dd Don't run hygiene on built extension files 2025-08-07 08:45:52 -07:00
Matt Bierner
f91e6f01b8 Fix enum init order 2025-08-06 12:00:36 -07:00
Matt Bierner
bd031dafbc Convert const enums 2025-08-06 11:47:45 -07:00
Matt Bierner
12a275ffe7 Use ts-native to compile our build scripts
There are a few minor differences in output, mostly around formatting/comments. Const enums are also not inlined but that seems fine in these cases
2025-08-06 11:41:52 -07:00
dependabot[bot]
4c5f085f77 Bump tmp from 0.2.3 to 0.2.4 in /build (#260146)
Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.3 to 0.2.4.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raszi/node-tmp/compare/v0.2.3...v0.2.4)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 0.2.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-06 11:32:13 -07:00
Benjamin Pasero
27c10fba46 [chore] bump @types/mocha to match mocha (#260034) 2025-08-06 11:54:24 +00:00
Robo
53fa43adfa ci: fix build (#259996) 2025-08-06 10:44:45 +02:00
Robo
e3231fea7f ci: generate and upload cpu profile for win32 codesign steps (#259808) 2025-08-05 16:38:18 -07:00
Robo
bcf2f5ba2b chore: update to @electron/osx-sign@2.0.0 (#259758) 2025-08-05 04:30:58 -07:00
Matt Bierner
e51d57aa5c Update target for build and test scripts 2025-08-04 17:28:08 -07:00
Raymond Zhao
70639634f3 fix: customize postinst by architecture (#259280)
Fixes #258886
2025-08-04 17:03:54 +00:00
Remco Haszing
c2f435a9bb Fix global access of MonacoEnvironment (#248075)
Fix global access of MonacoEnvironment

There are 3 ways to declare global variables in TypeScript.

1. A global `declare let`.
2. A global `declare var`.
3. Augmenting the global `Window`.

There are 4 ways to access global variables in the browser.

1. Using a global identifier.
2. Using the `globalThis` object.
3. Using the `window` object.
4. Using the `self` object.

Not all 3 types of global declarations work for all methods to access a
global.

|              | `let` | `var` | `Window` |
| ------------ | ----- | ----- | -------- |
| global       |   ✓   |   ✓   |          |
| `globalThis` |       |   ✓   |          |
| `window`     |       |   ✓   |    ✓     |
| `self`       |       |   ✓   |    ✓     |

So the proper way to declare the global `MonacoEnvironment`, is:

```ts
declare global var MonacoEnvironment: Environment | undefined
```

https://www.typescriptlang.org/play/?#code/PQgEB4CcFMDNpgOwMbVAGwJYCMC8AiAEwHsBbfUYAPgFgAoew6ZdAQxlAHN1jtX1QAb3qhRGaABdQAGUkAuUAGcJkTIk4ixAN3agAauwXLV6+ptFqJCWK1SgA6mpIB3IebGjHiIyrUa6HgC+9MEMdGDcvPygtqiKivSyEvQGkPReZuHAoM5OxK6ckvS5iC4AdEnFec5lqVWl+WUZYWAlLkpFdG2NSaC4oADkA-XlqX2Dw13VTWrjQ5kRPHzoACoAFpiKXJ2Ry+ubFTtL-PuKtez0uycbZ830i1GrNx3JdFdPB73982-HH2djb6Td6nGaIOaTe7ZRTQdCwbavGFww6I2Gwc5pOhI9F3LIdOEvejYlEQolojGkrHkryU+jQAAeAAdiJApIJAkA

---------

Co-authored-by: Henning Dieterichs <hdieterichs@microsoft.com>
2025-08-04 13:23:01 +00:00
Osvaldo Ortega
bb387118e9 Missing colors (#259113) 2025-08-01 00:56:40 +00:00
Robo
73f08941a3 fix: remove unused appx package (#258741)
* fix: remove unused appx package

* fix: inno compilation

* chore: reduce the number of remove and add commands
2025-07-30 14:13:27 +02:00
Robo
c9118f6388 ci: log diagnostics for deemon failures on windows (#258422) 2025-07-29 06:23:26 -07:00
Robo
c48e24145d fix: disable appx identity for system setup (#258275)
* fix: external location for appx package installation

* chore: revert external location
2025-07-28 17:33:51 +00:00
Aman Karmani
5e5fabe435 [engineering] parallelize unzip in product-build-darwin-universal.yml (#257775) 2025-07-28 04:48:36 +00:00
Robo
b59f40f060 ci: specify keychain when logging identity (#258013) 2025-07-26 20:37:12 -07:00
Robo
f5e06c148d feat: support device permissions via package identity (#257741)
* feat: support device permissions via package identity

* chore: update explorer dll checksums

* chore: cleanup appx preparation

* chore: avoid cross-device link error

* chore: remove appx installation gate

* chore: rm duplicate appx installation checks

* chore: extract package full name from Get-AppxPackage

* chore: fix remove-appxpackage command
2025-07-25 12:57:36 -07:00
Raymond Zhao
8d2cd62b62 chore: add include.gypi for parcel-bundler/watcher BinSkim results (#257514) 2025-07-24 07:59:58 -07:00
Justin Chen
c10aee1fec checkpoints + edits fix: selecting in code block and checkpoint color (#257567)
checkpoints + edits fix: selecting in code block and checkpoint highlight
2025-07-24 03:25:06 +02:00
Robo
10575e19aa (partial revert) ci: remove install build dependencies step on linux (#257064) 2025-07-21 11:25:26 +00:00
Robo
8c19263c57 (reland) chore: update to Electron 37 (#256905)
* chore: update to Electron 37 (#256287)

* chore: update electron@36.5.0

* chore: update node.js builds

* chore: update electron@37.0.0

* chore: update rpm deps

* chore: bump electron@37.2.0

* chore: bump nodejs@22.17.0

* temp: update distro

* chore: bump .nvmrc

* chore: bump distro

* chore: bump electron@37.2.3

* chore: bump distro

* chore: update electron build
2025-07-21 12:37:44 +02:00
Robo
b37c013d08 ci: remove install build dependencies step on linux (#257050) 2025-07-21 09:38:54 +00:00
Robo
2305e3bbcd ci: fix linux node_modules publish pipeline (#256781)
* ci: fix linux node_modules publish pipeline

* fix: build
2025-07-21 18:09:57 +09:00
Robo
df5b80fc08 fix: check for appx package before (un)install (#256766) 2025-07-18 19:21:01 +00:00
Matt Bierner
3059a176b1 Revert "chore: update to Electron 37 (#256287)"
This reverts commit 9f4784d4bb.
2025-07-17 16:27:56 -07:00
Robo
9f4784d4bb chore: update to Electron 37 (#256287)
* chore: update electron@36.5.0

* chore: update node.js builds

* chore: update electron@37.0.0

* chore: update rpm deps

* chore: bump electron@37.2.0

* chore: bump nodejs@22.17.0

* temp: update distro

* chore: bump .nvmrc

* chore: bump distro
2025-07-17 18:10:54 +00:00
João Moreno
5f9c70aa64 Separate what we test from what we sign, because esrp needs to replace the files as they come back signed (#255748)
* separate what we test from what we sign, because esrp needs to replace the files as they come back signed

fixes #248116

Co-authored-by: @lszomoru

* 💄
2025-07-15 12:03:24 +02:00
Robo
421f2dcd32 chore: log keychain details when signing fails (#255799)
* chore: log available identities when signing fails

* chore: dump keychain used for signing
2025-07-14 16:42:15 +02:00
Robo
0072e9c876 chore: enable verbose logs for windows electron smoketests (#255794) 2025-07-14 15:39:09 +02:00
João Moreno
ff529acdac fixes #255743 (#255746) 2025-07-14 09:14:16 +00:00
Ladislau Szomoru
a0d2afee33 Engineering - do not run the PR check for the main branch (#255309) 2025-07-11 08:28:32 +00:00
Matt Bierner
5890e0a51d Merge branch 'main' into current-swordtail 2025-07-08 10:17:09 -07:00
Aman Karmani
bcd950d6be [engineering] add label to packageTask (#253779)
previously appeared as "(anonymous)" in the logs
2025-07-08 09:41:53 +02:00
Matt Bierner
2b3fe79f88 Revert service-worker js -> ts rewrite
This is causing build issues by pulling in the webworker typings
2025-07-07 16:53:13 -07:00
Ladislau Szomoru
4d7c56ee82 Engineering - Add GitHub action for pull requests (#254056)
* Test - handle running tests as part of a GitHub action

* Add GitHub action files
2025-07-04 08:21:56 +00:00
Ladislau Szomoru
9f88ccaac4 Engineering - disable pipeline (#253650) 2025-07-03 10:24:20 +00:00
Ladislau Szomoru
4b9018cbef Engineering - Add pipeline to test the new agent pool (#253253)
Add pipeline to test the new agent pool
2025-07-01 13:29:16 +02:00
Robo
eee3294912 build: update preinstall check for node@22.15.1 (#253248) 2025-07-01 13:13:53 +02:00
Raymond Zhao
202f02381b chore: bump ripgrep + npm audit fix (#252674) 2025-06-27 12:26:19 -07:00