Compare commits

..
Author SHA1 Message Date
Thomas Camlong 70af7dfe7b fix(nextjs): suppress Turbopack node:crypto export-star warning
Next.js 16 exits with code 1 when Turbopack encounters unhandled warnings.
The node:crypto CJS module triggers an 'unexpected export *' warning through
the image-proxy route because node:crypto exposes its API as CJS exports only
available at runtime. The named imports used at runtime are fine — this is a
static analysis limitation in Turbopack's ESM/CJS interop detection.

Suppress via ignoreIssue (same pattern already used for the NFT list warning)
until upstream resolves the detection in vercel/next.js.
2026-07-14 17:36:35 +02:00
7 changed files with 592 additions and 384 deletions

No files matched your search

+1
View File
@@ -23,6 +23,7 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
ref: ${{ github.head_ref }} ref: ${{ github.head_ref }}
persist-credentials: false
- name: Setup - name: Setup
uses: ./tooling/github/setup uses: ./tooling/github/setup
+1 -1
View File
@@ -43,7 +43,7 @@
"random-word-slugs": "^0.1.7", "random-word-slugs": "^0.1.7",
"react": "catalog:", "react": "catalog:",
"react-dom": "catalog:", "react-dom": "catalog:",
"swiper": "^14.0.5", "swiper": "^14.0.2",
"tailwindcss": "^4.3.2" "tailwindcss": "^4.3.2"
}, },
"devDependencies": { "devDependencies": {
+7
View File
@@ -42,6 +42,13 @@ const nextConfig: NextConfig = {
path: "**/*", path: "**/*",
title: "Encountered unexpected file in NFT list", title: "Encountered unexpected file in NFT list",
}, },
{
// node:crypto is CJS; `export *` from it triggers a Turbopack warning
// that exits 1 in Next.js 16. Named imports in image-proxy are fine at
// runtime — suppress until upstream resolves the ESM/CJS detection.
path: "**/*",
title: "unexpected export *",
},
], ],
}, },
transpilePackages: ["@homarr/ui", "@homarr/notifications", "@homarr/modals", "@homarr/spotlight", "@homarr/widgets"], transpilePackages: ["@homarr/ui", "@homarr/notifications", "@homarr/modals", "@homarr/spotlight", "@homarr/widgets"],
+2 -2
View File
@@ -6,7 +6,7 @@
}, },
"engines": { "engines": {
"node": ">=24.18.0", "node": ">=24.18.0",
"pnpm": ">=11.11.0" "pnpm": ">=11.10.0"
}, },
"packageManager": "pnpm@11.11.0" "packageManager": "pnpm@11.10.0"
} }
+2 -2
View File
@@ -69,7 +69,7 @@
}, },
"engines": { "engines": {
"node": ">=24.18.0", "node": ">=24.18.0",
"pnpm": ">=11.11.0" "pnpm": ">=11.10.0"
}, },
"packageManager": "pnpm@11.11.0" "packageManager": "pnpm@11.10.0"
} }
+575 -375
View File
File diff suppressed because it is too large. Load diff
+4 -4
View File
@@ -18,7 +18,7 @@ catalog:
"@gitbeaker/rest": ^43.8.0 "@gitbeaker/rest": ^43.8.0
"@homarr/gridstack": ^1.12.0 "@homarr/gridstack": ^1.12.0
"@homarr/node-unifi": ^2.6.0 "@homarr/node-unifi": ^2.6.0
"@immich/sdk": ^3.0.2 "@immich/sdk": ^3.0.1
"@jellyfin/sdk": ^0.13.0 "@jellyfin/sdk": ^0.13.0
"@kubernetes/client-node": ^1.4.0 "@kubernetes/client-node": ^1.4.0
"@modelcontextprotocol/sdk": 1.29.0 "@modelcontextprotocol/sdk": 1.29.0
@@ -93,7 +93,7 @@ catalog:
"@types/video.js": ^7.3.58 "@types/video.js": ^7.3.58
"@types/ws": ^8.18.1 "@types/ws": ^8.18.1
"@types/xml2js": ^0.4.14 "@types/xml2js": ^0.4.14
posthog-js: ^1.399.1 posthog-js: ^1.399.0
posthog-node: ^5.40.0 posthog-node: ^5.40.0
"@vitejs/plugin-react": ^6.0.3 "@vitejs/plugin-react": ^6.0.3
"@vitest/coverage-v8": ^4.1.10 "@vitest/coverage-v8": ^4.1.10
@@ -139,7 +139,7 @@ catalog:
jsonpath-plus: ^10.4.0 jsonpath-plus: ^10.4.0
ldapts: 8.1.8 ldapts: 8.1.8
lodash.clonedeep: ^4.5.0 lodash.clonedeep: ^4.5.0
lucide-react: ^1.24.0 lucide-react: ^1.23.0
"mantine-contextmenu": ^9.3.1 "mantine-contextmenu": ^9.3.1
mantine-datatable: ^9.3.1 mantine-datatable: ^9.3.1
mantine-react-table: npm:mantine-react-table-open@9.0.3 mantine-react-table: npm:mantine-react-table-open@9.0.3
@@ -177,7 +177,7 @@ catalog:
tsdav: ^2.3.0 tsdav: ^2.3.0
tsx: 4.20.4 tsx: 4.20.4
turbo: ^2.10.4 turbo: ^2.10.4
typescript: "npm:@typescript/typescript6@^6.0.2" typescript: ^7.0.2
vite: ^8.1.4 vite: ^8.1.4
undici: 7.28.0 undici: 7.28.0
use-deep-compare-effect: ^1.8.1 use-deep-compare-effect: ^1.8.1