chore(cleanup): delete dead pricing scaffolding (28 files)#44
Open
abdout wants to merge 1 commit into
Open
Conversation
The marketing/pricing/ module had ~28 files of SaaS-Starter
clone-artifact scaffolding that nothing live uses. Files reference
"miickasmt", "SaaS Starter", $15/$25 plans — copied from
mickasmt/next-saas-stripe-starter, never wired up.
Live pricing surface is small and self-sufficient (pricing-header,
pricing-cards, compare-plans, pricing-faqs, enterprise-section, card,
billing-toggle, plus shared utilities). Everything else was orphan
code with broken imports (Class 1 audit findings).
Deleted (28 files):
- billing-info, pricing-faq (commented out)
- forms/{user-role-form, user-role.action, user-name.action, user-auth-form, newsletter-form}
- modals/{delete-account-modal, sign-in-modal, providers}
- emails/magic-link-email
- lib/{email, get-tier-id, user, validations/auth, validations/user}
- shared/user-avatar
- actions/{update-user-name, update-user-role}
- sections/{features, hero-landing, info-landing, bentogrid, testimonials}
- config/{docs, landing, marketing, site} (live counterparts exist in template/site-header/constant.ts)
Modified:
- lib/utils.ts: drop constructMetadata + getBlurDataURL + siteConfig
import. Keep cn, formatDate, absoluteUrl, nFormatter, timeAgo,
fetcher, capitalize, truncate, placeholderBlurhash
- content.tsx: drop unused imports
TS errors: 36 → 18 (the remaining 18 are addressed by other open PRs
including LayoutProps and Class 4/3/2 fixes).
Closes #43
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
What's deleted
What's modified
Test plan
If you wanted to keep templates
`git revert` brings the directory back. The 8+ broken external module imports (`@/components/platform/`, `@/components/onboarding/`, etc.) would still need to be created or stubbed though.
Closes #43
🤖 Generated with Claude Code