Skip to content

vite-migration#27

Merged
sebastianthulin merged 4 commits intomainfrom
vite-migration
Jan 20, 2026
Merged

vite-migration#27
sebastianthulin merged 4 commits intomainfrom
vite-migration

Conversation

@petter-a
Copy link

Javascript enhancements:

  • eslint and prettier replaced with biome.
    • NPM run commands to use:
      • build => vite build
      • build:dev => vite build --mode development
      • watch => vite build --watch --mode development
      • format => npx biome format ./source
      • format:write => npx biome format ./source --write
      • lint => npx biome lint ./source
      • lint:write => npx biome lint ./source --write
  • All js converted to ts (Although not refactored)
  • VS code extensions updated to support biome
  • Applied vite as JS build engine (configured through /vite.config.mjs)
  • Removed all references to webpack

PHP enhancements

  • Introduced Mago as formatter and linter (configured through /mago.toml)
    • Composer commands to use:
      • lint => vendor/bin/mago lint
      • fix => vendor/bin/mago lint --fix --format
      • format => vendor/bin/mago fmt
  • VS code extensions updated to support Mago
  • VS code settings updated to support Mago
  • Migrate to wputilservice

Other

  • Add files to .gitignore and build.php

NOTE! Minor fixes to allow code build has been done but no refactoring. Hance certain lint rules has been disabled in
mago.toml temporarily. These should be removed when working on the codebase.

@sebastianthulin sebastianthulin merged commit 8ba9dfc into main Jan 20, 2026
2 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.

2 participants