diff --git a/CHANGELOG.md b/CHANGELOG.md index 373802b74e..9e84581fef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## Unreleased +## 13.2.2 + +### Fixes + +- [#1929: Fixing create message](https://github.com/alphagov/govuk-prototype-kit/pull/1929) + ## 13.2.1 ### Fixes diff --git a/bin/cli b/bin/cli index 5d2a6e5d5b..3df219cf96 100755 --- a/bin/cli +++ b/bin/cli @@ -26,13 +26,15 @@ const verboseLogger = !argv.options.verbose } const progressLogger = function () { - const versionOfInstaller = argv.options['created-from-version'] - if (!versionOfInstaller) { - return - } - const version = splitSemverVersion(versionOfInstaller) - if (version.major === 13 && version.minor < 2) { - return + if (argv.command === 'init') { + const versionOfInstaller = argv.options['created-from-version'] + if (!versionOfInstaller) { + return + } + const version = splitSemverVersion(versionOfInstaller) + if (version.major === 13 && version.minor < 2) { + return + } } console.log(' - ', ...arguments) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 7fc50e2c3b..de61a2aa2d 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,12 +1,12 @@ { "name": "govuk-prototype-kit", - "version": "13.2.1", + "version": "13.2.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "govuk-prototype-kit", - "version": "13.2.1", + "version": "13.2.2", "dependencies": { "ansi-colors": "^4.1.3", "body-parser": "^1.20.1", diff --git a/package.json b/package.json index a3b9be040c..43fc54d6b5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "govuk-prototype-kit", "description": "Rapidly create HTML prototypes of GOV.UK services", - "version": "13.2.1", + "version": "13.2.2", "engines": { "node": "^16.x || >= 18.x" },