REA package-lock.json notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

package-lock.json pins npm resolved dependency identity. In REA 6.7.x, treat selected lock pins as Evidence beside archive/package routes — complementing cousins without inventing APIs.

Mental model

  1. Authorize the package-lock.json (+ artifacts you hold).
  2. Quote selected lockfileVersion / packages / resolved pins you actually see (never paste npm tokens).
  3. Cousins → npm-lockfiles · npm-shrinkwrap · yarn-lock · pnpm-store.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a inspect_package_lock_json API REA never called.

Minimal path

# authorized package-lock.json (+ artifact you hold)
# quote selected lockfileVersion/packages/resolved into case notes
# cousins → npm-lockfiles / shrinkwrap / yarn-lock / pnpm-store
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_package_lock_json .

Compare

ArtifactHonest posture
package-lock.jsonlockfileVersion / packages identity facts
npm lockfiles lanerea-npm-lockfiles
shrinkwrap lanerea-npm-shrinkwrap
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_package_lock_json / automatic npm install against foreign registries.
  • No credential theft from npm / CI tokens.
  • No pirate redistribution of paid packages.
  • No crack framing via lock pins.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-npm-lockfiles?

rea-npm-lockfiles covers broader npm lock Evidence. This page zooms on package-lock.json identity — it does not overwrite that page.

Is there inspect_package_lock_json in 6.7.0?

Not assumed. Quote lockfileVersion / packages / dependencies you actually open. Do not invent inspect_package_lock_json.

Does REA run npm ci / npm install for you?

No. Local trees only. No credential theft from npm tokens.

package-lock vs shrinkwrap vs yarn.lock vs pnpm-lock?

Label Evidence by the file present. Quote the lock pins you open.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources