Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(monorepo): move superset-ui to superset(stage 2) #17552

Merged
merged 21 commits into from
Nov 30, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update tsconfig
tsconfig
zhaoyongjie committed Nov 27, 2021
commit 82873411717844f5ac27d457eea0f81aad1a72f9
32 changes: 19 additions & 13 deletions superset-frontend/tsconfig.json
Original file line number Diff line number Diff line change
@@ -3,28 +3,36 @@
"allowJs": true,
"allowSyntheticDefaultImports": true,
"baseUrl": ".",
"composite": true,
"declaration": true,
"declarationMap": true,
"esModuleInterop": false,
"forceConsistentCasingInFileNames": true,
"importHelpers": false,
"jsx": "preserve",
"lib": ["dom", "dom.iterable", "esnext"],
"module": "esnext",
"moduleResolution": "node",
"noEmitOnError": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"outDir": "./dist",
"pretty": true,
"paths": {
"@superset-ui/core": [
"./node_modules/@superset-ui/core/src",
"./node_modules/@superset-ui/core"
],
"@superset-ui/core": ["./packages/superset-ui-core/src"],
"@superset-ui/chart-controls": [
"./node_modules/@superset-ui/chart-controls/src",
"./node_modules/@superset-ui/chart-controls"
"./packages/superset-ui-chart-controls/src"
],
"@superset-ui/legacy-plugin-chart-*": [
"./plugins/legacy-plugin-chart-*/src"
],
"@superset-ui/legacy-preset-chart-*": [
"./plugins/legacy-preset-chart-*/src"
],
"@superset-ui/plugin-chart-*": ["./plugins/plugin-chart-*/src"],
"@superset-ui/preset-chart-*": ["./plugins/preset-chart-*/src"],
// for supressing errors caused by incompatible @types/react when `npm link`
// Ref: https://github.com/Microsoft/typescript/issues/6496#issuecomment-384786222
"react": ["./node_modules/@types/react", "react"]
@@ -43,11 +51,9 @@
"include": [
"./src/**/*",
"./spec/**/*",
// include the source code of each plugin
"./node_modules/*superset-ui*/**/src/**/*",
"./node_modules/*superset-ui*/**/types/**/*",
// and the type defs of their dependencies
"./node_modules/*superset-ui*/**/node_modules/**/*.d.ts"
],
"exclude": ["./node_modules/*superset-ui*/**/node_modules/@superset-ui/**/*"]
"./packages/*/src/**/*",
"./packages/*/types/**/*",
"./plugins/*/src/**/*",
"./plugins/*/types/**/*"
]
}