Files
goodgo-platform/apps/web/package.json
Ho Ngoc Hai a38c797846
Some checks failed
CI / Lint → Typecheck → Test → Build (22) (push) Failing after 10s
CI / E2E Tests (push) Has been skipped
CI / AI Services (Python) — Smoke (push) Failing after 8s
CodeQL Analysis / CodeQL (javascript-typescript) (push) Failing after 54s
Deploy / Build API Image (push) Failing after 9s
Deploy / Build Web Image (push) Failing after 4s
Deploy / Build AI Services Image (push) Failing after 4s
E2E Tests / Playwright E2E (push) Failing after 10s
Deploy / Smoke Test Staging (push) Has been skipped
Deploy / Deploy to Staging (push) Has been skipped
Deploy / Deploy to Production (push) Has been skipped
Deploy / Smoke Test Production (push) Has been skipped
Deploy / Rollback Staging (push) Has been skipped
Deploy / Rollback Production (push) Has been skipped
Security Scanning / Trivy Scan — AI Services Image (push) Failing after 1m40s
Security Scanning / Trivy Filesystem Scan (push) Failing after 1m7s
Security Scanning / Trivy Scan — API Image (push) Failing after 10m31s
Security Scanning / Dependency Audit (pnpm) (push) Failing after 11m32s
Security Scanning / Trivy Scan — Web Image (push) Failing after 14m22s
Security Scanning / Security Gate (push) Has been cancelled
fix(web): add missing react-swipeable dependency
`apps/web/components/listings/image-gallery.tsx` imports
`useSwipeable` from `react-swipeable`, but the package was never
declared in `apps/web/package.json`. The dev install resolved it
through hoisted node_modules locally so nobody noticed; the in-cluster
Kaniko `next build` then fails with:

  Module not found: Can't resolve 'react-swipeable'
  ./components/listings/image-gallery.tsx:5:1

Fix by declaring `react-swipeable@^7.0.2` as a real dependency of the
web workspace so pnpm-lock + Docker builds resolve it deterministically.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 05:39:49 +07:00

58 lines
1.6 KiB
JSON

{
"name": "@goodgo/web",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "next dev --port 3200",
"build": "next build",
"start": "next start",
"lint": "eslint src/ app/ components/ lib/ hooks/ i18n/ --no-error-on-unmatched-pattern",
"test": "vitest run",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@hookform/resolvers": "^5.2.2",
"@sentry/nextjs": "^10.47.0",
"@tanstack/react-query": "^5.96.2",
"@tanstack/react-table": "^8.21.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"html2canvas": "^1.4.1",
"jspdf": "^4.2.1",
"lucide-react": "^1.7.0",
"mapbox-gl": "^3.21.0",
"next": "^15.5.14",
"next-intl": "^4.9.0",
"next-themes": "^0.4.6",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"react-hook-form": "^7.72.1",
"react-swipeable": "^7.0.2",
"recharts": "^3.8.1",
"socket.io-client": "^4.8.3",
"sonner": "^2.0.7",
"tailwind-merge": "^3.5.0",
"web-vitals": "^5.2.0",
"zod": "^4.3.6",
"zustand": "^5.0.12"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/mapbox-gl": "^3.5.0",
"@types/node": "^25.5.2",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.7.0",
"autoprefixer": "^10.4.0",
"jsdom": "^29.0.2",
"msw": "^2.13.2",
"postcss": "^8.4.0",
"tailwindcss": "^3.4.0",
"tailwindcss-animate": "^1.0.7",
"typescript": "^6.0.2",
"vitest": "^4.1.3"
}
}