From f28696f6718839d072495bc746028d9c7db68453 Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Mon, 5 Aug 2024 12:14:31 +0000 Subject: [PATCH] fix(api): revert prev. exclusion change --- api/routes/single-page.ts | 7 +------ tsconfig.json | 43 +-------------------------------------- 2 files changed, 2 insertions(+), 48 deletions(-) diff --git a/api/routes/single-page.ts b/api/routes/single-page.ts index 6355bd31d..1002f8b20 100644 --- a/api/routes/single-page.ts +++ b/api/routes/single-page.ts @@ -2,12 +2,7 @@ import { fetcher } from 'itty-fetcher' // Look inside tbe docs directory const GITHUB_REPO = 'https://api.github.com/repos/fmhy/FMHYEdit/contents/docs/' -const EXCLUDE_FILES = [ - 'README.md', - 'docs/index.md', - 'docs/feedback.md', - 'docs/posts.md' -] +const EXCLUDE_FILES = ['README.md', 'index.md', 'feedback.md', 'posts.md'] const EXCLUDE_DIRECTORIES = ['posts/'] interface File { diff --git a/tsconfig.json b/tsconfig.json index 99bfda3e2..43008af1c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,44 +1,3 @@ { - "extends": "./.nitro/types/tsconfig.json", - "compileroptions": { - "verbatimmodulesyntax": true, - "baseurl": ".", - "module": "esnext", - "target": "esnext", - "lib": [ - "dom", - "esnext" - ], - "strict": true, - "jsx": "preserve", - "esmoduleinterop": true, - "skiplibcheck": true, - "moduleresolution": "node", - "resolvejsonmodule": true, - "nounusedlocals": true, - "strictnullchecks": true, - "forceconsistentcasinginfilenames": true, - "sourcemap": true, - "isolatedmodules": true - }, - "include": [ - "**/*.vue", - "**/*.tsx", - "**/*.ts", - ".vitepress/**/**/*.ts", - ".vitepress/**/**/*.tsx", - ".vitepress/**/**/*.vue" - ], - "exclude": [ - "**/node_modules/**", - "dist/**" - ], - "extensions": [ - ".js", - ".ts", - ".tsx", - ".jsx", - ".vue" - ], - "allowSyntheticDefaultImports": true + "extends": "./.nitro/types/tsconfig.json" }