Commit Graph

287 Commits

Author SHA1 Message Date
Alex Ross
210541906e Update grammars (#232238) 2024-10-25 11:35:17 +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
Sandeep Somavarapu
1e0580ec23 Use categories for builtin extensions groups (#202453)
* support grouping of extensions

* remove grouping

* reuse categories parsing

* cleanup

* fix tests
2024-01-14 18:19:29 +01:00
Alex Ross
ae23e73ba0 Update CSS grammar (#193333) 2023-09-18 11:46:17 +02:00
Andrea Mah
6bc77ae5af Pull new CSS grammar for colors, lengths, etc. (#187013)
Fixes #187012
2023-07-05 08:53:57 -07:00
Alex Ross
a68448fcb4 Update grammars (#181143) 2023-04-28 17:43:01 +02:00
Alex Ross
166b8e2d90 Update grammars (#172807) 2023-01-30 06:27:20 -08:00
Alex Ross
9bcc577478 Point to new microsoft/vscode-css repo (#171252)
Part of #169873
2023-01-13 14:33:39 +01:00
Alex Ross
e08e3ff8b9 Update css grammar (#150724) 2022-05-30 17:42:17 +02:00
Alex Ross
9efc116de0 Update grammars 2021-11-02 15:32:34 +01:00
Alex Ross
8aea156be8 Update css grammar 2021-07-20 09:52:12 +02:00
Henning Dieterichs
dcf81c6265 Removes g flag from wordPatterns. 2021-05-31 19:47:57 +02:00
Henning Dieterichs
a1af8aa651 Refactors calls to languages.setLanguageConfiguration to declarative descriptions in language-configuration.json. This fixes #98621. 2021-05-17 09:12:01 +02:00
Alex Ross
bc405e936f Try new CSS grammar
Fixes #115480
2021-03-11 16:09:05 +01:00
Alex Ross
0f17001790 Fix update-grammar scripts for cross-platform use 2021-02-08 15:39:56 +01:00
João Moreno
c3b556727e fix update-grammars script 2021-02-02 12:30:08 +01:00
João Moreno
03da2de889 add proper yarn.lock files 2021-02-01 14:35:52 +01:00
João Moreno
ec805db5ed add repository field to extensions package.json 2021-01-29 15:30:45 +01:00
João Moreno
9a5d14e307 run prettier over extensions json files 2021-01-29 15:19:18 +01:00
João Moreno
3b03189afa Restore extensions in core (#114921)
* bring back grammar extensions

* fix hygiene

* Revert "pull themes from the marketplace"

This reverts commit 0738f76dac.
2021-01-25 17:07:56 +01:00
João Moreno
bc7d3c9ea6 remove grammar extensions 2021-01-15 12:35:17 +01:00
Miguel Solorio
666fcc0d62 Fix #88418, update number color for color contrast 2020-01-21 10:23:18 -08:00
Alex Ross
3f1f36333d Update grammars 2019-11-04 14:11:36 +01:00
Joao Moreno
66e14b8be8 cleanup 2019-07-15 07:25:46 +02:00
Aurélien Pupier
7a5bca9faf Add License field to package.jsons #68423 (#68771)
it should avoid to have "warning XXX: No license field" during yarn
build

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
2019-06-06 11:44:50 +02:00
Alex Ross
96410ff870 Update grammars 2019-06-03 12:01:42 +02:00
Alex Ross
9c00167f2e Update grammars 2019-04-05 12:51:44 +00:00
Alex Ross
59a24aa10f Update cgmanifest for CSS grammar 2019-03-25 17:07:53 +01:00
Pine Wu
4833debfe0 Update css grammar. Fix #66775 2019-01-30 14:27:40 -08:00
Alex Ross
6c6cd0aab4 Update grammars 2018-12-12 17:25:07 +01:00
isidor
9edd984da8 delete OSSREADME.json 2018-11-20 12:54:22 +01:00
isidor
2ba92aa3e8 add commitHash to cgmanifest 2018-11-15 17:43:46 +01:00
isidor
347fb6347b add all cgmanifests. Still no commitHash 2018-11-14 18:18:25 +01:00
Pine Wu
73461169ab CSS highlight for font-family 'cursive' and 'fantasy' 2018-10-15 15:08:32 -07:00
Pine Wu
67649d3923 Update to latest css grammar for #57407 2018-09-19 11:58:53 -07:00
Alex Dima
34e7a220c8 Avoid shipping unnecessary files 2018-09-19 19:53:46 +02:00
Martin Aeschlimann
c0bbadd911 remove meta.selector color rule (for #56813) 2018-09-13 22:39:31 +02:00
Pine Wu
d8c62854dd Pull latest grammar and fix #55644 2018-08-29 15:28:22 -07:00
Pine Wu
53b5645dc2 Pull latest css grammar 2018-07-30 16:28:14 -07:00
Martin Aeschlimann
c640a0ed5c adopt color changes in colorizer tests 2018-07-27 11:02:03 +02:00
Pine Wu
fec5cf6f43 Update css grammar for #53606 and #53797 2018-07-15 07:24:19 +08:00
Pine Wu
e62554e4b1 [css] Update grammar from octref/language-css 2018-06-25 17:26:32 -07:00
Pine Wu
79b64c4f81 [css] Add css launch config for testing grammar 2018-06-18 10:31:13 -07:00
Martin Aeschlimann
772aaf777a update grammars 2018-06-11 13:03:28 +02:00
Pine Wu
c73fade234 Add tokenType for css to trigger path completion too. #46145 2018-03-20 18:35:28 -07:00
Pine Wu
c52149e7a3 [css] split extension (for #45900) 2018-03-20 14:57:58 -07:00
Pine
d2b9a7cc45 Merge branch 'master' into octref/pathCompletion 2018-03-20 14:25:31 -07:00
Pine Wu
e394797455 Update deps, remove applyEdits 2018-03-20 14:24:09 -07:00
Martin Aeschlimann
4c81ed502a include json/css in integration tests 2018-03-20 15:29:49 +01:00
Pine Wu
0999fc0503 Update css server deps 2018-03-19 15:08:30 -07:00