Skip to content

Commit ef64e1f

Browse files
committed
web fixes
1 parent 43fdfdd commit ef64e1f

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

apps/web/src/lib/constant.ts

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ export const TECH_OPTIONS: Record<
476476
description: "Fast and powerful Git hooks manager",
477477
icon: `${ICON_BASE_URL}/lefthook.svg`,
478478
color: "from-orange-500 to-orange-700",
479-
default: true,
479+
default: false,
480480
},
481481
{
482482
id: "husky",
@@ -492,7 +492,7 @@ export const TECH_OPTIONS: Record<
492492
description: "No Git hooks manager",
493493
icon: "",
494494
color: "from-gray-500 to-gray-700",
495-
default: false,
495+
default: true,
496496
},
497497
],
498498
addons: [
@@ -546,6 +546,22 @@ export const TECH_OPTIONS: Record<
546546
color: "from-indigo-500 to-indigo-700",
547547
default: false,
548548
},
549+
{
550+
id: "oxlint",
551+
name: "Oxlint",
552+
description: "Rust-powered linter",
553+
icon: "",
554+
color: "from-orange-500 to-orange-700",
555+
default: false,
556+
},
557+
{
558+
id: "ruler",
559+
name: "Ruler",
560+
description: "Centralize your AI rules",
561+
icon: "",
562+
color: "from-violet-500 to-violet-700",
563+
default: false,
564+
},
549565

550566
{
551567
id: "turborepo",
@@ -756,7 +772,7 @@ export const DEFAULT_STACK: StackState = {
756772
auth: "better-auth",
757773
payments: "none",
758774
packageManager: "bun",
759-
hooks: "lefthook",
775+
hooks: "none",
760776
addons: ["turborepo"],
761777
examples: ["none"],
762778
git: "true",

apps/web/src/lib/stack-utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const CATEGORY_ORDER: Array<keyof typeof TECH_OPTIONS> = [
1515
"auth",
1616
"payments",
1717
"packageManager",
18+
"hooks",
1819
"addons",
1920
"examples",
2021
"git",

0 commit comments

Comments
 (0)