11{
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." ,
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- ],
40- "main" : " ./out/extension.js" ,
41- "browser" : " ./out/extension.js" ,
42- "scripts" : {
43- "vscode:prepublish" : " npm run esbuild-base -- --minify" ,
44- "esbuild-base" : " esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --external:pg-native --format=cjs --platform=node" ,
45- "esbuild" : " npm run esbuild-base -- --sourcemap" ,
46- "esbuild-watch" : " npm run esbuild-base -- --sourcemap --watch" ,
47- "test-compile" : " tsc -p ./" ,
48- "compile" : " tsc -p ./" ,
49- "lint" : " npx prettier --check ./src" ,
50- "watch" : " tsc -watch -p ./"
51- },
52- "contributes" : {
53- "grammars" : [
54- {
55- "path" : " ./syntaxes/highlight-sql-string.json" ,
56- "scopeName" : " inline-sql.injection" ,
57- "injectTo" : [
58- " source.python" ,
59- " source.go" ,
60- " source.java" ,
61- " source.ruby" ,
62- " source.cs" ,
63- " source.js" ,
64- " source.ts" ,
65- " source.vue" ,
66- " source.svelte" ,
67- " source.tsx" ,
68- " source.rust" ,
69- " text.html.php"
70- ],
71- "embeddedLanguages" : {
72- "meta.embedded.sql" : " sql"
73- }
74- },
75- {
76- "path" : " ./syntaxes/php-multiline.json" ,
77- "scopeName" : " php-multiline.injection" ,
78- "injectTo" : [
79- " text.html.php"
80- ],
81- "embeddedLanguages" : {
82- "meta.embedded.sql" : " sql"
83- }
84- },
85- {
86- "path" : " ./syntaxes/c-sharp-multiline.json" ,
87- "scopeName" : " c-sharp-multiline.injection" ,
88- "injectTo" : [
89- " source.cs"
90- ],
91- "embeddedLanguages" : {
92- "meta.embedded.sql" : " sql"
93- }
94- },
95- {
96- "path" : " ./syntaxes/es6_inline.json" ,
97- "scopeName" : " es6_inline" ,
98- "injectTo" : [
99- " source.js" ,
100- " source.js.jsx" ,
101- " source.jsx" ,
102- " source.ts" ,
103- " source.tsx"
104- ],
105- "embeddedLanguages" : {
106- "meta.embedded.sql" : " sql" ,
107- "meta.template.expression.ts" : " typescript"
108- }
109- }
110- ],
111- "configuration" : {
112- "title" : " inline-sql-syntax" ,
113- "properties" : {
114- "inlineSQL.enableDBIntegration" : {
115- "type" : " boolean" ,
116- "default" : false ,
117- "markdownDescription" : " Enable linting using real database."
118- },
119- "inlineSQL.dbDriver" : {
120- "type" : " string" ,
121- "default" : " postgres" ,
122- "description" : " Driver to use for verifying queries. It currently supports MySQL and Postgres." ,
123- "enum" : [
124- " mysql" ,
125- " postgres"
126- ]
127- },
128- "inlineSQL.dbHost" : {
129- "type" : " string" ,
130- "default" : " localhost" ,
131- "markdownDescription" : " Database host address."
132- },
133- "inlineSQL.dbPort" : {
134- "type" : " number" ,
135- "default" : 5432 ,
136- "markdownDescription" : " Database port."
137- },
138- "inlineSQL.dbUser" : {
139- "type" : " string" ,
140- "default" : " postgres" ,
141- "markdownDescription" : " Database user."
142- },
143- "inlineSQL.dbPassword" : {
144- "type" : " string" ,
145- "default" : " postgres" ,
146- "markdownDescription" : " Database password."
147- },
148- "inlineSQL.lintSQLFiles" : {
149- "type" : " boolean" ,
150- "default" : false ,
151- "markdownDescription" : " Enable linting for SQL files."
152- }
153- }
154- }
155- },
156- "devDependencies" : {
157- "@types/node" : " ^17.0.21" ,
158- "@types/vscode" : " ^1.63.0" ,
159- "esbuild" : " ^0.14.25" ,
160- "prettier" : " 2.6.2" ,
161- "typescript" : " ^4.6.2"
162- },
163- "dependencies" : {
164- "sql-lint" : " ^0.0.19"
165- },
166- "__metadata" : {
167- "id" : " 4d32ffbd-a404-4f22-9022-38a9e83e55f1" ,
168- "publisherDisplayName" : " qufiwefefwoyn" ,
169- "publisherId" : " 5be51ce2-befe-4527-952a-3e1c764d2c4e" ,
170- "isPreReleaseVersion" : false
171- }
172- }
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." ,
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+ }
0 commit comments