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

Fixing create message #1929

Merged
merged 1 commit into from
Jan 24, 2023
Merged

Fixing create message #1929

merged 1 commit into from
Jan 24, 2023

Conversation

nataliecarey
Copy link
Contributor

When we released v13.2.0 and v13.2.1 we knew we had to work with situations where an older installer creates a new version of the kit. What we implemented in v13.2.0 worked with a new installer but not an old installer, what we implemented in v13.2.1 works with an old installer but not with a new installer. This version recognises that create and init need to be handled separately even though they're in the same file because they can be run from different versions.

To test the current live version:

npx govuk-prototype-kit@13.2.1 create ~/somewhere

To test this version:

npx govuk-prototype-kit@github:alphagov/govuk-prototype-kit#fix-create-message create --version=alphagov/govuk-prototype-kit#fix-create-message ~/somewhere

You can also mix older versions and newer versions e.g. this installer running with an older kit where you'd expect to see no status messages:

npx govuk-prototype-kit@github:alphagov/govuk-prototype-kit#fix-create-message create --version=13.0.0 ~/somewhere

or an older installer running this version of the kit where you'd expect also expect to see no status messages:

npx govuk-prototype-kit@13.0.0 create --version=alphagov/govuk-prototype-kit#fix-create-message ~/somewhere

And then the you'll see the full output (three status messages) by running this version of the installer with this version of the kit:

npx govuk-prototype-kit@github:alphagov/govuk-prototype-kit#fix-create-message create --version=alphagov/govuk-prototype-kit#fix-create-message ~/somewhere

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

Successfully merging this pull request may close these issues.

2 participants