-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
refactorCode restructuring without functional changesCode restructuring without functional changes
Description
Goal
Eliminate all Sanity dependencies from the codebase. Stop Sanity billing. Clean up dead code.
Scope
Prerequisites: Issues #386, #387, #388 must be merged and verified on production.
Steps:
-
Remove from
frontend/package.json:@sanity/client@sanity/image-urlgroq
-
Delete
frontend/client.ts(Sanity client singleton) -
Remove Sanity env vars from all environments (Vercel, local .env):
NEXT_PUBLIC_SANITY_PROJECT_ID(if set)SANITY_DATASETGROQ_API_KEY
-
Keep
studio/directory frozen — do not delete. Sanity free plan keeps data accessible as read-only archive indefinitely. Do not pay for or deploy Sanity Studio. -
npm run lint— confirm zero import errors -
npm run build— confirm clean build, no references to removed packages
Verification:
npm run buildcompletes with no errors- No occurrences of
@sanity/client,sanity,groqinfrontend/(run grep) - Sanity subscription cancelled/downgraded to free
Expected impact
Sanity billing eliminated. Codebase has zero Sanity dependencies.
Out of scope
- Deleting the Sanity project data (keep as archive)
- Deleting the
studio/directory (keep frozen)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
refactorCode restructuring without functional changesCode restructuring without functional changes