Add next-env.d.ts to .gitignore (#47)

* Remove next-env

* Add next env to gitignore

* Add typegen to test script
This commit is contained in:
Vitaly Rtishchev
2025-11-04 09:23:43 +03:00
committed by GitHub
parent 48454f0847
commit 5fc5f6a18c
3 changed files with 3 additions and 8 deletions

1
.gitignore vendored
View File

@ -130,3 +130,4 @@ dist
.pnp.* .pnp.*
.DS_Store .DS_Store
next-env.d.ts

6
next-env.d.ts vendored
View File

@ -1,6 +0,0 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/types/routes.d.ts";
// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

View File

@ -15,7 +15,7 @@
"jest:watch": "jest --watch", "jest:watch": "jest --watch",
"prettier:check": "prettier --check \"**/*.{ts,tsx}\"", "prettier:check": "prettier --check \"**/*.{ts,tsx}\"",
"prettier:write": "prettier --write \"**/*.{ts,tsx}\"", "prettier:write": "prettier --write \"**/*.{ts,tsx}\"",
"test": "npm run prettier:check && npm run lint && npm run typecheck && npm run jest", "test": "npx next typegen && npm run prettier:check && npm run lint && npm run typecheck && npm run jest",
"storybook": "storybook dev -p 6006", "storybook": "storybook dev -p 6006",
"storybook:build": "storybook build" "storybook:build": "storybook build"
}, },