tm-grammars 0.0.5 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/NOTICE CHANGED
@@ -1459,7 +1459,7 @@ SPDX: Apache-2.0
1459
1459
  limitations under the License.
1460
1460
 
1461
1461
  =========================================================================================================
1462
- Files: bat.json, bibtex.json, c.json, clojure.json, coffee.json, cpp.json, cpp-macro.json, csharp.json, css.json, dart.json, diff.json, docker.json, fsharp.json, git-commit.json, git-rebase.json, go.json, groovy.json, handlebars.json, hlsl.json, html.json, ini.json, java.json, javascript.json, jsdoc-js.json, jsdoc-ts.json, json.json, jsonc.json, jsonl.json, jsx.json, julia.json, latex.json, less.json, lua.json, make.json, markdown.json, objective-c.json, objective-cpp.json, perl.json, php.json, powershell.json, pug.json, python.json, r.json, raku.json, rst.json, ruby.json, rust.json, scss.json, shaderlab.json, shellscript.json, sql.json, swift.json, tex.json, tsx.json, typescript.json, vb.json, xml.json, xsl.json, yaml.json
1462
+ Files: bat.json, bibtex.json, c.json, clojure.json, coffee.json, cpp.json, cpp-macro.json, csharp.json, css.json, dart.json, diff.json, docker.json, fsharp.json, git-commit.json, git-rebase.json, go.json, groovy.json, handlebars.json, hlsl.json, html.json, ini.json, java.json, javascript.json, json.json, jsonc.json, jsonl.json, jsx.json, julia.json, latex.json, less.json, lua.json, make.json, markdown.json, objective-c.json, objective-cpp.json, perl.json, php.json, powershell.json, pug.json, python.json, r.json, raku.json, rst.json, ruby.json, rust.json, scss.json, shaderlab.json, shellscript.json, sql.json, swift.json, tex.json, tsx.json, typescript.json, vb.json, xml.json, xsl.json, yaml.json
1463
1463
  License: https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt
1464
1464
  SPDX: MIT
1465
1465
  ---------------------------------------------------------------------------------------------------------
package/README.md CHANGED
@@ -91,12 +91,10 @@ import { grammars } from 'tm-grammars'
91
91
  | `imba` | | [imba/imba](https://github.com/imba/imba/blob/a2cc7e9bd2cc0fb0bf08daa487b7682e92202cb0/packages/vscode-imba/syntaxes/imba.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/imba/imba/master/LICENSE) | `typescript` |
92
92
  | `ini` | `properties` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/17e30760a3bad6d91327de38ac8f2cf6a161d307/extensions/ini/syntaxes/ini.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | |
93
93
  | `java` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/17e30760a3bad6d91327de38ac8f2cf6a161d307/extensions/java/syntaxes/java.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | |
94
- | `javascript` | `js` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/17e30760a3bad6d91327de38ac8f2cf6a161d307/extensions/javascript/syntaxes/JavaScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `jsdoc-js` |
94
+ | `javascript` | `js` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/17e30760a3bad6d91327de38ac8f2cf6a161d307/extensions/javascript/syntaxes/JavaScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | |
95
95
  | `jinja` | | [samuelcolvin/jinjahtml-vscode](https://github.com/samuelcolvin/jinjahtml-vscode/blob/28e422433581d92f72252f1af1f67eeaab07c812/syntaxes/jinja.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/samuelcolvin/jinjahtml-vscode/main/LICENSE) | `jinja-html` |
96
96
  | `jinja-html` | | [samuelcolvin/jinjahtml-vscode](https://github.com/samuelcolvin/jinjahtml-vscode/blob/28e422433581d92f72252f1af1f67eeaab07c812/syntaxes/jinja-html.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/samuelcolvin/jinjahtml-vscode/main/LICENSE) | `html` |
97
97
  | `jison` | | [cdibbs/language-jison](https://github.com/cdibbs/language-jison/blob/ce8e2c78279b242a95b87e830a60dee55357aedc/grammars/jison.cson) | [MIT](https://raw.githubusercontent.com/cdibbs/language-jison/master/LICENSE.md) | `javascript` |
98
- | `jsdoc-js` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/17e30760a3bad6d91327de38ac8f2cf6a161d307/extensions/typescript-basics/syntaxes/jsdoc.js.injection.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `typescript` |
99
- | `jsdoc-ts` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/17e30760a3bad6d91327de38ac8f2cf6a161d307/extensions/typescript-basics/syntaxes/jsdoc.ts.injection.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | |
100
98
  | `json` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/17e30760a3bad6d91327de38ac8f2cf6a161d307/extensions/json/syntaxes/JSON.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | |
101
99
  | `json5` | | [mrmlnc/vscode-json5](https://github.com/mrmlnc/vscode-json5/blob/e884b89929103ff009322c393080ff45a4544e88/syntaxes/json5.json) | [MIT](https://raw.githubusercontent.com/mrmlnc/vscode-json5/master/LICENSE) | |
102
100
  | `jsonc` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/17e30760a3bad6d91327de38ac8f2cf6a161d307/extensions/json/syntaxes/JSONC.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | |
@@ -180,7 +178,7 @@ import { grammars } from 'tm-grammars'
180
178
  | `tsx` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/17e30760a3bad6d91327de38ac8f2cf6a161d307/extensions/typescript-basics/syntaxes/TypeScriptReact.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | |
181
179
  | `turtle` | | [stardog-union/stardog-vsc](https://github.com/stardog-union/stardog-vsc/blob/0ce931c26529fdaf5c6dd58d91e589bbd6944a1d/stardog-rdf-grammars/syntaxes/turtle.tmLanguage.json) | | |
182
180
  | `twig` | | [mblode/vscode-twig-language-2](https://github.com/mblode/vscode-twig-language-2/blob/f62292b533e7c3628c3039214edf45869f8d16c9/src/syntaxes/twig.tmLanguage) | [MIT](https://raw.githubusercontent.com/mblode/vscode-twig-language-2/master/LICENSE.md) | `css` `javascript` `scss` `php` `python` `ruby` |
183
- | `typescript` | `ts` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/17e30760a3bad6d91327de38ac8f2cf6a161d307/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `jsdoc-ts` |
181
+ | `typescript` | `ts` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/17e30760a3bad6d91327de38ac8f2cf6a161d307/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | |
184
182
  | `v` | | [vlang/vscode-vlang](https://github.com/vlang/vscode-vlang/blob/0d7778ffc6d524f867cdd72027d99ceb5687fe0f/syntaxes/v.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vlang/vscode-vlang/master/LICENSE) | |
185
183
  | `vb` | `cmd` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/17e30760a3bad6d91327de38ac8f2cf6a161d307/extensions/vb/syntaxes/asp-vb-net.tmlanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | |
186
184
  | `verilog` | | [mshr-h/vscode-verilog-hdl-support](https://github.com/mshr-h/vscode-verilog-hdl-support/blob/189a3afb778992b75ea4dcf16844e5da7f53e014/syntaxes/verilog.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mshr-h/vscode-verilog-hdl-support/main/LICENSE) | |
package/index.js CHANGED
@@ -780,9 +780,6 @@ export const grammars = [
780
780
  'js',
781
781
  ],
782
782
  displayName: 'JavaScript',
783
- embedded: [
784
- 'jsdoc-js',
785
- ],
786
783
  license: 'MIT',
787
784
  licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
788
785
  name: 'javascript',
@@ -1846,9 +1843,6 @@ export const grammars = [
1846
1843
  'ts',
1847
1844
  ],
1848
1845
  displayName: 'TypeScript',
1849
- embedded: [
1850
- 'jsdoc-ts',
1851
- ],
1852
1846
  license: 'MIT',
1853
1847
  licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
1854
1848
  name: 'typescript',
@@ -2096,39 +2090,6 @@ export const injections = [
2096
2090
  sha: '28e422433581d92f72252f1af1f67eeaab07c812',
2097
2091
  source: 'https://github.com/samuelcolvin/jinjahtml-vscode/blob/28e422433581d92f72252f1af1f67eeaab07c812/syntaxes/jinja-html.tmLanguage.json',
2098
2092
  },
2099
- {
2100
- embedded: [
2101
- 'typescript',
2102
- ],
2103
- embeddedIn: [
2104
- 'javascript',
2105
- ],
2106
- injectTo: [
2107
- 'source.js',
2108
- 'source.js.jsx',
2109
- ],
2110
- license: 'MIT',
2111
- licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
2112
- name: 'jsdoc-js',
2113
- scopeName: 'documentation.injection.js.jsx',
2114
- sha: '17e30760a3bad6d91327de38ac8f2cf6a161d307',
2115
- source: 'https://github.com/microsoft/vscode/blob/17e30760a3bad6d91327de38ac8f2cf6a161d307/extensions/typescript-basics/syntaxes/jsdoc.js.injection.tmLanguage.json',
2116
- },
2117
- {
2118
- embeddedIn: [
2119
- 'typescript',
2120
- ],
2121
- injectTo: [
2122
- 'source.ts',
2123
- 'source.tsx',
2124
- ],
2125
- license: 'MIT',
2126
- licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
2127
- name: 'jsdoc-ts',
2128
- scopeName: 'documentation.injection.ts',
2129
- sha: '17e30760a3bad6d91327de38ac8f2cf6a161d307',
2130
- source: 'https://github.com/microsoft/vscode/blob/17e30760a3bad6d91327de38ac8f2cf6a161d307/extensions/typescript-basics/syntaxes/jsdoc.ts.injection.tmLanguage.json',
2131
- },
2132
2093
  {
2133
2094
  embeddedIn: [
2134
2095
  'vue',
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "tm-grammars",
3
3
  "type": "module",
4
- "version": "0.0.5",
4
+ "version": "1.0.0",
5
5
  "packageManager": "pnpm@8.11.0",
6
6
  "description": "Collecton of TextMate grammars in JSON",
7
7
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
8
8
  "license": "MIT",
9
9
  "funding": "https://github.com/sponsors/antfu",
10
- "homepage": "https://github.com/antfu/tm-grammars-themes#readme",
10
+ "homepage": "https://github.com/antfu/textmate-grammars-themes#readme",
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "git+https://github.com/antfu/tm-grammars-themes.git",
13
+ "url": "git+https://github.com/antfu/textmate-grammars-themes.git",
14
14
  "directory": "packages/tm-grammars"
15
15
  },
16
- "bugs": "https://github.com/antfu/tm-grammars-themes/issues",
16
+ "bugs": "https://github.com/antfu/textmate-grammars-themes/issues",
17
17
  "keywords": [
18
18
  "textmate"
19
19
  ],
@@ -1,25 +0,0 @@
1
- {
2
- "injectTo": [
3
- "source.js",
4
- "source.js.jsx"
5
- ],
6
- "injectionSelector": "L:comment.block.documentation",
7
- "name": "jsdoc-js",
8
- "patterns": [
9
- {
10
- "include": "#jsdocbody"
11
- }
12
- ],
13
- "repository": {
14
- "jsdocbody": {
15
- "begin": "(?<=/\\*\\*)([^*]|\\*(?!/))*$",
16
- "patterns": [
17
- {
18
- "include": "source.ts#docblock"
19
- }
20
- ],
21
- "while": "(^|\\G)\\s*\\*(?!/)(?=([^*]|[*](?!/))*$)"
22
- }
23
- },
24
- "scopeName": "documentation.injection.js.jsx"
25
- }
@@ -1,25 +0,0 @@
1
- {
2
- "injectTo": [
3
- "source.ts",
4
- "source.tsx"
5
- ],
6
- "injectionSelector": "L:comment.block.documentation",
7
- "name": "jsdoc-ts",
8
- "patterns": [
9
- {
10
- "include": "#jsdocbody"
11
- }
12
- ],
13
- "repository": {
14
- "jsdocbody": {
15
- "begin": "(?<=/\\*\\*)([^*]|\\*(?!/))*$",
16
- "patterns": [
17
- {
18
- "include": "source.ts#docblock"
19
- }
20
- ],
21
- "while": "(^|\\G)\\s*\\*(?!/)(?=([^*]|[*](?!/))*$)"
22
- }
23
- },
24
- "scopeName": "documentation.injection.ts"
25
- }