Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"test:e2e:report": "playwright show-report"
},
"dependencies": {
"@aws-sdk/client-ses": "3.1104.0",
"@aws-sdk/client-ses": "3.1105.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

pnpm run format
pnpm run lint
pnpm run type:check
pnpm run build
pnpm run test:e2e

Repository: dejanvasic85/williamstownsc

Length of output: 50384


🏁 Script executed:

#!/bin/bash
set -u
printf '%s\n' '--- package.json ---'
node - <<'JS'
const p = require('./package.json');
console.log(JSON.stringify({engines: p.engines, scripts: p.scripts}, null, 2));
JS
printf '%s\n' '--- pinned Node versions ---'
for f in .nvmrc package.json; do
  if [ -f "$f" ]; then
    grep -nE '24\.12\.0|node' "$f" || true
  fi
done
printf '%s\n' '--- relevant paths ---'
git ls-files | grep -E '(^|/)(studio|sanity)(/|$)|(^|/)package\.json$|(^|/)\.nvmrc$' | head -80
printf '%s\n' '--- working tree ---'
git status --short

Repository: dejanvasic85/williamstownsc

Length of output: 2647


🏁 Script executed:

#!/bin/bash
set -u
printf '%s\n' '--- .nvmrc ---'
cat -n .nvmrc
printf '%s\n' '--- package dependency context ---'
sed -n '30,68p' package.json
printf '%s\n' '--- validation log summaries ---'
log=/tmp/coderabbit-shell-logs/shell-output-tuutV0
if [ -f "$log" ]; then
  grep -nE 'error TS|Error:|failed|Failed|failed:|passed|failed|[0-9]+ passed|[0-9]+ failed|Cannot|browser|webServer|No such' "$log" | tail -120
else
  echo "missing log: $log"
fi

Repository: dejanvasic85/williamstownsc

Length of output: 16346


🏁 Script executed:

#!/bin/bash
set -u
printf '%s\n' '--- Sanity configuration ---'
for f in sanity.cli.ts sanity.config.ts sanity-typegen.json; do
  if [ -f "$f" ]; then
    echo "### $f"
    cat -n "$f"
  fi
done
printf '%s\n' '--- Playwright configuration ---'
if [ -f playwright.config.ts ]; then
  cat -n playwright.config.ts
fi
printf '%s\n' '--- documented environment names ---'
rg -n --glob '!pnpm-lock.yaml' 'SANITY_PROJECT|SANITY_DATASET|sanityProjectId|sanityDataset|PLAYWRIGHT|baseURL' README.md docs .env* package.json 2>/dev/null | head -120

Repository: dejanvasic85/williamstownsc

Length of output: 3354


Resolve validation failures before push.

  • Set NEXT_PUBLIC_SANITY_PROJECT_ID and NEXT_PUBLIC_SANITY_DATASET, then rerun type generation and type-check.
  • Install the Playwright Chromium browser before running pnpm run test:e2e.
  • Align .nvmrc with the required Node.js version 24.12.0.
  • Run format, lint, type-check, build, and Playwright E2E checks in that order. Commit formatting changes before push. Use the Sanity Studio at /studio.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 38, Resolve the validation prerequisites before
pushing: set NEXT_PUBLIC_SANITY_PROJECT_ID and NEXT_PUBLIC_SANITY_DATASET, align
.nvmrc with Node.js 24.12.0, and install Playwright Chromium. Regenerate types,
then run format, lint, type-check, build, and Playwright E2E checks in that
order, committing formatting changes before push; use the Sanity Studio at
/studio.

Source: Coding guidelines

"@date-fns/tz": "1.5.0",
"@fontsource/exo": "5.3.0",
"@fontsource/outfit": "5.3.0",
Expand All @@ -46,21 +46,21 @@
"@sanity/icons": "5.2.1",
"@sanity/image-url": "2.1.1",
"@sanity/ui": "3.5.1",
"@sanity/vision": "6.9.0",
"@sanity/vision": "6.9.1",
"@sentry/nextjs": "10.69.0",
"@tanstack/react-query": "5.101.4",
"@tanstack/react-query-devtools": "5.101.4",
"clsx": "2.1.1",
"daisyui": "5.7.16",
"date-fns": "4.4.0",
"lucide-react": "1.28.0",
"lucide-react": "1.29.0",
"next": "16.3.0",
"next-sanity": "13.3.1",
"pino": "10.3.1",
"react": "19.2.8",
"react-dom": "19.2.8",
"react-hook-form": "7.84.0",
"sanity": "6.9.0",
"sanity": "6.9.1",
"styled-components": "6.5.0",
"zod": "4.4.3"
},
Expand All @@ -87,7 +87,7 @@
"prettier": "3.9.6",
"prettier-plugin-tailwindcss": "0.8.1",
"tailwindcss": "4.3.3",
"tsx": "4.23.8",
"tsx": "4.23.9",
"typescript": "6.0.3",
"vitest": "4.1.10"
},
Expand Down
Loading
Loading