@@ -7,23 +7,26 @@ import { tsconfig, tsconfigBuild } from './tsconfig';
7
7
import { jestConfig } from './jest' ;
8
8
import { prettierConfig } from './prettier' ;
9
9
import { eslintRc } from './eslint' ;
10
+ import { commitLint } from './commitlint' ;
10
11
11
- interface GbCoConfig {
12
+ interface OtiCoConfig {
12
13
'.eslintignore' : string ,
13
14
'.npmignore' : string ,
14
15
'tsconfig.json' : CoConfigPassthroughEntry < typeof tsconfig > ,
15
16
'tsconfig.build.json' : CoConfigPassthroughEntry < typeof tsconfigBuild > ,
16
17
'jest.config.js' : CoConfigPassthroughEntry ,
17
18
'.prettierrc.js' : CoConfigPassthroughEntry ,
18
19
'.eslintrc.js' : CoConfigPassthroughEntry ,
20
+ '.commitlintrc.json' : CoConfigPassthroughEntry ,
19
21
}
20
22
21
- export const config : GbCoConfig = {
23
+ export const config : OtiCoConfig = {
22
24
'.eslintignore' : fs . readFileSync ( path . resolve ( __dirname , '../templates/eslintignore' ) , 'utf8' ) ,
23
25
'.npmignore' : fs . readFileSync ( path . resolve ( __dirname , '../templates/npmignore' ) , 'utf8' ) ,
24
26
'tsconfig.json' : { configuration : tsconfig , stringify : true } ,
25
27
'tsconfig.build.json' : { configuration : tsconfigBuild , stringify : true } ,
26
28
'jest.config.js' : { configuration : jestConfig } ,
27
29
'.prettierrc.js' : { configuration : prettierConfig } ,
28
30
'.eslintrc.js' : { configuration : eslintRc } ,
31
+ '.commitlintrc.json' : { configuration : commitLint } ,
29
32
} ;
0 commit comments