Skip to content

feat: add rolldown-vite features #760

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 13, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: apply suggest
  • Loading branch information
btea committed Jun 11, 2025
commit 45fe738b7af59b463ac949c5fd7ed532a2ee7aec
6 changes: 3 additions & 3 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ const FEATURE_OPTIONS = [
label: language.needsPrettier.message,
},
{
value: 'experimental features',
label: language.needExperimenttal.message,
value: 'experimental-features',
label: language.needsExperimental.message,
},
] as const
const EXPERIMENTAL_FEATURE_OPTIONS = [
Expand Down Expand Up @@ -339,7 +339,7 @@ async function init() {
)
}

if (result.features.includes('experimental features')) {
if (result.features.includes('experimental-features')) {
result.experimentFeatures = await unwrapPrompt(
multiselect({
message: `${language.needsExperimentalFeatures.message} ${dim(language.needsExperimentalFeatures.hint)}`,
Expand Down
2 changes: 1 addition & 1 deletion locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"needsOxlint": {
"message": "Oxlint (experimental)"
},
"needExperimenttal": {
"needsExperimental": {
"message": "Enable experimental features"
},
"needsExperimentalFeatures": {
Expand Down
4 changes: 2 additions & 2 deletions locales/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@
"needsOxlint": {
"message": "Oxlint (expérimental)"
},
"needExperimenttal": {
"needsExperimental": {
"message": "Activer les fonctionnalités expérimentales"
},
"needsExperimentalFeatures": {
"message": "Sélectionnez les fonctionnalités expérimentales à inclure:",
"message": "Sélectionnez les fonctionnalités expérimentales à inclure\u00a0:",
"hint": "(↑/↓ pour naviguer, espace pour sélectionner, a pour tout sélectionner, entrée pour confirmer)"
},
"needsRolldownVite": {
Expand Down
2 changes: 1 addition & 1 deletion locales/tr-TR.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"needsOxlint": {
"message": "Oxlint (deneysel)"
},
"needExperimenttal": {
"needsExperimental": {
"message": "Deneysel özellikleri etkinleştir"
},
"needsExperimentalFeatures": {
Expand Down
2 changes: 1 addition & 1 deletion locales/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"needsOxlint": {
"message": "Oxlint(试验阶段)"
},
"needExperimenttal": {
"needsExperimental": {
"message": "启用试验特性"
},
"needsExperimentalFeatures": {
Expand Down
2 changes: 1 addition & 1 deletion locales/zh-Hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"needsOxlint": {
"message": "Oxlint(試驗性功能)"
},
"needExperimenttal": {
"needsExperimental": {
"message": "启用試驗性功能"
},
"needsExperimentalFeatures": {
Expand Down
2 changes: 1 addition & 1 deletion utils/getLanguage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ interface Language {
[key: string]: { title: string; desc?: string; hintOnComponentTesting?: string }
}
}
needExperimenttal: LanguageItem
needsExperimental: LanguageItem
needsExperimentalFeatures: LanguageItem
needsOxlint: LanguageItem
needsRolldownVite: LanguageItem
Expand Down
Loading