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:
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"lib": ["deno.window", "dom", "dom.iterable"],
|
||||
"strict": true,
|
||||
"noImplicitOverride": false,
|
||||
"types": ["./assets/types/global.d.ts"]
|
||||
},
|
||||
"imports": {
|
||||
"@hotwired/stimulus": "npm:@hotwired/stimulus@^3.2.2",
|
||||
"@hotwired/turbo": "npm:@hotwired/turbo@^8.0.23",
|
||||
"bootstrap": "npm:bootstrap@^5.3.8",
|
||||
"@sentry/browser": "npm:@sentry/browser@^10.63.0",
|
||||
"@std/assert": "jsr:@std/assert@^1.0.19"
|
||||
},
|
||||
"fmt": {
|
||||
"include": ["assets/"],
|
||||
"exclude": ["assets/vendor/", "assets/styles/", "assets/img/"],
|
||||
"singleQuote": true,
|
||||
"indentWidth": 4
|
||||
},
|
||||
"lint": {
|
||||
"include": ["assets/"],
|
||||
"exclude": ["assets/vendor/"],
|
||||
"rules": {
|
||||
"exclude": ["no-window", "no-window-prefix"]
|
||||
}
|
||||
},
|
||||
"test": {
|
||||
"include": ["assets/"],
|
||||
"exclude": ["assets/vendor/"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user