check postinstall file exists https://github.com/google/model-viewer/… by btopro · Pull Request #4363 · google/model-viewer (original) (raw)
…issues/4362
Reference Issue
Should fix #4362 introduced in version 3.2.0
This is a highly tooling specific script request which in yarn will cascade when projects implement 1 of the packages but not the entire mono-repo. I am using the model viewer tag in my own monorepo and yarn will call all the postinstall hooks it finds, looking then for whatever/node_modules/scripts/postinstall.js which is not a thing for downstream consumers.
I can't install w/ a fresh lock file currently but this is pattern off the other verifications of a file existing to avoid errors.