forked from vanilla/vanilla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
57 lines (57 loc) · 3.04 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"extends": "@vanilla/tsconfig/base.json",
"compilerOptions": {
"paths": {
"@library/*": ["./library/src/scripts/*"],
"@vanilla/addon-vanilla/*": ["./applications/vanilla/src/scripts/*"],
"@dashboard/*": ["./applications/dashboard/src/scripts/*"],
"@rich-editor/*": ["./plugins/rich-editor/src/scripts/*"],
"@openapi-embed/*": ["./plugins/openapi-embed/src/scripts/*"],
"@knowledge/*": ["./plugins/knowledge/src/scripts/*"],
"@vanillaanalytics/*": ["./plugins/vanillaanalytics/src/scripts/*"],
"@oauth2/*": ["./plugins/oauth2/src/scripts/*"],
"@webhooks/*": ["./plugins/webhooks/src/scripts/*"],
"@themingapi/*": ["./plugins/themingapi/src/scripts/*"],
"@subcommunities/*": ["./plugins/subcommunities/src/scripts/*"],
"@groups/*": ["./applications/groups/src/scripts/*"],
"@Ranks/*": ["./plugins/Ranks/src/scripts/*"],
"@Reactions/*": ["./plugins/Reactions/src/scripts/*"],
"@badges/*": ["./plugins/badges/src/scripts/*"],
"@Online/*": ["./plugins/Online/src/scripts/*"],
"@ElasticSearch/*": ["./plugins/ElasticSearch/src/scripts/*"],
"typestyle": ["./library/src/scripts/styles/styleShim.ts"],
"@vanilla/babel-preset": ["./packages/vanilla-babel-preset/*"],
"@vanilla/dom-utils": ["./packages/vanilla-dom-utils/*"],
"@vanilla/eslint-config": ["./packages/vanilla-eslint-config/*"],
"@vanilla/i18n": ["./packages/vanilla-i18n/*"],
"@vanilla/polyfill": ["./packages/vanilla-polyfill/*"],
"@vanilla/prettier-config": ["./packages/vanilla-prettier-config/*"],
"@vanilla/react-utils": ["./packages/vanilla-react-utils/*"],
"@vanilla/redux-utils": ["./packages/vanilla-redux-utils/*"],
"@vanilla/theme-core": ["./packages/vanilla-theme-core/*"],
"@vanilla/tsconfig": ["./packages/vanilla-tsconfig/*"],
"@vanilla/utils": ["./packages/vanilla-utils/*"],
"@vanilla/icons": ["./packages/vanilla-icons/*"]
},
// Turning incremental on add 10+ minutes of emit time (because it requires emitting declarations).
// Our typecheck time is ~30 seconds. When we emit it takes much longer.
"incremental": false,
"skipLibCheck": true,
"skipDefaultLibCheck": true
},
"include": [
"build/scripts/**/*.ts",
"library/src/scripts/**/*.ts",
"library/src/scripts/**/*.tsx",
"applications/*/src/scripts/**/*.ts",
"applications/*/src/scripts/**/*.tsx",
"plugins/*/src/scripts/**/*.ts",
"plugins/*/src/scripts/**/*.tsx",
"themes/*/src/scripts/**/*.ts",
"themes/*/src/scripts/**/*.tsx",
"addons/themes/*/src/scripts/**/*.ts",
"addons/themes/*/src/scripts/**/*.tsx",
".storybookAppPages/*.ts*"
],
"exclude": ["**/*.js", "**/*.jsx", "cloud/**/*", "node_modules/**/*", "node_modules", "packages/*/src/*"]
}