GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — refactor: consolidate get_cache_dir logic via vite_shared crate by fengmk2 · Pull Request #509 · voidzero-dev/vite-plus

Conversation

@fengmk2

@fengmk2 fengmk2 commented Jan 26, 2026 •
edited by cursor Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Create a new vite_shared crate to hold common utilities shared across
vite-plus crates. Move duplicate get_cache_dir() implementations from
vite_install and vite_js_runtime into this shared location.


Note

Consolidates duplicated cache directory logic into a new shared crate.

  • Add vite_shared with get_cache_dir() (crates/vite_shared), including tests
  • Refactor vite_install and vite_js_runtime to use vite_shared::get_cache_dir(); remove local implementations and related tests
  • Introduce vite_js_runtime::cache module and route runtime caching through crate::cache::get_cache_dir() (now $CACHE_DIR/vite/js_runtime)
  • Update dependencies: add vite_shared to workspace and affected crates; drop direct directories deps where no longer needed

Written by Cursor Bugbot for commit 6cf4de2. This will update automatically on new commits. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@fengmk2 Graphite App

fengmk2 commented Jan 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author
  • feat(vp): refactor global cli to rust entry point #514 Graphite
  • refactor: consolidate get_cache_dir logic via vite_shared crate #509 Graphite 👈 (View in Graphite)
  • feat(js_runtime): add vite_js_runtime crate for JavaScript runtime management #508 Graphite
  • main

This stack of pull requests is managed by Graphite. Learn more about stacking.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@fengmk2 fengmk2 mentioned this pull request Jan 26, 2026
feat(js_runtime): add vite_js_runtime crate for JavaScript runtime management #508
Merged
@fengmk2
fengmk2 force-pushed the vite_shared branch from 64110dc to 3e04a25 Compare January 26, 2026 12:38
@fengmk2 fengmk2 self-assigned this Jan 26, 2026
@fengmk2
fengmk2 force-pushed the vite_shared branch 4 times, most recently from f3d3769 to 70c38fe Compare January 27, 2026 02:39
@fengmk2
fengmk2 force-pushed the nodejs-version-manager branch 2 times, most recently from d71ed84 to 58a0450 Compare January 27, 2026 02:40
@fengmk2
fengmk2 force-pushed the vite_shared branch 3 times, most recently from 16de800 to f3bb37e Compare January 27, 2026 03:20
@fengmk2
fengmk2 force-pushed the nodejs-version-manager branch from 6e4df5c to b064bbf Compare January 27, 2026 03:20
@fengmk2
fengmk2 force-pushed the vite_shared branch 4 times, most recently from a0436c9 to d914c1a Compare January 27, 2026 09:02
@fengmk2
fengmk2 marked this pull request as ready for review January 27, 2026 09:16
@fengmk2
fengmk2 requested review from Brooooooklyn and wan9chi January 27, 2026 09:16
@fengmk2
fengmk2 force-pushed the nodejs-version-manager branch from d4885e8 to 8922738 Compare January 27, 2026 09:23
@fengmk2
fengmk2 force-pushed the vite_shared branch from d914c1a to 6cf4de2 Compare January 27, 2026 09:23
@Brooooooklyn

Brooooooklyn commented Jan 27, 2026

Copy link
Copy Markdown
Member

cursor review

cursor[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

cursor[bot]
cursor Bot reviewed Jan 27, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@fengmk2
fengmk2 force-pushed the nodejs-version-manager branch from 8922738 to a6745a0 Compare January 28, 2026 02:11
@fengmk2
fengmk2 force-pushed the vite_shared branch from 6cf4de2 to 79d718b Compare January 28, 2026 02:11
@fengmk2 fengmk2 mentioned this pull request Jan 28, 2026
feat(vp): refactor global cli to rust entry point #514
Merged
3 tasks done
Brooooooklyn
Brooooooklyn approved these changes Jan 29, 2026
View reviewed changes
@fengmk2
fengmk2 changed the base branch from nodejs-version-manager to graphite-base/509 January 29, 2026 08:23
@fengmk2
fengmk2 changed the base branch from graphite-base/509 to main January 29, 2026 08:24
@fengmk2
refactor: consolidate cache directory logic via vite_shared crate
1bd76be
- Add `get_cache_dir()` to vite_shared for centralized cache path management
- Create `cache.rs` module in vite_js_runtime with `get_cache_dir()` helper
- Replace repeated `vite_shared::get_cache_dir()?.join("js_runtime")` pattern
@fengmk2
fengmk2 force-pushed the vite_shared branch from c24a65a to 59ab7cd Compare January 29, 2026 08:24
@fengmk2
refactor(vite_shared): rename cache directory from vite to vite-plus
c6a1f1e
Add platform-specific path documentation for Linux, macOS, and Windows.
@fengmk2
fengmk2 force-pushed the vite_shared branch from 59ab7cd to c6a1f1e Compare January 29, 2026 08:25
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jan 29, 2026

Copy link
Copy Markdown

Deploying vite-plus with  Cloudflare Pages  Cloudflare Pages

Latest commit: c6a1f1e
Status:⚡️  Build in progress...

View logs

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@fengmk2
fengmk2 merged commit e0da176 into main Jan 29, 2026
16 of 18 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@fengmk2 Graphite App

fengmk2 commented Jan 29, 2026

Copy link
Copy Markdown
Member Author

Merge activity

  • Jan 29, 8:32 AM UTC: @fengmk2 merged this pull request with Graphite.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@fengmk2
fengmk2 deleted the vite_shared branch January 29, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cursor cursor[bot] cursor[bot] left review comments
@Brooooooklyn Brooooooklyn Brooooooklyn approved these changes
@wan9chi wan9chi Awaiting requested review from wan9chi

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@fengmk2 fengmk2

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@fengmk2 @Brooooooklyn
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.