Skip to content

refactor: trim dependencies and use built-ins#399

Merged
brookslybrand merged 1 commit intomainfrom
remove-more-deps
Feb 13, 2026
Merged

refactor: trim dependencies and use built-ins#399
brookslybrand merged 1 commit intomainfrom
remove-more-deps

Conversation

@brookslybrand
Copy link
Contributor

…environment variables
Trim dependencies and use built-ins

  • Remove Luxon – Use Intl.DateTimeFormat in blog.server.ts for post dates, with timeZone: "America/New_York" so dates are consistent for all users.
  • Bump isbot – Upgrade from ^4 to ^5 (for react-router).
  • Replace tiny-invariant – Use Node node:assert in app/lib/blog.server.ts and app/routes/jam/schedule.server.ts.
  • Remove dotenv / dotenv-cli – Use Node’s --env-file=.env in the preview script; use Vite’s loadEnv("test", ...) in vitest.config.mts for test env (.env, .env.test, etc.).
  • Add .env.test – Test env is loaded via Vite’s loadEnv in test mode.

@brookslybrand brookslybrand merged commit c8cc147 into main Feb 13, 2026
5 checks passed
@brookslybrand brookslybrand deleted the remove-more-deps branch February 13, 2026 21:14
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