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:
@@ -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",
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
"clean": {
|
||||
"cache": false
|
||||
},
|
||||
"typegen": { "dependsOn": [] },
|
||||
"check-types": { "dependsOn": ["typegen"] },
|
||||
"include:shared": {
|
||||
"outputs": ["public/_static/shared/**"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user