Skip to content

Commit

Permalink
fix(cli-plugin-vitest): fix vitest.config.mts.hbs template path
Browse files Browse the repository at this point in the history
Closes: #373
  • Loading branch information
Romakita committed Mar 13, 2024
1 parent 5684e57 commit 3498044
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/cli-plugin-vitest/src/hooks/VitestInitHook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class VitestInitHook {
{
title: "Generate files for vitest",
task: (ctx: any) => {
return this.rootRenderer.renderAll(["vitest.config.ts.hbs"], ctx, {
return this.rootRenderer.renderAll(["vitest.config.mts.hbs"], ctx, {
templateDir: `${TEMPLATE_DIR}/init`
});
}
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/init/config/FeaturesPrompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export const FeaturesMap: Record<string, Feature> = {

export const FeaturesPrompt = (availableRuntimes: string[], availablePackageManagers: string[]) => [
{
message: "Choose the target platform:",
message: "Choose the target Framework:",
type: "list",
name: "platform",
choices: [PlatformType.EXPRESS, PlatformType.KOA]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe("getFeaturesPrompt", () => {
"value": "koa",
},
],
"message": "Choose the target platform:",
"message": "Choose the target Framework:",
"name": "platform",
"type": "list",
},
Expand Down

0 comments on commit 3498044

Please sign in to comment.