Skip to content

Commit 4f1a808

Browse files
committed
chore(FON-000): bumps pnpm to version 11
1 parent 9159177 commit 4f1a808

15 files changed

Lines changed: 2599 additions & 4833 deletions

File tree

.github/workflows/build-api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093
3636
with:
37-
version: 10
37+
version: 11
3838
run_install: false
3939

4040
- name: Use Node.js

.github/workflows/build-client.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093
3030
with:
31-
version: 10
31+
version: 11
3232
run_install: false
3333

3434
- name: Use Node.js
@@ -37,6 +37,10 @@ jobs:
3737
node-version: '24.12.0'
3838
cache: 'pnpm'
3939

40+
- name: install sheetjs
41+
shell: bash
42+
run: ./scripts/sheetjs.sh
43+
4044
- name: Install dependencies
4145
run: pnpm install --frozen-lockfile --ignore-scripts
4246

.github/workflows/integration-checks.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656

5757
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093
5858
with:
59-
version: 10
59+
version: 11
6060
run_install: false
6161

6262
- name: Use Node.js
@@ -65,6 +65,10 @@ jobs:
6565
node-version: '24.12.0'
6666
cache: 'pnpm'
6767

68+
- name: install sheetjs
69+
shell: bash
70+
run: ./scripts/sheetjs.sh
71+
6872
- name: Install dependencies
6973
run: pnpm install --frozen-lockfile --ignore-scripts
7074

.github/workflows/migrate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093
4444
if: steps.changed-files.outputs.any_changed == 'true'
4545
with:
46-
version: 10
46+
version: 11
4747
run_install: false
4848

4949
- name: Use Node.js

.github/workflows/warm-playwright-cache.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093
2323
with:
24-
version: 10
24+
version: 11
2525
run_install: false
2626

2727
- name: Use Node.js
@@ -30,6 +30,10 @@ jobs:
3030
node-version: '24.12.0'
3131
cache: 'pnpm'
3232

33+
- name: install sheetjs
34+
shell: bash
35+
run: ./scripts/sheetjs.sh
36+
3337
- name: Install dependencies
3438
run: pnpm install --frozen-lockfile --ignore-scripts
3539

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@ generated
1414
coverage
1515

1616
.DS_Store
17-
.pnpm-store
17+
.pnpm-store
18+
19+
/vendor/*.tgz
20+
.hash

apps/api/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"sax": "^1.4.4",
6060
"shared-models": "workspace:*",
6161
"unzipper": "^0.12.3",
62+
"xlsx": "file:../../vendor/xlsx-0.20.3.tgz",
6263
"zod": "catalog:"
6364
},
6465
"devDependencies": {

apps/api/src/modules/docs/infrastructure/services/renderers/pdf/pdf-worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default async function renderPdf(html: string): Promise<Uint8Array> {
1515
const b = await getBrowser();
1616
const page = await b.newPage();
1717
try {
18-
await page.setContent(html, { waitUntil: 'networkidle0' });
18+
await page.setContent(html);
1919
const buffer = await page.pdf({
2020
format: 'A4',
2121
printBackground: true,

apps/client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@
8282
"typescript": "~5.9.3",
8383
"typescript-eslint": "^8.56.1",
8484
"vite": "8.0.11",
85-
"xlsx": "0.18.5"
85+
"xlsx": "file:../../vendor/xlsx-0.20.3.tgz"
8686
}
8787
}

package.json

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"types:check": "pnpm run -r types:check",
99
"test:all": "pnpm run -r test:all",
1010
"build": "pnpm run -r build",
11+
"preinstall": "./scripts/sheetjs.sh",
1112
"prepush": "pnpm --filter shared-models build; pnpm lint:check; pnpm format:check; pnpm types:check",
1213
"scalingo-postbuild": "echo 'App already built. Disable build phase with envvar NPM_NO_BUILD=true'",
1314
"heroku-postbuild": "echo 'App already built'",
@@ -22,17 +23,6 @@
2223
},
2324
"engines": {
2425
"node": "24",
25-
"pnpm": "10"
26-
},
27-
"pnpm": {
28-
"overrides": {
29-
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
30-
},
31-
"onlyBuiltDependencies": [
32-
"@nestjs/core",
33-
"@prisma/client",
34-
"@swc/core",
35-
"bcrypt"
36-
]
26+
"pnpm": "11"
3727
}
3828
}

0 commit comments

Comments
 (0)