Merged in chore/typegen-nextjs-routes (pull request #3147)

Make check-types dependent on next typegen

* add typegen as a prestep


Approved-by: Anton Gunnarsson
This commit is contained in:
Joakim Jäderberg
2025-11-13 09:28:07 +00:00
parent 3d628a3757
commit f6b06556f6
6 changed files with 15 additions and 6 deletions

View File

@@ -10,6 +10,7 @@
"lint": "next lint --max-warnings 0 && tsgo --noEmit",
"lint:fix": "next lint --fix && tsgo --noEmit",
"check-types": "tsgo --noEmit",
"typegen": "next typegen",
"clean": "rm -rf .next",
"test": "vitest run --passWithNoTests",
"test:watch": "vitest",

View File

@@ -15,6 +15,8 @@
"clean": {
"cache": false
},
"typegen": { "dependsOn": [] },
"check-types": { "dependsOn": ["typegen"] },
"include:shared": {
"outputs": ["public/_static/shared/**"]
}