chore: standardize tsconfig (#9568)

This commit is contained in:
forehalo
2025-01-08 04:07:56 +00:00
parent 39f4b17315
commit c0ed74dfed
151 changed files with 1041 additions and 1566 deletions
@@ -2,7 +2,6 @@ import { ArrowRightSmallIcon } from '@blocksuite/icons/rc';
import clsx from 'clsx';
import { useMemo, useState } from 'react';
import type { Location } from 'react-router-dom';
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
import { useLocation, useNavigate } from 'react-router-dom';
import useSWR from 'swr';
@@ -1,5 +1,6 @@
export {
type GlobalLoadingEvent,
globalLoadingEventsAtom,
pushGlobalLoadingEventAtom,
resolveGlobalLoadingEventAtom,
} from './index.jotai';
+9 -20
View File
@@ -1,6 +1,5 @@
{
"extends": "../../../tsconfig.json",
"exclude": ["lib"],
"extends": "../../../tsconfig.web.json",
"include": [
"./src/**/*",
"./src/**/*.json",
@@ -8,25 +7,15 @@
"./.storybook"
],
"compilerOptions": {
"composite": true,
"noEmit": false,
"outDir": "lib"
"rootDir": ".",
"outDir": "./dist",
"tsBuildInfoFile": "./dist/tsconfig.tsbuildinfo"
},
"references": [
{
"path": "../../frontend/i18n"
},
{
"path": "../../frontend/electron-api"
},
{
"path": "../../frontend/graphql"
},
{
"path": "../../common/debug"
},
{
"path": "../../common/infra"
}
{ "path": "../../common/debug" },
{ "path": "../electron-api" },
{ "path": "../graphql" },
{ "path": "../i18n" },
{ "path": "../../../blocksuite/affine/all" }
]
}