@snowieedev/shipkit 1.2.0 → 1.2.1
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.
|
@@ -19,7 +19,7 @@ export async function generateAuth() {
|
|
|
19
19
|
// 2. Authentication Wizard
|
|
20
20
|
const { authType } = await inquirer.prompt([
|
|
21
21
|
{
|
|
22
|
-
type: '
|
|
22
|
+
type: 'select',
|
|
23
23
|
name: 'authType',
|
|
24
24
|
message: 'Select Authentication Type:',
|
|
25
25
|
choices: [
|
|
@@ -49,7 +49,7 @@ export async function generateAuth() {
|
|
|
49
49
|
}
|
|
50
50
|
const { dbProvider } = await inquirer.prompt([
|
|
51
51
|
{
|
|
52
|
-
type: '
|
|
52
|
+
type: 'select',
|
|
53
53
|
name: 'dbProvider',
|
|
54
54
|
message: 'Database Provider:',
|
|
55
55
|
choices: ['Supabase', 'PostgreSQL']
|
|
@@ -61,7 +61,7 @@ export async function generateAuth() {
|
|
|
61
61
|
const emailOpts = await inquirer.prompt([
|
|
62
62
|
{ type: 'confirm', name: 'emailVerification', message: 'Enable Email Verification?', default: true },
|
|
63
63
|
{ type: 'confirm', name: 'forgotPassword', message: 'Enable Forgot Password?', default: true },
|
|
64
|
-
{ type: '
|
|
64
|
+
{ type: 'select', name: 'sessionDuration', message: 'Session Duration:', choices: ['7 days', '30 days', 'custom'] }
|
|
65
65
|
]);
|
|
66
66
|
options.email = emailOpts;
|
|
67
67
|
options.providers.push('email');
|