Skip to content

feat: persist cache using SQLite & support passing additional args#19

Merged
Boshen merged 2 commits intomainfrom
feat/cache_db
Jul 7, 2025
Merged

feat: persist cache using SQLite & support passing additional args#19
Boshen merged 2 commits intomainfrom
feat/cache_db

Conversation

@branchseer
Copy link
Copy Markdown
Member

  • persist cache using bincode format and sqlite
  • allow show cache in json with vite_task --debug
  • support passing additional args: vite_task some_task -- arg1 arg2

@branchseer branchseer marked this pull request as ready for review July 3, 2025 07:05
@branchseer branchseer requested a review from Boshen July 3, 2025 07:05
@Boshen Boshen self-assigned this Jul 3, 2025
Comment thread Cargo.toml
vite_workspace = { path = "crates/vite_workspace" }
wax = "0.6.0"
bstr = "1.12.0"
clap = "4.5.40"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clap is too heavy, we use https://docs.rs/bpaf/latest/bpaf for all our projects.

@Boshen Boshen merged commit 4f9a638 into main Jul 7, 2025
@Boshen Boshen deleted the feat/cache_db branch July 7, 2025 08:56
fengmk2 added a commit that referenced this pull request Jan 29, 2026
…hanges

- Add Version Validation section documenting trim and semver validation
- Update Version Write-Back section to reflect current behavior (only
  write when no version source exists)
- Add success criteria #19 for invalid version fallthrough behavior
fengmk2 added a commit that referenced this pull request Feb 3, 2026
…hanges

- Add Version Validation section documenting trim and semver validation
- Update Version Write-Back section to reflect current behavior (only
  write when no version source exists)
- Add success criteria #19 for invalid version fallthrough behavior
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants