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

View file

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