REA .npmignore notes (unofficial)
.npmignore / package.json#files pin publish-set identity. In REA 6.7.x, treat selected exclude/files pins as Evidence beside archive/package routes — without inventing APIs.
Mental model
- Authorize the
.npmignore/filesfield (+ artifacts you hold). - Quote selected exclude or include pins you actually see.
- Docker cousin → rea-dockerignore; workspaces cousin → rea-npm-workspaces.
- Bind absolute paths honestly → rea-absolute-paths.
- Do not invent an npmignore API REA never called.
Minimal path
# authorized .npmignore / package.json#files (+ artifact you hold)
# quote selected publish-exclude pins into case notes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_npmignore .
Compare
| Artifact | Honest posture |
|---|---|
.npmignore / files | Publish-exclude identity facts |
| dockerignore cousin | rea-dockerignore |
| gitignore cousin | rea-gitignore-patterns |
| Evidence binder | rea-evidence-explained |
Scope we will not cover
- No inventing
inspect_npmignore/ automatic publish rewrites. - No credential theft from package contents or tokens.
- No pirate redistribution of paid artifacts.
- No crack framing via ignore pins.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
What does this page cover?
It zooms on .npmignore / package.json#files publish-exclude pins as Evidence — not an npm publish tutorial, and not an invented REA product API.
Is there inspect_npmignore in 6.7.0?
Not assumed. Quote exclude/files pins you actually open, then use documented package/archive lanes. Do not invent inspect_npmignore.
Does REA rewrite npm ignore rules or steal secrets from them?
No. Local trees only. Do not treat REA as a publish configurator; redact secrets in Evidence.
.npmignore vs .gitignore / .dockerignore?
Label Evidence by the file present. Keep this npm lane separate from rea-gitignore-patterns and rea-dockerignore.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).