create-better-t-stack 2.2.1 → 2.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/package.json +1 -1
- package/templates/auth/web/nuxt/app/components/SignInForm.vue +1 -1
- package/templates/auth/web/nuxt/app/components/SignUpForm.vue +1 -1
- package/templates/auth/web/react/next/src/components/sign-in-form.tsx +1 -1
- package/templates/auth/web/react/next/src/components/sign-up-form.tsx +1 -1
- package/templates/auth/web/react/react-router/src/components/sign-in-form.tsx +1 -1
- package/templates/auth/web/react/react-router/src/components/sign-up-form.tsx +1 -1
- package/templates/auth/web/react/tanstack-router/src/components/sign-in-form.tsx +1 -1
- package/templates/auth/web/react/tanstack-router/src/components/sign-up-form.tsx +1 -1
- package/templates/auth/web/react/tanstack-start/src/components/sign-in-form.tsx +1 -1
- package/templates/auth/web/react/tanstack-start/src/components/sign-up-form.tsx +1 -1
- package/templates/auth/web/svelte/src/components/SignUpForm.svelte +1 -1
package/README.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations
|
|
4
4
|
|
|
5
|
+
## Sponsors
|
|
6
|
+
|
|
7
|
+
<p align="center">
|
|
8
|
+
<img src="https://cdn.jsdelivr.net/gh/amanvarshney01/sponsors@master/sponsorkit/sponsors.svg" alt="Sponsors" width="300">
|
|
9
|
+
</p>
|
|
10
|
+
|
|
5
11
|
## Quick Start
|
|
6
12
|
|
|
7
13
|
Run without installing globally:
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@ const loading = ref(false)
|
|
|
11
11
|
|
|
12
12
|
const schema = z.object({
|
|
13
13
|
email: z.string().email('Invalid email address'),
|
|
14
|
-
password: z.string().min(
|
|
14
|
+
password: z.string().min(8, 'Password must be at least 8 characters'),
|
|
15
15
|
})
|
|
16
16
|
|
|
17
17
|
type Schema = z.output<typeof schema>
|
|
@@ -12,7 +12,7 @@ const loading = ref(false)
|
|
|
12
12
|
const schema = z.object({
|
|
13
13
|
name: z.string().min(2, 'Name must be at least 2 characters'),
|
|
14
14
|
email: z.string().email('Invalid email address'),
|
|
15
|
-
password: z.string().min(
|
|
15
|
+
password: z.string().min(8, 'Password must be at least 8 characters'),
|
|
16
16
|
})
|
|
17
17
|
|
|
18
18
|
type Schema = z.output<typeof schema>
|
|
@@ -41,7 +41,7 @@ export default function SignInForm({
|
|
|
41
41
|
validators: {
|
|
42
42
|
onSubmit: z.object({
|
|
43
43
|
email: z.string().email("Invalid email address"),
|
|
44
|
-
password: z.string().min(
|
|
44
|
+
password: z.string().min(8, "Password must be at least 8 characters"),
|
|
45
45
|
}),
|
|
46
46
|
},
|
|
47
47
|
});
|
|
@@ -44,7 +44,7 @@ export default function SignUpForm({
|
|
|
44
44
|
onSubmit: z.object({
|
|
45
45
|
name: z.string().min(2, "Name must be at least 2 characters"),
|
|
46
46
|
email: z.string().email("Invalid email address"),
|
|
47
|
-
password: z.string().min(
|
|
47
|
+
password: z.string().min(8, "Password must be at least 8 characters"),
|
|
48
48
|
}),
|
|
49
49
|
},
|
|
50
50
|
});
|
|
@@ -41,7 +41,7 @@ export default function SignInForm({
|
|
|
41
41
|
validators: {
|
|
42
42
|
onSubmit: z.object({
|
|
43
43
|
email: z.string().email("Invalid email address"),
|
|
44
|
-
password: z.string().min(
|
|
44
|
+
password: z.string().min(8, "Password must be at least 8 characters"),
|
|
45
45
|
}),
|
|
46
46
|
},
|
|
47
47
|
});
|
|
@@ -44,7 +44,7 @@ export default function SignUpForm({
|
|
|
44
44
|
onSubmit: z.object({
|
|
45
45
|
name: z.string().min(2, "Name must be at least 2 characters"),
|
|
46
46
|
email: z.string().email("Invalid email address"),
|
|
47
|
-
password: z.string().min(
|
|
47
|
+
password: z.string().min(8, "Password must be at least 8 characters"),
|
|
48
48
|
}),
|
|
49
49
|
},
|
|
50
50
|
});
|
|
@@ -45,7 +45,7 @@ export default function SignInForm({
|
|
|
45
45
|
validators: {
|
|
46
46
|
onSubmit: z.object({
|
|
47
47
|
email: z.string().email("Invalid email address"),
|
|
48
|
-
password: z.string().min(
|
|
48
|
+
password: z.string().min(8, "Password must be at least 8 characters"),
|
|
49
49
|
}),
|
|
50
50
|
},
|
|
51
51
|
});
|
|
@@ -48,7 +48,7 @@ export default function SignUpForm({
|
|
|
48
48
|
onSubmit: z.object({
|
|
49
49
|
name: z.string().min(2, "Name must be at least 2 characters"),
|
|
50
50
|
email: z.string().email("Invalid email address"),
|
|
51
|
-
password: z.string().min(
|
|
51
|
+
password: z.string().min(8, "Password must be at least 8 characters"),
|
|
52
52
|
}),
|
|
53
53
|
},
|
|
54
54
|
});
|
|
@@ -45,7 +45,7 @@ export default function SignInForm({
|
|
|
45
45
|
validators: {
|
|
46
46
|
onSubmit: z.object({
|
|
47
47
|
email: z.string().email("Invalid email address"),
|
|
48
|
-
password: z.string().min(
|
|
48
|
+
password: z.string().min(8, "Password must be at least 8 characters"),
|
|
49
49
|
}),
|
|
50
50
|
},
|
|
51
51
|
});
|
|
@@ -48,7 +48,7 @@ export default function SignUpForm({
|
|
|
48
48
|
onSubmit: z.object({
|
|
49
49
|
name: z.string().min(2, "Name must be at least 2 characters"),
|
|
50
50
|
email: z.string().email("Invalid email address"),
|
|
51
|
-
password: z.string().min(
|
|
51
|
+
password: z.string().min(8, "Password must be at least 8 characters"),
|
|
52
52
|
}),
|
|
53
53
|
},
|
|
54
54
|
});
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
const validationSchema = z.object({
|
|
10
10
|
name: z.string().min(2, 'Name must be at least 2 characters'),
|
|
11
11
|
email: z.string().email('Invalid email address'),
|
|
12
|
-
password: z.string().min(
|
|
12
|
+
password: z.string().min(8, 'Password must be at least 8 characters'),
|
|
13
13
|
});
|
|
14
14
|
|
|
15
15
|
|