Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
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
13 changes: 13 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,17 @@ jobs:
name: Security Analysis
runs-on: ubuntu-latest
steps:
# The security-action uses its own bundled deny.toml. The interprocess
# crate (used by vite_task_client for IPC) pulls in two transitive deps
# licensed 0BSD (doctest-file, recvmsg) — both OSI-approved permissive
# licenses. Append 0BSD to the bundled allowlist so the license check
# still passes while keeping the rest of the action's policy intact.
- name: Allow 0BSD in security-action deny.toml
run: |
DENY=$(find /home/runner/work/_actions/oxc-project/security-action -name deny.toml | head -1)
test -n "$DENY"
# Only modify the first `allow = [` (under [licenses]); the second one
# under [bans] is a crate allowlist with different semantics.
sed -i '0,/^allow = \[/{s/^allow = \[/allow = [\n "0BSD",/}' "$DENY"
grep -A 12 '^\[licenses\]' "$DENY" | head -15
- uses: oxc-project/security-action@781317603d045c3eafc99daef653fcac77e12aa8 # v1.0.3
2 changes: 2 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ extend-exclude = [
# Intentional typos for testing fuzzy matching and "did you mean" suggestions
"crates/vite_select/src/fuzzy.rs",
"crates/vite_task_bin/tests/e2e_snapshots/fixtures/task_select",
# pnpm patch files — hunk context includes third-party code we don't own
"patches",
]
4 changes: 4 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ All code must work on both Unix and Windows without platform skipping:
- Platform differences should be handled gracefully, not skipped
- After major changes to `fspy*` or platform-specific crates, run `just lint-linux` and `just lint-windows`

## New Crates and Packages

When creating a new Rust crate or npm package, add a concise `README.md` stating its goal in one or two sentences. Do not include implementation details, API docs, or links to other docs — those belong in source comments or the design docs.

## Changelog

When a change is user-facing (new feature, changed behavior, bug fix, removal, or perf improvement), run `/update-changelog` to add an entry to `CHANGELOG.md`. Do not add entries for internal refactors, CI, dep bumps, test fixes, or docs changes.
Expand Down
188 changes: 180 additions & 8 deletions Cargo.lock

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

Loading
Loading