oxc_plugin_worklets 0.1.0

A Rust port of React Native Reanimated's worklets plugin
Documentation
_default:
  just --list -u

# Run all tests
test:
    cargo test

# Build the project
build:
    cargo build

# Check formatting and lints
lint:
    cargo fmt --check
    cargo clippy --all-targets -- -D warnings

# Auto-fix formatting
fmt:
    cargo fmt

# Update insta snapshots
snapshot:
    cargo insta test
    cargo insta review

# Bump version and create release commit
release version:
    #!/usr/bin/env bash
    set -euo pipefail
    # Update version in Cargo.toml
    sed -i '' 's/^version = ".*"/version = "{{version}}"/' Cargo.toml
    # Regenerate lockfile
    cargo check
    # Stage and commit
    git add Cargo.toml Cargo.lock
    git commit -m "chore: release crates v{{version}}"