Skip to content

chore: update npm dependencies across monorepo - #57

Merged
petercr merged 3 commits into
mainfrom
npm-updates
Jun 30, 2026
Merged

chore: update npm dependencies across monorepo#57
petercr merged 3 commits into
mainfrom
npm-updates

Conversation

@petercr

@petercr petercr commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Summary

Updates all npm dependencies across the Turborepo monorepo and fixes breaking changes from major version bumps. Merged latest main and upgraded TypeScript to the 7.0 RC.

Major dependency updates

  • Sanity ecosystem → v6 (sanity, @sanity/vision, groq)
  • TypeScript → 7.0.1-rc
  • Zod → 4.x
  • Vite → 8.x
  • TanStack Start / Router / Query → latest
  • Tailwind CSS → 4.3
  • Lucide React → 1.x
  • Turbo → 2.10
  • Biome → 2.5
  • Playwright → 1.61

Code fixes

  • Replace removed Lucide brand icons (Github, Linkedin) with inline SVGs in SocialLinks
  • Enable Sanity stega encoding only in preview mode (fixes invisible Unicode leaking into page content)
  • Add TanStack Start CSRF middleware for server functions
  • Migrate createServerFn().inputValidator().validator()
  • Update Playwright e2e config for Nitro server readiness (port: 3000, HOST=0.0.0.0)
  • Remove deprecated baseUrl from tsconfigs for TypeScript 7
  • Migrate Biome schema to 2.5.1
  • Resolve merge conflicts with main (contact audit card + npm-update fixes)

Verification

  • npm run lint
  • npm run format:check
  • npm run type-check (TypeScript 7.0.1-rc)
  • npm run build
  • npm run vitest (3/3)
  • npm run test (28 passed, 5 skipped — post tests require E2E_HAS_CONTENT)

Notes

E2E CI builds frontend with NITRO_PRESET=node-server (already configured in .github/workflows/e2e-tests.yml).

Bump major and minor versions for Sanity v6, TypeScript 6, Zod 4,
Vite 8, TanStack Start/Router, Tailwind 4.3, Lucide 1.x, Turbo 2.10,
Biome 2.5, and Playwright 1.61.

Fix breaking changes from the upgrades: replace removed Lucide brand
icons with inline SVGs, add TypeScript 6 deprecation silencing for
baseUrl, migrate Biome schema, and update Playwright e2e server
readiness to use port-based checks with HOST=0.0.0.0.

Harden Sanity data fetching by enabling stega only in preview mode,
migrate createServerFn inputValidator to validator, and add TanStack
Start CSRF middleware for server functions.
@vercel

vercel Bot commented Jun 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ccw Ready Ready Preview, Comment Jun 29, 2026 6:39pm

Integrate latest main changes while keeping dependency updates,
Biome 2.5.1 schema, preview-only stega, CSRF middleware, and
formatted npm-update fixes.
@socket-security

socket-security Bot commented Jun 29, 2026

Copy link
Copy Markdown

@socket-security

socket-security Bot commented Jun 29, 2026

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm @emnapi/runtime is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: package-lock.jsonnpm/@tanstack/nitro-v2-vite-plugin@1.155.0npm/@tanstack/router-plugin@1.168.18npm/@tailwindcss/vite@4.3.1npm/@vitejs/plugin-react@6.0.3npm/vite@8.1.0npm/@tanstack/devtools-vite@0.8.1npm/sanity@6.2.0npm/@emnapi/runtime@1.11.1

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@emnapi/runtime@1.11.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm adm-zip is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: package-lock.jsonnpm/sanity@6.2.0npm/adm-zip@0.5.10

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/adm-zip@0.5.10. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Remove deprecated baseUrl from frontend and studio tsconfigs now that
TypeScript 7 drops the option entirely.
@petercr
petercr merged commit e521d62 into main Jun 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant