Commit Graph

65 Commits (main)

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
Alex Ross 252f22a4ed
Consider renaming the SQL built in language to MS SQL (#224283)
Fixes #221648
2024-07-30 04:02:08 -07: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 3c86ede5f5
Update grammars (#200730) 2023-12-13 13:08:01 +01:00
Alex Ross 41c7fc34e0
Update grammars (#189172) 2023-07-28 17:48:19 +02:00
Alex Ross 53dcdf3ee8
Update grammars (#184151)
* Update grammars

* Update grammar tests
2023-06-02 13:54:16 +02:00
Charles Gagnon 89db3e46dd
Set offSide to sql lang configuration to true (#183461) 2023-05-26 16:18:52 +02:00
Alex Ross 6ac83c7c7d
Update grammars (#178508)
* Update grammars

* Update tests
2023-03-29 11:38:06 +02:00
Alex Ross ede5714228
Update SQL grammar (#171237)
Fixes #171114
2023-01-13 10:42:37 +01:00
Alex Ross ceaf7a431b
Update grammars (#165100) 2022-11-01 07:21:34 -07:00
Alex Ross 7b69a3c4e1
Update grammars (#154099) 2022-07-05 09:53:51 +02:00
Matt Bierner 841aed8ed1
Move more update-grammar scripts to mjs 2022-03-01 17:28:57 -08:00
Martin Aeschlimann db9e8fba63 remove unecessary files in build 2022-02-18 20:38:55 +01:00
gjsjohnmurray bcccb1627c Support --#region and --#endregion in SQL (#141257) 2022-01-24 09:16:13 +00:00
Alex Ross 6ceee3192e
Update grammars 2021-08-30 14:45:57 +02: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
Alex Ross f53678cb4b Update branch for sql grammar
Fixes https://github.com/microsoft/vscode/issues/109251
2020-11-06 14:04:50 +01:00
Alex Ross d6af4893ed Update grammars 2020-11-05 14:53:33 +01:00
ChaseKnowlden e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Alex Ross 5cd1eff604 Update grammars 2020-09-07 16:47:30 +02:00
Alex Ross ca74bac4b0 Update grammars 2020-06-18 17:35:13 +02:00
Alex Ross 884fcedf97 Update grammars 2020-05-11 14:03:54 +02:00
Alex Ross f474fcb271 update-grammars 2020-04-06 13:29:57 +02:00
Miguel Solorio 666fcc0d62 Fix #88418, update number color for color contrast 2020-01-21 10:23:18 -08:00
Anthony Dresser 28402eb956 Update sql language syntax (#77601)
* update sql language syntax

* Remove changes to sql grammar
2019-10-07 13:58:48 +02:00
Alex Ross a570522203 Update grammars
Also added a test for an existing c++ syntax highlighting issue.
2019-07-01 16:39:15 +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 b0b6dc6c2e Update grammars to pick up make changes
and fix hashes.
2019-02-06 15:16:49 +01: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
Martin Aeschlimann 10a1d2a50a update grammars 2018-10-04 12:00:39 +02:00
Alex Dima 34e7a220c8 Avoid shipping unnecessary files 2018-09-19 19:53:46 +02:00
ranolfi 5a06498759 Automatic wrapping with `` (backticks) for SQL
Related to #49188

Should close the issue along with d5a8ffc0.
2018-05-04 05:41:15 -03:00
Greg Van Liew b3a1b98d54 Edit pass on built-in extension descriptions (#44875) 2018-03-01 16:43:06 -08:00
Ramya Achutha Rao 15d0e9b30b Remove and other language features from description of basic builtin extensions #44626 2018-02-27 18:15:50 -08:00
Martin Aeschlimann 8bd41ceeca built-in extensions: version to 1.0.0 (for #43978) 2018-02-27 15:16:07 +01:00
Martin Aeschlimann 292a290e3f Rename built-in syntax and snippet extensions to "Language Basics". Fixes #44241 2018-02-26 21:27:22 +01:00
Martin Aeschlimann e45d279b36 description & name for built-in languages (#43978) 2018-02-20 10:09:22 +01:00
Martin Aeschlimann 8fdf170a08 update grammar script: remove unused properties 2018-02-12 16:54:46 +01:00
Martin Aeschlimann 2e93ae50c5 [sql] update grammar 2018-02-09 12:45:27 +01:00
Martin Aeschlimann 51d8f360e5 [sql] replace grammar 2017-10-25 17:26:12 +02:00
Martin Aeschlimann e9d793eb33 [sql] switch to Microsoft/sql grammar (fixes #36853) 2017-10-25 16:32:04 +02:00
Joao Moreno 5667cc0e69 use vsce to determine what to package when bundling extensions
fixes #29054
2017-06-21 16:17:21 +02:00