forked from vanilla/vanilla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
83 lines (83 loc) · 4.08 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"extends": "./packages/vanilla-tsconfig/base.json",
"compilerOptions": {
"baseUrl": "./",
"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/*": ["./cloud/plugins/openapi-embed/src/scripts/*"],
"@knowledge/*": ["./cloud/plugins/knowledge/src/scripts/*"],
"@vanillaanalytics/*": ["./cloud/plugins/vanillaanalytics/src/scripts/*"],
"@FederatedSearch/*": ["./cloud/plugins/FederatedSearch/src/scripts/*"],
"@oauth2/*": ["./plugins/oauth2/src/scripts/*"],
"@webhooks/*": ["./cloud/plugins/webhooks/src/scripts/*"],
"@themingapi/*": ["./cloud/plugins/themingapi/src/scripts/*"],
"@subcommunities/*": ["./cloud/plugins/subcommunities/src/scripts/*"],
"@ideation/*": ["./plugins/ideation/src/scripts/*"],
"@groups/*": ["./cloud/applications/groups/src/scripts/*"],
"@Ranks/*": ["./cloud/plugins/Ranks/src/scripts/*"],
"@badges/*": ["./cloud/plugins/badges/src/scripts/*"],
"@Online/*": ["./cloud/plugins/Online/src/scripts/*"],
"@Jira/*": ["./cloud/plugins/Jira/src/scripts/*"],
"@SentimentAnalysis/*": ["./cloud/plugins/SentimentAnalysis/src/scripts/*"],
"@ElasticSearch/*": ["./cloud/plugins/ElasticSearch/src/scripts/*"],
"@Zendesk/*": ["./cloud/plugins/Zendesk/src/scripts/*"],
"@QnA/*": ["./plugins/QnA/src/scripts/*"],
"@vanilla-ai/*": ["./cloud/plugins/vanilla-ai/src/scripts/*"],
"@zoom/*": ["./cloud/plugins/zoom/src/scripts/*"],
"typestyle": ["./library/src/scripts/styles/styleShim.ts"],
"@vanilla/dom-utils": ["./packages/vanilla-dom-utils/*"],
"@vanilla/eslint-config": ["./packages/vanilla-eslint-config/*"],
"@vanilla/i18n": ["./packages/vanilla-i18n/*"],
"@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,
"types": ["vitest/globals", "jquery"],
"esModuleInterop": true
},
"include": [
"build/**/*.ts",
"build/**/*.tsx",
"build/**/*.mts",
"library/src/scripts/**/*.ts",
"library/src/scripts/**/*.tsx",
"applications/*/src/scripts/**/*.ts",
"applications/*/src/scripts/**/*.tsx",
"cloud/plugins/*/src/scripts/**/*.ts",
"cloud/plugins/*/src/scripts/**/*.tsx",
"cloud/applications/*/src/scripts/**/*.ts",
"cloud/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*",
"vitest.config.mts"
],
"files": ["library/src/scripts/htmlWidget/HtmlWidgetEditor.d.ts", "node_modules/vite/client.d.ts"],
"exclude": [
"**/*.js",
"**/*.jsx",
"node_modules/**/*",
"node_modules",
"packages/*/src/*",
"node_modules",
"./node_modules",
"./node_modules/*",
"./node_modules/@types/node/index.d.ts"
]
}