Skip to content

feat!: use a giant multiselect instead of individual toggles for features #695

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 12 commits into from
Mar 7, 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
chore: merge branch 'main' into feat-multiselect
  • Loading branch information
haoqunjiang committed Feb 28, 2025
commit c7525090415732c15e88eb4af7e8132851f2c3bd
4 changes: 2 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ async function init() {
const isFeatureFlagsUsed = FEATURE_FLAGS.some((flag) => typeof argv[flag] === 'boolean')

let targetDir = positionals[0]
const defaultProjectName = !targetDir ? 'vue-project' : targetDir
const defaultProjectName = targetDir || 'vue-project'

const forceOverwrite = argv.force

Expand All @@ -249,7 +249,7 @@ async function init() {
text({
message: language.projectName.message,
placeholder: defaultProjectName,
validate: (value) => (value.length > 0 ? undefined : 'Should not be empty'),
validate: (value) => (value.trim().length > 0 ? undefined : 'Should not be empty'),
}),
)
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
"husky": "^9.1.7",
"lint-staged": "^15.4.3",
"picocolors": "^1.1.1",
"prettier": "^3.5.1",
"vitest": "^3.0.5",
"prettier": "3.5.1",
"vitest": "^3.0.7",
"zx": "^8.3.2"
},
"lint-staged": {
Expand Down
30 changes: 13 additions & 17 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.