docs: document the repo-wide lockfile policy (P4) (#82)
The .gitignore comment claimed package-lock.json is committed only under bindings/node/, but examples/node/package-lock.json has also been tracked since #80. Correct the comment and add a CONTRIBUTING 'Lockfile policy' section spelling out every component: Cargo.lock + the two Node package-locks are tracked; fuzz/Cargo.lock is ignored (cargo-fuzz default); the Python package has no lockfile by PyO3 convention (pinned via Cargo.lock); the ghost-ignored site keeps its lockfile local.
This commit is contained in:
+4
-2
@@ -46,8 +46,10 @@ tarpaulin-report.html
|
||||
bindings/node/*.node
|
||||
bindings/node/index.d.ts
|
||||
bindings/node/npm-debug.log*
|
||||
# package-lock.json is committed (under bindings/node/) so contributors
|
||||
# get reproducible npm installs. Top-level lockfiles still aren't expected.
|
||||
# package-lock.json is committed for the tracked Node packages — bindings/node/
|
||||
# and examples/node/ — so contributors get reproducible npm installs. There is
|
||||
# no top-level npm package, and the ghost-ignored site/ keeps its lockfile local.
|
||||
# See CONTRIBUTING.md "Lockfile policy" for the full per-component breakdown.
|
||||
|
||||
# WASM build output
|
||||
bindings/wasm/pkg/
|
||||
|
||||
Reference in New Issue
Block a user