0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/.changeset/tricky-taxis-watch.md
Juan Picado 37274e4c8d
feat: implement abbreviated manifest (#3322)
* feat: implement abbreviated manifest

* chore: add time field

* chore: add abbreviated version

* chore: fix missing time

* chore: fix merge time issue

* Update jest.config.js

* add tests

* chore: add tests

* chore: add missing fields
2022-08-27 12:52:23 +02:00

811 B

@verdaccio/api @verdaccio/types @verdaccio/local-storage @verdaccio/server-fastify @verdaccio/store @verdaccio/test-helper @verdaccio/web
minor minor minor minor minor minor minor

feat: implement abbreviated manifest

Enable abbreviated manifest data by adding the header:

curl -H "Accept: application/vnd.npm.install-v1+json" https://registry.npmjs.org/verdaccio

It returns a filtered manifest, additionally includes the time field by request.

Current support for packages managers:

  • npm: yes
  • pnpm: yes
  • yarn classic: yes
  • yarn modern (+2.x): no

https://github.com/npm/registry/blob/master/docs/responses/package-metadata.md#abbreviated-metadata-format