Commit Graph

69 Commits

Author SHA1 Message Date
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
meganrogge
128933bbbb fix #196401 2023-10-25 09:15:51 -07:00
meganrogge
652ef862b8 pass first letter into terminal, don't await timeout 2023-10-20 13:48:45 -07:00
Alex Ross
2dcfc3798f Kill, yarn, build task (#185571) 2023-06-19 18:57:04 +02:00
Henning Dieterichs
c9c8e53032 Replaces http-server with playground-server (#179876) 2023-04-13 07:39:35 -07:00
Henning Dieterichs
031e97749c Fixes http server launch config 2023-02-22 11:47:30 +01:00
Henning Dieterichs
6a22e832b7 Adresses PR feedback, adopts most recent textmate version. 2023-02-17 17:04:41 +01:00
Henning Dieterichs
f4b345578d Adds monaco editor playground launch config & http server 2023-02-10 19:18:47 +01:00
Sandeep Somavarapu
82ac904296 add run code web launches (#162364) 2022-09-29 17:45:27 +02:00
Alex Ross
db8c1f7877 Add restart VS Code build task
Fixes #143589
2022-02-22 14:29:23 +01:00
Alex Ross
5fff5f1d06 Add close options to build tasks
Fixes #143407
2022-02-21 08:48:59 +01:00
Martin Aeschlimann
7935cd295c missing rename code-server-web -> code-server 2022-01-20 18:10:33 +01:00
Benjamin Pasero
13461f8c61 Web: change yarn web to run with our server instead of playground (#139725)
* web - first cut `yarn web` via our server

* properly pipe output

* web - remove traces of web playground

* web - remember last opened workspace for convinience

* use vscode-test-web for server less, clean up web commands

* fix comment

* fix `yarn web`

* rename to code-server

* open system browser

* code-server script: use minimist

* test resolver: use ./scripts/code-server

* integartion tests: fix code-server command name

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-01-20 13:48:08 +01:00
Alex Ross
838cbd5223 Fix build problem matcher
Fixes #139089
2021-12-14 16:15:38 +01:00
Alex Ross
b7009c5b54 Add close option to several tasks
Part of #112230
2021-05-06 15:10:40 +02:00
Matt Bierner
9be6a2476e Combine build ext and build ext media tasks
Previously I split these up since I wasn't sure if we wanted finer grained control over them. Sounds like having them combined is more convenient
2021-05-05 08:39:58 -07:00
Matt Bierner
7adfba6262 Remove no implicit override task
Now enabled by default
2021-04-28 16:33:01 -07:00
Matt Bierner
782ec1356c Add build extension media tasks
Fixes #121710
2021-04-27 14:14:39 -07:00
Alex Ross
a065a9458d Task name updates 2021-04-27 17:26:45 +02:00
Alex Ross
f247d234d7 Use terminal groups for build
Fixes https://github.com/microsoft/vscode/issues/122287
2021-04-27 11:47:40 +02:00
Alex Ross
d2b6aa211d Problems in no-implici-override-watch 2021-04-12 11:44:19 +02:00
Johannes Rieken
e70d5b0aee task for no-implict-override-watch 2021-04-12 11:03:58 +02:00
Rob Lourens
d2cbc66835 Add empty problem matchers to build tasks so they don't ask me questions 2021-01-24 15:35:43 -08:00
Johannes Rieken
45e6a5e617 yarn.lock and task for tsec, https://github.com/microsoft/vscode/issues/105747 2020-09-01 13:04:39 +02:00
Connor Peet
322293b46e fix: vscode prelaunch task failing on case-sensitive filesystems
Fixes https://github.com/microsoft/vscode/issues/104105
2020-08-06 08:10:20 -07:00
Connor Peet
262ab802d3 launch: check prerequisites in a pre-launch task
Fixes https://github.com/microsoft/vscode/issues/103708
2020-07-31 10:55:07 -07:00
Alex Ross
42764922e9 Add daemon build kill tasks 2020-07-08 13:53:39 +02:00
João Moreno
7199c076e3 use compound tasks for selfhost 2020-07-07 11:34:06 +02:00
João Moreno
a6327082d1 parallelize watch-client and watch-extensions 2020-07-03 10:25:24 +02:00
Eric Amodio
2fbb91cca4 Adds tasks for web extensions 2020-06-29 11:43:09 -04:00
Eric Amodio
c523955ccc Removes unneeded -- with yarn 2020-06-08 18:09:37 -04:00
João Moreno
c7b69ce12a use yarn watchd for the default build task 2020-04-16 14:42:52 +02:00
João Moreno
8eb6617855 revert task 2020-04-16 11:36:46 +02:00
João Moreno
2c97c71f73 deemon 2020-04-16 11:35:34 +02:00
Matt Bierner
2158e77627 Enable strict mode for VS Code core
Fixes #81574
2020-02-18 10:41:41 -08:00
Johannes Rieken
186491566a add eslint task definition 2020-01-03 10:34:42 +01:00
Johannes Rieken
ca8a717f5e tslint removal 2020-01-03 09:01:41 +01:00
Matt Bierner
23947ea1ff Add strict function type task
For #81574

Replaces the strict property task since this is no longer needed
2019-11-14 17:27:18 -08:00
Joao Moreno
da114f3625 fix electron task 2019-10-17 11:32:37 +02:00
Alex Ross
198b3a28da Make Run web task beginsPattern slightly more specific
Fixes #82621
2019-10-16 12:19:42 +02:00
Rob Lourens
84d62ea8a3 Add launch config/task for "yarn web" 2019-10-15 11:27:23 -07:00
Alex Ross
f239d28539 Make build task default 2019-09-26 09:56:10 +02:00
Alex Ross
93af1ad14d Add group to configure task
This will help prevent confusion

Fixes #78396
2019-08-05 11:47:07 +02:00
Matt Bierner
4f03abce7c Add strict properly init task 2019-04-03 14:54:02 -07:00
Matt Bierner
7d0e64f5ec Strict null check VS Code
Fixes #60565
Fixes #70417
2019-03-19 10:51:31 -07:00
Alex Ross
44bf93164a Make strict null check automatic 2018-11-30 15:06:08 +01:00
Dirk Baeumer
832a49c79a Problem matcher for strict null checks 2018-10-16 16:15:36 +02:00
Johannes Rieken
8947e963ec tweak strict null task 2018-10-16 15:52:57 +02:00
Johannes Rieken
5df93623cf add strict null task 2018-10-16 15:37:48 +02:00
Erich Gamma
56111c9cc6 update to tslint5 2017-11-07 12:08:22 +01:00