-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.mjs
45 lines (41 loc) · 1.29 KB
/
tsconfig.mjs
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
/**
* TypeScript config file.
*
* TypeScript is not aware of this config file's location.
*
* The underlying `./tsconfig.json` file can be recompiled using:
*
* $ madrun update tsconfig
* or: $ madrun update dotfiles
*
* @note CUSTOM EDITS ONLY PLEASE!
* @note In the future this file will be updated automatically.
* @note Only `<custom:start.../custom:end>` will be preserved below.
*/
import baseConfig from './dev/.files/typescript/config.mjs';
import { $obj } from './node_modules/@clevercanyon/utilities/dist/index.js';
/*
* Customizations.
*
* Add TypeScript libs and/or types that your project depends on.
* This file is best suited for `@types/*` packages, while `./ts.types.d.ts`
* is best when declaring project-specific types that you need globally.
*
* <custom:start> */
export default await (async () => {
return $obj.mergeDeep({}, await baseConfig(), {
compilerOptions: {
$concat: {
lib: ['dom', 'webworker'],
types: [
'@types/node', //
'@types/semver',
'@types/micromatch',
'@types/libsodium-wrappers',
'@types/cloudflare-turnstile',
],
},
},
});
})();
/* </custom:end> */