@@ -7,23 +7,26 @@ import { tsconfig, tsconfigBuild } from './tsconfig';
77import { jestConfig } from './jest' ;
88import { prettierConfig } from './prettier' ;
99import { eslintRc } from './eslint' ;
10+ import { commitLint } from './commitlint' ;
1011
11- interface GbCoConfig {
12+ interface OtiCoConfig {
1213 '.eslintignore' : string ,
1314 '.npmignore' : string ,
1415 'tsconfig.json' : CoConfigPassthroughEntry < typeof tsconfig > ,
1516 'tsconfig.build.json' : CoConfigPassthroughEntry < typeof tsconfigBuild > ,
1617 'jest.config.js' : CoConfigPassthroughEntry ,
1718 '.prettierrc.js' : CoConfigPassthroughEntry ,
1819 '.eslintrc.js' : CoConfigPassthroughEntry ,
20+ '.commitlintrc.json' : CoConfigPassthroughEntry ,
1921}
2022
21- export const config : GbCoConfig = {
23+ export const config : OtiCoConfig = {
2224 '.eslintignore' : fs . readFileSync ( path . resolve ( __dirname , '../templates/eslintignore' ) , 'utf8' ) ,
2325 '.npmignore' : fs . readFileSync ( path . resolve ( __dirname , '../templates/npmignore' ) , 'utf8' ) ,
2426 'tsconfig.json' : { configuration : tsconfig , stringify : true } ,
2527 'tsconfig.build.json' : { configuration : tsconfigBuild , stringify : true } ,
2628 'jest.config.js' : { configuration : jestConfig } ,
2729 '.prettierrc.js' : { configuration : prettierConfig } ,
2830 '.eslintrc.js' : { configuration : eslintRc } ,
31+ '.commitlintrc.json' : { configuration : commitLint } ,
2932} ;
0 commit comments