Guest User

tsconfig.json

a guest
Jul 2nd, 2023
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.99 KB | Fixit | 0 0
  1. {
  2.   "extends": "./tsconfig.base",
  3.   "compilerOptions": {
  4.     "baseUrl": ".",
  5.     "paths": {
  6.       //      // If you are developing a plugin monorepo with custom prefix,
  7.       //      // just copy the next line and change `assets` to the prefix.
  8.       //      // Below are some examples for common prefixed plugins.
  9.       //      // See: https://github.com/koishijs/assets
  10.       //      "koishi-plugin-assets-*": ["external/assets/packages/*/src"],
  11.       //      "koishi-plugin-booru-*": ["external/booru/packages/*/src"],
  12.       //      "koishi-plugin-cache-*": ["external/cache/packages/*/src"],
  13.       //      "koishi-plugin-dialogue-*": ["external/dialogue/packages/*/src"],
  14.  
  15.       // The `external` directory is used to store created plugins.
  16.       // Try `npm run setup` or `yarn setup` to create a new plugin.
  17.       "koishi-plugin-*": [
  18.         "external/*/src"
  19.         //        "external/*/packages/core/src",
  20.         //        "packages/*/src",
  21.         //        "plugins/*/src",
  22.       ]
  23.  
  24.       //      // If you are developing a scoped plugin,
  25.       //      // just uncomment the next line and change `@scope`
  26.       //      // to the scope name (i.e. npm account or organization).
  27.       //      // "@scope/koishi-plugin-*": ["external/*/src"],
  28.       //
  29.       //      // Below are links for koishi internal packages.
  30.       //      // You only need them when you are developing koishi itself.
  31.       //      // See: https://github.com/koishijs/koishi
  32.       //      // See: https://github.com/koishijs/webui
  33.       //      // See: https://github.com/satorijs/satori
  34.       //      // See: https://github.com/shigma/minato
  35.       //      "@koishijs/plugin-adapter-*": ["external/koishi/plugins/adapter/*/src"],
  36.       //      "@koishijs/plugin-database-*": ["external/koishi/plugins/database/*/src"],
  37.       //      "@koishijs/plugin-*": [
  38.       //        "external/koishi/plugins/common/*/src",
  39.       //        "external/koishi/plugins/*/src",
  40.       //        "external/webui/plugins/*/src",
  41.       //      ],
  42.       //      "@koishijs/*": [
  43.       //        "external/koishi/packages/*/src",
  44.       //        "external/webui/packages/*/src",
  45.       //        "external/*/packages/core/src",
  46.       //      ],
  47.       //      "@minatojs/driver-*": ["external/minato/packages/*/src"],
  48.       //      "@minatojs/*": ["external/minato/packages/*/src"],
  49.       //      "@satorijs/adapter-*": ["external/satori/adapters/*/src"],
  50.       //      "@satorijs/*": ["external/satori/packages/*/src"],
  51.       //      "cordis-*": ["external/satori/packages/*/src"],
  52.       //      "koishi": ["external/koishi/packages/koishi/src"],
  53.       //      "minato": ["external/minato/packages/minato/src"],
  54.  
  55.       // It is common practice that monorepo has a `packages` directory.
  56.       // Even if you don't use it, do not delete this line,
  57.       // as it bypasses a bug in tsconfig-path/register.
  58.       // See: https://github.com/dividab/tsconfig-paths/issues/209
  59.       //      "*": ["packages/*/src"],
  60.     }
  61.   },
  62.   "files": []
  63. }
  64.  
Advertisement
Add Comment
Please, Sign In to add comment