Commit graph

369 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
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 5f9fc780c2
Add snippets as a language (#185017)
* Add snippets as a language

* Snippets -> Code Snippets

* Add tests

* json.snippets -> json.comments.snippets
2023-07-28 09:21:56 -07:00
Yash Singh 4ec04f4c25
feat: .vuerc as json file (#153017)
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-05-29 21:12:30 +02:00
DoctorKrolic 0adddd8281
Add JSON Lines language definition (#183035)
* Add `JSON Lines` language definition

* Fix ident
2023-05-25 10:02:57 +02:00
Gerrit Birkeland 9ac5f48ff3
Add jsonc registration for TypeDoc config (#157362)
This is supported as of TypeDoc 0.23. Since it is more commonly used than ember-cli, seems reasonable to add it here.
2022-09-26 15:51:23 +02:00
Martin Aeschlimann 083cf01e10
json indent pattern: handle escape characters (#152475) 2022-06-17 14:31:03 +00:00
Martin Aeschlimann 375681e51e
json: use default word pattern (#151754) 2022-06-13 14:36:42 +02:00
rebornix cca25256a3
remvoe jupyter(json) 2022-02-15 17:45:09 -08:00
Mateusz Konieczny 4fa31ba157
recognise .geojson as json, fixes #129329 2021-07-25 10:28:36 +02:00
rebornix cf0231eb6e fix #124918. preserve ipynb file type. 2021-06-30 15:15:59 -07:00
Henning Dieterichs feed53b813
Merge branch 'main' into hediet/refactor-language-configuration 2021-05-31 19:40:48 +02:00
Martin Aeschlimann 693677c8a2
babel.config.json language mode should be 'jsonc'. Fixes #124683 2021-05-27 13:33:47 +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
rebornix c63564b531
fix #122589 2021-04-30 14:42:10 -07: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
Logan Rosen 710da39135 Mark .ember-cli as jsonc instead of json
The .ember-cli file generated by Ember is JSON with Comments (jsonc): https://github.com/ember-cli/ember-cli/blob/master/blueprints/app/files/.ember-cli

I've changed its associated language accordingly because it being the JSON type by default causes red underlines in the generated file.
2020-11-12 22:33:38 -05: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
Martin Aeschlimann 4c99db1a05 file extensins: put primary first. For #102100 2020-07-11 17:36:19 +02:00
Matt Bierner 040034f7ae Update colorizer baselines 2020-05-26 16:22:50 -07:00
John Blackbourn b398b7ea14
Treat *.ts.map files as JSON (#98409) 2020-05-26 11:59:28 -07:00
Ilia Pozdnyakov dbdf8bb075 add more json file extensions #95584 2020-04-21 14:45:05 +07:00
Martin Aeschlimann e81eebde0d Minimal support for JSON-LD files. Fixes #95013 2020-04-14 12:13:12 +02:00
Martin Aeschlimann abab0c8548 [json] move jsonValidation declaration for #88835 2020-01-23 11:35:51 +01:00
Miguel Solorio 666fcc0d62 Fix #88418, update number color for color contrast 2020-01-21 10:23:18 -08:00
Alex Ross a0bc43dd73 Update grammars 2019-10-21 11:21:03 +02:00
Martin Aeschlimann eb9fe80de6 when editing c#, typing /* causes */ to be injected. Fixes #43989 2019-10-08 17:39:47 +02:00
Ԝеѕ 32b4eb7359 Add .har extension to JSON language (#77300) 2019-10-07 12:08:52 +02:00
Orta Therox a89b72bf63 Fix hardcoded lower case S issues for JS/TS only for presentation-ish strinngs 2019-09-12 09:58:03 -04:00
Martin Aeschlimann a7def72d9e trailing commas only for setting files 2019-08-29 13:19:03 +02:00
Daniel Imms d2ed5fb5e5 Make tslint.json jsonc language
Fixes #78821
2019-08-09 11:11:58 -07:00
Daniel Imms 3e60627dce Use JSON with comments for .eslintrc(.json)
Fixes #73483
2019-06-26 16:50:54 -07: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
Martin Aeschlimann 6850012cf4
Merge pull request #67517 from kdy1/swcrc
Treat .swcrc file as json
2019-02-13 16:41:00 +01:00
Martin Aeschlimann 7484e90bf0
Merge pull request #67861 from johnbillion/fix/composer-lock-json
Treat Composer lock files as JSON by default
2019-02-05 08:46:05 +01:00
Alex Ross 6e968190df Update grammars 2019-02-04 16:35:48 +01:00
John Blackbourn b46c77b7ad Treat Composer lock files as JSON by default. Fixes #67859. 2019-02-04 15:45:08 +01:00
강동윤 6b314dc984 treat .swcrc file as json 2019-01-30 14:24:59 +09:00
Donald Pipowitch ee5153ffde
added .hintrc and moved .babelrc to jsonc grammar 2018-11-26 07:57:55 +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
Alex Dima 34e7a220c8 Avoid shipping unnecessary files 2018-09-19 19:53:46 +02:00
Martin Aeschlimann ee3d28f28a [json] update dependencies, support schema-draft7 2018-08-27 17:21:20 +02:00