Fix generator to reference the correct variable
This commit is contained in:
6
turbo/generators/templates/env/generator.ts
vendored
6
turbo/generators/templates/env/generator.ts
vendored
@@ -129,10 +129,10 @@ export function createEnvironmentVariablesGenerator(
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'confirm',
|
type: 'confirm',
|
||||||
name: 'values.NEXT_PUBLIC_ENABLE_TEAM_ACCOUNT_DELETION',
|
name: 'values.NEXT_PUBLIC_ENABLE_TEAM_ACCOUNTS_DELETION',
|
||||||
message: `Do you want to enable team account deletion? \nFor more info: ${getUrlToDocs('NEXT_PUBLIC_ENABLE_TEAM_ACCOUNT_DELETION')}\n`,
|
message: `Do you want to enable team account deletion? \nFor more info: ${getUrlToDocs('NEXT_PUBLIC_ENABLE_TEAM_ACCOUNTS_DELETION')}\n`,
|
||||||
default: getBoolean(
|
default: getBoolean(
|
||||||
allVariables.NEXT_PUBLIC_ENABLE_TEAM_ACCOUNT_DELETION,
|
allVariables.NEXT_PUBLIC_ENABLE_TEAM_ACCOUNTS_DELETION,
|
||||||
true,
|
true,
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ const Schema: Record<string, z.ZodType> = {
|
|||||||
NEXT_PUBLIC_ENABLE_PERSONAL_ACCOUNT_DELETION: BooleanStringEnum,
|
NEXT_PUBLIC_ENABLE_PERSONAL_ACCOUNT_DELETION: BooleanStringEnum,
|
||||||
NEXT_PUBLIC_ENABLE_PERSONAL_ACCOUNT_BILLING: BooleanStringEnum,
|
NEXT_PUBLIC_ENABLE_PERSONAL_ACCOUNT_BILLING: BooleanStringEnum,
|
||||||
NEXT_PUBLIC_ENABLE_TEAM_ACCOUNTS: BooleanStringEnum,
|
NEXT_PUBLIC_ENABLE_TEAM_ACCOUNTS: BooleanStringEnum,
|
||||||
NEXT_PUBLIC_ENABLE_TEAM_ACCOUNT_DELETION: BooleanStringEnum,
|
NEXT_PUBLIC_ENABLE_TEAM_ACCOUNTS_DELETION: BooleanStringEnum,
|
||||||
NEXT_PUBLIC_ENABLE_TEAM_ACCOUNTS_BILLING: BooleanStringEnum,
|
NEXT_PUBLIC_ENABLE_TEAM_ACCOUNTS_BILLING: BooleanStringEnum,
|
||||||
NEXT_PUBLIC_ENABLE_TEAM_ACCOUNTS_CREATION: BooleanStringEnum,
|
NEXT_PUBLIC_ENABLE_TEAM_ACCOUNTS_CREATION: BooleanStringEnum,
|
||||||
NEXT_PUBLIC_REALTIME_NOTIFICATIONS: BooleanStringEnum,
|
NEXT_PUBLIC_REALTIME_NOTIFICATIONS: BooleanStringEnum,
|
||||||
|
|||||||
Reference in New Issue
Block a user