Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
af4b1fb
feat(js_runtime): add vite_js_runtime crate for JavaScript runtime ma…
fengmk2 Jan 26, 2026
e1a7b00
docs(rfc): remove NAPI Binding section from js-runtime RFC
fengmk2 Jan 26, 2026
de4a1ff
test(js_runtime): enable integration tests by default
fengmk2 Jan 26, 2026
25950d2
feat(js_runtime): add file-based locking for concurrent download prot…
fengmk2 Jan 26, 2026
e77e062
chore(js_runtime): remove unused dependencies
fengmk2 Jan 26, 2026
c91bf9f
refactor(js_runtime): use vite_str::Str with targeted allow attributes
fengmk2 Jan 26, 2026
9065192
refactor(js_runtime): replace std::path::Path with vite_path::Absolut…
fengmk2 Jan 26, 2026
19ed6e2
refactor(js_runtime): remove all disallowed_types expect attributes
fengmk2 Jan 26, 2026
8095c9c
docs(rfc): update js-runtime crate structure to match implementation
fengmk2 Jan 26, 2026
063fbf9
refactor(js_runtime): remove parse_runtime_spec function
fengmk2 Jan 26, 2026
2c1bb30
feat(js_runtime): support VITE_NODE_DIST_MIRROR env for custom mirror
fengmk2 Jan 26, 2026
10d491d
refactor(js_runtime): introduce JsRuntimeProvider trait abstraction
fengmk2 Jan 26, 2026
677d29e
refactor(js_runtime): remove copy fallback in move_to_cache
fengmk2 Jan 26, 2026
686fa91
fix(js_runtime): clean up incomplete installations before re-download
fengmk2 Jan 26, 2026
17f608e
refactor(js_runtime): remove platform from cache directory path
fengmk2 Jan 27, 2026
69cc9e4
feat(js_runtime): support devEngines.runtime for project-based runtim…
fengmk2 Jan 27, 2026
d7c55e3
feat(js_runtime): add ETag-based HTTP caching and improve version res…
fengmk2 Jan 27, 2026
e92f613
feat(js_runtime): write resolved runtime version back to package.json
fengmk2 Jan 27, 2026
2e509ff
docs(js_runtime): document version write-back feature in RFC
fengmk2 Jan 27, 2026
6cd07c5
perf(js_runtime): optimize version resolution to reduce network requests
fengmk2 Jan 27, 2026
542372e
perf(js_runtime): optimize version resolution to reduce network requests
fengmk2 Jan 27, 2026
2f9b704
fix(js_runtime): preserve existing runtime when updating different ru…
fengmk2 Jan 28, 2026
1cc5fa4
fix(js_runtime): hold file lock until after rename operation completes
fengmk2 Jan 28, 2026
e8d8899
fix(js_runtime): create temp directory under cache_dir to avoid EXDEV…
fengmk2 Jan 28, 2026
a6745a0
fix(js_runtime): add compile-time errors for unsupported platforms
fengmk2 Jan 28, 2026
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
1 change: 1 addition & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[default.extend-words]
ratatui = "ratatui"
PUNICODE = "PUNICODE"
Jod = "Jod" # Node.js v22 LTS codename

[files]
extend-exclude = [
Expand Down
10 changes: 10 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@ vite dev # runs dev script from package.json
- Only convert to std paths when interfacing with std library functions, and this should be implicit in most cases thanks to `AsRef<Path>` implementations
- Add necessary methods in `vite_path` instead of falling back to std path types

- **Converting from std paths** (e.g., `TempDir::path()`):

```rust
let temp_path = AbsolutePathBuf::new(temp_dir.path().to_path_buf()).unwrap();
```

- **Function signatures**: Prefer `&AbsolutePath` over `&std::path::Path`

- **Passing to std functions**: `AbsolutePath` implements `AsRef<Path>`, use `.as_path()` when explicit `&Path` is required

## Git Workflow

- Run `vite fmt` before committing to format code
Expand Down
Loading
Loading