File tree 3 files changed +7
-7
lines changed
3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env node
2
2
'use strict'
3
- const { main } = require ( '../dist/cli' )
4
-
5
- main ( )
3
+ import ( '../dist/cli.js' )
4
+ . then ( r => r . main ( ) )
Original file line number Diff line number Diff line change 29
29
"exports" : {
30
30
"." : {
31
31
"types" : " ./dist/index.d.ts" ,
32
- "import" : " ./dist/index.mjs " ,
33
- "require" : " ./dist/index.js "
32
+ "import" : " ./dist/index.js " ,
33
+ "require" : " ./dist/index.cjs "
34
34
}
35
35
},
36
36
"main" : " dist/index.js" ,
37
- "module" : " dist/index.mjs " ,
37
+ "module" : " dist/index.js " ,
38
38
"types" : " dist/index.d.ts" ,
39
39
"bin" : {
40
40
"bumpp" : " bin/bumpp.js"
50
50
"clean" : " rimraf .nyc_output coverage dist" ,
51
51
"lint" : " eslint ." ,
52
52
"lint:fix" : " eslint --fix ." ,
53
- "build" : " tsup src/index.ts src/cli/index .ts --format esm,cjs --dts --clean" ,
53
+ "build" : " tsup src/index.ts src/cli.ts --format esm,cjs --dts --clean" ,
54
54
"watch" : " npm run build -- --watch src" ,
55
55
"start" : " esno src/cli/run.ts" ,
56
56
"test" : " vitest" ,
Original file line number Diff line number Diff line change
1
+ export * from './cli/index'
You can’t perform that action at this time.
0 commit comments