@@ -14,9 +14,9 @@ interface OtiCoConfig {
1414 '.npmignore' : string ,
1515 'tsconfig.json' : CoConfigPassthroughEntry < typeof tsconfig > ,
1616 'tsconfig.build.json' : CoConfigPassthroughEntry < typeof tsconfigBuild > ,
17- 'jest.config.js ' : CoConfigPassthroughEntry ,
18- '.prettierrc.js ' : CoConfigPassthroughEntry ,
19- '.eslintrc.js ' : CoConfigPassthroughEntry ,
17+ 'jest.config.cjs ' : CoConfigPassthroughEntry ,
18+ '.prettierrc.cjs ' : CoConfigPassthroughEntry ,
19+ '.eslintrc.cjs ' : CoConfigPassthroughEntry ,
2020 '.commitlintrc.json' : CoConfigPassthroughEntry ,
2121}
2222
@@ -25,8 +25,8 @@ export const config: OtiCoConfig = {
2525 '.npmignore' : fs . readFileSync ( path . resolve ( __dirname , '../templates/npmignore' ) , 'utf8' ) ,
2626 'tsconfig.json' : { configuration : tsconfig , stringify : true } ,
2727 'tsconfig.build.json' : { configuration : tsconfigBuild , stringify : true } ,
28- 'jest.config.js ' : { configuration : jestConfig } ,
29- '.prettierrc.js ' : { configuration : prettierConfig } ,
30- '.eslintrc.js ' : { configuration : eslintRc } ,
31- '.commitlintrc.json' : { configuration : commitLint } ,
28+ 'jest.config.cjs ' : { configuration : jestConfig } ,
29+ '.prettierrc.cjs ' : { configuration : prettierConfig } ,
30+ '.eslintrc.cjs ' : { configuration : eslintRc } ,
31+ '.commitlintrc.json' : { configuration : commitLint , stringify : true } ,
3232} ;
0 commit comments