Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
nailiable committed Oct 20, 2024
1 parent c675340 commit 9de824c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 3 additions & 1 deletion dev-packages/cli-common/src/hook/hook-executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ export class HookExecutor {
return obj.default;
} else if (typeof obj === 'object' && typeof obj.default === 'function') {
return obj;
} else return obj;
} else {
return obj;
}
}

protected async doRequire(context: CliContext, path: string, stage: HookStage = HookStage.on) {
Expand Down
1 change: 0 additions & 1 deletion examples/vitesse-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
},
"devDependencies": {
"@celljs/cli": "3.0.0",
"@celljs/cli-service": "3.0.0",
"unplugin-auto-import": "^0.18.3",
"@unhead/vue": "^1.11.10",
"unplugin-vue-router": "^0.10.8",
Expand Down
3 changes: 0 additions & 3 deletions examples/vitesse-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@
{
"path": "../../dev-packages/cli"
},
{
"path": "../../dev-packages/cli-service"
},
{
"path": "../../packages/core"
},
Expand Down

0 comments on commit 9de824c

Please sign in to comment.