chore: remove dead code and unused dependencies
- Delete 4 unused files detected by knip - Remove lint-staged, eslint-config-prettier, plausible-tracker - Clean up knip.json entry patterns
This commit is contained in:
1 parent
7f8d083763
commit
5fa342018d
7 files changed
-618
No files matched your search
@@ -5,10 +5,6 @@
|
|||||||
"src/app/**/layout.{ts,tsx}",
|
"src/app/**/layout.{ts,tsx}",
|
||||||
"src/app/**/route.{ts,tsx}",
|
"src/app/**/route.{ts,tsx}",
|
||||||
"src/app/**/{error,not-found,loading,template,default,global-error}.{ts,tsx}",
|
"src/app/**/{error,not-found,loading,template,default,global-error}.{ts,tsx}",
|
||||||
"src/app/**/actions.{ts,tsx}",
|
|
||||||
"next.config.ts",
|
|
||||||
"src/proxy.ts",
|
|
||||||
"src/instrumentation.ts",
|
|
||||||
"sentry.{server,edge}.config.ts"
|
"sentry.{server,edge}.config.ts"
|
||||||
],
|
],
|
||||||
"project": ["src/**/*.{ts,tsx}"],
|
"project": ["src/**/*.{ts,tsx}"],
|
||||||
|
|||||||
@@ -103,13 +103,10 @@
|
|||||||
"babel-plugin-react-compiler": "^1.0.0",
|
"babel-plugin-react-compiler": "^1.0.0",
|
||||||
"dotenv": "^16.4.0",
|
"dotenv": "^16.4.0",
|
||||||
"eslint": "^10.7.0",
|
"eslint": "^10.7.0",
|
||||||
"eslint-config-prettier": "^10.1.8",
|
|
||||||
"eslint-plugin-unused-imports": "^4.4.1",
|
"eslint-plugin-unused-imports": "^4.4.1",
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
"knip": "^6.27.0",
|
"knip": "^6.27.0",
|
||||||
"lint-staged": "^17.1.0",
|
|
||||||
"pino-pretty": "^13.1.3",
|
"pino-pretty": "^13.1.3",
|
||||||
"plausible-tracker": "^0.3.9",
|
|
||||||
"postcss": "^8.5.21",
|
"postcss": "^8.5.21",
|
||||||
"prisma": "^7.9.0",
|
"prisma": "^7.9.0",
|
||||||
"tailwindcss": "^4.3.3",
|
"tailwindcss": "^4.3.3",
|
||||||
|
|||||||
Generated
-45
File diff suppressed because it is too large.
Load diff
@@ -1,4 +0,0 @@
|
|||||||
export { CatalogItemsTable } from "./catalog-items-table";
|
|
||||||
export { FurniIcon } from "./furni-icon";
|
|
||||||
export type { BaseItemData, CatalogItemData, InlineEdit } from "./types";
|
|
||||||
export { DEFAULT_NEW_ITEM, getPointsLabel, POINTS_TYPES } from "./types";
|
|
||||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -1,19 +0,0 @@
|
|||||||
export {
|
|
||||||
LaravelEncrypter,
|
|
||||||
phpSerializeString,
|
|
||||||
phpUnserializeString,
|
|
||||||
} from "./laravel-encrypter";
|
|
||||||
export {
|
|
||||||
checkLogin,
|
|
||||||
hashPassword,
|
|
||||||
isMd5Of,
|
|
||||||
type LoginCheck,
|
|
||||||
md5Hex,
|
|
||||||
verifyPassword,
|
|
||||||
} from "./password";
|
|
||||||
export {
|
|
||||||
generateSsoTicket,
|
|
||||||
issueSsoTicket,
|
|
||||||
type SsoUserUpdater,
|
|
||||||
} from "./sso-ticket";
|
|
||||||
export { generateTotp, totpKeyUri, verifyTotp } from "./totp";
|
|
||||||
Reference in new issue
Block a user