# Ignore rules specific to the TypeScript/Wasm bindings. Generic entries
# (node_modules, target, .idea, .DS_Store) already live in the repository-root
# .gitignore and are not repeated here.

# The root .gitignore excludes `package-lock.json`, but the JS bindings must
# commit it: `npm ci` (used throughout the JS CI) requires the lockfile. The
# Rust `Cargo.lock` stays ignored (matching the repo root): the workspace's only
# members are the `prepare_builds`-generated crates, so a committed lock would
# just churn with generated entries; CI regenerates it.
!package-lock.json

**/*.rs.bk
dist
pkg
gen2d/
gen3d/
docs
*.swp
*.d.ts

# Per-target crates generated by the `prepare_builds` crate; only the
# generator itself is tracked.
builds/*
!builds/prepare_builds

# Compat package's generated wasm builds.
rapier-compat/builds/
