govuk-prototype-kit
govuk-prototype-kit copied to clipboard
Plugin versions not updating on /plugins and /plugins-installed...
Description of the issue
I recently downgraded from v4.7.0 to v4.6 of GOV.UK Frontend and restarted my kit. However, the version shown on the plugins pages still shows v4.7.0.
Steps to reproduce the issue
- In terminal on Mac, run
npm install [email protected]
- Watch as it runs and shows as successful:
added 1 package, changed 1 package, and audited 537 packages in 1s
128 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
- Restart Companion Kit (
Ctrl + C
thennpm run dev
) - Go to prototype in browser and refresh / hard refresh the /plugins and /plugins-installed pages
- See no change in version displayed
Actual vs expected behaviour
I'd expect to see the version updated to reflect v4.6 and for there to be an "update available" message displayed.
Environment (where applicable)
- Operating system: macOS Monterey v12.6.9
- Browser: Chrome
- Browser version: Version 117.0.5938.88 (Official Build) (x86_64)
- GOV.UK Prototype Kit version: 13.13.3
I cannot reproduce this in the wild. I did the following steps to an older v13 prototype I had locally:
- Upgraded to the latest version of GOV.UK Prototype Kit (v13.3.3) from the plugins page
- Upgraded to the latest version of GOV.UK Front end (v4.7.0) from the plugins page
- Downgraded GOV.UK Frontend to v4.6.0 using the cli command stated in this issue
npm install [email protected]
- Waited for the prototype to restart in the terminal (I could have restarted it manually, but either case would have worked)
- Refreshed the plugins page (note this does not happen automatically, it never has and is not a bug)
- The plugins page now shows GOV.UK Frontend as version v4.6.0 as expected
I've repeated all of the above steps on my Mac and it still works as expected.