From be82855b3b7be8c914415dad66a5296d39817dc8 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Mon, 1 Jan 2024 04:32:12 +0100 Subject: [PATCH] chore: add `lateUpdate` meta info --- packages/tm-grammars/index.d.ts | 3 +- packages/tm-grammars/index.js | 179 ++++++++++++++++++++++++++++++++ packages/tm-themes/index.d.ts | 3 +- packages/tm-themes/index.js | 34 ++++++ scripts/shared/github.ts | 33 +++--- 5 files changed, 238 insertions(+), 14 deletions(-) diff --git a/packages/tm-grammars/index.d.ts b/packages/tm-grammars/index.d.ts index e6d2f27..3ca8a79 100644 --- a/packages/tm-grammars/index.d.ts +++ b/packages/tm-grammars/index.d.ts @@ -9,7 +9,8 @@ export interface GrammarInfo { aliases?: string[] licenseUrl?: string license?: string - sha?: string + sha: string + lastUpdate: string embedded?: string[] embeddedIn?: string[] byteSize: number diff --git a/packages/tm-grammars/index.js b/packages/tm-grammars/index.js index 7cdd07a..274226b 100644 --- a/packages/tm-grammars/index.js +++ b/packages/tm-grammars/index.js @@ -2,6 +2,7 @@ export const grammars = [ { byteSize: 17305, displayName: 'ABAP', + lastUpdate: '2023-07-29T13:25:39Z', name: 'abap', scopeName: 'source.abap', sha: 'a9b2efff4f4afa469d984353384f09e4ebd24055', @@ -13,6 +14,7 @@ export const grammars = [ 'scripting', ], displayName: 'ActionScript', + lastUpdate: '2022-10-05T17:33:28Z', license: 'Apache-2.0', licenseUrl: 'https://raw.githubusercontent.com/BowlerHatLLC/vscode-as3mxml/main/LICENSE', name: 'actionscript-3', @@ -23,6 +25,7 @@ export const grammars = [ { byteSize: 46822, displayName: 'Ada', + lastUpdate: '2023-06-01T16:49:44Z', license: 'GPL-3.0', licenseUrl: 'https://raw.githubusercontent.com/AdaCore/ada_language_server/master/LICENSE', name: 'ada', @@ -33,6 +36,7 @@ export const grammars = [ { byteSize: 12867, displayName: 'Apache Conf', + lastUpdate: '2020-05-30T18:14:18Z', license: 'NOASSERTION', licenseUrl: 'https://raw.githubusercontent.com/colinta/ApacheConf.tmLanguage/main/LICENSE', name: 'apache', @@ -43,6 +47,7 @@ export const grammars = [ { byteSize: 48448, displayName: 'Apex', + lastUpdate: '2023-03-15T18:31:57Z', license: 'NOASSERTION', licenseUrl: 'https://raw.githubusercontent.com/forcedotcom/apex-tmLanguage/main/LICENSE', name: 'apex', @@ -60,6 +65,7 @@ export const grammars = [ 'javascript', 'json', ], + lastUpdate: '2019-05-06T11:54:42Z', name: 'apl', scopeName: 'source.apl', sha: '13541242d9ffae225e89ebba23f9abaa4c60697e', @@ -71,6 +77,7 @@ export const grammars = [ 'scripting', ], displayName: 'AppleScript', + lastUpdate: '2019-09-03T19:15:57Z', name: 'applescript', scopeName: 'source.applescript', sha: '4947cad7494eba084c21cfe04689b4efce96700f', @@ -79,6 +86,7 @@ export const grammars = [ { byteSize: 7047, displayName: 'Ara', + lastUpdate: '2023-01-14T07:35:56Z', license: 'Apache-2.0', licenseUrl: 'https://raw.githubusercontent.com/ara-lang/highlighting/main/LICENSE-APACHE', name: 'ara', @@ -89,6 +97,7 @@ export const grammars = [ { byteSize: 39512, displayName: 'Assembly', + lastUpdate: '2023-07-30T20:16:37Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/13xforever/x86_64-assembly-vscode/master/LICENSE.txt', name: 'asm', @@ -114,6 +123,7 @@ export const grammars = [ 'postcss', 'tsx', ], + lastUpdate: '2023-12-29T02:14:17Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/withastro/language-tools/main/LICENSE', name: 'astro', @@ -124,6 +134,7 @@ export const grammars = [ { byteSize: 5303, displayName: 'AWK', + lastUpdate: '2016-01-20T17:08:42Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/luggage66/vscode-awk/master/LICENSE.txt', name: 'awk', @@ -134,6 +145,7 @@ export const grammars = [ { byteSize: 59357, displayName: 'Ballerina', + lastUpdate: '2023-08-21T05:23:05Z', license: 'Apache-2.0', licenseUrl: 'https://raw.githubusercontent.com/ballerina-platform/ballerina-grammar/master/LICENSE', name: 'ballerina', @@ -150,6 +162,7 @@ export const grammars = [ 'scripting', ], displayName: 'Batch File', + lastUpdate: '2021-05-04T11:41:54Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'bat', @@ -160,6 +173,7 @@ export const grammars = [ { byteSize: 11457, displayName: 'Beancount', + lastUpdate: '2020-03-10T11:55:34Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/Lencerf/vscode-beancount/master/LICENSE', name: 'beancount', @@ -173,6 +187,7 @@ export const grammars = [ ], byteSize: 2169, displayName: 'Berry', + lastUpdate: '2023-07-16T13:39:37Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/berry-lang/berry/master/LICENSE', name: 'berry', @@ -186,6 +201,7 @@ export const grammars = [ 'markup', ], displayName: 'BibTeX', + lastUpdate: '2023-09-11T09:38:45Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'bibtex', @@ -196,6 +212,7 @@ export const grammars = [ { byteSize: 4036, displayName: 'Bicep', + lastUpdate: '2023-10-27T12:18:09Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/Azure/bicep/main/LICENSE', name: 'bicep', @@ -218,6 +235,7 @@ export const grammars = [ 'json', 'css', ], + lastUpdate: '2021-06-28T08:16:43Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/spatie/shiki-php/main/LICENSE.md', name: 'blade', @@ -231,6 +249,7 @@ export const grammars = [ 'general', ], displayName: 'C', + lastUpdate: '2022-06-10T13:55:11Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'c', @@ -244,6 +263,7 @@ export const grammars = [ ], byteSize: 10592, displayName: 'Cadence', + lastUpdate: '2022-07-04T20:41:15Z', license: 'Apache-2.0', licenseUrl: 'https://raw.githubusercontent.com/onflow/vscode-cadence/master/LICENSE', name: 'cadence', @@ -254,6 +274,7 @@ export const grammars = [ { byteSize: 14105, displayName: 'Clarity', + lastUpdate: '2023-06-16T13:06:14Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/hirosystems/clarity.tmbundle/main/LICENSE', name: 'clarity', @@ -270,6 +291,7 @@ export const grammars = [ 'general', ], displayName: 'Clojure', + lastUpdate: '2022-01-31T15:49:23Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'clojure', @@ -283,6 +305,7 @@ export const grammars = [ 'config', ], displayName: 'CMake', + lastUpdate: '2017-11-20T20:37:32Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/twxs/vs.language.cmake/master/LICENSE', name: 'cmake', @@ -298,6 +321,7 @@ export const grammars = [ 'html', 'java', ], + lastUpdate: '2023-12-29T22:29:24Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/spgennard/vscode_cobol/main/LICENSE', name: 'cobol', @@ -311,6 +335,7 @@ export const grammars = [ ], byteSize: 33513, displayName: 'CodeQL', + lastUpdate: '2023-09-08T08:43:39Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/github/vscode-codeql/main/LICENSE.md', name: 'codeql', @@ -332,6 +357,7 @@ export const grammars = [ embedded: [ 'javascript', ], + lastUpdate: '2019-01-25T23:34:58Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'coffee', @@ -353,6 +379,7 @@ export const grammars = [ 'glsl', 'sql', ], + lastUpdate: '2023-03-29T09:38:06Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'cpp', @@ -371,6 +398,7 @@ export const grammars = [ 'javascript', 'shellscript', ], + lastUpdate: '2023-06-17T14:29:37Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/crystal-lang-tools/vscode-crystal-lang/master/LICENSE', name: 'crystal', @@ -388,6 +416,7 @@ export const grammars = [ 'general', ], displayName: 'C#', + lastUpdate: '2023-12-13T12:08:01Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'csharp', @@ -401,6 +430,7 @@ export const grammars = [ 'web', ], displayName: 'CSS', + lastUpdate: '2023-09-18T09:46:17Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'css', @@ -414,6 +444,7 @@ export const grammars = [ 'data', ], displayName: 'csv syntax', + lastUpdate: '2019-01-31T01:50:13Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/mechatroner/vscode_rainbow_csv/master/LICENSE', name: 'csv', @@ -424,6 +455,7 @@ export const grammars = [ { byteSize: 16313, displayName: 'CUE', + lastUpdate: '2021-08-03T05:05:40Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/cue-sh/vscode-cue/master/LICENSE', name: 'cue', @@ -437,6 +469,7 @@ export const grammars = [ ], byteSize: 6498, displayName: 'Cypher', + lastUpdate: '2023-01-17T10:10:13Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/adam-cowley/neo4j-vscode/main/LICENSE', name: 'cypher', @@ -447,6 +480,7 @@ export const grammars = [ { byteSize: 41204, displayName: 'D', + lastUpdate: '2023-07-07T13:01:08Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/Pure-D/code-d/master/LICENSE.md', name: 'd', @@ -460,6 +494,7 @@ export const grammars = [ 'general', ], displayName: 'Dart', + lastUpdate: '2023-12-13T12:08:01Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'dart', @@ -470,6 +505,7 @@ export const grammars = [ { byteSize: 5924, displayName: 'DAX', + lastUpdate: '2021-08-10T18:28:52Z', name: 'dax', scopeName: 'source.dax', sha: '7fd39aa84552617daa258189b2550dcdbd14149a', @@ -481,6 +517,7 @@ export const grammars = [ 'utility', ], displayName: 'Diff', + lastUpdate: '2021-11-12T09:59:52Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'diff', @@ -497,6 +534,7 @@ export const grammars = [ 'config', ], displayName: 'Dockerfile', + lastUpdate: '2018-02-12T15:54:35Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'docker', @@ -507,6 +545,7 @@ export const grammars = [ { byteSize: 10867, displayName: 'Dream Maker', + lastUpdate: '2017-01-06T06:55:48Z', name: 'dream-maker', scopeName: 'source.dm', sha: '22d2bf0325f65697ea542856280f66e9e098f4a2', @@ -518,6 +557,7 @@ export const grammars = [ embedded: [ 'html', ], + lastUpdate: '2021-12-27T20:12:19Z', license: 'NOASSERTION', licenseUrl: 'https://raw.githubusercontent.com/elixir-editors/elixir-tmbundle/master/LICENSE', name: 'elixir', @@ -531,6 +571,7 @@ export const grammars = [ embedded: [ 'glsl', ], + lastUpdate: '2020-08-01T18:50:23Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/elm-tooling/elm-language-client-vscode/main/LICENSE', name: 'elm', @@ -545,6 +586,7 @@ export const grammars = [ 'html', 'ruby', ], + lastUpdate: '2014-10-30T18:38:50Z', name: 'erb', scopeName: 'text.html.erb', sha: 'ecf0f1df23984bcff9b51552e35d9696cb0d9539', @@ -556,6 +598,7 @@ export const grammars = [ ], byteSize: 28833, displayName: 'Erlang', + lastUpdate: '2023-07-27T09:18:25Z', license: 'Apache-2.0', licenseUrl: 'https://raw.githubusercontent.com/erlang-ls/grammar/main/LICENSE', name: 'erlang', @@ -569,6 +612,7 @@ export const grammars = [ 'scripting', ], displayName: 'Fish', + lastUpdate: '2022-01-23T01:18:50Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/bmalehorn/vscode-fish/master/LICENSE', name: 'fish', @@ -589,6 +633,7 @@ export const grammars = [ embedded: [ 'markdown', ], + lastUpdate: '2023-12-13T12:08:01Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'fsharp', @@ -603,6 +648,7 @@ export const grammars = [ 'gdshader', 'gdscript', ], + lastUpdate: '2023-12-06T14:53:10Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE', name: 'gdresource', @@ -613,6 +659,7 @@ export const grammars = [ { byteSize: 15818, displayName: 'GDScript', + lastUpdate: '2023-12-22T11:04:02Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE', name: 'gdscript', @@ -623,6 +670,7 @@ export const grammars = [ { byteSize: 6096, displayName: 'GDShader', + lastUpdate: '2023-12-06T14:53:10Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE', name: 'gdshader', @@ -633,6 +681,7 @@ export const grammars = [ { byteSize: 12425, displayName: 'Gherkin', + lastUpdate: '2022-07-03T18:01:28Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/alexkrechik/VSCucumberAutoComplete/master/LICENSE', name: 'gherkin', @@ -649,6 +698,7 @@ export const grammars = [ embedded: [ 'diff', ], + lastUpdate: '2023-02-07T12:40:16Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'git-commit', @@ -665,6 +715,7 @@ export const grammars = [ embedded: [ 'shellscript', ], + lastUpdate: '2021-11-12T10:35:35Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'git-rebase', @@ -682,6 +733,7 @@ export const grammars = [ 'javascript', 'handlebars', ], + lastUpdate: '2023-07-03T16:07:58Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/IgnaceMaes/glimmer-textmate-grammar/main/LICENSE', name: 'glimmer-js', @@ -699,6 +751,7 @@ export const grammars = [ 'typescript', 'handlebars', ], + lastUpdate: '2023-07-03T16:07:58Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/IgnaceMaes/glimmer-textmate-grammar/main/LICENSE', name: 'glimmer-ts', @@ -712,6 +765,7 @@ export const grammars = [ embedded: [ 'c', ], + lastUpdate: '2014-07-27T13:53:58Z', name: 'glsl', scopeName: 'source.glsl', sha: '6998d3bbd204e26746a5ca580cda4c650b9057b1', @@ -720,6 +774,7 @@ export const grammars = [ { byteSize: 21014, displayName: 'Gnuplot', + lastUpdate: '2018-07-01T23:29:26Z', license: 'GPL-3.0', licenseUrl: 'https://raw.githubusercontent.com/MarioSchwalbe/vscode-gnuplot/master/LICENSE', name: 'gnuplot', @@ -733,6 +788,7 @@ export const grammars = [ 'general', ], displayName: 'Go', + lastUpdate: '2020-09-16T13:24:16Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'go', @@ -755,6 +811,7 @@ export const grammars = [ 'jsx', 'tsx', ], + lastUpdate: '2021-09-27T21:24:32Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/graphql/vscode-graphql/master/LICENSE', name: 'graphql', @@ -768,6 +825,7 @@ export const grammars = [ 'general', ], displayName: 'Groovy', + lastUpdate: '2018-02-12T15:54:35Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'groovy', @@ -785,6 +843,7 @@ export const grammars = [ 'html', 'sql', ], + lastUpdate: '2022-10-03T22:33:42Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/slackhq/vscode-hack/master/LICENSE.md', name: 'hack', @@ -807,6 +866,7 @@ export const grammars = [ 'markdown', 'css', ], + lastUpdate: '2022-06-22T00:28:44Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/karuna/haml-vscode/master/LICENSE.md', name: 'haml', @@ -829,6 +889,7 @@ export const grammars = [ 'javascript', 'yaml', ], + lastUpdate: '2019-05-16T17:17:43Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'handlebars', @@ -845,6 +906,7 @@ export const grammars = [ 'general', ], displayName: 'Haskell', + lastUpdate: '2020-08-20T04:20:28Z', license: 'BSD-3-Clause', licenseUrl: 'https://raw.githubusercontent.com/octref/language-haskell/master/LICENSE', name: 'haskell', @@ -855,6 +917,7 @@ export const grammars = [ { byteSize: 11370, displayName: 'HashiCorp HCL', + lastUpdate: '2023-11-17T11:42:37Z', license: 'MPL-2.0', licenseUrl: 'https://raw.githubusercontent.com/hashicorp/syntax/main/LICENSE', name: 'hcl', @@ -868,6 +931,7 @@ export const grammars = [ 'data', ], displayName: 'Hjson', + lastUpdate: '2018-10-25T15:31:53Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/hjson/textmate-hjson/master/LICENSE', name: 'hjson', @@ -881,6 +945,7 @@ export const grammars = [ 'dsl', ], displayName: 'HLSL', + lastUpdate: '2020-02-03T12:01:47Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'hlsl', @@ -899,6 +964,7 @@ export const grammars = [ 'javascript', 'css', ], + lastUpdate: '2022-12-07T13:44:00Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'html', @@ -919,6 +985,7 @@ export const grammars = [ 'xml', 'graphql', ], + lastUpdate: '2023-07-24T09:58:17Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/Huachao/vscode-restclient/master/LICENSE', name: 'http', @@ -935,6 +1002,7 @@ export const grammars = [ embedded: [ 'typescript', ], + lastUpdate: '2023-12-15T08:11:58Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/imba/imba/master/LICENSE', name: 'imba', @@ -951,6 +1019,7 @@ export const grammars = [ 'data', ], displayName: 'INI', + lastUpdate: '2018-02-12T15:54:35Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'ini', @@ -964,6 +1033,7 @@ export const grammars = [ 'general', ], displayName: 'Java', + lastUpdate: '2023-12-13T12:08:01Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'java', @@ -982,6 +1052,7 @@ export const grammars = [ 'general', ], displayName: 'JavaScript', + lastUpdate: '2023-06-30T16:14:40Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'javascript', @@ -999,6 +1070,7 @@ export const grammars = [ embedded: [ 'jinja-html', ], + lastUpdate: '2022-08-30T14:06:56Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/samuelcolvin/jinjahtml-vscode/main/LICENSE', name: 'jinja', @@ -1016,6 +1088,7 @@ export const grammars = [ embedded: [ 'javascript', ], + lastUpdate: '2020-04-29T00:41:44Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/cdibbs/language-jison/master/LICENSE.md', name: 'jison', @@ -1030,6 +1103,7 @@ export const grammars = [ 'data', ], displayName: 'JSON', + lastUpdate: '2020-11-05T13:50:48Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'json', @@ -1043,6 +1117,7 @@ export const grammars = [ 'data', ], displayName: 'JSON5', + lastUpdate: '2016-10-01T11:46:03Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/mrmlnc/vscode-json5/master/LICENSE', name: 'json5', @@ -1057,6 +1132,7 @@ export const grammars = [ 'data', ], displayName: 'JSON with Comments', + lastUpdate: '2023-05-25T08:02:57Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'jsonc', @@ -1071,6 +1147,7 @@ export const grammars = [ 'data', ], displayName: 'JSON Lines', + lastUpdate: '2023-05-25T08:02:57Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'jsonl', @@ -1081,6 +1158,7 @@ export const grammars = [ { byteSize: 3400, displayName: 'Jsonnet', + lastUpdate: '2017-03-12T08:07:55Z', license: 'Apache-2.0', licenseUrl: 'https://raw.githubusercontent.com/heptio/vscode-jsonnet/master/LICENSE', name: 'jsonnet', @@ -1094,6 +1172,7 @@ export const grammars = [ ], byteSize: 2860, displayName: 'JSSM', + lastUpdate: '2017-08-20T01:05:35Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/StoneCypher/sublime-jssm/master/LICENSE', name: 'jssm', @@ -1107,6 +1186,7 @@ export const grammars = [ 'web', ], displayName: 'JSX', + lastUpdate: '2023-06-30T16:14:40Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'jsx', @@ -1128,6 +1208,7 @@ export const grammars = [ 'r', 'sql', ], + lastUpdate: '2023-12-13T12:08:01Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'julia', @@ -1145,6 +1226,7 @@ export const grammars = [ 'general', ], displayName: 'Kotlin', + lastUpdate: '2023-10-11T19:11:45Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/fwcd/vscode-kotlin/main/LICENSE', name: 'kotlin', @@ -1158,6 +1240,7 @@ export const grammars = [ ], byteSize: 19691, displayName: 'Kusto', + lastUpdate: '2022-09-27T22:38:03Z', name: 'kusto', scopeName: 'source.kusto', sha: '638b8a9249c2c423bc263726661cde534b25adc7', @@ -1187,6 +1270,7 @@ export const grammars = [ 'scala', 'gnuplot', ], + lastUpdate: '2023-12-13T12:08:01Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'latex', @@ -1200,6 +1284,7 @@ export const grammars = [ 'web', ], displayName: 'Less', + lastUpdate: '2023-12-05T14:17:02Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'less', @@ -1216,6 +1301,7 @@ export const grammars = [ 'json', 'javascript', ], + lastUpdate: '2023-01-04T20:47:26Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/Shopify/liquid-tm-grammar/main/LICENSE.md', name: 'liquid', @@ -1229,6 +1315,7 @@ export const grammars = [ 'general', ], displayName: 'Lisp', + lastUpdate: '2021-10-14T13:24:48Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/mattn/vscode-lisp/master/LICENSE', name: 'lisp', @@ -1239,6 +1326,7 @@ export const grammars = [ { byteSize: 3098, displayName: 'Logo', + lastUpdate: '2011-11-14T07:42:34Z', name: 'logo', scopeName: 'source.logo', sha: '3205e987ed2a2aa11accdd55a7d094832441f89c', @@ -1253,6 +1341,7 @@ export const grammars = [ embedded: [ 'c', ], + lastUpdate: '2023-12-13T12:08:01Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'lua', @@ -1269,6 +1358,7 @@ export const grammars = [ 'config', ], displayName: 'Makefile', + lastUpdate: '2023-01-10T10:50:28Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'make', @@ -1339,6 +1429,7 @@ export const grammars = [ 'latex', 'bibtex', ], + lastUpdate: '2023-12-13T12:08:01Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'markdown', @@ -1359,6 +1450,7 @@ export const grammars = [ 'scss', 'javascript', ], + lastUpdate: '2023-03-24T17:23:39Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/marko-js/marko-tmbundle/master/LICENSE', name: 'marko', @@ -1369,6 +1461,7 @@ export const grammars = [ { byteSize: 21265, displayName: 'MATLAB', + lastUpdate: '2020-02-01T01:40:30Z', name: 'matlab', scopeName: 'source.matlab', sha: '69dbf20c1eb19efd629c0438a2a493e60617e8de', @@ -1385,6 +1478,7 @@ export const grammars = [ 'markdown', 'yaml', ], + lastUpdate: '2023-09-01T11:16:46Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/nuxtlabs/vscode-mdc/main/LICENSE', name: 'mdc', @@ -1443,6 +1537,7 @@ export const grammars = [ 'swift', 'typescript', ], + lastUpdate: '2023-10-26T10:56:19Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/wooorm/markdown-tm-language/main/license', name: 'mdx', @@ -1453,6 +1548,7 @@ export const grammars = [ { byteSize: 20353, displayName: 'Mermaid', + lastUpdate: '2022-06-10T19:46:22Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/bpruitt-goddard/vscode-mermaid-syntax-highlight/master/LICENSE', name: 'mermaid', @@ -1463,6 +1559,7 @@ export const grammars = [ { byteSize: 77007, displayName: 'Mojo', + lastUpdate: '2023-12-03T00:30:44Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/modularml/mojo-syntax/main/LICENSE', name: 'mojo', @@ -1476,6 +1573,7 @@ export const grammars = [ ], byteSize: 3707, displayName: 'Narrat Language', + lastUpdate: '2022-08-06T14:25:00Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/liana-p/narrat-syntax-highlighting-vscode/main/LICENSE', name: 'narrat', @@ -1489,6 +1587,7 @@ export const grammars = [ ], byteSize: 4507, displayName: 'Nextflow', + lastUpdate: '2022-11-22T13:08:54Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/nextflow-io/vscode-language-nextflow/master/LICENSE.md', name: 'nextflow', @@ -1505,6 +1604,7 @@ export const grammars = [ embedded: [ 'lua', ], + lastUpdate: '2021-11-18T16:10:10Z', license: 'GPL-3.0', licenseUrl: 'https://raw.githubusercontent.com/hangxingliu/vscode-nginx-conf-hint/main/LICENSE', name: 'nginx', @@ -1524,6 +1624,7 @@ export const grammars = [ 'glsl', 'markdown', ], + lastUpdate: '2020-08-30T02:33:21Z', license: 'NOASSERTION', licenseUrl: 'https://raw.githubusercontent.com/pragmagic/vscode-nim/master/LICENSE', name: 'nim', @@ -1534,6 +1635,7 @@ export const grammars = [ { byteSize: 14665, displayName: 'Nix', + lastUpdate: '2015-12-03T18:27:32Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/bbenoist/vscode-nix/master/LICENSE.md', name: 'nix', @@ -1547,6 +1649,7 @@ export const grammars = [ ], byteSize: 17844, displayName: 'nushell', + lastUpdate: '2023-12-08T22:20:29Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/nushell/vscode-nushell-lang/main/LICENSE', name: 'nushell', @@ -1563,6 +1666,7 @@ export const grammars = [ 'general', ], displayName: 'Objective-C', + lastUpdate: '2022-06-10T13:55:11Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'objective-c', @@ -1576,6 +1680,7 @@ export const grammars = [ 'general', ], displayName: 'Objective-C++', + lastUpdate: '2022-06-10T13:55:11Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'objective-cpp', @@ -1589,6 +1694,7 @@ export const grammars = [ 'general', ], displayName: 'OCaml', + lastUpdate: '2019-08-17T12:45:56Z', license: 'Apache-2.0', licenseUrl: 'https://raw.githubusercontent.com/reasonml-editor/vscode-reasonml/master/LICENSE', name: 'ocaml', @@ -1602,6 +1708,7 @@ export const grammars = [ 'general', ], displayName: 'Pascal', + lastUpdate: '2023-07-08T13:48:57Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/alefragnani/vscode-language-pascal/master/LICENSE.md', name: 'pascal', @@ -1622,6 +1729,7 @@ export const grammars = [ 'javascript', 'sql', ], + lastUpdate: '2021-04-06T09:30:15Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'perl', @@ -1644,6 +1752,7 @@ export const grammars = [ 'json', 'css', ], + lastUpdate: '2023-04-17T18:42:57Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'php', @@ -1654,6 +1763,7 @@ export const grammars = [ { byteSize: 8180, displayName: 'PL/SQL', + lastUpdate: '2019-03-31T11:02:30Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/zabel-xyz/plsql-language/master/LICENSE', name: 'plsql', @@ -1667,6 +1777,7 @@ export const grammars = [ 'web', ], displayName: 'PostCSS', + lastUpdate: '2019-03-17T05:02:24Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/vuejs/vetur/master/LICENSE', name: 'postcss', @@ -1677,6 +1788,7 @@ export const grammars = [ { byteSize: 5649, displayName: 'PowerQuery', + lastUpdate: '2019-04-24T13:39:36Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/powerquery-language/master/LICENSE', name: 'powerquery', @@ -1691,6 +1803,7 @@ export const grammars = [ ], byteSize: 21625, displayName: 'PowerShell', + lastUpdate: '2021-11-02T14:27:57Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'powershell', @@ -1701,6 +1814,7 @@ export const grammars = [ { byteSize: 5939, displayName: 'Prisma', + lastUpdate: '2023-09-05T17:09:08Z', license: 'Apache-2.0', licenseUrl: 'https://raw.githubusercontent.com/prisma/language-tools/main/LICENSE', name: 'prisma', @@ -1711,6 +1825,7 @@ export const grammars = [ { byteSize: 11281, displayName: 'Prolog', + lastUpdate: '2018-06-02T15:08:48Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/arthwang/vsc-prolog/master/LICENSE.txt', name: 'prolog', @@ -1721,6 +1836,7 @@ export const grammars = [ { byteSize: 6280, displayName: 'Protocol Buffer 3', + lastUpdate: '2022-02-08T19:51:15Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/zxh0/vscode-proto3/master/LICENSE.txt', name: 'proto', @@ -1747,6 +1863,7 @@ export const grammars = [ 'coffee', 'html', ], + lastUpdate: '2023-03-29T09:38:06Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'pug', @@ -1757,6 +1874,7 @@ export const grammars = [ { byteSize: 11609, displayName: 'Puppet', + lastUpdate: '2020-08-20T04:40:24Z', license: 'Apache-2.0', licenseUrl: 'https://raw.githubusercontent.com/octref/puppet-vscode/main/LICENSE', name: 'puppet', @@ -1767,6 +1885,7 @@ export const grammars = [ { byteSize: 15948, displayName: 'PureScript', + lastUpdate: '2021-05-12T19:47:16Z', license: 'NOASSERTION', licenseUrl: 'https://raw.githubusercontent.com/nwolverson/vscode-language-purescript/master/LICENSE.md', name: 'purescript', @@ -1783,6 +1902,7 @@ export const grammars = [ 'general', ], displayName: 'Python', + lastUpdate: '2022-10-20T22:45:17Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'python', @@ -1796,6 +1916,7 @@ export const grammars = [ 'data', ], displayName: 'R', + lastUpdate: '2023-10-27T16:35:46Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'r', @@ -1812,6 +1933,7 @@ export const grammars = [ 'general', ], displayName: 'Raku', + lastUpdate: '2018-02-12T15:54:35Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'raku', @@ -1826,6 +1948,7 @@ export const grammars = [ 'html', 'csharp', ], + lastUpdate: '2023-10-25T23:16:16Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/dotnet/razor/main/LICENSE.txt', name: 'razor', @@ -1839,6 +1962,7 @@ export const grammars = [ 'dsl', ], displayName: 'Windows Registry Script', + lastUpdate: '2020-02-08T20:48:08Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/mihai-vlc/reg-vscode/master/LICENSE', name: 'reg', @@ -1849,6 +1973,7 @@ export const grammars = [ { byteSize: 3260, displayName: 'Rel', + lastUpdate: '2021-08-25T10:18:43Z', name: 'rel', scopeName: 'source.rel', sha: '63dda4dee48c67b037357f47b562185484555ea9', @@ -1857,6 +1982,7 @@ export const grammars = [ { byteSize: 7577, displayName: 'RISC-V', + lastUpdate: '2020-10-28T01:05:27Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/zhuanhao-wu/vscode-riscv-support/master/LICENSE', name: 'riscv', @@ -1879,6 +2005,7 @@ export const grammars = [ 'cmake', 'ruby', ], + lastUpdate: '2023-10-02T14:56:43Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'rst', @@ -1905,6 +2032,7 @@ export const grammars = [ 'shellscript', 'lua', ], + lastUpdate: '2021-03-29T13:10:29Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'ruby', @@ -1921,6 +2049,7 @@ export const grammars = [ 'general', ], displayName: 'Rust', + lastUpdate: '2023-10-27T16:35:46Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'rust', @@ -1934,6 +2063,7 @@ export const grammars = [ embedded: [ 'sql', ], + lastUpdate: '2019-03-13T21:39:48Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/rpardee/sas/master/LICENSE', name: 'sas', @@ -1947,6 +2077,7 @@ export const grammars = [ 'web', ], displayName: 'Sass', + lastUpdate: '2022-07-03T11:55:08Z', license: 'NOASSERTION', licenseUrl: 'https://raw.githubusercontent.com/TheRealSyler/vscode-sass-indented/master/LICENSE', name: 'sass', @@ -1957,6 +2088,7 @@ export const grammars = [ { byteSize: 27118, displayName: 'Scala', + lastUpdate: '2023-07-11T12:19:41Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/scala/vscode-scala-syntax/main/LICENSE.md', name: 'scala', @@ -1967,6 +2099,7 @@ export const grammars = [ { byteSize: 10614, displayName: 'Scheme', + lastUpdate: '2018-12-25T09:02:00Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/sjhuangx/vscode-scheme/master/LICENSE.md', name: 'scheme', @@ -1983,6 +2116,7 @@ export const grammars = [ embedded: [ 'css', ], + lastUpdate: '2019-11-12T14:37:21Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'scss', @@ -2002,6 +2136,7 @@ export const grammars = [ embedded: [ 'hlsl', ], + lastUpdate: '2018-02-12T15:54:35Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'shaderlab', @@ -2021,6 +2156,7 @@ export const grammars = [ 'scripting', ], displayName: 'Shell', + lastUpdate: '2023-09-19T16:33:30Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'shellscript', @@ -2040,6 +2176,7 @@ export const grammars = [ embedded: [ 'shellscript', ], + lastUpdate: '2021-12-19T08:29:21Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/hronro/sublime-linguist-syntax/master/LICENSE', name: 'shellsession', @@ -2050,6 +2187,7 @@ export const grammars = [ { byteSize: 4002, displayName: 'Smalltalk', + lastUpdate: '2019-05-27T23:37:25Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/leocamello/vscode-smalltalk/master/LICENSE', name: 'smalltalk', @@ -2060,6 +2198,7 @@ export const grammars = [ { byteSize: 15517, displayName: 'Solidity', + lastUpdate: '2023-03-07T16:30:54Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/juanfranblanco/vscode-solidity/master/License.txt', name: 'solidity', @@ -2073,6 +2212,7 @@ export const grammars = [ embedded: [ 'turtle', ], + lastUpdate: '2022-11-21T15:24:11Z', name: 'sparql', scopeName: 'source.sparql', sha: 'a1963c610cde0eab23c44fc01ab36652565524de', @@ -2084,6 +2224,7 @@ export const grammars = [ ], byteSize: 3693, displayName: 'Splunk Query Language', + lastUpdate: '2022-08-09T09:12:38Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/arcsector/vscode-splunk-search-syntax/master/LICENSE.txt', name: 'splunk', @@ -2097,6 +2238,7 @@ export const grammars = [ 'dsl', ], displayName: 'SQL', + lastUpdate: '2023-12-13T12:08:01Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'sql', @@ -2107,6 +2249,7 @@ export const grammars = [ { byteSize: 3500, displayName: 'SSH Config', + lastUpdate: '2018-10-09T21:04:51Z', name: 'ssh-config', scopeName: 'source.ssh-config', sha: '212a0000c50e0c877303b2c4fcead539d2af2670', @@ -2118,6 +2261,7 @@ export const grammars = [ embedded: [ 'sql', ], + lastUpdate: '2018-06-12T13:58:33Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/kylebarron/language-stata/master/LICENSE', name: 'stata', @@ -2134,6 +2278,7 @@ export const grammars = [ 'web', ], displayName: 'Stylus', + lastUpdate: '2021-11-19T11:55:44Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/d4rkr00t/language-stylus/master/LICENSE', name: 'stylus', @@ -2160,6 +2305,7 @@ export const grammars = [ 'pug', 'markdown', ], + lastUpdate: '2023-11-10T09:25:13Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/sveltejs/language-tools/master/LICENSE', name: 'svelte', @@ -2173,6 +2319,7 @@ export const grammars = [ 'general', ], displayName: 'Swift', + lastUpdate: '2023-12-13T11:56:00Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'swift', @@ -2183,6 +2330,7 @@ export const grammars = [ { byteSize: 19474, displayName: 'SystemVerilog', + lastUpdate: '2022-12-23T13:58:32Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE', name: 'system-verilog', @@ -2193,6 +2341,7 @@ export const grammars = [ { byteSize: 3282, displayName: 'Tasl', + lastUpdate: '2021-11-08T06:00:28Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/underlay/vscode-tasl/main/LICENSE', name: 'tasl', @@ -2203,6 +2352,7 @@ export const grammars = [ { byteSize: 4774, displayName: 'Tcl', + lastUpdate: '2017-04-03T11:19:09Z', name: 'tcl', scopeName: 'source.tcl', sha: 'f18820ad14678bc033f0a35524820c90fe50f18b', @@ -2217,6 +2367,7 @@ export const grammars = [ embedded: [ 'r', ], + lastUpdate: '2023-12-13T12:08:01Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'tex', @@ -2230,6 +2381,7 @@ export const grammars = [ 'data', ], displayName: 'TOML', + lastUpdate: '2020-05-25T19:51:56Z', name: 'toml', scopeName: 'source.toml', sha: 'e82b64c1e86396220786846201e9aa3f0a2d9ca2', @@ -2241,6 +2393,7 @@ export const grammars = [ 'web', ], displayName: 'TSX', + lastUpdate: '2023-06-30T16:14:40Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'tsx', @@ -2251,6 +2404,7 @@ export const grammars = [ { byteSize: 3588, displayName: 'Turtle', + lastUpdate: '2022-11-21T15:21:23Z', name: 'turtle', scopeName: 'source.turtle', sha: '3f1364b08bdbf4b4d77f123682db7d2b708b2f6e', @@ -2267,6 +2421,7 @@ export const grammars = [ 'python', 'ruby', ], + lastUpdate: '2023-11-03T21:57:59Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/mblode/vscode-twig-language-2/master/LICENSE.md', name: 'twig', @@ -2285,6 +2440,7 @@ export const grammars = [ 'general', ], displayName: 'TypeScript', + lastUpdate: '2023-06-30T16:14:40Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'typescript', @@ -2295,6 +2451,7 @@ export const grammars = [ { byteSize: 13070, displayName: 'V', + lastUpdate: '2023-01-09T21:56:12Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/vlang/vscode-vlang/master/LICENSE', name: 'v', @@ -2312,6 +2469,7 @@ export const grammars = [ 'scripting', ], displayName: 'Visual Basic', + lastUpdate: '2018-02-12T15:54:35Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'vb', @@ -2322,6 +2480,7 @@ export const grammars = [ { byteSize: 5686, displayName: 'Verilog', + lastUpdate: '2022-11-26T06:23:35Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE', name: 'verilog', @@ -2332,6 +2491,7 @@ export const grammars = [ { byteSize: 34060, displayName: 'VHDL', + lastUpdate: '2023-12-21T19:50:34Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/jonasjj/awesome-vhdl/master/LICENSE.txt', name: 'vhdl', @@ -2346,6 +2506,7 @@ export const grammars = [ ], byteSize: 20672, displayName: 'Vim Script', + lastUpdate: '2018-04-21T00:11:03Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/dunstontc/viml/master/LICENSE', name: 'viml', @@ -2383,6 +2544,7 @@ export const grammars = [ 'vue-interpolations', 'vue-sfc-style-variable-injection', ], + lastUpdate: '2023-11-29T05:26:22Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE', name: 'vue', @@ -2400,6 +2562,7 @@ export const grammars = [ 'vue', 'javascript', ], + lastUpdate: '2020-08-20T02:58:43Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/vuejs/vetur/master/LICENSE', name: 'vue-html', @@ -2413,6 +2576,7 @@ export const grammars = [ ], byteSize: 101727, displayName: 'Vyper', + lastUpdate: '2022-01-17T16:58:22Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/tintinweb/vscode-vyper/master/LICENSE', name: 'vyper', @@ -2426,6 +2590,7 @@ export const grammars = [ 'web', ], displayName: 'WebAssembly', + lastUpdate: '2023-10-31T03:53:56Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/wasmerio/vscode-wasm/master/LICENSE', name: 'wasm', @@ -2439,6 +2604,7 @@ export const grammars = [ ], byteSize: 2122, displayName: 'Wenyan', + lastUpdate: '2020-09-07T17:31:32Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/wenyan-lang/highlight/master/LICENSE', name: 'wenyan', @@ -2452,6 +2618,7 @@ export const grammars = [ 'web', ], displayName: 'WGSL', + lastUpdate: '2023-07-22T16:16:43Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/PolyMeilex/vscode-wgsl/master/LICENSE', name: 'wgsl', @@ -2465,6 +2632,7 @@ export const grammars = [ ], byteSize: 266635, displayName: 'Wolfram', + lastUpdate: '2022-10-11T17:11:31Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/WolframResearch/vscode-wolfram/master/LICENSE', name: 'wolfram', @@ -2482,6 +2650,7 @@ export const grammars = [ embedded: [ 'java', ], + lastUpdate: '2018-10-04T10:00:39Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'xml', @@ -2498,6 +2667,7 @@ export const grammars = [ embedded: [ 'xml', ], + lastUpdate: '2018-02-12T15:54:35Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'xsl', @@ -2514,6 +2684,7 @@ export const grammars = [ 'data', ], displayName: 'YAML', + lastUpdate: '2018-06-11T11:03:21Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'yaml', @@ -2524,6 +2695,7 @@ export const grammars = [ { byteSize: 4173, displayName: 'ZenScript', + lastUpdate: '2021-03-26T19:17:04Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/CraftTweaker/ZenScript-tmLanguage/master/LICENSE', name: 'zenscript', @@ -2537,6 +2709,7 @@ export const grammars = [ 'general', ], displayName: 'zig', + lastUpdate: '2023-10-11T06:24:26Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/ziglang/vscode-zig/master/LICENSE', name: 'zig', @@ -2557,6 +2730,7 @@ export const injections = [ embeddedIn: [ 'cpp', ], + lastUpdate: '2023-03-29T09:38:06Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'cpp-macro', @@ -2573,6 +2747,7 @@ export const injections = [ embeddedIn: [ 'jinja', ], + lastUpdate: '2022-08-17T08:07:37Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/samuelcolvin/jinjahtml-vscode/main/LICENSE', name: 'jinja-html', @@ -2588,6 +2763,7 @@ export const injections = [ injectTo: [ 'text.html.markdown', ], + lastUpdate: '2023-10-23T14:34:03Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE', name: 'markdown-vue', @@ -2606,6 +2782,7 @@ export const injections = [ 'text.html.derivative', 'text.pug', ], + lastUpdate: '2023-10-23T14:34:03Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE', name: 'vue-directives', @@ -2624,6 +2801,7 @@ export const injections = [ 'text.html.derivative', 'text.pug', ], + lastUpdate: '2023-10-23T14:34:03Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE', name: 'vue-interpolations', @@ -2642,6 +2820,7 @@ export const injections = [ injectTo: [ 'source.vue', ], + lastUpdate: '2023-10-23T14:34:03Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/vuejs/language-tools/master/LICENSE', name: 'vue-sfc-style-variable-injection', diff --git a/packages/tm-themes/index.d.ts b/packages/tm-themes/index.d.ts index 61f681c..6875a5f 100644 --- a/packages/tm-themes/index.d.ts +++ b/packages/tm-themes/index.d.ts @@ -5,7 +5,8 @@ export interface ThemeInfo { source: string licenseUrl?: string license?: string - sha?: string + sha: string + lastUpdate: string embedded?: string[] byteSize: number } diff --git a/packages/tm-themes/index.js b/packages/tm-themes/index.js index 6ee0ab8..abba213 100644 --- a/packages/tm-themes/index.js +++ b/packages/tm-themes/index.js @@ -2,6 +2,7 @@ export const themes = [ { byteSize: 13599, displayName: 'Aurora X', + lastUpdate: '2020-08-24T08:44:55Z', name: 'aurora-x', sha: '118727efadf48872adcd81f6c00be580097d6592', source: 'https://github.com/marqu3ss/Aurora-X/blob/118727efadf48872adcd81f6c00be580097d6592/themes/Aurora%20X-color-theme.json', @@ -10,6 +11,7 @@ export const themes = [ { byteSize: 43204, displayName: 'Catppuccin Frappe', + lastUpdate: '2023-12-12T06:17:05Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/catppuccin/vscode/main/LICENSE', name: 'catppuccin-frappe', @@ -20,6 +22,7 @@ export const themes = [ { byteSize: 43202, displayName: 'Catppuccin Latte', + lastUpdate: '2023-12-12T06:17:05Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/catppuccin/vscode/main/LICENSE', name: 'catppuccin-latte', @@ -30,6 +33,7 @@ export const themes = [ { byteSize: 43210, displayName: 'Catppuccin Macchiato', + lastUpdate: '2023-12-12T06:17:05Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/catppuccin/vscode/main/LICENSE', name: 'catppuccin-macchiato', @@ -40,6 +44,7 @@ export const themes = [ { byteSize: 43202, displayName: 'Catppuccin Mocha', + lastUpdate: '2023-12-12T06:17:05Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/catppuccin/vscode/main/LICENSE', name: 'catppuccin-mocha', @@ -50,6 +55,7 @@ export const themes = [ { byteSize: 8843, displayName: 'Dark Plus', + lastUpdate: '2023-09-12T10:37:49Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'dark-plus', @@ -60,6 +66,7 @@ export const themes = [ { byteSize: 21000, displayName: 'Dracula', + lastUpdate: '2023-07-15T21:35:24Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/dracula/visual-studio-code/master/LICENSE', name: 'dracula', @@ -70,6 +77,7 @@ export const themes = [ { byteSize: 21010, displayName: 'Dracula Soft', + lastUpdate: '2023-07-15T21:35:24Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/dracula/visual-studio-code/master/LICENSE', name: 'dracula-soft', @@ -80,6 +88,7 @@ export const themes = [ { byteSize: 11345, displayName: 'GitHub Dark', + lastUpdate: '2023-01-06T02:19:35Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/primer/github-vscode-theme/main/LICENSE', name: 'github-dark', @@ -90,6 +99,7 @@ export const themes = [ { byteSize: 14334, displayName: 'GitHub Dark Dimmed', + lastUpdate: '2023-01-06T02:19:35Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/primer/github-vscode-theme/main/LICENSE', name: 'github-dark-dimmed', @@ -100,6 +110,7 @@ export const themes = [ { byteSize: 11124, displayName: 'GitHub Light', + lastUpdate: '2023-01-06T02:19:35Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/primer/github-vscode-theme/main/LICENSE', name: 'github-light', @@ -110,6 +121,7 @@ export const themes = [ { byteSize: 9698, displayName: 'Light Plus', + lastUpdate: '2023-09-12T10:37:49Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'light-plus', @@ -120,6 +132,7 @@ export const themes = [ { byteSize: 18563, displayName: 'Material Theme', + lastUpdate: '2020-12-14T16:11:18Z', license: 'Apache-2.0', licenseUrl: 'https://raw.githubusercontent.com/material-theme/vsc-material-theme/main/LICENSE', name: 'material-theme', @@ -130,6 +143,7 @@ export const themes = [ { byteSize: 18577, displayName: 'Material Theme Darker', + lastUpdate: '2020-12-14T16:11:18Z', license: 'Apache-2.0', licenseUrl: 'https://raw.githubusercontent.com/material-theme/vsc-material-theme/main/LICENSE', name: 'material-theme-darker', @@ -140,6 +154,7 @@ export const themes = [ { byteSize: 18582, displayName: 'Material Theme Lighter', + lastUpdate: '2020-12-14T16:11:18Z', license: 'Apache-2.0', licenseUrl: 'https://raw.githubusercontent.com/material-theme/vsc-material-theme/main/LICENSE', name: 'material-theme-lighter', @@ -150,6 +165,7 @@ export const themes = [ { byteSize: 18577, displayName: 'Material Theme Ocean', + lastUpdate: '2020-12-14T16:11:18Z', license: 'Apache-2.0', licenseUrl: 'https://raw.githubusercontent.com/material-theme/vsc-material-theme/main/LICENSE', name: 'material-theme-ocean', @@ -160,6 +176,7 @@ export const themes = [ { byteSize: 18583, displayName: 'Material Theme Palenight', + lastUpdate: '2020-12-14T16:11:18Z', license: 'Apache-2.0', licenseUrl: 'https://raw.githubusercontent.com/material-theme/vsc-material-theme/main/LICENSE', name: 'material-theme-palenight', @@ -170,6 +187,7 @@ export const themes = [ { byteSize: 6231, displayName: 'Min Dark', + lastUpdate: '2021-07-15T23:42:09Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/miguelsolorio/min-theme/master/LICENSE', name: 'min-dark', @@ -180,6 +198,7 @@ export const themes = [ { byteSize: 6909, displayName: 'Min Light', + lastUpdate: '2021-07-15T23:42:09Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/miguelsolorio/min-theme/master/LICENSE', name: 'min-light', @@ -190,6 +209,7 @@ export const themes = [ { byteSize: 7783, displayName: 'Monokai', + lastUpdate: '2023-08-23T21:17:23Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'monokai', @@ -200,6 +220,7 @@ export const themes = [ { byteSize: 26663, displayName: 'Nord', + lastUpdate: '2023-04-10T15:56:38Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/nordtheme/visual-studio-code/develop/license', name: 'nord', @@ -210,6 +231,7 @@ export const themes = [ { byteSize: 33267, displayName: 'One Dark Pro', + lastUpdate: '2023-07-04T03:17:49Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/Binaryify/OneDark-Pro/master/LICENSE.txt', name: 'one-dark-pro', @@ -220,6 +242,7 @@ export const themes = [ { byteSize: 33434, displayName: 'Poimandres', + lastUpdate: '2022-09-25T11:26:55Z', name: 'poimandres', sha: '574213aba50e3a46a95fa86a69025a0fae046a8a', source: 'https://github.com/drcmda/poimandres-theme/blob/574213aba50e3a46a95fa86a69025a0fae046a8a/themes/poimandres-color-theme.json', @@ -228,6 +251,7 @@ export const themes = [ { byteSize: 6161, displayName: 'Red', + lastUpdate: '2023-08-23T21:17:23Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'red', @@ -238,6 +262,7 @@ export const themes = [ { byteSize: 21401, displayName: 'Rosé Pine', + lastUpdate: '2023-04-05T19:07:31Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/rose-pine/vscode/main/license', name: 'rose-pine', @@ -248,6 +273,7 @@ export const themes = [ { byteSize: 21412, displayName: 'Rosé Pine Dawn', + lastUpdate: '2023-04-05T19:07:31Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/rose-pine/vscode/main/license', name: 'rose-pine-dawn', @@ -258,6 +284,7 @@ export const themes = [ { byteSize: 21411, displayName: 'Rosé Pine Moon', + lastUpdate: '2023-04-05T19:07:31Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/rose-pine/vscode/main/license', name: 'rose-pine-moon', @@ -268,6 +295,7 @@ export const themes = [ { byteSize: 9057, displayName: 'Slack Dark', + lastUpdate: '2021-05-20T16:06:42Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/slack-theme/visual-studio-code/master/License', name: 'slack-dark', @@ -278,6 +306,7 @@ export const themes = [ { byteSize: 9371, displayName: 'Slack Ochin', + lastUpdate: '2021-06-12T21:35:10Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/slack-theme/visual-studio-code/master/License', name: 'slack-ochin', @@ -288,6 +317,7 @@ export const themes = [ { byteSize: 6745, displayName: 'Solarized Dark', + lastUpdate: '2023-08-23T21:17:23Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'solarized-dark', @@ -298,6 +328,7 @@ export const themes = [ { byteSize: 6379, displayName: 'Solarized Light', + lastUpdate: '2023-08-23T21:17:23Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt', name: 'solarized-light', @@ -308,6 +339,7 @@ export const themes = [ { byteSize: 13316, displayName: 'Vitesse Black', + lastUpdate: '2023-11-25T14:05:49Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/antfu/vscode-theme-vitesse/main/LICENSE', name: 'vitesse-black', @@ -318,6 +350,7 @@ export const themes = [ { byteSize: 13398, displayName: 'Vitesse Dark', + lastUpdate: '2023-09-01T02:14:43Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/antfu/vscode-theme-vitesse/main/LICENSE', name: 'vitesse-dark', @@ -328,6 +361,7 @@ export const themes = [ { byteSize: 13255, displayName: 'Vitesse Light', + lastUpdate: '2023-09-01T02:14:43Z', license: 'MIT', licenseUrl: 'https://raw.githubusercontent.com/antfu/vscode-theme-vitesse/main/LICENSE', name: 'vitesse-light', diff --git a/scripts/shared/github.ts b/scripts/shared/github.ts index 82e5d80..e0cefdb 100644 --- a/scripts/shared/github.ts +++ b/scripts/shared/github.ts @@ -4,8 +4,13 @@ import type { GrammarSource } from '../grammars/types' import type { ThemeSource } from '../themes/types' import { octokit } from './octokit' +interface CommitInfo { + sha: string + date: string +} + const _cacheGetLicenseUrl = new Map>() -const _cacheGetSha = new Map>() +const _cacheGetCommit = new Map>() function _getLicenseUrl(repo: string) { return octokit.request('GET /repos/{owner}/{repo}/license', { owner: repo.split('/')[0], repo: repo.split('/')[1] }) @@ -14,7 +19,7 @@ function _getLicenseUrl(repo: string) { }) } -function _getSha(repo: string, branch: string, path: string) { +function _getCommit(repo: string, branch: string, path: string): Promise { return octokit.request(`GET /repos/{owner}/{repo}/commits?path=${encodeURIComponent(decodeURI(path))}&per_page=1&sha=${branch}`, { owner: repo.split('/')[0], repo: repo.split('/')[1], @@ -24,7 +29,10 @@ function _getSha(repo: string, branch: string, path: string) { console.error(r, path) throw new Error(`Failed to resolve sha for ${JSON.stringify({ repo, branch, path })}}`) } - return r.data[0].sha + return { + sha: r.data[0].sha, + date: r.data[0].commit.author.date, + } }) } @@ -34,11 +42,11 @@ function getLicenseUrl(repo: string) { return _cacheGetLicenseUrl.get(repo)! } -function getSha(repo: string, branch: string, path: string) { +function getCommit(repo: string, branch: string, path: string) { const key = `${repo}|${branch}|${path}` - if (!_cacheGetSha.has(key)) - _cacheGetSha.set(key, _getSha(repo, branch, path)) - return _cacheGetSha.get(key)! + if (!_cacheGetCommit.has(key)) + _cacheGetCommit.set(key, _getCommit(repo, branch, path)) + return _cacheGetCommit.get(key)! } export async function resolveSourceGitHub(source: GrammarSource, old?: GrammarInfo): Promise @@ -53,14 +61,15 @@ export async function resolveSourceGitHub(source: GrammarSource | ThemeSource, o const info = rest as any const { repo, branch, path } = parseGitHubUrl(source.source as string)! - const sha = await getSha(repo, branch, path) - if (!sha) - throw new Error(`Failed to resolve sha for ${source.name} from ${source.source}`) + const commit = await getCommit(repo, branch, path) + if (!commit) + throw new Error(`Failed to resolve commit for ${source.name} from ${source.source}`) - if (old?.sha === sha) + if (old?.sha === commit.sha) return old - info.sha = sha + info.sha = commit.sha + info.lastUpdate = commit.date const license = await getLicenseUrl(repo) .catch(() => undefined)