From 70aede2d08c81945eee7588c4e0af533ba4dd310 Mon Sep 17 00:00:00 2001 From: Colin Rotherham Date: Fri, 28 Jul 2023 16:52:25 +0100 Subject: [PATCH] Add instructions for installing a previous version --- shared/stats/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/shared/stats/README.md b/shared/stats/README.md index 0de9c0b294..c134fa6966 100644 --- a/shared/stats/README.md +++ b/shared/stats/README.md @@ -7,3 +7,11 @@ npm run build:stats --workspace govuk-frontend ``` Stats are shown in the review app [deployed to Heroku](https://govuk-frontend-review.herokuapp.com) or when run locally using `npm start`. + +## Stats for previous version + +GOV.UK Frontend is resolved from [./packages/govuk-frontend](../../packages/govuk-frontend/) unless a previous version is installed locally: + +```shell +npm install govuk-frontend@4.7.0 --save --workspace govuk-frontend-stats +```