Skip to content

Commit 8215589

Browse files
Merge pull request #269 from alphagov/make-sure-prototypes-are-created-with-latest-version
Always specify latest when creating and migrating prototypes
2 parents 19f8ef3 + 36dd538 commit 8215589

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/v13/documentation/install/create-a-prototype.md.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ If any of your folder names contain spaces, you must add quotation marks around
6161

6262
Run:
6363

64-
`npx govuk-prototype-kit create`
64+
`npx govuk-prototype-kit@latest create`
6565

6666
{% from "govuk/components/pagination/macro.njk" import govukPagination %}
6767
{{ govukPagination({

docs/v13/documentation/install/getting-started-advanced.md.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Node.js LTS version 20.x.x
1717

1818
2. In that folder run:
1919

20-
`npx govuk-prototype-kit create`
20+
`npx govuk-prototype-kit@latest create`
2121

2222
## Run the kit
2323

docs/v13/documentation/migrate-an-existing-prototype.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ title: Migrate an existing prototype to version 13
1515

1616
5. In your prototype folder, run this command in the terminal:
1717

18-
`npx govuk-prototype-kit@13 migrate`
18+
`npx govuk-prototype-kit@latest migrate`
1919

2020
6. If some migration steps fail, the script will report these.
2121

0 commit comments

Comments
 (0)