Skip to content

Commit 79805b3

Browse files
committed
feat: use monorepo with turborepo
1 parent ada6bca commit 79805b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+14859
-14034
lines changed

.eslintignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

.gitignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
out
21
node_modules
3-
client/server
42
.vscode-test
53
*.vsix
6-
*.tsbuildinfo
4+
*.tsbuildinfo
5+
.turbo
6+
dist
7+
out
8+
.DS_Store

.vscode/launch.json

Lines changed: 33 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,34 @@
1-
// A launch configuration that compiles the extension and then opens it inside a new window
21
{
3-
"version": "0.2.0",
4-
"configurations": [
5-
{
6-
"type": "extensionHost",
7-
"request": "launch",
8-
"name": "Launch Client",
9-
"runtimeExecutable": "${execPath}",
10-
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
11-
"outFiles": ["${workspaceRoot}/client/out/**/*.js"],
12-
"preLaunchTask": {
13-
"type": "npm",
14-
"script": "watch"
15-
}
16-
},
17-
{
18-
"type": "node",
19-
"request": "attach",
20-
"name": "Attach to Server",
21-
"port": 6009,
22-
"restart": true,
23-
"outFiles": ["${workspaceRoot}/server/out/**/*.js"]
24-
},
25-
{
26-
"name": "Language Server E2E Test",
27-
"type": "extensionHost",
28-
"request": "launch",
29-
"runtimeExecutable": "${execPath}",
30-
"args": [
31-
"--extensionDevelopmentPath=${workspaceRoot}",
32-
"--extensionTestsPath=${workspaceRoot}/client/out/test/index",
33-
"${workspaceRoot}/client/testFixture"
34-
],
35-
"outFiles": ["${workspaceRoot}/client/out/test/**/*.js"]
36-
}
37-
],
38-
"compounds": [
39-
{
40-
"name": "Client + Server",
41-
"configurations": ["Launch Client", "Attach to Server"]
42-
}
43-
]
44-
}
2+
"version": "0.2.0",
3+
// List of configurations. Add new configurations or edit existing ones.
4+
"configurations": [
5+
{
6+
"type": "extensionHost",
7+
"request": "launch",
8+
"name": "Launch Client",
9+
"runtimeExecutable": "${execPath}",
10+
"args": ["--extensionDevelopmentPath=${workspaceRoot}/packages/vscode-css-variables"],
11+
"sourceMaps": true,
12+
"outFiles": ["${workspaceRoot}/packages/vscode-css-variables/dist/**/*.js"],
13+
"preLaunchTask": "npm: build"
14+
},
15+
{
16+
"type": "node",
17+
"request": "attach",
18+
"name": "Attach to Server 6011",
19+
"address": "localhost",
20+
"port": 6011,
21+
"sourceMaps": true,
22+
"outFiles": ["${workspaceRoot}/packages/vscode-css-variables/dist/**/*.js"]
23+
},
24+
{
25+
"type": "node",
26+
"request": "attach",
27+
"name": "Attach to Server 6012",
28+
"address": "localhost",
29+
"port": 6012,
30+
"sourceMaps": true,
31+
"outFiles": ["${workspaceRoot}/packages/vscode-css-variables/dist/**/*.js"]
32+
}
33+
]
34+
}

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@
44
"typescript.preferences.quoteStyle": "single",
55
"editor.codeActionsOnSave": {
66
"source.fixAll.eslint": true
7-
}
7+
},
8+
"eslint.workingDirectories": [
9+
"packages/*"
10+
]
811
}

.vscode/tasks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"tasks": [
44
{
55
"type": "npm",
6-
"script": "compile",
6+
"script": "build",
77
"group": "build",
88
"presentation": {
99
"panel": "dedicated",
@@ -15,7 +15,7 @@
1515
},
1616
{
1717
"type": "npm",
18-
"script": "watch",
18+
"script": "dev",
1919
"isBackground": true,
2020
"group": {
2121
"kind": "build",

.vscodeignore

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)