-
Notifications
You must be signed in to change notification settings - Fork 380
Expand file tree
/
Copy pathpackage.json
More file actions
153 lines (153 loc) · 4.3 KB
/
package.json
File metadata and controls
153 lines (153 loc) · 4.3 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
{
"name": "sqlmesh",
"displayName": "SQLMesh",
"description": "Official SQLMesh extension for VSCode",
"publisher": "tobikodata",
"version": "0.0.7",
"repository": {
"type": "git",
"url": "https://github.com/tobikodata/sqlmesh"
},
"main": "./dist/extension.js",
"icon": "assets/logo.png",
"engines": {
"vscode": "^1.96.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:sql",
"onLanguage:python"
],
"extensionKind": [
"workspace"
],
"extensionDependencies": [
"ms-python.python"
],
"contributes": {
"configuration": {
"type": "object",
"title": "SQLMesh",
"properties": {
"sqlmesh.projectPath": {
"type": "string",
"default": "",
"markdownDescription": "The path to the SQLMesh project. If not set, the extension will try to find the project root automatically. If set, the extension will use the project root as the workspace path, e.g. it will run `sqlmesh` and `sqlmesh_lsp` in the project root. The path can be absolute `/Users/sqlmesh_user/sqlmesh_project/sushi` or relative `./project_folder/sushi` to the workspace root."
}
}
},
"viewsContainers": {
"panel": [
{
"id": "lineage_view",
"title": "Lineage",
"icon": "./assets/images/dag.svg"
}
]
},
"views": {
"lineage_view": [
{
"id": "sqlmesh.lineage",
"name": "",
"type": "webview"
}
]
},
"authentication": [
{
"id": "tobikodata",
"label": "Tobiko"
}
],
"commands": [
{
"command": "sqlmesh.format",
"title": "Format SQLMesh Project",
"description": "SQLMesh"
},
{
"command": "sqlmesh.restart",
"title": "Restart SQLMesh Servers",
"description": "SQLMesh"
},
{
"command": "sqlmesh.signin",
"title": "Sign in to Tobiko Cloud",
"description": "SQLMesh"
},
{
"command": "sqlmesh.signinSpecifyFlow",
"title": "Sign in to Tobiko Cloud (Specify Auth Flow)",
"description": "SQLMesh"
},
{
"command": "sqlmesh.signout",
"title": "Sign out from Tobiko Cloud",
"description": "SQLMesh"
},
{
"command": "sqlmesh.renderModel",
"title": "Render Model",
"description": "Render the model in the current editor",
"icon": "$(open-preview)"
},
{
"command": "sqlmesh.plan",
"title": "Show Plan Diff",
"description": "Create a plan and show the diff"
}
],
"menus": {
"editor/title": [
{
"command": "sqlmesh.renderModel",
"when": "resourceExtname == .sql",
"group": "navigation"
}
]
}
},
"scripts": {
"ci": "pnpm run lint && pnpm run compile",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:headed": "playwright test --headed",
"fetch-vscode": "tsx scripts/fetch-vscode.ts",
"compile": "pnpm run check-types && node esbuild.js",
"check-types": "tsc --noEmit",
"watch": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"vscode:package": "vsce package --no-dependencies",
"vscode:prepublish": "cp ../../LICENSE . && pnpm run package",
"package": "rm -rf ./src_react && mkdir -p ./src_react && cd ../react && pnpm run build && cd ../extension && cp -r ../react/dist/* ./src_react && pnpm run check-types && node esbuild.js --production"
},
"dependencies": {
"@types/fs-extra": "^11.0.4",
"@vscode/python-extension": "^1.0.5",
"fs-extra": "^11.3.0",
"vscode-jsonrpc": "^8.2.1",
"vscode-languageclient": "^9.0.1",
"zod": "^3.25.55"
},
"devDependencies": {
"@eslint/js": "^9.28.0",
"@playwright/test": "^1.52.0",
"@types/mocha": "^10.0.10",
"@types/node": "20.11.25",
"@types/vscode": "1.96.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.5.0",
"esbuild": "^0.25.5",
"eslint": "^9.28.0",
"ts-loader": "^9.5.2",
"tsx": "^4.19.4",
"typescript": "^5.8.3",
"typescript-eslint": "^8.34.0"
}
}