Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin versions not updating on /plugins and /plugins-installed... #2347

Open
JodiB-TPR opened this issue Sep 22, 2023 · 2 comments
Open

Plugin versions not updating on /plugins and /plugins-installed... #2347

JodiB-TPR opened this issue Sep 22, 2023 · 2 comments

Comments

@JodiB-TPR
Copy link

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

  1. In terminal on Mac, run npm install [email protected]
  2. 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
  1. Restart Companion Kit (Ctrl + C then npm run dev)
  2. Go to prototype in browser and refresh / hard refresh the /plugins and /plugins-installed pages
  3. See no change in version displayed
Screen Shot 2023-09-22 at 11 20 59 AM Screen Shot 2023-09-22 at 11 21 40 AM

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
@BenSurgisonGDS
Copy link
Contributor

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

@oli-rose28
Copy link

I've repeated all of the above steps on my Mac and it still works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants