forked from initialencounter/2022-12-24
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
104 lines (104 loc) · 3.93 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"extends": "./tsconfig.base",
"compilerOptions": {
"baseUrl": ".",
"paths": {
// If you are developing a plugin monorepo with custom prefix,
// just copy the next line and change `assets` to the prefix.
// Below are some examples for common prefixed plugins.
// See: https://github.com/koishijs/assets
"koishi-plugin-assets-*": [
"external/assets/packages/*/src"
],
"koishi-plugin-booru-*": [
"external/booru/packages/*/src"
],
"koishi-plugin-cache-*": [
"external/cache/packages/*/src"
],
"koishi-plugin-dialogue-*": [
"external/dialogue/packages/*/src"
],
// The `external` directory is used to store created plugins.
// Try `npm run setup` or `yarn setup` to create a new plugin.
"koishi-plugin-*": [
"plugins/Adapter/*/src",
"plugins/AI/*/src",
"plugins/Behavior/*/src",
"plugins/Extension/*/src",
"plugins/Games/*/src",
"plugins/Manager/*/src",
"plugins/News/*/src",
"plugins/Recreation/*/src",
"plugins/Tool/*/src"
],
"@initencounter/koishi-plugin-jimp": [
"plugins/Extension/jimp/src",
],
"@initencounter/jimp": [
"plugins/Extension/jimp-abstract/src",
],
"@initencounter/vits": [
"plugins/Tool/vits/src",
],
"@initencounter/sst": [
"plugins/Tool/sst/src",
],
// If you are developing a scoped plugin,
// just uncomment the next line and change `@scope`
// to the scope name (i.e. npm account or organization).
// "@scope/koishi-plugin-*": ["external/*/src"],
// Below are links for koishi internal packages.
// You only need them when you are developing koishi itself.
// See: https://github.com/koishijs/koishi
// See: https://github.com/koishijs/webui
// See: https://github.com/satorijs/satori
// See: https://github.com/shigma/minato
"@koishijs/plugin-adapter-*": [
"external/koishi/plugins/adapter/*/src"
],
"@koishijs/plugin-database-*": [
"external/koishi/plugins/database/*/src"
],
"@koishijs/plugin-*": [
"external/koishi/plugins/common/*/src",
"external/koishi/plugins/*/src",
"external/webui/plugins/*/src",
],
"@koishijs/*": [
"external/koishi/packages/*/src",
"external/webui/packages/*/src",
"external/*/packages/core/src",
],
"@minatojs/driver-*": [
"external/minato/packages/*/src"
],
"@minatojs/*": [
"external/minato/packages/*/src"
],
"@satorijs/adapter-*": [
"external/satori/adapters/*/src"
],
"@satorijs/*": [
"external/satori/packages/*/src"
],
"cordis-*": [
"external/satori/packages/*/src"
],
"koishi": [
"external/koishi/packages/koishi/src"
],
"minato": [
"external/minato/packages/minato/src"
],
// It is common practice that monorepo has a `packages` directory.
// Even if you don't use it, do not delete this line,
// as it bypasses a bug in tsconfig-path/register.
// See: https://github.com/dividab/tsconfig-paths/issues/209
"*": [
"packages/*/src"
],
},
},
"files": [],
}