Skip to content

Commit

Permalink
fix framework flag
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenyou committed Jun 23, 2024
1 parent 1ddab59 commit 79bd672
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/beige-suits-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"scalawind": patch
---

fix framework flag
2 changes: 1 addition & 1 deletion packages/scalawind/src/commands/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const initOptionsSchema = z.object({
previewCompliedResult: z.boolean(),
checkDuplication: z.boolean(),
checkOptimization: z.boolean(),
framework: z.union([z.literal("laminar"), z.literal("scalajs-react"), z.literal("both"), z.literal("none")])
framework: z.string()
})

export const generate = new Command()
Expand Down

0 comments on commit 79bd672

Please sign in to comment.