mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-28 15:55:19 +08:00
chore: standardize tsconfig (#9568)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Loading } from '@affine/component';
|
||||
import { globalLoadingEventsAtom } from '@affine/component/global-loading/index.jotai';
|
||||
import { globalLoadingEventsAtom } from '@affine/component/global-loading';
|
||||
import { useAtomValue } from 'jotai';
|
||||
import { type ReactNode, useEffect, useState } from 'react';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* eslint-disable @typescript-eslint/no-non-null-assertion */
|
||||
/* oxlint-disable @typescript-eslint/no-non-null-assertion */
|
||||
import { Entity } from '@toeverything/infra';
|
||||
|
||||
import type { DesktopApiProvider } from '../provider';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import type { AppInfo } from '@affine/electron/preload/electron-api';
|
||||
import type {
|
||||
AppInfo,
|
||||
ClientEvents,
|
||||
ClientHandler,
|
||||
SharedStorage,
|
||||
|
||||
@@ -1,33 +1,19 @@
|
||||
{
|
||||
"extends": "../../../tsconfig.json",
|
||||
"extends": "../../../tsconfig.web.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "lib",
|
||||
"typeRoots": ["../../../node_modules", "../../../node_modules/@types"],
|
||||
"types": ["webpack-env", "ses", "affine__env"]
|
||||
"rootDir": "./src",
|
||||
"outDir": "./dist",
|
||||
"tsBuildInfoFile": "./dist/tsconfig.tsbuildinfo"
|
||||
},
|
||||
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"],
|
||||
"exclude": ["node_modules"],
|
||||
"include": ["./src", "src/**/*.json"],
|
||||
"references": [
|
||||
{
|
||||
"path": "../../frontend/component"
|
||||
},
|
||||
{
|
||||
"path": "../../frontend/graphql"
|
||||
},
|
||||
{
|
||||
"path": "../../frontend/i18n"
|
||||
},
|
||||
{
|
||||
"path": "../../frontend/electron-api"
|
||||
},
|
||||
{
|
||||
"path": "../../common/debug"
|
||||
},
|
||||
{
|
||||
"path": "../../common/env"
|
||||
},
|
||||
{
|
||||
"path": "../../../blocksuite/affine/all"
|
||||
}
|
||||
{ "path": "../component" },
|
||||
{ "path": "../../common/debug" },
|
||||
{ "path": "../electron-api" },
|
||||
{ "path": "../../common/env" },
|
||||
{ "path": "../graphql" },
|
||||
{ "path": "../i18n" },
|
||||
{ "path": "../track" },
|
||||
{ "path": "../../../blocksuite/affine/all" }
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user