File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 22 "name" : " commitlint-plugin-prevenger" ,
33 "version" : " 1.0.2" ,
44 "main" : " dist/index.js" ,
5+ "type" : " module" ,
56 "scripts" : {
67 "test" : " jest --coverage" ,
78 "build" : " tsc"
Original file line number Diff line number Diff line change 1- import { default as scopePattern } from "./rules/scope-pattern" ;
1+ import { default as scopePattern } from "./rules/scope-pattern/index.js " ;
22
33export const rules = {
44 'scope-pattern' : scopePattern
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3- "target" : " ES2019" ,
4- "module" : " CommonJS" ,
5- "outDir" : " dist" ,
6- "declaration" : true ,
3+ "target" : " ES2020" ,
4+ "module" : " node16" ,
5+ "declaration" : true , // <-- THIS enables .d.ts files
6+ "declarationMap" : false ,
7+ "emitDeclarationOnly" : false ,
8+ "outDir" : " dist" , // <-- All compiled files go here
79 "strict" : true ,
810 "esModuleInterop" : true ,
911 "skipLibCheck" : true
10- },
11- "include" : [" src" ]
12+ }
1213}
You can’t perform that action at this time.
0 commit comments