From 5043058660678b91b8c4cb76bf9fffe2c8a603a3 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Wed, 22 Apr 2026 10:27:26 +0200 Subject: [PATCH] fix: exclude scripts from tsconfig compilation and fix msg type to resolve pipeline build error --- package.json | 2 +- scripts/check-broken-assets.ts | 2 +- tsconfig.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ca0113b..3b7a56a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mb-grid-solutions.com", - "version": "1.3.17", + "version": "1.3.18", "type": "module", "packageManager": "pnpm@10.18.3", "scripts": { diff --git a/scripts/check-broken-assets.ts b/scripts/check-broken-assets.ts index feaedc8..2bfd36a 100644 --- a/scripts/check-broken-assets.ts +++ b/scripts/check-broken-assets.ts @@ -90,7 +90,7 @@ async function main() { }); // Listen for console.error and console.warn messages (like Next.js Image warnings, hydration errors, CSP blocks) - page.on('console', (msg) => { + page.on('console', (msg: any) => { const type = msg.type(); if (type === 'error' || type === 'warn') { const text = msg.text(); diff --git a/tsconfig.json b/tsconfig.json index 9e5c697..73f0bc8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,5 +14,5 @@ ".next/types/**/*.ts", ".next/dev/types/**/*.ts" ], - "exclude": ["node_modules", "tests", "tests_bak"] + "exclude": ["node_modules", "tests", "tests_bak", "scripts"] }