Commit graph

440 commits

Author SHA1 Message Date
Benjamin Pasero 332b89f198
esm - remove AMD build scripts, tests and variables 2024-09-27 08:04:01 +02:00
Robo b5a6aa14a8
feat: switch to npm as default package manager (#226927)
* feat: move from yarn to npm

* chore: skip yarn.lock files

* fix: playwright download

* chore: fix compile and hygiene

* chore: bump vsce@2.17.0

Refs 8b49e9dfdf

* test: update results for bat and sh colorizer tests

* fix: add missing lock files for windows

* fix: switch to legacy-peer-deps

* chore: update markdown-it@14.1.0

Refs 737c95a129

esbuild step in extensions-ci-pr was previously using markdown-it
from root which had userland punycode and was able to compile successfully.

* ci: increase pr timeout for windows integration tests

* chore: fix product build

* build: ignore extension dev dependency for rcedit

* build: fix working directory inside container

* build: fix dependency generation

* npm: update dependencies

* ci: use global npmrc

* ci: update cache

* ci: setup global npmrc for private npm auth

* build: fix extension bundling

* chore: sync npm dependencies

* ci: debug env variables for container

* ci: fix win32 cli pipeline

* build: fix npmrc config usage for build/ and remote/ dirs

* fix: windows build

* fix: container builds

* fix: markdown-language-features tests and bundling

```
[03:58:22] Error: Command failed: /Users/demohan/.nvm/versions/node/v20.15.1/bin/node /Users/demohan/github/vscode/extensions/markdown-language-features/esbuild-notebook.js --outputRoot /Users/demohan/github/vscode/.build/extensions/markdown-language-features
✘ [ERROR] Could not resolve "punycode"

    extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
      14 │ var punycode     = require('punycode');
         ╵                            ~~~~~~~~~~

  The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```

Adds userland package based on beed9aee2c

* fix: container builds for distro

* chore: update yarn occurrences

* fixup! chore: bump vsce@2.17.0

Uses the closest version to `main` branch that does not
include d3cc84cdec
while still having the fix 8b49e9dfdf

* chore: sync npm dependencies

* chore: sync npm dependencies

* chore: sync npm dependencies

* chore: throw error when yarn is used for installation

* chore: add review feedback

* chore: switch exec => run where needed

* chore: npm sync dependencies

* fix: markdown-language-features bundling

```
✘ [ERROR] Could not resolve "punycode"

    extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
      14 │ var punycode     = require('punycode');
         ╵                            ~~~~~~~~~~

  The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```

Adds missing userland package based on markdown-it/markdown-it@beed9ae,
can be removed once we update markdown-it >= 14.1.0

* ci: rename no-yarn-lock-changes.yml

* chore: sync npm dependencies

* ci: restore no-yarn-lock-changes.yml

We can disable it in a separate PR to keep the required
checks happy and also need workflow edit perms.

* chore: sync npm dependencies

* ci: rebuild cache

* ci: fix no-package-lock-changes.yml

* chore: bump distro

* chore: rm yarn.lock files

* chore: rm yarn.lock files without dependencies

* chore: add vscode-selfhost-import-aid to postinstall dirs

* chore: bump distro
2024-09-06 22:18:02 +09:00
Benjamin Pasero 6b924c5152
ESM merge to main (#227184)
Co-authored-by: Johannes Rieken <jrieken@microsoft.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-08-30 10:31:46 +02:00
Benjamin Pasero c3819e438c
esm - pass build variable around properly (#225724) 2024-08-16 09:24:34 +02:00
Benjamin Pasero 02fcc994ac
esm - port over unit test changes (#225711) 2024-08-15 19:58:52 +02:00
Benjamin Pasero bea40cdd3d
esm - more diff reduction (#225666) 2024-08-15 10:34:03 +02:00
Daniel Imms 167081d177
Make xterm-update.ps1 cross platform 2024-08-05 12:35:37 -07:00
Benjamin Pasero 16654e6126
esm - reduce diff to branch (#221154) 2024-07-09 08:08:56 +02:00
Henning Dieterichs ad50f01dc1 Enables advanced hot reloading in monaco playground server. 2024-07-02 10:45:59 +02:00
Henning Dieterichs 3652f9c8b3 Repairs hot reload for monaco editor playground. 2024-07-01 19:47:59 +02:00
Rob Lourens 3ea3162dd4
Disable api-test extension when running code.sh directly (#214521) 2024-06-06 16:12:17 -07:00
Daniel Imms 30e78576e7
Support for OSC52 clipboard access
Fixes #193508
2024-06-04 11:32:59 -07:00
Daniel Imms 6cdd364d93
Remove canvas renderer
Fixes #209276
2024-04-26 05:54:23 -07:00
Henning Dieterichs 22a578f53b Uses status bar to indicate hot reloading 2024-02-02 12:47:00 +01:00
Robo fb76955440
chore: update electron@27.2.1 (#202053)
* chore: bump electron@27.2.1

* chore: enable code cache support for custom standard schemes

Refs 267cbc841e

* chore: remove --ms-enable-electron-run-as-node

Removed in favor of f842ead6bc

* chore: update distro
2024-01-09 08:33:34 +01:00
Daniel Imms e3c70a49ba
Package and explain how to watch 2023-12-20 07:06:23 -08:00
Daniel Imms 48e0844029
Clarify link -> symlink 2023-12-20 06:49:28 -08:00
Daniel Imms 1eded319c6
Prefix all terminal scripts with xterm 2023-12-20 06:49:01 -08:00
Daniel Imms aa4798b0d3
Add script for easy symlinking a local xterm repo 2023-12-20 06:48:21 -08:00
Martin Aeschlimann 31e5940fb0
adopt test-extension for colorize & configuration-editing (#195691)
* adopt test-extension for  colorize & configuration-editing

* update

* fixes
2023-11-17 20:22:36 +01:00
Henning Dieterichs 48bd510125 Implements prototype patching hot-reload 2023-11-09 20:37:28 +01:00
Daniel Imms ccff5bd116
Add serialize addon to web 2023-11-08 11:14:36 -08:00
Daniel Imms d7a08bd542
Speed up update-xterm script by combining module installs 2023-11-02 11:08:14 -07:00
Daniel Imms 3a351bdc29
Move to xterm scoped image addon 2023-11-01 14:47:59 -07:00
Daniel Imms 9d1bc6ae59
Move to scoped xterm.js packages
xterm-addon-image is excluded currently as there are some publishing
issues.

See xtermjs/xterm.js#4859
2023-11-01 12:15:41 -07:00
Tyler James Leonhardt 482d5ba393
Add some integration tests for github-auth (#195729) 2023-10-16 13:58:44 -07:00
Aaron Munger 583d56685f use test extension to test extensions 2023-10-13 15:55:28 -07:00
Connor Peet c2a6932e9e
eng: onboard to the extension test runner (#195570)
* eng: onboard to the extension test runner

Adds a `.vscode-test.js` file that uses the new extension test CLI to
run tests. Also, onboards the markdown-language-features as the first
built-in extension to use it.

With the `ms-vscode.extension-test-runner` extension installed, the
markdown-language-features' tests can be run and debugged easily in
the UI :)

* fixup
2023-10-13 13:11:05 -07:00
Tyler James Leonhardt a4a2d8f0f4
Rename --disable-keytar to --use-inmemory-secretstorage (#192312)
This renames the flag as the title suggests but keeps `--disable-keytar` in the `deprecates` section so it still works.

Fixes https://github.com/microsoft/vscode/issues/191498
2023-09-08 17:58:32 +02:00
Henning Dieterichs e1430e4328 Sets up hot reloading of css and code (requires vscode-diagnostic-tools extension to be installed) 2023-09-01 14:35:42 +02:00
Henning Dieterichs 61611e4fe2
Fixes Code QL alert (#188269) 2023-07-19 16:01:20 +02:00
Henning Dieterichs d806701111
Fixes hot reload bug 2023-06-19 17:17:17 +02:00
Henning Dieterichs b8a3395fed
Implements hot reloading of js for the monaco playground server. (#185555) 2023-06-19 12:42:06 +02:00
Aaron Munger 5c7b2b89fe add project to build, add integration tests into shell script 2023-06-05 14:19:51 -07:00
aamunger 93b914bec0
run notebook renderer tests 2023-06-05 10:43:54 -07:00
Robo f9480e290f
fix: launching code-oss in docker containers (#183123) 2023-05-22 17:15:52 +02:00
Daniel Imms e7a3127217
Integrate xterm-addon-image 2023-05-14 08:09:17 -07:00
Henning Dieterichs c9c8e53032
Replaces http-server with playground-server (#179876) 2023-04-13 07:39:35 -07:00
Martin Aeschlimann 899cdd5ace
remove request dependency (#179149)
* remove request dependency

* replace gulp-remote-retry-src in build scripts

* fix retry delay & polish
2023-04-05 16:05:16 +02:00
易良 8fc524d161
fix: close #176763, modify the conditions to load vscode-web-playground (#176771)
* fix: close #176763, modify the conditions to load vscode-web-playground

* chore: use of recovery --no-playground parameters

* chore(script): update the argument description

* chore(script): update the argument description

* chore(script): update the argument description
2023-04-04 09:16:42 +00:00
Sandeep Somavarapu 69b666cbba
- update argv directly
- exit at the end
2023-03-24 15:43:55 +01:00
aamunger 0117c714c0
remove broken notebook renderer tests from script 2023-03-17 13:16:09 -07:00
aamunger 11c5e141ab
added notebook output renderer tests 2023-03-16 12:10:24 -07:00
Sandeep Somavarapu 027ac14631
use normal exec instead of cli (#174060) 2023-02-10 14:24:19 +01:00
Sandeep Somavarapu 8922a506d6
adopt to latest vscode-perf (#173127) 2023-02-02 20:04:23 +01:00
Sandeep Somavarapu 664c4ebf6c
adopt to latest perf module (#171549) 2023-01-17 13:34:44 -08:00
Sandeep Somavarapu e6b39b8368
check for help arg (#170958) 2023-01-10 12:52:49 +01:00
Sandeep Somavarapu 2a277f292a
vscode perf cli (#170953)
- add vscode-perf module
- add script to run perfs
2023-01-10 12:24:05 +01:00
易良 ac0c034066
fix: Close #164414, correct transparent transmission folder-uri (#164415) 2022-10-24 15:51:56 +02:00
Benjamin Pasero 03ca1e0d40
tests - align tests on all platforms (#161696)
* web - run ipynb tests on windows too

* some cleanup

* run all tests

* more cleanup
2022-09-26 09:16:42 +02:00