fix(web): pin Next SWC binaries and regenerate lockfile with CI's npm

Since the SDK 56 dependency churn, arborist nests next under apps/web and
npm 10 skipped its platform-optional SWC binaries on the x64 CI runner,
breaking next build. Pin the linux and darwin binaries as direct
optionalDependencies of @sauci/web (bump alongside next) and regenerate
the lockfile from scratch with npm 10.8.2 to match CI. Verified in a
linux/amd64 node:20.19.4 container: npm ci installs the binary.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
jjbruntonandClaude Fable 5 committed 2026-08-31 15:29:01 +01:00
1 parent ecff9e2ec8
commit 90cde4aca4
2 files changed
+819 -2870

No files matched your search

+27 -22
View File
@@ -1,32 +1,37 @@
{ {
"name": "@sauci/web", "name": "@sauci/web",
"version": "1.0.0", "version": "1.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "eslint .", "lint": "eslint .",
"test": "vitest run --passWithNoTests", "test": "vitest run --passWithNoTests",
"typecheck": "tsc --noEmit" "typecheck": "tsc --noEmit"
}, },
"dependencies": { "dependencies": {
"framer-motion": "^11.0.0", "framer-motion": "^11.0.0",
"lucide-react": "^0.460.0", "lucide-react": "^0.460.0",
"next": "15.5.24", "next": "15.5.24",
"posthog-js": "^1.311.0", "posthog-js": "^1.311.0",
"react": "^18.3.1", "react": "^18.3.1",
"react-dom": "^18.3.1" "react-dom": "^18.3.1"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^20.0.0", "@types/node": "^20.0.0",
"@types/react": "~19.1.10", "@types/react": "~19.1.10",
"@types/react-dom": "~19.1.7", "@types/react-dom": "~19.1.7",
"autoprefixer": "^10.4.0", "autoprefixer": "^10.4.0",
"eslint": "^8.57.1", "eslint": "^8.57.1",
"eslint-config-next": "15.5.24", "eslint-config-next": "15.5.24",
"postcss": "^8.4.0", "postcss": "^8.4.0",
"tailwindcss": "^3.4.0", "tailwindcss": "^3.4.0",
"typescript": "^5.3.0" "typescript": "^5.3.0"
} },
} "optionalDependencies": {
"@next/swc-linux-x64-gnu": "15.5.24",
"@next/swc-linux-x64-musl": "15.5.24",
"@next/swc-darwin-arm64": "15.5.24"
}
}
+792 -2848
View File
File diff suppressed because it is too large. Load diff