Dev instance: gitignore .next-dev/.freezmo-dev, tsconfig types for .next-dev

The dev service's build folder and data folder are runtime artifacts; the
dev server also adds .next-dev/types to the tsconfig includes, which is
what typed routes need there.
This commit is contained in:
Martin Dvořák 2026-10-11 19:35:41 +00:00
commit 95643fa009
2 changed files with 22 additions and 4 deletions

4
.gitignore vendored
View file

@ -15,6 +15,8 @@
# next.js
/.next/
# dev instance build folder (NEXT_DIST_DIR)
/.next-dev/
/out/
# production
@ -51,6 +53,8 @@ copy.txt
# server-side encrypted sync blobs (runtime data, not source)
/.freezmo/
# dev instance runtime data
/.freezmo-dev/
# e2e suite scratch (push subscriptions for the VAPID test instance)
/tests/.tmp/

View file

@ -1,7 +1,11 @@
{
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@ -19,9 +23,19 @@
}
],
"paths": {
"@/*": ["./*"]
"@/*": [
"./*"
]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
"include": [
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
"next-env.d.ts",
".next-dev/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}