mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-07-12 21:05:19 +02:00
Migrate frontend to TypeScript with Deno-based tooling (#206)
Compiles assets/*.ts via sensiolabs/typescript-bundle (standalone SWC binary) and adds Deno for formatting, linting, type-checking, and tests, keeping the project's no-Node/npm approach intact. Wires all four into CI, the Justfile, and the pre-commit hook.
This commit is contained in:
@@ -112,6 +112,16 @@ phpstan *args:
|
||||
test *args:
|
||||
docker compose exec php vendor/bin/phpunit {{ args }}
|
||||
|
||||
fix-ts:
|
||||
docker compose exec php deno fmt assets/
|
||||
docker compose exec php deno lint --fix assets/
|
||||
|
||||
check-ts:
|
||||
docker compose exec php deno check assets/*.ts assets/controllers/*.ts assets/controllers/bo/*.ts
|
||||
|
||||
test-ts *args:
|
||||
docker compose exec php deno test assets/ {{ args }}
|
||||
|
||||
[confirm]
|
||||
clean:
|
||||
docker compose down -v --remove-orphans
|
||||
|
||||
Reference in New Issue
Block a user