AFFiNE/tsconfig.json

116 lines
2.9 KiB
JSON

{
"compilerOptions": {
"rootDir": ".",
"target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"baseUrl": ".",
"paths": {
"@affine/component": ["./packages/component/src/index"],
"@affine/component/*": [
"./packages/component/src/components/*/index",
"./packages/component/src/components/*"
],
"@affine/templates/*": ["./packages/templates/src/*"],
"@affine/i18n": ["./packages/i18n/src"],
"@affine/i18n/hooks": ["./packages/i18n/src/i18n-generated"],
"@affine/debug": ["./packages/debug"],
"@affine/jotai": ["./packages/jotai"],
"@affine/env": ["./packages/env"],
"@affine/env/*": ["./packages/env/src/*"],
"@affine/utils": ["./packages/utils"],
"@affine/workspace/*": ["./packages/workspace/src/*"],
"@affine/graphql": ["./packages/graphql/src"],
"@affine/copilot": ["./plugins/copilot/src"],
"@affine/copilot/*": ["./plugins/copilot/src/*"],
"@affine/electron/layers/*": ["./apps/electron/layers/*"],
"@affine/electron/preload": [
"./apps/electron/layers/preload/preload.d.ts"
],
"@affine-test/kit/*": ["./tests/kit/*"],
"@affine-test/fixtures/*": ["./tests/fixtures/*"],
"@toeverything/y-indexeddb": ["./packages/y-indexeddb/src"],
"@toeverything/hooks/*": ["./packages/hooks/src/*"],
"@toeverything/plugin-infra": ["./packages/plugin-infra/src"],
"@toeverything/plugin-infra/*": ["./packages/plugin-infra/src/*"],
"@affine/native": ["./packages/native/index.d.ts"],
"@affine/native/*": ["./packages/native/*"]
}
},
"include": [],
"references": [
{
"path": "./tests"
},
{
"path": "./apps/electron/tests"
},
{
"path": "./apps/web"
},
{
"path": "./apps/server"
},
{
"path": "./packages/component"
},
{
"path": "./packages/hooks"
},
{
"path": "./packages/i18n"
},
{
"path": "./packages/env"
},
{
"path": "./packages/env/tsconfig.blocksuite.json"
},
{
"path": "./packages/graphql"
},
{
"path": "./packages/debug"
},
{
"path": "./packages/workspace"
},
{
"path": "./packages/y-indexeddb"
},
{
"path": "./packages/plugin-infra"
},
{
"path": "./plugins/copilot"
},
{
"path": "./tests/fixtures"
},
{
"path": "./tests/kit"
},
{
"path": "./tsconfig.node.json"
},
{
"path": "./apps/electron"
}
],
"files": [],
"exclude": ["node_modules"]
}