alphagov / govuk-prototype-kit

Rapidly create HTML prototypes of GOV.UK services
https://prototype-kit.service.gov.uk
MIT License
304 stars 236 forks source link

Our npm stats have lots of recent downloads for very old versions #1964

Open joelanman opened 1 year ago

joelanman commented 1 year ago

Our npm stats seem to be skewed by a large number of downloads for 0.0.1-beta.1 and 0.0.1-alpha.3, do we know why? Can it/should it be fixed?

https://www.npmjs.com/package/govuk-prototype-kit?activeTab=versions

nataliecarey commented 1 year ago

There are only two "real" prototypes using that version according to the Github search (which will only see public github repos).

It's not used in our tests or anything so I don't think we're doing anything to skew those stats ourselves.

As I'm looking at it today it says that there were 183 downloads in the past 7 days - that is much higher than I'd expect from < 10 prototypes but it's not impossible that this week they've been actively deploying and re-deploying those prototypes. It's worth keeping an eye on whether this one version is the exception or if it is just a momentary blip.

Here's the full summary of pre-release versions:

2 downloads:    13.0.0-rc.0
1 download:     0.0.1-beta.4
1 download:     0.0.1-beta.3
4 downloads:    0.0.1-beta.2
183 downloads:  0.0.1-beta.1
1 download:     0.0.1-beta.0
2 downloads:    0.0.1-alpha.5
1 download:     0.0.1-alpha.4
20 downloads:   0.0.1-alpha.3
1 download:     0.0.1-alpha.2
2 downloads:    0.0.1-alpha.1
0 downloads:    0.0.1-alpha.0
joelanman commented 1 year ago

@nataliecarey this has been consistent since I reported it in February

joelanman commented 1 year ago

it's the docs: https://github.com/alphagov/govuk-prototype-kit-docs/blob/main/package.json#L53