Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,5 @@ vite.config.ts.timestamp-*

# test-workspace
test-workspace/

packages/vscode-extension/*.vsix
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"--disable-extensions",
"--folder-uri=${workspaceRoot}/test-workspace"
],
"outFiles": ["${workspaceFolder}/packages/vscode-extension/out/**/*.js"],
"preLaunchTask": "compile"
"outFiles": ["${workspaceFolder}/packages/vscode-extension/dist/**/*.js"],
"preLaunchTask": "watch"
}
]
}
35 changes: 23 additions & 12 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"label": "watch",
"dependsOn": ["npm: watch:tsc", "npm: watch:esbuild"],
"presentation": {
"reveal": "never"
},
Expand All @@ -17,14 +13,29 @@
}
},
{
"label": "compile",
"type": "shell",
"command": "pnpm run compile",
"type": "npm",
"script": "watch:esbuild",
"path": "packages/vscode-extension/",
"group": "build",
"problemMatcher": "$tsc",
"problemMatcher": "$esbuild-watch",
"isBackground": true,
"label": "npm: watch:esbuild",
"presentation": {
"reveal": "always",
"panel": "shared"
"group": "watch",
"reveal": "never"
}
},
{
"type": "npm",
"script": "watch:tsc",
"path": "packages/vscode-extension/",
"group": "build",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"label": "npm: watch:tsc",
"presentation": {
"group": "watch",
"reveal": "never"
}
}
]
Expand Down
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
"fmt": "oxfmt",
"fmt:check": "oxfmt --check",
"verify": "pnpm fmt:check && pnpm lint",
"compile": "npm run compile --prefix ./packages/vscode-extension",
"test": "npm run test --prefix ./packages/vscode-extension"
"compile": "pnpm -C ./packages/vscode-extension run compile",
"test": "pnpm -C ./packages/vscode-extension run test",
"vscode:package": "pnpm -C ./packages/vscode-extension run package",
"vscode:publish": "pnpm -C ./packages/vscode-extension run publish",
"vscode:publish:minor": "pnpm -C ./packages/vscode-extension run publish:minor",
"vscode:publish:patch": "pnpm -C ./packages/vscode-extension run publish:patch"
},
"devDependencies": {
"@typescript/native-preview": "7.0.0-dev.20260115.1",
Expand Down
22 changes: 22 additions & 0 deletions packages/vscode-extension/.vscodeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Exclude source maps (not needed at runtime)
dist/**/*.js.map

# Source files (compiled to out/)
src/
tsconfig.json

# Dev/config files
.gitignore
.gitattributes
*.vsix

# Test workspace and setup
../../test-workspace/
../../setup/

# Node modules (all deps are bundled into out/extension.js by esbuild)
node_modules/
**/*.ts
**/tsconfig.json

esbuild.js
Loading