-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
316 lines (316 loc) · 8.81 KB
/
package.json
File metadata and controls
316 lines (316 loc) · 8.81 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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
{
"name": "dbt-core-tools",
"displayName": "dbt Core Tools",
"description": "A thin wrapper around dbt Core CLI for VS Code",
"version": "0.0.11",
"publisher": "TEAMSchools",
"license": "MIT",
"icon": "media/dbt-icon.png",
"repository": {
"type": "git",
"url": "https://github.com/TEAMSchools/dbt-core-tools.git"
},
"engines": {
"vscode": "^1.110.0"
},
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:**/dbt_project.yml"
],
"main": "./dist/extension.js",
"extensionDependencies": [
"redhat.vscode-yaml",
"samuelcolvin.jinjahtml"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": false,
"description": "This extension executes dbt commands and reads manifest data. It should only be used in trusted workspaces."
}
},
"contributes": {
"viewsContainers": {
"panel": [
{
"id": "dbtLineagePanel",
"title": "dbt Lineage",
"icon": "$(type-hierarchy)"
},
{
"id": "dbtPreviewPanel",
"title": "dbt Preview",
"icon": "$(table)"
}
]
},
"views": {
"dbtLineagePanel": [
{
"type": "webview",
"id": "dbtCoreTools.lineageView",
"name": "dbt Lineage"
}
],
"dbtPreviewPanel": [
{
"type": "webview",
"id": "dbtCoreTools.previewView",
"name": "dbt Preview"
}
]
},
"commands": [
{
"command": "dbtCoreTools.setupProject",
"title": "dbt Core Tools: Setup Project"
},
{
"command": "dbtCoreTools.setupAllProjects",
"title": "dbt Core Tools: Setup All Projects"
},
{
"command": "dbtCoreTools.installDeps",
"title": "dbt Core Tools: Install Dependencies"
},
{
"command": "dbtCoreTools.parseProject",
"title": "dbt Core Tools: Parse Project"
},
{
"command": "dbtCoreTools.cleanProject",
"title": "dbt Core Tools: Clean Project"
},
{
"command": "dbtCoreTools.debug",
"title": "dbt Core Tools: Debug"
},
{
"command": "dbtCoreTools.retry",
"title": "dbt Core Tools: Retry"
},
{
"command": "dbtCoreTools.runModel",
"title": "dbt Core Tools: Run Model",
"icon": "$(package)"
},
{
"command": "dbtCoreTools.buildModel",
"title": "dbt Core Tools: Build Model",
"icon": "$(tools)"
},
{
"command": "dbtCoreTools.testModel",
"title": "dbt Core Tools: Test Model",
"icon": "$(beaker)"
},
{
"command": "dbtCoreTools.showModel",
"title": "dbt Core Tools: Show Model",
"icon": "$(table)"
},
{
"command": "dbtCoreTools.stageExternalSources",
"title": "dbt Core Tools: Stage External Sources",
"icon": "$(open-in-product)"
},
{
"command": "dbtCoreTools.showLineage",
"title": "dbt Core Tools: Show Lineage",
"icon": "$(type-hierarchy)"
},
{
"command": "dbtCoreTools.showCompiledSql",
"title": "dbt Core Tools: Show Compiled SQL",
"icon": "$(file-code)"
},
{
"command": "dbtCoreTools.toggleProperties",
"title": "dbt Core Tools: Toggle SQL/Properties",
"icon": "$(symbol-property)"
},
{
"command": "dbtCoreTools.syncColumns",
"title": "dbt Core Tools: Sync Columns"
},
{
"command": "dbtCoreTools.selectTarget",
"title": "dbt Core Tools: Select Target"
},
{
"command": "dbtCoreTools.toggleDefer",
"title": "dbt Core Tools: Toggle Defer"
}
],
"menus": {
"editor/title": [
{
"command": "dbtCoreTools.buildModel",
"group": "navigation@1",
"when": "dbtCoreTools.isDbtSqlFile"
},
{
"command": "dbtCoreTools.showCompiledSql",
"group": "navigation@2",
"when": "dbtCoreTools.isDbtSqlFile"
},
{
"command": "dbtCoreTools.toggleProperties",
"group": "navigation@3",
"when": "dbtCoreTools.isDbtFile"
},
{
"command": "dbtCoreTools.showModel",
"group": "navigation@4",
"when": "dbtCoreTools.isDbtSqlFile"
},
{
"command": "dbtCoreTools.stageExternalSources",
"group": "navigation@5",
"when": "dbtCoreTools.isDbtSqlFileWithSources"
},
{
"command": "dbtCoreTools.runModel",
"group": "navigation@6",
"when": "dbtCoreTools.isDbtSqlFile"
},
{
"command": "dbtCoreTools.testModel",
"group": "navigation@7",
"when": "dbtCoreTools.isDbtSqlFile"
}
],
"editor/context": [
{
"command": "dbtCoreTools.runModel",
"group": "dbtCoreTools@1",
"when": "dbtCoreTools.isDbtSqlFile"
},
{
"command": "dbtCoreTools.buildModel",
"group": "dbtCoreTools@2",
"when": "dbtCoreTools.isDbtSqlFile"
},
{
"command": "dbtCoreTools.testModel",
"group": "dbtCoreTools@3",
"when": "dbtCoreTools.isDbtSqlFile"
},
{
"command": "dbtCoreTools.showModel",
"group": "dbtCoreTools@4",
"when": "dbtCoreTools.isDbtSqlFile"
}
]
},
"configuration": {
"title": "dbt Core Tools",
"properties": {
"dbtCoreTools.dbtCommand": {
"type": "string",
"default": "dbt",
"description": "Command prefix for invoking dbt (e.g., 'uv run dbt')"
},
"dbtCoreTools.projectDirectories": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Explicit project paths; if empty, auto-discovered"
},
"dbtCoreTools.profilesDir": {
"type": "string",
"default": "",
"description": "Path to profiles directory"
},
"dbtCoreTools.compileOnSave": {
"type": "boolean",
"default": true,
"description": "Run dbt compile on explicit save of .sql files"
},
"dbtCoreTools.deferManifestPath": {
"type": "object",
"default": {},
"description": "Per-project defer manifest path"
},
"dbtCoreTools.stageExternalSourcesVars": {
"type": "object",
"default": {},
"description": "Vars for stage_external_sources; supports ${projectName}"
},
"dbtCoreTools.showLimit": {
"type": "integer",
"default": 100,
"description": "Row limit for dbt show"
},
"dbtCoreTools.propertiesLocation": {
"type": "string",
"enum": [
"folder",
"inline"
],
"default": "folder",
"description": "Where to scaffold new properties YAML: 'folder' creates in a sibling properties/ directory, 'inline' creates next to the .sql file"
}
}
},
"languages": [
{
"id": "jinja-sql",
"icon": {
"light": "./media/dbt-icon.svg",
"dark": "./media/dbt-icon.svg"
}
}
],
"configurationDefaults": {
"files.associations": {
"*.sql": "jinja-sql"
}
},
"yamlValidation": [
{
"fileMatch": "**/dbt_project.yml",
"url": "https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/latest/dbt_project-latest.json"
},
{
"fileMatch": "**/selectors.yml",
"url": "https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/latest/selectors-latest.json"
},
{
"fileMatch": "**/packages.yml",
"url": "https://raw.githubusercontent.com/dbt-labs/dbt-jsonschema/main/schemas/latest/packages-latest.json"
}
]
},
"scripts": {
"vscode:prepublish": "node esbuild.js --production",
"build": "node esbuild.js",
"watch": "node esbuild.js --watch",
"test": "mocha test/unit/**/*.test.ts --require ts-node/register/transpile-only",
"package": "npx @vscode/vsce package",
"publish": "npx @vscode/vsce publish"
},
"dependencies": {
"@dagrejs/dagre": "^3.0.0",
"@vscode/codicons": "^0.0.45",
"@xyflow/react": "^12.10.2",
"react": "^19.2.4",
"react-dom": "^19.2.4"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^25.5.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/vscode": "^1.110.0",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.7.1",
"esbuild": "^0.28.0",
"mocha": "^11.7.5",
"ts-node": "^10.9.2",
"typescript": "^6.0.2"
}
}