Skip to content

NUSMods v4 phase 1: tooling upgrades #4319

@yangshun

Description

@yangshun

Since we want to use AI to do the heavy-lifting, we need to make things easier for AI to do its thing. The first step is to upgrade tooling so that AI can easily verify correctness (somewhat). Tooling improvements are also easier for humans to verify. Development experiemce improvements that good for humans tend to also be good for AI.

  • TypeScript -> Upgrade to latest version
  • Node 18 -> Node 22
  • Yarn -> pnpm
  • Prettier -> Oxfmt
  • Move to one root .oxfmtrc.json
  • Jest -> Vitest
  • Cleanup unused deployment files in website
  • ESLint -> Oxlint
    • export
    • scraper
    • website
  • Turn repo into a monorepo via Turborepo or Viteplus: Current version is good enough, we can run commands in every package with pnpm -r <cmd>

Not doing:

  • Migrate webpack away: We'll leave this first, as I plan to move to Next.js / TanStack Start / Vite + React

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions