Skip to content

Commit

Permalink
fix dist + test
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jul 5, 2023
1 parent 433aed5 commit 7257748
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/nuxi.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env node

import { runMain } from 'citty'
import mainCommand from '../dist/index.mjs'
import { main } from '../dist/index.mjs'

process._startTime = Date.now()

runMain(mainCommand)
runMain(main)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"prepack": "unbuild",
"release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
"test": "pnpm build && pnpm test:dist",
"test:dist": "node ./bin/nuxi.mjs info"
"test:dist": "node ./bin/nuxi.mjs info ./playground"
},
"devDependencies": {
"@nuxt/eslint-config": "^0.1.1",
Expand Down

0 comments on commit 7257748

Please sign in to comment.