Skip to content

Commit b83294e

Browse files
authored
meta: add next-env.d.ts to .gitignore (#8819)
* Add next-env.d.ts to .gitignore * Ensure next-env.d.ts is generated for type-checking
1 parent b571fb7 commit b83294e

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ package-lock.json
1212
apps/site/.next
1313
apps/site/build
1414
apps/site/public/blog-data.json
15+
apps/site/next-env.d.ts
1516

1617
# Test Runner
1718
junit.xml

apps/site/next-env.d.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

apps/site/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"lint:js:fix": "node --run lint:js -- --fix",
2222
"lint:md": "eslint \"**/*.md?(x)\" --cache --cache-strategy=content --cache-location=.eslintmdcache",
2323
"lint:md:fix": "node --run lint:md -- --fix",
24-
"lint:types": "tsc --noEmit",
24+
"lint:types": "next typegen && tsc --noEmit",
2525
"playwright": "playwright test",
2626
"scripts:release-post": "cross-env NODE_NO_WARNINGS=1 node scripts/release-post/index.mjs",
2727
"serve": "node --run dev",

0 commit comments

Comments
 (0)