Skip to content

Commit 153471f

Browse files
committed
chore(*): merged latest
2 parents 8a4570e + fdaa47b commit 153471f

File tree

6 files changed

+14
-32
lines changed

6 files changed

+14
-32
lines changed

examples/shadcn/components.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
},
2121
"registries": {
2222
"@dev": "http://localhost:5177/r/{name}.json",
23-
"@firebase-ui": "https://ui.firebase.com/r/{name}.json"
23+
"@firebase": "https://fir-ui-shadcn-registry.web.app/r/{name}.json"
2424
}
2525
}

examples/shadcn/firebase.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

examples/shadcn/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"build": "vite build",
99
"lint": "eslint .",
1010
"preview": "vite preview",
11-
"deploy": "pnpm run build && firebase deploy --only hosting:fir-ui-2025-shadcn",
1211
"shadcn:add-all": "tsx add-all.ts"
1312
},
1413
"dependencies": {

firebase.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,19 @@
1010
},
1111
"hosting": [
1212
{
13-
"site": "fir-ui-shadcn",
13+
"site": "fir-ui-shadcn-registry",
1414
"public": "packages/shadcn/public"
15+
},
16+
{
17+
"site": "fir-ui-shadcn",
18+
"public": "examples/shadcn/dist",
19+
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
20+
"rewrites": [
21+
{
22+
"source": "**",
23+
"destination": "/index.html"
24+
}
25+
]
1526
}
1627
]
1728
}

packages/shadcn/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
8-
"build": "tsx build.ts --domain https://fir-ui-shadcn.web.app",
8+
"build": "tsx build.ts --domain https://fir-ui-shadcn-registry.web.app",
99
"preview": "vite preview",
1010
"test": "vitest run"
1111
},

packages/shadcn/src/components/sign-up-auth-form.tsx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -88,21 +88,6 @@ export function SignUpAuthForm(props: SignUpAuthFormProps) {
8888
</FormItem>
8989
)}
9090
/>
91-
{requireDisplayName ? (
92-
<FormField
93-
control={form.control}
94-
name="displayName"
95-
render={({ field }) => (
96-
<FormItem>
97-
<FormLabel>{getTranslation(ui, "labels", "displayName")}</FormLabel>
98-
<FormControl>
99-
<Input {...field} />
100-
</FormControl>
101-
<FormMessage />
102-
</FormItem>
103-
)}
104-
/>
105-
) : null}
10691
<Policies />
10792
<Button type="submit" disabled={ui.state !== "idle"}>
10893
{getTranslation(ui, "labels", "createAccount")}

0 commit comments

Comments
 (0)