-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Labels
Description
This will be MUCH faster than shelling out to npm.
- publish:
libnpmpublish(version 8 for node 14) - pack:
libnpmpack - show/view:
npm-registry-fetch,see Fetch packages from registry directly, not with npm CLI #1114temporarily reverted in Temporarily revert npm-registry-fetch usage #1145--see Re-enablenpm-registry-fetch#1143
Note that the proposed libraries for publish/pack will significantly increase the dependency tree of beachball due to pulling in a significant number of the npm CLI's dependencies... that's unfortunate from an installation standpoint, and worth considering alternatives maybe? Or those dependencies could be bundled to minimize bulk?
Related links:
- show/view core logic using
pacote(which downloads all fields of the manifest regardless of args) -- went with simplernpm-registry-fetchinstead for now