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
15 changes: 9 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,22 @@ jobs:
with:
persist-credentials: false

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v3
with:
node-version: 24
cache: 'npm'

- name: 'Install dependencies'
run: npm ci
cache: 'pnpm'
- name: 'Install dependencies (pnpm)'
run: pnpm install --frozen-lockfile

- name: 'Build syntaxes, client and server. '
run: npx nx run-many --target=build
run: pnpm nx run-many --target=build

- name: 'Semantic Release'
run: GH_TOKEN=${{ secrets.GH_PAT }} npx semantic-release
run: GH_TOKEN=${{ secrets.GH_PAT }} pnpm semantic-release
env:
GH_TOKEN: ${{ secrets.GH_PAT }}
VSCE_PAT: ${{ secrets.AZUREDEVOPS_PAT }}
Expand Down
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit ${1}
pnpm --no -- commitlint --edit ${1}
4 changes: 2 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
[
"@semantic-release/exec",
{
"prepareCmd": "npx vsce package --no-git-tag-version ${nextRelease.version}",
"publishCmd": "npx vsce publish --no-git-tag-version ${nextRelease.version}"
"prepareCmd": "pnpm vsce package --no-git-tag-version ${nextRelease.version}",
"publishCmd": "pnpm vsce publish --no-git-tag-version ${nextRelease.version}"
}
],
[
Expand Down
32 changes: 23 additions & 9 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
// A launch configuration that compiles the extension and then opens it inside a new window
{
"version": "0.2.0",
"compounds": [
{
"name": "Launch Client and Attach to Server",
"configurations": ["Launch Client", "Attach to Language Server"],
"stopAll": true,
"presentation": {
"group": "launch",
"order": 1
}
}
],
"configurations": [
{
"type": "extensionHost",
Expand All @@ -13,15 +24,21 @@
],
"outFiles": ["${workspaceRoot}/dist/**/*.js"],
"autoAttachChildProcesses": true,
"preLaunchTask": "build-affected"
"preLaunchTask": "build-affected",
"presentation": {
"group": "launch"
}
},
{
"name": "Attach to Language Server",
"type": "node",
"request": "attach",
"outFiles": ["${workspaceRoot}/dist/**/*.js"],
"sourceMaps": true,
"restart": true
"restart": true,
"presentation": {
"group": "launch"
}
},
{
"name": "Language Server E2E Test",
Expand All @@ -33,13 +50,10 @@
"--extensionTestsPath=${workspaceRoot}/client/out/test/index",
"${workspaceRoot}/client/testFixture"
],
"outFiles": ["${workspaceRoot}/client/out/test/**/*.js"]
}
],
"compounds": [
{
"name": "Launch Client and Attach to Server",
"configurations": ["Launch Client", "Attach to Language Server"]
"outFiles": ["${workspaceRoot}/client/out/test/**/*.js"],
"presentation": {
"group": "test"
}
}
]
}
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "shell",
"label": "build-affected",
"detail": "Build all affected projects in the workspace",
"command": "npx nx run-many --verbose --target=build",
"command": "pnpm nx run-many --verbose --target=build",
"group": {
"kind": "build",
"isDefault": true
Expand Down
Loading