vscode/build/lib
Tyler James Leonhardt 305134296c
Adopt the MSAL broker to talk to the OS for Microsoft auth (#233739)
This adopts the `NativeBrokerPlugin` provided by `@azure/msal-node-extensions` to provide the ability to use auth state from the OS, and show native auth dialogs instead of going to the browser.

This has several pieces:
* The adoption of the broker in the microsoft-authentication extension:
  * Adding `NativeBrokerPlugin` to our PCAs
  * Using the proposed handle API to pass the native window handle down to MSAL calls (btw, this API will change in a follow up PR)
  * Adopting an AccountAccess layer to handle:
    * giving the user control of which accounts VS Code uses
    * an eventing layer so that auth state can be updated across multiple windows
* Getting the extension to build properly and only build what it really needs. This required several package.json/webpack hacks:
  * Use a fake keytar since we don't use the feature in `@azure/msal-node-extensions` that uses keytar
  * Use a fake dpapi layer since we don't use the feature in  `@azure/msal-node-extensions` that uses it
  * Ensure the msal runtime `.node` and `.dll` files are included in the bundle
* Get the VS Code build to allow a native node module in an extension: by having a list of native extensions that will be built in the "ci" part of the build - in other words when VS Code is building on the target platform

There are a couple of followups:
* Refactor the `handle` API to handle (heh) Auxiliary Windows https://github.com/microsoft/vscode/issues/233106
* Separate the call to `acquireTokenSilent` and `acquireTokenInteractive` and all the usage of this native node module into a separate process or maybe in Core... we'll see. Something to experiment with after we have something working. NEEDS FOLLOW UP ISSUE

Fixes https://github.com/microsoft/vscode/issues/229431
2024-11-15 20:53:28 +09:00
..
mangle esm - inline main entry points (#230135) 2024-09-30 20:22:47 +02:00
stylelint Display deleted cells in viewzones (#233740) 2024-11-13 07:23:30 +01:00
test remove inline sourcemaps from build files (#198842) 2023-11-22 14:05:46 +01:00
tsb remove swc 2024-10-04 11:23:51 +02:00
typings replace node-fetch with native fetch (#198408) 2023-11-16 17:29:35 +01:00
watch testing: add temporary failure tracker to the selfhost test runner (#212134) 2024-05-07 00:54:33 +02:00
asar.js missing compile change 2024-09-06 14:33:30 +02:00
asar.ts remove console log 2024-09-06 14:26:23 +02:00
builtInExtensions.js Replace mkdirp with fs.mkdirSync(path, { recursive: true }) (#228017) 2024-09-09 22:43:29 -07:00
builtInExtensions.ts Replace mkdirp with fs.mkdirSync(path, { recursive: true }) (#228017) 2024-09-09 22:43:29 -07:00
builtInExtensionsCG.js feat: switch to npm as default package manager (#226927) 2024-09-06 22:18:02 +09:00
builtInExtensionsCG.ts feat: switch to npm as default package manager (#226927) 2024-09-06 22:18:02 +09:00
bundle.js esm - some build polish (#225948) 2024-08-19 16:54:29 +02:00
bundle.ts esm - remove build support for `prepend` 2024-09-27 08:05:22 +02:00
compilation.js remove swc 2024-10-04 11:23:51 +02:00
compilation.ts remove swc 2024-10-04 11:23:51 +02:00
date.js build - reuse the same `date` across builds (#220076) 2024-07-05 11:06:43 -07:00
date.ts build - reuse the same `date` across builds (#220076) 2024-07-05 11:06:43 -07:00
dependencies.js feat: switch to npm as default package manager (#226927) 2024-09-06 22:18:02 +09:00
dependencies.ts feat: switch to npm as default package manager (#226927) 2024-09-06 22:18:02 +09:00
electron.js fix darwin icons (#216492) 2024-06-18 16:36:32 +02:00
electron.ts Fix more type assertions (#230156) 2024-09-30 14:17:06 -07:00
extensions.js Adopt the MSAL broker to talk to the OS for Microsoft auth (#233739) 2024-11-15 20:53:28 +09:00
extensions.ts Adopt the MSAL broker to talk to the OS for Microsoft auth (#233739) 2024-11-15 20:53:28 +09:00
fetch.js Fix some always true/false errors in codebase (#223359) 2024-07-30 15:37:27 -07:00
fetch.ts Fix some always true/false errors in codebase (#223359) 2024-07-30 15:37:27 -07:00
formatter.js Replace typescript-formatter (#211810) 2024-05-01 23:35:58 +02:00
formatter.ts Replace typescript-formatter (#211810) 2024-05-01 23:35:58 +02:00
getVersion.js Pick up latest TS for building VS Code (#207096) 2024-03-07 12:59:59 -08:00
getVersion.ts Adopt new distro format (#178689) 2023-04-02 09:35:39 +02:00
git.js Pick up latest TS for building VS Code (#207096) 2024-03-07 12:59:59 -08:00
git.ts
i18n.js esm - some build polish (#225948) 2024-08-19 16:54:29 +02:00
i18n.resources.json provide way to adjust table column size via keyboard (#225081) 2024-08-11 08:35:27 -07:00
i18n.ts esm - some build polish (#225948) 2024-08-19 16:54:29 +02:00
inlineMeta.js Today's Insiders update failed (Windows) (#220999) (#221132) 2024-07-08 16:42:25 +02:00
inlineMeta.ts Today's Insiders update failed (Windows) (#220999) (#221132) 2024-07-08 16:42:25 +02:00
layersChecker.js Proxy support for Node.js fetch (#228697) 2024-11-06 00:22:35 +01:00
layersChecker.ts Proxy support for Node.js fetch (#228697) 2024-11-06 00:22:35 +01:00
monaco-api.js Pick up latest TS for building VS Code (#207096) 2024-03-07 12:59:59 -08:00
monaco-api.ts
nls.js esm - remove AMD build scripts, tests and variables 2024-09-27 08:04:01 +02:00
nls.ts Fix more type assertions (#230156) 2024-09-30 14:17:06 -07:00
node.js feat: switch to npm as default package manager (#226927) 2024-09-06 22:18:02 +09:00
node.ts feat: switch to npm as default package manager (#226927) 2024-09-06 22:18:02 +09:00
optimize.js fix: cannot open vscode when use vscode-win32-x64 in Windows (#233285) 2024-11-08 13:17:17 +00:00
optimize.ts fix: cannot open vscode when use vscode-win32-x64 in Windows (#233285) 2024-11-08 13:17:17 +00:00
policies.js remove inline sourcemaps from build files (#198842) 2023-11-22 14:05:46 +01:00
policies.ts replace node-fetch with native fetch (#198408) 2023-11-16 17:29:35 +01:00
postcss.js eng: fix CSS tooling crashes watch task (#209278) 2024-04-01 20:15:25 +02:00
postcss.ts eng: fix CSS tooling crashes watch task (#209278) 2024-04-01 20:15:25 +02:00
preLaunch.js feat: switch to npm as default package manager (#226927) 2024-09-06 22:18:02 +09:00
preLaunch.ts feat: switch to npm as default package manager (#226927) 2024-09-06 22:18:02 +09:00
reporter.js Pick up latest TS for building VS Code (#207096) 2024-03-07 12:59:59 -08:00
reporter.ts
snapshotLoader.js remove inline sourcemaps from build files (#198842) 2023-11-22 14:05:46 +01:00
snapshotLoader.ts
standalone.js esm - more cleanup (#230285) 2024-10-02 11:55:17 +02:00
standalone.ts esm - more cleanup (#230285) 2024-10-02 11:55:17 +02:00
stats.js Pick up latest TS for building VS Code (#207096) 2024-03-07 12:59:59 -08:00
stats.ts
task.js Pick up latest TS for building VS Code (#207096) 2024-03-07 12:59:59 -08:00
task.ts
treeshaking.js ESM: figure out the monaco-standalone ESM build story (fix #227192) (#227536) 2024-09-06 18:26:40 +02:00
treeshaking.ts ESM: figure out the monaco-standalone ESM build story (fix #227192) (#227536) 2024-09-06 18:26:40 +02:00
util.js esm - make `optimize.ts` ESM only 2024-09-27 08:05:06 +02:00
util.ts esm - make `optimize.ts` ESM only 2024-09-27 08:05:06 +02:00