Skip to content

Commit 04fa4f0

Browse files
committed
chore(deps): switch to pnpm package manager
1 parent 889cfef commit 04fa4f0

File tree

9 files changed

+16028
-24024
lines changed

9 files changed

+16028
-24024
lines changed

.github/workflows/release.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,22 @@ jobs:
1818
with:
1919
persist-credentials: false
2020

21+
- name: Install pnpm
22+
uses: pnpm/action-setup@v4
23+
with:
24+
version: 10
2125
- uses: actions/setup-node@v3
2226
with:
2327
node-version: 24
24-
cache: 'npm'
25-
26-
- name: 'Install dependencies'
27-
run: npm ci
28+
cache: 'pnpm'
29+
- name: 'Install dependencies (pnpm)'
30+
run: pnpm install --frozen-lockfile
2831

2932
- name: 'Build syntaxes, client and server. '
30-
run: npx nx run-many --target=build
33+
run: pnpm nx run-many --target=build
3134

3235
- name: 'Semantic Release'
33-
run: GH_TOKEN=${{ secrets.GH_PAT }} npx semantic-release
36+
run: GH_TOKEN=${{ secrets.GH_PAT }} pnpm semantic-release
3437
env:
3538
GH_TOKEN: ${{ secrets.GH_PAT }}
3639
VSCE_PAT: ${{ secrets.AZUREDEVOPS_PAT }}

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
npx --no -- commitlint --edit ${1}
4+
pnpm --no -- commitlint --edit ${1}

.releaserc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
[
2020
"@semantic-release/exec",
2121
{
22-
"prepareCmd": "npx vsce package --no-git-tag-version ${nextRelease.version}",
23-
"publishCmd": "npx vsce publish --no-git-tag-version ${nextRelease.version}"
22+
"prepareCmd": "pnpm vsce package --no-git-tag-version ${nextRelease.version}",
23+
"publishCmd": "pnpm vsce publish --no-git-tag-version ${nextRelease.version}"
2424
}
2525
],
2626
[

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "shell",
66
"label": "build-affected",
77
"detail": "Build all affected projects in the workspace",
8-
"command": "npx nx run-many --verbose --target=build",
8+
"command": "pnpm nx run-many --verbose --target=build",
99
"group": {
1010
"kind": "build",
1111
"isDefault": true

0 commit comments

Comments
 (0)