File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22'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 2929 "exports" : {
3030 "." : {
3131 "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 "
3434 }
3535 },
3636 "main" : " dist/index.js" ,
37- "module" : " dist/index.mjs " ,
37+ "module" : " dist/index.js " ,
3838 "types" : " dist/index.d.ts" ,
3939 "bin" : {
4040 "bumpp" : " bin/bumpp.js"
5050 "clean" : " rimraf .nyc_output coverage dist" ,
5151 "lint" : " eslint ." ,
5252 "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" ,
5454 "watch" : " npm run build -- --watch src" ,
5555 "start" : " esno src/cli/run.ts" ,
5656 "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