Skip to content

Commit

Permalink
Merge pull request #1915 from alphagov/remove-task-list-pattern
Browse files Browse the repository at this point in the history
Move Task list template to Task list plugin
  • Loading branch information
BenSurgisonGDS authored Jan 20, 2023
2 parents 762bf17 + 8656cb3 commit d2cc61c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 110 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
### New features

- [#1906: Improved messaging when creating a prototype](https://github.com/alphagov/govuk-prototype-kit/pull/1906)
- [#1915: Move Task list template to Task list plugin](https://github.com/alphagov/govuk-prototype-kit/pull/1915)
The Task list template has been moved to the new
[Task list plugin](https://github.com/alphagov/govuk-prototype-kit-task-list)

### Fixes

Expand Down
5 changes: 0 additions & 5 deletions govuk-prototype-kit.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@
"path": "/lib/nunjucks/templates/content.html",
"type": "nunjucks"
},
{
"name": "Task list page",
"path": "/lib/nunjucks/templates/task-list.html",
"type": "nunjucks"
},
{
"name": "Check answers page",
"path": "/lib/nunjucks/templates/check-answers.html",
Expand Down
1 change: 1 addition & 0 deletions known-plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"available": [
"govuk-frontend",
"@govuk-prototype-kit/step-by-step",
"@govuk-prototype-kit/task-list",
"hmrc-frontend",
"jquery"
]
Expand Down
2 changes: 1 addition & 1 deletion lib/manage-prototype-handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ async function prepareForPluginPage () {
all.forEach(packageInfo => {
if (packageInfo.installedVersion) {
installedOut.plugins.push(packageInfo)
} else {
} else if (packageInfo.latestVersion) {
availableOut.plugins.push(packageInfo)
}
})
Expand Down
104 changes: 0 additions & 104 deletions lib/nunjucks/templates/task-list.html

This file was deleted.

0 comments on commit d2cc61c

Please sign in to comment.