Skip to content

Commit bc75096

Browse files
committed
fix: typo
1 parent 758623f commit bc75096

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ type PromptResult = {
101101
e2eFramework?: 'cypress' | 'nightwatch' | 'playwright'
102102
experimentFeatures?: (typeof EXPERIMENTAL_FEATURE_OPTIONS)[number]['value'][]
103103
needsBareboneTemplates?: boolean
104-
needsAutomaticalllyInstallDependencies?: boolean
104+
needsAutomaticallyInstallDependencies?: boolean
105105
}
106106

107107
function isValidPackageName(projectName) {
@@ -257,7 +257,7 @@ async function init() {
257257
// TODO: default to true sometime in the future
258258
needsBareboneTemplates: false,
259259
// TODO: default to false sometime in the future
260-
needsAutomaticalllyInstallDependencies: false,
260+
needsAutomaticallyInstallDependencies: false,
261261
}
262262

263263
intro(
@@ -683,9 +683,9 @@ async function init() {
683683
}),
684684
)
685685

686-
result.needsAutomaticalllyInstallDependencies = await unwrapPrompt(
686+
result.needsAutomaticallyInstallDependencies = await unwrapPrompt(
687687
confirm({
688-
message: language.needsAutomaticalllyInstallDependencies.message,
688+
message: language.needsAutomaticallyInstallDependencies.message,
689689
// TODO: default to true sometime in the future
690690
initialValue: false,
691691
}),
@@ -696,7 +696,7 @@ async function init() {
696696
const cdProjectName = path.relative(cwd, root)
697697
outroMessage += ` ${bold(green(`cd ${cdProjectName.includes(' ') ? `"${cdProjectName}"` : cdProjectName}`))}\n`
698698
}
699-
if (!result.needsAutomaticalllyInstallDependencies) {
699+
if (!result.needsAutomaticallyInstallDependencies) {
700700
outroMessage += ` ${bold(green(getCommand(packageManager, 'install')))}\n`
701701
}
702702
if (needsPrettier) {
@@ -710,7 +710,7 @@ async function init() {
710710
${bold(green('git init && git add -A && git commit -m "initial commit"'))}`
711711
}
712712

713-
if (!result.needsAutomaticalllyInstallDependencies) {
713+
if (!result.needsAutomaticallyInstallDependencies) {
714714
outro(outroMessage)
715715
return
716716
}

locales/en-US.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"message": "Select experimental features to include in your project:",
7070
"hint": "(↑/↓ to navigate, space to select, a to toggle all, enter to confirm)"
7171
},
72-
"needsAutomaticalllyInstallDependencies": {
72+
"needsAutomaticallyInstallDependencies": {
7373
"message": "Automatically install dependencies?"
7474
},
7575
"needsRolldownVite": {

locales/fr-FR.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"message": "Sélectionnez les fonctionnalités expérimentales à inclure\u00a0:",
7070
"hint": "(↑/↓ pour naviguer, espace pour sélectionner, a pour tout sélectionner, entrée pour confirmer)"
7171
},
72-
"needsAutomaticalllyInstallDependencies": {
72+
"needsAutomaticallyInstallDependencies": {
7373
"message": "Installer automatiquement les dépendances\u00a0?"
7474
},
7575
"needsRolldownVite": {

locales/tr-TR.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"message": "Dahil edilecek deneysel özellikleri seçin:",
7070
"hint": "(↑/↓ gezinmek için, boşluk seçmek için, a tümünü seçmek için, enter onaylamak için)"
7171
},
72-
"needsAutomaticalllyInstallDependencies": {
72+
"needsAutomaticallyInstallDependencies": {
7373
"message": "Bağımlılıklar otomatik olarak yüklensin mi?"
7474
},
7575
"needsRolldownVite": {

locales/zh-Hans.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"message": "选择要包含的试验特性:",
7070
"hint": "(↑/↓ 切换,空格选择,a 全选,回车确认)"
7171
},
72-
"needsAutomaticalllyInstallDependencies": {
72+
"needsAutomaticallyInstallDependencies": {
7373
"message": "是否自动安装依赖?"
7474
},
7575
"needsRolldownVite": {

locales/zh-Hant.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"message": "請選擇要包含的試驗特性:",
7070
"hint": "(↑/↓ 切換,空格選擇,a 全選,enter 確認)"
7171
},
72-
"needsAutomaticalllyInstallDependencies": {
72+
"needsAutomaticallyInstallDependencies": {
7373
"message": "是否自動安裝相依套件?"
7474
},
7575
"needsRolldownVite": {

utils/getLanguage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ interface Language {
4242
needsOxlint: LanguageItem
4343
needsRolldownVite: LanguageItem
4444
needsBareboneTemplates: LanguageItem
45-
needsAutomaticalllyInstallDependencies: LanguageItem
45+
needsAutomaticallyInstallDependencies: LanguageItem
4646
errors: {
4747
operationCancelled: string
4848
}

0 commit comments

Comments
 (0)