Skip to content

remove blob from repo: verdaccio/storage-1.0.0.tgz #39

Closed as not planned

Description

@milahu

this file is 37 MB = 85% of the whole pnpm repo

file contents:
743 cached npm packages

20 largest files in that archive are

Details
$ find . -type f -exec du -sh '{}' \; | sort -hr | head -n 20
5.3M	./package/firebase/package.json
4.2M	./package/pnpm/pnpm-4.14.2.tgz
3.5M	./package/highmaps-release/highmaps-release-5.0.11.tgz
3.4M	./package/@types/node/package.json
3.1M	./package/pnpm/package.json
2.4M	./package/googleapis/googleapis-23.0.2.tgz
1.2M	./package/fsevents/fsevents-1.0.14.tgz
1.1M	./package/eslint/package.json
916K	./package/ajv/package.json
792K	./package/express/package.json
784K	./package/firebase-tools/package.json
712K	./package/babel-core/package.json
632K	./package/superstatic/package.json
584K	./package/express/express-0.14.1.tgz
572K	./package/@types/ramda/package.json
556K	./package/drivelist/package.json
556K	./package/core-js/core-js-2.6.11.tgz
556K	./package/babylon/package.json
544K	./package/yargs/package.json
532K	./package/standard/package.json

package/firebase/package.json contains metadata of all 1662 firebase versions ....

please explain this
is this npm doomsday prepping for when all npm servers go down?
i mean, why cant we install these deps with pnpm?

if possible, please remove the file from git history with git filter-branch
so we can make a lightweight full clone

Activity

  1. zkochan commented on Sep 9, 2020

    @zkochan
    Member

    We use Verdaccio to test pnpm. Verdaccio works as a proxy. But when it has no cache, the CI build are slower and sometimes even fail. So that is why Verdaccio's storage is cached into that tarball. Maybe we can try to use travis cache instead but I am not sure

  2. milahu commented on Sep 9, 2020

    @milahu
    Author
  3. zkochan commented on Sep 9, 2020

    @zkochan
    Member

    it is not npm cache. It is verdaccio storage cache.

  4. milahu commented on Sep 9, 2020

    @milahu
    Author

    oh i see .... thats why it has metadata of all versions
    but i assume that 99% of the metadata is never used

    there should be a way to get verdaccio working
    with a (very) limited dataset, similar to git shallow clone

    that dataset should be built from regular npm servers
    so the travis npm cache is used
    and we can avoid any blobs / metadata in the pnpm repo

    im trying to get a list of requests / cache hits from verdaccio
    as made in a test run

    the fun part will be:
    fill the cache from a pnpm global store
    and patch the tarball checksums

  5. transferred this issue frompnpm/pnpmon Sep 26, 2026
  6. zkochan commented on Nov 8, 2026

    @zkochan
    Member

    The file is no longer in the tree, and test registries no longer use a Verdaccio storage tarball. The only thing left would be rewriting git history, which we are not going to do.

    Written by an agent (Claude Code, claude-opus-5-5).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions