Merged in feature/BOOK-401-handle-new-redirects (pull request #2942)

feat(BOOK-401): redirect-service with tests and typings

* Switch to typescript

* add new dependencies for tests and typescript

* Switch to typescript

* add new dependencies for tests and typescript

* rewrite to typescript and include tests

* rewrite to typescript and include tests

* refactor: update README and scripts for CSV handling; rename update script to generate

* include csv-data folder


Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-10-10 07:32:32 +00:00
parent 790a5edd95
commit eba6319ebe
23 changed files with 430 additions and 163 deletions

View File

@@ -0,0 +1,17 @@
import path from "path"
import { fileURLToPath } from "url"
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
export default {
test: {
globals: true,
environment: "jsdom",
setupFiles: ["./vitest-setup.ts"],
},
resolve: {
alias: {
"@": path.resolve(__dirname, "."),
},
},
}