Skip to content

Commit 3345162

Browse files
committed
chore(repo): migrate from yarn to pnpm
1 parent 02cdaef commit 3345162

28 files changed

Lines changed: 11647 additions & 14154 deletions

.coderabbit.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ reviews:
2121
- "!**/out/**"
2222
- "!**/dist/**"
2323
- "!**/node_modules/**"
24-
- "!**/package-lock.json"
25-
- "!**/yarn.lock"
2624
- "!**/pnpm-lock.yaml"
2725
- "!**/*.generated.ts"
2826
- "!**/*.generated.java"

.dockerignore

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
.git
22
.github
3-
.yarn
43
assets
54
deploy
65
docs
76
scratch
8-
tools
7+
node_modules
8+
.pnpm-store
9+
pnpm-debug.log
10+
tools/*
11+
!tools/release/
12+
tools/release/*
13+
!tools/release/package.json
914

10-
frontend/.yarn
1115
frontend/.angular
1216
frontend/dist
1317
frontend/node_modules

.github/actions/compute-release-notes/action.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,13 @@ runs:
5454
with:
5555
tool: just
5656

57+
- name: Set Up pnpm
58+
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
59+
5760
- name: Set Up Node.js
5861
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
5962
with:
60-
node-version: '24'
61-
62-
- name: Enable Corepack
63-
shell: bash
64-
run: |
65-
corepack enable
66-
corepack yarn --version
63+
node-version-file: .nvmrc
6764

6865
- name: Install Release Tooling Dependencies
6966
shell: bash

.github/dependabot.yml

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ updates:
1919
patterns:
2020
- "*"
2121

22-
# Frontendnpm (Angular)
22+
# JavaScriptpnpm workspace (frontend + release tooling)
2323
- package-ecosystem: "npm"
24-
directory: "/frontend"
24+
directory: "/"
2525
schedule:
2626
interval: "weekly"
2727
day: "friday"
@@ -36,34 +36,17 @@ updates:
3636
commit-message:
3737
prefix: "chore(deps)"
3838
groups:
39-
npm-dependencies:
39+
release-tooling:
40+
patterns:
41+
- "semantic-release"
42+
- "@semantic-release/*"
43+
- "conventional-changelog*"
44+
frontend:
4045
patterns:
4146
- "*"
4247
ignore:
4348
- dependency-name: "typescript"
4449

45-
# Release tooling – npm (semantic-release)
46-
- package-ecosystem: "npm"
47-
directory: "/tools/release"
48-
schedule:
49-
interval: "weekly"
50-
day: "friday"
51-
time: "03:00"
52-
timezone: "UTC"
53-
cooldown:
54-
default-days: 3
55-
open-pull-requests-limit: 5
56-
labels:
57-
- "dependencies"
58-
- "ci"
59-
- "release"
60-
commit-message:
61-
prefix: "chore(deps)"
62-
groups:
63-
release-tooling:
64-
patterns:
65-
- "*"
66-
6750
# GitHub Actions
6851
- package-ecosystem: "github-actions"
6952
directory: "/"

.github/workflows/angular-lint-threshold.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,29 +28,26 @@ jobs:
2828
- name: Checkout Repository
2929
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3030

31+
- name: Set Up pnpm
32+
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
33+
3134
- name: Set Up Node.js
3235
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
3336
with:
34-
node-version: '24'
35-
36-
- name: Enable Corepack
37-
run: |
38-
corepack enable
39-
corepack yarn --version
37+
node-version-file: .nvmrc
4038

4139
- name: Install Frontend Dependencies
42-
working-directory: ./frontend
43-
run: corepack yarn install --immutable
40+
run: pnpm install --frozen-lockfile
4441

4542
- name: Typecheck Frontend
4643
working-directory: ./frontend
47-
run: corepack yarn typecheck
44+
run: pnpm run typecheck
4845

4946
- name: Run Frontend Build
5047
working-directory: ./frontend
5148
run: |
5249
set +e
53-
CI=1 NG_CLI_ANALYTICS=false corepack yarn build:prod 2>&1 | tee build-output.log
50+
CI=1 NG_CLI_ANALYTICS=false pnpm run build:prod 2>&1 | tee build-output.log
5451
BUILD_EXIT_CODE=${PIPESTATUS[0]}
5552
set -e
5653
@@ -77,7 +74,7 @@ jobs:
7774
working-directory: ./frontend
7875
run: |
7976
# Lint output is written to JSON for threshold evaluation.
80-
corepack yarn lint:eslint --format json --output-file lint-results.json || true
77+
pnpm run lint:eslint --format json --output-file lint-results.json || true
8178
8279
- name: Count Lint Warnings
8380
working-directory: ./frontend

.github/workflows/release-main.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,13 @@ jobs:
4949
with:
5050
tool: just
5151

52+
- name: Set Up pnpm
53+
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
54+
5255
- name: Set Up Node.js
5356
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
5457
with:
55-
node-version: '24'
56-
57-
- name: Enable Corepack
58-
run: |
59-
corepack enable
60-
corepack yarn --version
58+
node-version-file: .nvmrc
6159

6260
- name: Install Release Tooling Dependencies
6361
run: just release install

.github/workflows/release-preview.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,13 @@ jobs:
5454
with:
5555
tool: just
5656

57+
- name: Set Up pnpm
58+
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
59+
5760
- name: Set Up Node.js
5861
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
5962
with:
60-
node-version: '24'
61-
62-
- name: Enable Corepack
63-
run: |
64-
corepack enable
65-
corepack yarn --version
63+
node-version-file: .nvmrc
6664

6765
- name: Install Release Tooling Dependencies
6866
run: just release install

.github/workflows/test-suite.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,13 @@ jobs:
125125
with:
126126
tool: just
127127

128+
- name: Set Up pnpm
129+
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
130+
128131
- name: Set Up Node.js
129132
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
130133
with:
131-
node-version: '24'
132-
133-
- name: Enable Corepack
134-
run: |
135-
corepack enable
136-
corepack yarn --version
134+
node-version-file: .nvmrc
137135

138136
- name: Install Frontend Dependencies
139137
run: just ui install-ci

.gitignore

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,11 @@ frontend/test-results/
4848
frontend/output/
4949
frontend/playwright-report/
5050
frontend/.playwright-browsers/
51-
frontend/node_modules/
51+
node_modules/
5252
backend/src/main/resources/application-local.yaml
5353
/shared/
5454

5555
/scratch
56-
/.yarn/
57-
/frontend/.yarn/
58-
/tools/release/node_modules
59-
/tools/release/.yarn/
56+
/pnpm-debug.log
57+
/.pnpm-store/
6058
.worktrees/

.yarnrc.yml

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

0 commit comments

Comments
 (0)