Skip to content

Commit

Permalink
default framework is none (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenyou authored Jun 23, 2024
1 parent 5da54db commit e8784c6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/itchy-elephants-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"scalawind": patch
---

default framework is none
6 changes: 3 additions & 3 deletions 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")])
framework: z.union([z.literal("laminar"), z.literal("scalajs-react"), z.literal("both"), z.literal("none")])
})

export const generate = new Command()
Expand Down Expand Up @@ -44,8 +44,8 @@ export const generate = new Command()
)
.option(
"-f, --framework",
"generate implicit conversion helpers for framework, can be: laminar, scalajs-react, both",
false
"generate implicit conversion helpers for framework, can be: laminar, scalajs-react, both, none",
"none"
)
.option(
"-co, --check-optimization",
Expand Down

0 comments on commit e8784c6

Please sign in to comment.