|
1 | 1 | { |
2 | | - "name": "inline-sql-syntax", |
3 | | - "displayName": "Inline SQL", |
4 | | - "description": "Highlight and lint SQL strings and SQL files. Python, Go, Rust, JS, TS, Ruby, Java, C#, PHP, Lua.", |
5 | | - "version": "2.15.0", |
6 | | - "author": "qufiwefefwoyn <qufiwefefwoyn@gmail.com>", |
7 | | - "publisher": "qufiwefefwoyn", |
8 | | - "license": "MIT", |
9 | | - "icon": "assets/logo.png", |
10 | | - "repository": { |
11 | | - "url": "https://github.com/barklan/inline_sql_syntax" |
12 | | - }, |
13 | | - "homepage": "https://github.com/barklan/inline_sql_syntax", |
14 | | - "engines": { |
15 | | - "vscode": "^1.63.0" |
16 | | - }, |
17 | | - "categories": [ |
18 | | - "Linters", |
19 | | - "Other" |
20 | | - ], |
21 | | - "keywords": [ |
22 | | - "sql", |
23 | | - "postgres", |
24 | | - "mysql", |
25 | | - "lint", |
26 | | - "inline" |
27 | | - ], |
28 | | - "activationEvents": [ |
29 | | - "onLanguage:python", |
30 | | - "onLanguage:go", |
31 | | - "onLanguage:javascript", |
32 | | - "onLanguage:typescript", |
33 | | - "onLanguage:java", |
34 | | - "onLanguage:ruby", |
35 | | - "onLanguage:csharp", |
36 | | - "onLanguage:rust", |
37 | | - "onLanguage:sql", |
38 | | - "onLanguage:php", |
39 | | - "onLanguage:lua" |
40 | | - ], |
41 | | - "main": "./out/extension.js", |
42 | | - "browser": "./out/extension.js", |
43 | | - "scripts": { |
44 | | - "vscode:prepublish": "npm run esbuild-base -- --minify", |
45 | | - "esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --external:pg-native --format=cjs --platform=node", |
46 | | - "esbuild": "npm run esbuild-base -- --sourcemap", |
47 | | - "esbuild-watch": "npm run esbuild-base -- --sourcemap --watch", |
48 | | - "test-compile": "tsc -p ./", |
49 | | - "compile": "tsc -p ./", |
50 | | - "lint": "npx prettier --check ./src", |
51 | | - "watch": "tsc -watch -p ./" |
52 | | - }, |
53 | | - "contributes": { |
54 | | - "grammars": [ |
55 | | - { |
56 | | - "path": "./syntaxes/highlight-sql-string.json", |
57 | | - "scopeName": "inline-sql.injection", |
58 | | - "injectTo": [ |
59 | | - "source.python", |
60 | | - "source.go", |
61 | | - "source.java", |
62 | | - "source.ruby", |
63 | | - "source.cs", |
64 | | - "source.js", |
65 | | - "source.ts", |
66 | | - "source.vue", |
67 | | - "source.svelte", |
68 | | - "source.tsx", |
69 | | - "source.rust", |
70 | | - "text.html.php" |
71 | | - ], |
72 | | - "embeddedLanguages": { |
73 | | - "meta.embedded.sql": "sql" |
74 | | - } |
75 | | - }, |
76 | | - { |
77 | | - "path": "./syntaxes/php-multiline.json", |
78 | | - "scopeName": "php-multiline.injection", |
79 | | - "injectTo": [ |
80 | | - "text.html.php" |
81 | | - ], |
82 | | - "embeddedLanguages": { |
83 | | - "meta.embedded.sql": "sql" |
84 | | - } |
85 | | - }, |
86 | | - { |
87 | | - "path": "./syntaxes/c-sharp-multiline.json", |
88 | | - "scopeName": "c-sharp-multiline.injection", |
89 | | - "injectTo": [ |
90 | | - "source.cs" |
91 | | - ], |
92 | | - "embeddedLanguages": { |
93 | | - "meta.embedded.sql": "sql" |
94 | | - } |
95 | | - }, |
96 | | - { |
97 | | - "path": "./syntaxes/lua-multiline.json", |
98 | | - "scopeName": "lua-multiline.injection", |
99 | | - "injectTo": [ |
100 | | - "source.lua" |
101 | | - ], |
102 | | - "embeddedLanguages": { |
103 | | - "meta.embedded.sql": "sql" |
104 | | - } |
105 | | - }, |
106 | | - { |
107 | | - "path": "./syntaxes/es6_inline.json", |
108 | | - "scopeName": "es6_inline", |
109 | | - "injectTo": [ |
110 | | - "source.js", |
111 | | - "source.js.jsx", |
112 | | - "source.jsx", |
113 | | - "source.ts", |
114 | | - "source.tsx" |
115 | | - ], |
116 | | - "embeddedLanguages": { |
117 | | - "meta.embedded.sql": "sql", |
118 | | - "meta.template.expression.ts": "typescript" |
119 | | - } |
120 | | - } |
121 | | - ], |
122 | | - "configuration": { |
123 | | - "title": "inline-sql-syntax", |
124 | | - "properties": { |
125 | | - "inlineSQL.enableDBIntegration": { |
126 | | - "type": "boolean", |
127 | | - "default": false, |
128 | | - "markdownDescription": "Enable linting using real database." |
129 | | - }, |
130 | | - "inlineSQL.dbDriver": { |
131 | | - "type": "string", |
132 | | - "default": "postgres", |
133 | | - "description": "Driver to use for verifying queries. It currently supports MySQL and Postgres.", |
134 | | - "enum": [ |
135 | | - "mysql", |
136 | | - "postgres" |
137 | | - ] |
138 | | - }, |
139 | | - "inlineSQL.dbHost": { |
140 | | - "type": "string", |
141 | | - "default": "localhost", |
142 | | - "markdownDescription": "Database host address." |
143 | | - }, |
144 | | - "inlineSQL.dbPort": { |
145 | | - "type": "number", |
146 | | - "default": 5432, |
147 | | - "markdownDescription": "Database port." |
148 | | - }, |
149 | | - "inlineSQL.dbUser": { |
150 | | - "type": "string", |
151 | | - "default": "postgres", |
152 | | - "markdownDescription": "Database user." |
153 | | - }, |
154 | | - "inlineSQL.dbPassword": { |
155 | | - "type": "string", |
156 | | - "default": "postgres", |
157 | | - "markdownDescription": "Database password." |
158 | | - }, |
159 | | - "inlineSQL.lintSQLFiles": { |
160 | | - "type": "boolean", |
161 | | - "default": false, |
162 | | - "markdownDescription": "Enable linting for SQL files." |
163 | | - } |
164 | | - } |
165 | | - } |
166 | | - }, |
167 | | - "devDependencies": { |
168 | | - "@types/node": "^17.0.21", |
169 | | - "@types/vscode": "^1.63.0", |
170 | | - "esbuild": "^0.14.25", |
171 | | - "prettier": "2.6.2", |
172 | | - "typescript": "^4.6.2" |
173 | | - }, |
174 | | - "dependencies": { |
175 | | - "sql-lint": "^0.0.19" |
176 | | - }, |
177 | | - "__metadata": { |
178 | | - "id": "4d32ffbd-a404-4f22-9022-38a9e83e55f1", |
179 | | - "publisherDisplayName": "qufiwefefwoyn", |
180 | | - "publisherId": "5be51ce2-befe-4527-952a-3e1c764d2c4e", |
181 | | - "isPreReleaseVersion": false, |
182 | | - "targetPlatform": "undefined", |
183 | | - "isApplicationScoped": false, |
184 | | - "updated": false, |
185 | | - "preRelease": false, |
186 | | - "installedTimestamp": 1662490066638 |
187 | | - } |
| 2 | + "name": "inline-sql-syntax", |
| 3 | + "displayName": "Inline SQL", |
| 4 | + "description": "Highlight and lint SQL strings and SQL files. Python, Go, Rust, JS, TS, Ruby, Java, C#, PHP, Lua.", |
| 5 | + "version": "2.15.0", |
| 6 | + "author": "qufiwefefwoyn <qufiwefefwoyn@gmail.com>", |
| 7 | + "publisher": "qufiwefefwoyn", |
| 8 | + "license": "MIT", |
| 9 | + "icon": "assets/logo.png", |
| 10 | + "repository": { |
| 11 | + "url": "https://github.com/barklan/inline_sql_syntax" |
| 12 | + }, |
| 13 | + "homepage": "https://github.com/barklan/inline_sql_syntax", |
| 14 | + "engines": { |
| 15 | + "vscode": "^1.63.0" |
| 16 | + }, |
| 17 | + "categories": [ |
| 18 | + "Linters", |
| 19 | + "Other" |
| 20 | + ], |
| 21 | + "keywords": [ |
| 22 | + "sql", |
| 23 | + "postgres", |
| 24 | + "mysql", |
| 25 | + "lint", |
| 26 | + "inline" |
| 27 | + ], |
| 28 | + "activationEvents": [ |
| 29 | + "onLanguage:python", |
| 30 | + "onLanguage:go", |
| 31 | + "onLanguage:javascript", |
| 32 | + "onLanguage:typescript", |
| 33 | + "onLanguage:java", |
| 34 | + "onLanguage:ruby", |
| 35 | + "onLanguage:csharp", |
| 36 | + "onLanguage:rust", |
| 37 | + "onLanguage:sql", |
| 38 | + "onLanguage:php", |
| 39 | + "onLanguage:lua" |
| 40 | + ], |
| 41 | + "main": "./out/extension.js", |
| 42 | + "browser": "./out/extension.js", |
| 43 | + "scripts": { |
| 44 | + "vscode:prepublish": "npm run esbuild-base -- --minify", |
| 45 | + "esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --external:pg-native --format=cjs --platform=node", |
| 46 | + "esbuild": "npm run esbuild-base -- --sourcemap", |
| 47 | + "esbuild-watch": "npm run esbuild-base -- --sourcemap --watch", |
| 48 | + "test-compile": "tsc -p ./", |
| 49 | + "compile": "tsc -p ./", |
| 50 | + "lint": "npx prettier --check ./src", |
| 51 | + "watch": "tsc -watch -p ./" |
| 52 | + }, |
| 53 | + "contributes": { |
| 54 | + "grammars": [ |
| 55 | + { |
| 56 | + "path": "./syntaxes/highlight-sql-string.json", |
| 57 | + "scopeName": "inline-sql.injection", |
| 58 | + "injectTo": [ |
| 59 | + "source.python", |
| 60 | + "source.go", |
| 61 | + "source.java", |
| 62 | + "source.ruby", |
| 63 | + "source.cs", |
| 64 | + "source.js", |
| 65 | + "source.ts", |
| 66 | + "source.vue", |
| 67 | + "source.svelte", |
| 68 | + "source.tsx", |
| 69 | + "source.rust", |
| 70 | + "text.html.php" |
| 71 | + ], |
| 72 | + "embeddedLanguages": { |
| 73 | + "meta.embedded.sql": "sql" |
| 74 | + } |
| 75 | + }, |
| 76 | + { |
| 77 | + "path": "./syntaxes/php-multiline.json", |
| 78 | + "scopeName": "php-multiline.injection", |
| 79 | + "injectTo": [ |
| 80 | + "text.html.php" |
| 81 | + ], |
| 82 | + "embeddedLanguages": { |
| 83 | + "meta.embedded.sql": "sql" |
| 84 | + } |
| 85 | + }, |
| 86 | + { |
| 87 | + "path": "./syntaxes/c-sharp-multiline.json", |
| 88 | + "scopeName": "c-sharp-multiline.injection", |
| 89 | + "injectTo": [ |
| 90 | + "source.cs" |
| 91 | + ], |
| 92 | + "embeddedLanguages": { |
| 93 | + "meta.embedded.sql": "sql" |
| 94 | + } |
| 95 | + }, |
| 96 | + { |
| 97 | + "path": "./syntaxes/lua-multiline.json", |
| 98 | + "scopeName": "lua-multiline.injection", |
| 99 | + "injectTo": [ |
| 100 | + "source.lua" |
| 101 | + ], |
| 102 | + "embeddedLanguages": { |
| 103 | + "meta.embedded.sql": "sql" |
| 104 | + } |
| 105 | + }, |
| 106 | + { |
| 107 | + "path": "./syntaxes/es6_inline.json", |
| 108 | + "scopeName": "es6_inline", |
| 109 | + "injectTo": [ |
| 110 | + "source.js", |
| 111 | + "source.js.jsx", |
| 112 | + "source.jsx", |
| 113 | + "source.ts", |
| 114 | + "source.tsx" |
| 115 | + ], |
| 116 | + "embeddedLanguages": { |
| 117 | + "meta.embedded.sql": "sql", |
| 118 | + "meta.template.expression.ts": "typescript" |
| 119 | + } |
| 120 | + } |
| 121 | + ], |
| 122 | + "configuration": { |
| 123 | + "title": "inline-sql-syntax", |
| 124 | + "properties": { |
| 125 | + "inlineSQL.enableDBIntegration": { |
| 126 | + "type": "boolean", |
| 127 | + "default": false, |
| 128 | + "markdownDescription": "Enable linting using real database." |
| 129 | + }, |
| 130 | + "inlineSQL.dbDriver": { |
| 131 | + "type": "string", |
| 132 | + "default": "postgres", |
| 133 | + "description": "Driver to use for verifying queries. It currently supports MySQL and Postgres.", |
| 134 | + "enum": [ |
| 135 | + "mysql", |
| 136 | + "postgres" |
| 137 | + ] |
| 138 | + }, |
| 139 | + "inlineSQL.dbHost": { |
| 140 | + "type": "string", |
| 141 | + "default": "localhost", |
| 142 | + "markdownDescription": "Database host address." |
| 143 | + }, |
| 144 | + "inlineSQL.dbPort": { |
| 145 | + "type": "number", |
| 146 | + "default": 5432, |
| 147 | + "markdownDescription": "Database port." |
| 148 | + }, |
| 149 | + "inlineSQL.dbUser": { |
| 150 | + "type": "string", |
| 151 | + "default": "postgres", |
| 152 | + "markdownDescription": "Database user." |
| 153 | + }, |
| 154 | + "inlineSQL.dbPassword": { |
| 155 | + "type": "string", |
| 156 | + "default": "postgres", |
| 157 | + "markdownDescription": "Database password." |
| 158 | + }, |
| 159 | + "inlineSQL.lintSQLFiles": { |
| 160 | + "type": "boolean", |
| 161 | + "default": false, |
| 162 | + "markdownDescription": "Enable linting for SQL files." |
| 163 | + } |
| 164 | + } |
| 165 | + } |
| 166 | + }, |
| 167 | + "devDependencies": { |
| 168 | + "@types/node": "^17.0.21", |
| 169 | + "@types/vscode": "^1.63.0", |
| 170 | + "esbuild": "^0.14.25", |
| 171 | + "prettier": "2.6.2", |
| 172 | + "typescript": "^4.6.2" |
| 173 | + }, |
| 174 | + "dependencies": { |
| 175 | + "sql-lint": "^0.0.19" |
| 176 | + }, |
| 177 | + "__metadata": { |
| 178 | + "id": "4d32ffbd-a404-4f22-9022-38a9e83e55f1", |
| 179 | + "publisherDisplayName": "qufiwefefwoyn", |
| 180 | + "publisherId": "5be51ce2-befe-4527-952a-3e1c764d2c4e", |
| 181 | + "isPreReleaseVersion": false, |
| 182 | + "targetPlatform": "undefined", |
| 183 | + "isApplicationScoped": false, |
| 184 | + "updated": false, |
| 185 | + "preRelease": false, |
| 186 | + "installedTimestamp": 1662490066638 |
| 187 | + } |
188 | 188 | } |
0 commit comments