-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
169 lines (169 loc) · 4.33 KB
/
package.json
File metadata and controls
169 lines (169 loc) · 4.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "sqlx",
"displayName": "sqlx",
"description": "BigQuery sqlx language support with Dataform CLI integration",
"repository": "https://github.com/am2rican5/sqlx",
"publisher": "am2rican5",
"version": "0.0.1",
"engines": {
"vscode": "^1.108.0"
},
"categories": [
"Programming Languages",
"Other"
],
"main": "./out/extension.js",
"activationEvents": [
"workspaceContains:dataform.json",
"workspaceContains:workflow_settings.yaml"
],
"contributes": {
"languages": [
{
"id": "sqlx",
"aliases": [
"SQLX",
"sqlx"
],
"extensions": [
".sqlx"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "sqlx",
"scopeName": "source.sqlx",
"path": "./syntaxes/sqlx.tmLanguage.json"
}
],
"commands": [
{
"command": "sqlx.compile",
"title": "Dataform: Compile Project"
},
{
"command": "sqlx.run",
"title": "Dataform: Run Project"
},
{
"command": "sqlx.runDryRun",
"title": "Dataform: Run Project (Dry Run)"
},
{
"command": "sqlx.test",
"title": "Dataform: Run Tests"
},
{
"command": "sqlx.runCurrentFile",
"title": "Dataform: Run Current File"
},
{
"command": "sqlx.runFullRefreshCurrentFile",
"title": "Dataform: Run Current File (Full Refresh)"
},
{
"command": "sqlx.init",
"title": "Dataform: Initialize Project"
},
{
"command": "sqlx.initCreds",
"title": "Dataform: Initialize Credentials"
}
],
"menus": {
"editor/context": [
{
"when": "resourceLangId == sqlx",
"command": "sqlx.runCurrentFile",
"group": "navigation"
},
{
"when": "resourceLangId == sqlx",
"command": "sqlx.compile",
"group": "navigation"
}
],
"explorer/context": [
{
"when": "resourceLangId == sqlx",
"command": "sqlx.runCurrentFile",
"group": "navigation"
}
]
},
"keybindings": [
{
"command": "sqlx.compile",
"key": "ctrl+shift+c",
"mac": "cmd+shift+c",
"when": "editorTextFocus && resourceLangId == sqlx"
},
{
"command": "sqlx.runCurrentFile",
"key": "ctrl+shift+r",
"mac": "cmd+shift+r",
"when": "editorTextFocus && resourceLangId == sqlx"
}
],
"configuration": {
"title": "SQLX / Dataform",
"properties": {
"sqlx.dataformCliPath": {
"type": "string",
"default": "dataform",
"description": "Path to the Dataform CLI executable"
},
"sqlx.runOptions.dryRun": {
"type": "boolean",
"default": false,
"description": "Run in dry-run mode by default (validate without executing)"
},
"sqlx.runOptions.runTests": {
"type": "boolean",
"default": false,
"description": "Include tests when running"
},
"sqlx.runOptions.verbose": {
"type": "boolean",
"default": false,
"description": "Enable verbose output"
},
"sqlx.runOptions.vars": {
"type": "object",
"default": {},
"description": "Variables to pass to Dataform (key-value pairs)"
},
"sqlx.runOptions.schemaSuffix": {
"type": "string",
"default": "",
"description": "Schema suffix for development branches"
},
"sqlx.terminal.reuseTerminal": {
"type": "boolean",
"default": true,
"description": "Reuse the same terminal for Dataform commands"
},
"sqlx.terminal.clearBeforeRun": {
"type": "boolean",
"default": true,
"description": "Clear terminal before running commands"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext ts",
"package": "vsce package"
},
"devDependencies": {
"@types/node": "^20.x",
"@types/vscode": "^1.108.0",
"@vscode/vsce": "^2.22.0",
"typescript": "^5.3.0"
}
}