Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create subfolder at top level of tarball from Github
create a package dir at top level of tarball from Github to fix bug where npm install cannot resolve dependencies. This fix resolves ENOTCACHED errors in the preinstall phase caused by improperly structured tarballs. Tarballs that npm can use, package contents should reside in a subfolder inside the tarball (usually it is called package/). npm strips one directory layer when installing the package (an equivalent of tar x --strip-components=1 is run). See https://docs.npmjs.com/cli/v7/commands/npm-install This relates to issue #45.
- Loading branch information