diff options
| author | Ritesh Ghosh <[email protected]> | 2024-10-06 01:13:23 +0530 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-10-06 01:13:23 +0530 |
| commit | 46f688ac12a99b8fb145b0745dd4cc6babff1e1e (patch) | |
| tree | 9560dd057822069a2162ef01a1118f3ac05e6d07 /tsconfig.json | |
| parent | 55810ccf2372209f9b46c96ac12811e5a05f7961 (diff) | |
| download | aniwatch-api-46f688ac12a99b8fb145b0745dd4cc6babff1e1e.tar.xz aniwatch-api-46f688ac12a99b8fb145b0745dd4cc6babff1e1e.zip | |
Aniwatch API Version 2 (#66)
BREAKING CHANGE:
* chore: remove files that are not necessary for api v2
* test: update existing tests to use pkg
* feat: organized aniwatch api envs and add more info about them
* feat: update tsconfig to include strict noUnsed params
* feat(api homepage): revamp api home page
* feat: update wani kuni image
* feat: add dot img
* feat: use hono cors
* feat: use hono rate limiter
* build: remove unnecessary deps, add ones needed and update description
* feat: add hianime routes and their handlers
* feat: update vercel deployment file
* docs: update logo and scraper docs, add envs section
* feat: update main server file
* feat: update peronal deployments caution section
Diffstat (limited to 'tsconfig.json')
| -rw-r--r-- | tsconfig.json | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/tsconfig.json b/tsconfig.json index 278db51..b958b91 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "esModuleInterop": true, "skipLibCheck": true, - "target": "ES2022", + "target": "ES2023", "verbatimModuleSyntax": true, "allowJs": true, "resolveJsonModule": true, @@ -13,6 +13,8 @@ // "moduleResolution": "NodeNext", "module": "NodeNext", + "noUnusedLocals": true, + "noUnusedParameters": true, "outDir": "./dist", "rootDir": "./", "sourceMap": true, @@ -21,18 +23,8 @@ "removeComments": true, "forceConsistentCasingInFileNames": true, "strictFunctionTypes": true, - "lib": [ - "ES2022" - ] + "lib": ["ES2023"] }, - "include": [ - "./src", - "./api" - ], - "ts-node": { - "esm": true - }, - "exclude": [ - "node_modules", - ], -}
\ No newline at end of file + "include": ["./src", "./api"], + "exclude": ["node_modules"] +} |
