├── .github ├── ISSUE_TEMPLATE │ ├── bug-report.md │ ├── config.yml │ ├── documentation.md │ ├── feature-request.md │ ├── internal-story.md │ └── tech-debt.yaml └── workflows │ ├── lint.yaml │ ├── test-acceptance.yaml │ ├── test-heroku.yaml │ ├── test.yaml │ └── validate.yaml ├── .gitignore ├── .nvmrc ├── CHANGELOG.md ├── CODEOWNERS ├── CONTRIBUTING.md ├── LICENCE.txt ├── Procfile ├── README.md ├── __tests__ ├── fixtures │ ├── mockNunjucksIncludes │ │ └── govuk │ │ │ └── template.njk │ ├── mockPlugins │ │ ├── invalid-plugin │ │ │ ├── govuk-prototype-kit.config.json │ │ │ └── macros │ │ │ │ └── foo-bar.njk │ │ ├── plugin-empty-config │ │ │ └── govuk-prototype-kit.config.json │ │ ├── plugin-invalid-json │ │ │ └── govuk-prototype-kit.config.json │ │ ├── plugin-invalid-keys │ │ │ └── govuk-prototype-kit.config.json │ │ ├── plugin-no-config │ │ │ └── test.js │ │ └── valid-plugin │ │ │ ├── filters.js │ │ │ ├── foo-field.njk │ │ │ ├── functions.js │ │ │ ├── govuk-prototype-kit.config.json │ │ │ ├── javascripts │ │ │ ├── modules │ │ │ │ ├── foo-module-one.js │ │ │ │ └── foo-module-two.js │ │ │ ├── step-by-step-navigation.js │ │ │ └── step-by-step-polyfills.js │ │ │ ├── sass │ │ │ ├── _step-by-step-navigation-header.scss │ │ │ ├── _step-by-step-navigation-related.scss │ │ │ └── _step-by-step-navigation.scss │ │ │ └── templates │ │ │ ├── start-with-step-by-step.html │ │ │ └── step-by-step-navigation.html │ └── test-v11-prototype │ │ ├── .gitignore │ │ ├── VERSION.txt │ │ ├── app │ │ ├── assets │ │ │ ├── images │ │ │ │ └── separator-2x.png │ │ │ ├── javascripts │ │ │ │ └── application.js │ │ │ └── sass │ │ │ │ └── application.scss │ │ ├── config.js │ │ ├── filters.js │ │ ├── routes.js │ │ └── views │ │ │ ├── index.html │ │ │ ├── layout.html │ │ │ └── nested-test-folder │ │ │ └── unbranded-test.html │ │ ├── listen-on-port.js │ │ ├── server.js │ │ └── start.js ├── spec │ ├── build.js │ ├── errors.js │ ├── force-https-redirect.js │ ├── install.js │ ├── migrate.js │ ├── plugin-validator.js │ └── sanity-checks.js └── utils │ ├── index.js │ └── mock-file-system.js ├── app.json ├── bin ├── cli └── utils │ ├── argv-parser.js │ ├── argv-parser.spec.js │ └── index.js ├── cypress.config.js ├── cypress ├── e2e │ ├── dev │ │ ├── 1-watch-files │ │ │ ├── watch-config.cypress.js │ │ │ ├── watch-filters.cypress.js │ │ │ ├── watch-functions.cypress.js │ │ │ ├── watch-images.cypress.js │ │ │ ├── watch-javascripts.cypress.js │ │ │ ├── watch-routes.cypress.js │ │ │ └── watch-views.cypress.js │ │ ├── 2-page-component-tests │ │ │ └── checkboxes.cypress.js │ │ ├── 3-link-page-tests │ │ │ ├── branching-journey.cypress.js │ │ │ ├── change-answers.cypress.js │ │ │ ├── link-index-to-start.cypress.js │ │ │ ├── link-page-utils.js │ │ │ └── simple-journey.cypress.js │ │ ├── 4-step-by-step-tests │ │ │ └── step-by-step-journey.cypress.js │ │ ├── 5-management-tests │ │ │ ├── change-service-name.cypress.js │ │ │ ├── clear-data-page.cypress.js │ │ │ ├── edit-home-page.cypress.js │ │ │ ├── management-available.cypress.js │ │ │ └── no-autodatastore-on-management-pages.cypress.js │ │ ├── 6-layout-tests │ │ │ ├── default-layout.cypress.js │ │ │ └── title-variable.cypress.js │ │ └── 7-backup-homepage │ │ │ └── backup-homepage.cypress.js │ ├── errors │ │ └── 1-error-page-tests │ │ │ ├── fatal-error.cypress.js │ │ │ ├── page-not-found-error.cypress.js │ │ │ └── server-error.cypress.js │ ├── plugins │ │ ├── 0-mock-plugin-tests │ │ │ ├── install-plugin-via-cli-test.cypress.js │ │ │ ├── install-plugin-via-ui-test.cypress.js │ │ │ ├── multi-combined-plugin-test.cypress.js │ │ │ ├── multi-plugin-test.cypress.js │ │ │ └── single-plugin-test.cypress.js │ │ ├── 1-available-plugins-tests │ │ │ ├── available-plugins.cypress.js │ │ │ ├── install-available-plugin.cypress.js │ │ │ ├── install-common-templates-plugin-from-templates-page.cypress.js │ │ │ ├── preview-template-view.cypress.js │ │ │ └── view-template-with-default-layout.cypress.js │ │ ├── 2-prototype-kit-plugin-tests │ │ │ ├── allow-upgrade-in-url.cypress.js │ │ │ ├── handle-plugin-installation-mismatch.cypress.js │ │ │ ├── handle-plugin-update-when-a-dependency-is-now-required.cypress.js │ │ │ ├── prevent-uninstalling-kit-from-ui.cypress.js │ │ │ └── remove-govuk-frontend.cypress.js │ │ └── plugin-utils.js │ ├── prod │ │ ├── 1-home-page-tests │ │ │ └── home-page-in-production.cypress.js │ │ └── 2-management-tests │ │ │ ├── management-not-available.cypress.js │ │ │ └── password-page.cypress.js │ ├── smoke │ │ └── 0-smoke-tests │ │ │ └── index-page.cypress.js │ ├── step-by-step-utils.js │ ├── styles │ │ └── 1-watch-styles │ │ │ ├── watch-custom-styles.cypress.js │ │ │ ├── watch-settings-styles.cypress.js │ │ │ └── watch-styles.cypress.js │ └── utils.js ├── events │ └── index.js ├── fixtures │ ├── broken-session-data-defaults.js │ ├── completely-broken-routes.js │ ├── components │ │ ├── juggling-balls-component.html │ │ ├── juggling-balls-route-component.js │ │ └── juggling-trick-component.html │ ├── images │ │ └── larry-the-cat.jpg │ ├── plugins │ │ ├── plugin-bar │ │ │ ├── filters.js │ │ │ ├── govuk-prototype-kit.config.json │ │ │ ├── package.json │ │ │ ├── sass │ │ │ │ └── bar.scss │ │ │ ├── scripts │ │ │ │ └── bar.js │ │ │ └── views │ │ │ │ └── bar.html │ │ ├── plugin-baz │ │ │ ├── filters.js │ │ │ ├── govuk-prototype-kit.config.json │ │ │ ├── package.json │ │ │ ├── sass │ │ │ │ └── baz.scss │ │ │ ├── scripts │ │ │ │ └── baz.js │ │ │ └── views │ │ │ │ └── baz.njk │ │ ├── plugin-fee │ │ │ ├── govuk-prototype-kit.config.json │ │ │ ├── package.json │ │ │ ├── sass │ │ │ │ └── fee.scss │ │ │ └── templates │ │ │ │ └── fee.njk │ │ └── plugin-foo │ │ │ ├── filters.js │ │ │ ├── functions.js │ │ │ ├── govuk-prototype-kit.config.json │ │ │ ├── macros │ │ │ └── foo-field.html │ │ │ ├── package.json │ │ │ ├── sass │ │ │ └── foo.scss │ │ │ ├── scripts │ │ │ ├── foo-module.js │ │ │ ├── foo-submodule.js │ │ │ └── foo.js │ │ │ └── views │ │ │ └── foo.njk │ ├── routes.js │ ├── sass │ │ ├── broken-styles.scss │ │ └── custom-styles.scss │ └── views │ │ ├── checkbox-test.html │ │ ├── confirmation.html │ │ ├── content.html │ │ ├── custom-styles.html │ │ ├── juggling-check-answers.html │ │ ├── larry-the-cat.html │ │ ├── question.html │ │ ├── start-with-step-by-step.html │ │ ├── start.html │ │ └── step-by-step-navigation.html ├── scripts │ └── run-starter-prototype.js └── support │ ├── commands.js │ └── e2e.js ├── govuk-prototype-kit.config.json ├── index.js ├── internal_docs ├── linting.md ├── releasing │ ├── releasing-from-a-support-branch.md │ └── releasing.md └── technical-architecture.md ├── known-plugins.json ├── lib ├── assets │ ├── images │ │ └── unbranded.ico │ ├── javascripts │ │ ├── auto-store-data.js │ │ ├── kit.js │ │ ├── manage-prototype │ │ │ ├── manage-plugins.js │ │ │ └── manage-plugins.test.js │ │ └── optional │ │ │ └── legacy-govuk-frontend-init.js │ └── sass │ │ ├── includes │ │ └── _error-page.scss │ │ ├── manage-prototype.scss │ │ ├── patterns │ │ ├── _contents-list.scss │ │ ├── _mainstream-guide.scss │ │ └── _related-items.scss │ │ ├── prototype.scss │ │ └── unbranded.scss ├── authentication.js ├── authentication.test.js ├── build.js ├── config.js ├── config.test.js ├── dev-server.js ├── errorServer.js ├── exec.js ├── exec.test.js ├── filters │ ├── api.js │ ├── core-filters.js │ └── filters.test.js ├── final-backup-nunjucks │ └── layouts │ │ └── main.html ├── functions │ ├── api.js │ └── functions.test.js ├── govukFrontendPaths.js ├── manage-prototype-handlers.js ├── manage-prototype-handlers.test.js ├── manage-prototype-routes.js ├── nunjucks │ ├── govuk-prototype-kit │ │ ├── includes │ │ │ ├── homepage-bottom.njk │ │ │ ├── homepage-top.njk │ │ │ ├── scripts.njk │ │ │ ├── stylesheets-plugins.njk │ │ │ └── stylesheets.njk │ │ └── layouts │ │ │ ├── govuk-branded.njk │ │ │ └── unbranded.njk │ ├── nunjucksConfiguration.js │ ├── nunjucksLoader.js │ ├── nunjucksLoader.test.js │ └── views │ │ ├── backup-homepage.njk │ │ ├── error-handling │ │ ├── page-not-found.njk │ │ └── server-error.njk │ │ └── manage-prototype │ │ ├── clear-data-success.njk │ │ ├── clear-data.njk │ │ ├── index.njk │ │ ├── layout.njk │ │ ├── manage-prototype-not-available.njk │ │ ├── password.njk │ │ ├── plugin-install-or-uninstall.njk │ │ ├── plugins.njk │ │ ├── scripts.njk │ │ ├── stylesheets.njk │ │ ├── template-install.njk │ │ ├── template-post-install.njk │ │ └── templates.njk ├── plugins │ ├── packages.js │ ├── packages.spec.js │ ├── plugin-utils.js │ ├── plugin-utils.spec.js │ ├── plugin-validator.js │ ├── plugin-validator.spec.js │ ├── plugins-routes.js │ ├── plugins.js │ └── plugins.test.js ├── routes │ ├── api.js │ └── api.spec.js ├── session-file-store.js ├── session-file-store.test.js ├── session.js ├── session.test.js ├── sync-changes.js ├── sync-changes.test.js ├── usage-data.js ├── usage-data.test.js └── utils │ ├── asyncSerialMap.spec.js │ ├── asyncSeriesMap.js │ ├── errorModel.js │ ├── errorModel.spec.js │ ├── index.js │ ├── paths.js │ ├── performance.js │ ├── requestHttps.js │ ├── utils.test.js │ └── verboseLogger.js ├── listen-on-port.js ├── migrator ├── file-helpers.js ├── file-helpers.spec.js ├── index.js ├── known-old-versions.json ├── logger.js ├── logger.test.js ├── migration-steps.js ├── migration-steps.spec.js ├── migrator.spec.js ├── reporter.js ├── update-steps.js └── update-steps.spec.js ├── npm-shrinkwrap.json ├── package.json ├── prototype-starter └── app │ ├── assets │ ├── javascripts │ │ └── application.js │ └── sass │ │ └── application.scss │ ├── config.json │ ├── data │ └── session-data-defaults.js │ ├── filters.js │ ├── routes.js │ └── views │ ├── index.html │ └── layouts │ └── main.html ├── scripts ├── clean-publish-before-script.sh ├── create-prototype-and-run.js ├── generate-known-version-hashes.js ├── performance-test-prepare ├── performance-test-run ├── prepare-release ├── refresh-companion-kit ├── release-rc.sh └── utils │ └── create-release-pr └── server.js /.github/ISSUE_TEMPLATE/bug-report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/.github/ISSUE_TEMPLATE/bug-report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/documentation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/.github/ISSUE_TEMPLATE/documentation.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/.github/ISSUE_TEMPLATE/feature-request.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/internal-story.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/.github/ISSUE_TEMPLATE/internal-story.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/tech-debt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/.github/ISSUE_TEMPLATE/tech-debt.yaml -------------------------------------------------------------------------------- /.github/workflows/lint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/.github/workflows/lint.yaml -------------------------------------------------------------------------------- /.github/workflows/test-acceptance.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/.github/workflows/test-acceptance.yaml -------------------------------------------------------------------------------- /.github/workflows/test-heroku.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/.github/workflows/test-heroku.yaml -------------------------------------------------------------------------------- /.github/workflows/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/.github/workflows/test.yaml -------------------------------------------------------------------------------- /.github/workflows/validate.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/.github/workflows/validate.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | lts/jod 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENCE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/LICENCE.txt -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/Procfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/fixtures/mockNunjucksIncludes/govuk/template.njk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/fixtures/mockNunjucksIncludes/govuk/template.njk -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/invalid-plugin/govuk-prototype-kit.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/fixtures/mockPlugins/invalid-plugin/govuk-prototype-kit.config.json -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/invalid-plugin/macros/foo-bar.njk: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/plugin-empty-config/govuk-prototype-kit.config.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/plugin-invalid-json/govuk-prototype-kit.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/fixtures/mockPlugins/plugin-invalid-json/govuk-prototype-kit.config.json -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/plugin-invalid-keys/govuk-prototype-kit.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/fixtures/mockPlugins/plugin-invalid-keys/govuk-prototype-kit.config.json -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/plugin-no-config/test.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/valid-plugin/filters.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/valid-plugin/foo-field.njk: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/valid-plugin/functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/fixtures/mockPlugins/valid-plugin/functions.js -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/valid-plugin/govuk-prototype-kit.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/fixtures/mockPlugins/valid-plugin/govuk-prototype-kit.config.json -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/valid-plugin/javascripts/modules/foo-module-one.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/valid-plugin/javascripts/modules/foo-module-two.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/valid-plugin/javascripts/step-by-step-navigation.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/valid-plugin/javascripts/step-by-step-polyfills.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/valid-plugin/sass/_step-by-step-navigation-header.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/valid-plugin/sass/_step-by-step-navigation-related.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/valid-plugin/sass/_step-by-step-navigation.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/valid-plugin/templates/start-with-step-by-step.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /__tests__/fixtures/mockPlugins/valid-plugin/templates/step-by-step-navigation.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /__tests__/fixtures/test-v11-prototype/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /__tests__/fixtures/test-v11-prototype/VERSION.txt: -------------------------------------------------------------------------------- 1 | 11.0.0 2 | -------------------------------------------------------------------------------- /__tests__/fixtures/test-v11-prototype/app/assets/images/separator-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/fixtures/test-v11-prototype/app/assets/images/separator-2x.png -------------------------------------------------------------------------------- /__tests__/fixtures/test-v11-prototype/app/assets/javascripts/application.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/fixtures/test-v11-prototype/app/assets/javascripts/application.js -------------------------------------------------------------------------------- /__tests__/fixtures/test-v11-prototype/app/assets/sass/application.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/fixtures/test-v11-prototype/app/assets/sass/application.scss -------------------------------------------------------------------------------- /__tests__/fixtures/test-v11-prototype/app/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/fixtures/test-v11-prototype/app/config.js -------------------------------------------------------------------------------- /__tests__/fixtures/test-v11-prototype/app/filters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/fixtures/test-v11-prototype/app/filters.js -------------------------------------------------------------------------------- /__tests__/fixtures/test-v11-prototype/app/routes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/fixtures/test-v11-prototype/app/routes.js -------------------------------------------------------------------------------- /__tests__/fixtures/test-v11-prototype/app/views/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/fixtures/test-v11-prototype/app/views/index.html -------------------------------------------------------------------------------- /__tests__/fixtures/test-v11-prototype/app/views/layout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/fixtures/test-v11-prototype/app/views/layout.html -------------------------------------------------------------------------------- /__tests__/fixtures/test-v11-prototype/app/views/nested-test-folder/unbranded-test.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/fixtures/test-v11-prototype/app/views/nested-test-folder/unbranded-test.html -------------------------------------------------------------------------------- /__tests__/fixtures/test-v11-prototype/listen-on-port.js: -------------------------------------------------------------------------------- 1 | // Dummy listen-on-port.js 2 | -------------------------------------------------------------------------------- /__tests__/fixtures/test-v11-prototype/server.js: -------------------------------------------------------------------------------- 1 | // Dummy server.js 2 | -------------------------------------------------------------------------------- /__tests__/fixtures/test-v11-prototype/start.js: -------------------------------------------------------------------------------- 1 | // Dummy start.js 2 | -------------------------------------------------------------------------------- /__tests__/spec/build.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/spec/build.js -------------------------------------------------------------------------------- /__tests__/spec/errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/spec/errors.js -------------------------------------------------------------------------------- /__tests__/spec/force-https-redirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/spec/force-https-redirect.js -------------------------------------------------------------------------------- /__tests__/spec/install.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/spec/install.js -------------------------------------------------------------------------------- /__tests__/spec/migrate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/spec/migrate.js -------------------------------------------------------------------------------- /__tests__/spec/plugin-validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/spec/plugin-validator.js -------------------------------------------------------------------------------- /__tests__/spec/sanity-checks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/spec/sanity-checks.js -------------------------------------------------------------------------------- /__tests__/utils/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/utils/index.js -------------------------------------------------------------------------------- /__tests__/utils/mock-file-system.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/__tests__/utils/mock-file-system.js -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/app.json -------------------------------------------------------------------------------- /bin/cli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/bin/cli -------------------------------------------------------------------------------- /bin/utils/argv-parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/bin/utils/argv-parser.js -------------------------------------------------------------------------------- /bin/utils/argv-parser.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/bin/utils/argv-parser.spec.js -------------------------------------------------------------------------------- /bin/utils/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/bin/utils/index.js -------------------------------------------------------------------------------- /cypress.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress.config.js -------------------------------------------------------------------------------- /cypress/e2e/dev/1-watch-files/watch-config.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/1-watch-files/watch-config.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/1-watch-files/watch-filters.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/1-watch-files/watch-filters.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/1-watch-files/watch-functions.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/1-watch-files/watch-functions.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/1-watch-files/watch-images.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/1-watch-files/watch-images.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/1-watch-files/watch-javascripts.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/1-watch-files/watch-javascripts.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/1-watch-files/watch-routes.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/1-watch-files/watch-routes.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/1-watch-files/watch-views.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/1-watch-files/watch-views.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/2-page-component-tests/checkboxes.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/2-page-component-tests/checkboxes.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/3-link-page-tests/branching-journey.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/3-link-page-tests/branching-journey.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/3-link-page-tests/change-answers.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/3-link-page-tests/change-answers.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/3-link-page-tests/link-index-to-start.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/3-link-page-tests/link-index-to-start.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/3-link-page-tests/link-page-utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/3-link-page-tests/link-page-utils.js -------------------------------------------------------------------------------- /cypress/e2e/dev/3-link-page-tests/simple-journey.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/3-link-page-tests/simple-journey.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/4-step-by-step-tests/step-by-step-journey.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/4-step-by-step-tests/step-by-step-journey.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/5-management-tests/change-service-name.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/5-management-tests/change-service-name.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/5-management-tests/clear-data-page.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/5-management-tests/clear-data-page.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/5-management-tests/edit-home-page.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/5-management-tests/edit-home-page.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/5-management-tests/management-available.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/5-management-tests/management-available.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/5-management-tests/no-autodatastore-on-management-pages.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/5-management-tests/no-autodatastore-on-management-pages.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/6-layout-tests/default-layout.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/6-layout-tests/default-layout.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/6-layout-tests/title-variable.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/6-layout-tests/title-variable.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/dev/7-backup-homepage/backup-homepage.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/dev/7-backup-homepage/backup-homepage.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/errors/1-error-page-tests/fatal-error.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/errors/1-error-page-tests/fatal-error.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/errors/1-error-page-tests/page-not-found-error.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/errors/1-error-page-tests/page-not-found-error.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/errors/1-error-page-tests/server-error.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/errors/1-error-page-tests/server-error.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/plugins/0-mock-plugin-tests/install-plugin-via-cli-test.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/plugins/0-mock-plugin-tests/install-plugin-via-cli-test.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/plugins/0-mock-plugin-tests/install-plugin-via-ui-test.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/plugins/0-mock-plugin-tests/install-plugin-via-ui-test.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/plugins/0-mock-plugin-tests/multi-combined-plugin-test.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/plugins/0-mock-plugin-tests/multi-combined-plugin-test.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/plugins/0-mock-plugin-tests/multi-plugin-test.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/plugins/0-mock-plugin-tests/multi-plugin-test.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/plugins/0-mock-plugin-tests/single-plugin-test.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/plugins/0-mock-plugin-tests/single-plugin-test.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/plugins/1-available-plugins-tests/available-plugins.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/plugins/1-available-plugins-tests/available-plugins.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/plugins/1-available-plugins-tests/install-available-plugin.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/plugins/1-available-plugins-tests/install-available-plugin.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/plugins/1-available-plugins-tests/install-common-templates-plugin-from-templates-page.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/plugins/1-available-plugins-tests/install-common-templates-plugin-from-templates-page.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/plugins/1-available-plugins-tests/preview-template-view.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/plugins/1-available-plugins-tests/preview-template-view.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/plugins/1-available-plugins-tests/view-template-with-default-layout.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/plugins/1-available-plugins-tests/view-template-with-default-layout.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/plugins/2-prototype-kit-plugin-tests/allow-upgrade-in-url.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/plugins/2-prototype-kit-plugin-tests/allow-upgrade-in-url.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/plugins/2-prototype-kit-plugin-tests/handle-plugin-installation-mismatch.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/plugins/2-prototype-kit-plugin-tests/handle-plugin-installation-mismatch.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/plugins/2-prototype-kit-plugin-tests/handle-plugin-update-when-a-dependency-is-now-required.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/plugins/2-prototype-kit-plugin-tests/handle-plugin-update-when-a-dependency-is-now-required.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/plugins/2-prototype-kit-plugin-tests/prevent-uninstalling-kit-from-ui.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/plugins/2-prototype-kit-plugin-tests/prevent-uninstalling-kit-from-ui.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/plugins/2-prototype-kit-plugin-tests/remove-govuk-frontend.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/plugins/2-prototype-kit-plugin-tests/remove-govuk-frontend.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/plugins/plugin-utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/plugins/plugin-utils.js -------------------------------------------------------------------------------- /cypress/e2e/prod/1-home-page-tests/home-page-in-production.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/prod/1-home-page-tests/home-page-in-production.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/prod/2-management-tests/management-not-available.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/prod/2-management-tests/management-not-available.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/prod/2-management-tests/password-page.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/prod/2-management-tests/password-page.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/smoke/0-smoke-tests/index-page.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/smoke/0-smoke-tests/index-page.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/step-by-step-utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/step-by-step-utils.js -------------------------------------------------------------------------------- /cypress/e2e/styles/1-watch-styles/watch-custom-styles.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/styles/1-watch-styles/watch-custom-styles.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/styles/1-watch-styles/watch-settings-styles.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/styles/1-watch-styles/watch-settings-styles.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/styles/1-watch-styles/watch-styles.cypress.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/styles/1-watch-styles/watch-styles.cypress.js -------------------------------------------------------------------------------- /cypress/e2e/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/e2e/utils.js -------------------------------------------------------------------------------- /cypress/events/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/events/index.js -------------------------------------------------------------------------------- /cypress/fixtures/broken-session-data-defaults.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | 'broken' 3 | } 4 | -------------------------------------------------------------------------------- /cypress/fixtures/completely-broken-routes.js: -------------------------------------------------------------------------------- 1 | lkewjflkjadsf // eslint-disable-line 2 | -------------------------------------------------------------------------------- /cypress/fixtures/components/juggling-balls-component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/fixtures/components/juggling-balls-component.html -------------------------------------------------------------------------------- /cypress/fixtures/components/juggling-balls-route-component.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/fixtures/components/juggling-balls-route-component.js -------------------------------------------------------------------------------- /cypress/fixtures/components/juggling-trick-component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/fixtures/components/juggling-trick-component.html -------------------------------------------------------------------------------- /cypress/fixtures/images/larry-the-cat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/fixtures/images/larry-the-cat.jpg -------------------------------------------------------------------------------- /cypress/fixtures/plugins/plugin-bar/filters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/fixtures/plugins/plugin-bar/filters.js -------------------------------------------------------------------------------- /cypress/fixtures/plugins/plugin-bar/govuk-prototype-kit.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/fixtures/plugins/plugin-bar/govuk-prototype-kit.config.json -------------------------------------------------------------------------------- /cypress/fixtures/plugins/plugin-bar/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/fixtures/plugins/plugin-bar/package.json -------------------------------------------------------------------------------- /cypress/fixtures/plugins/plugin-bar/sass/bar.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/fixtures/plugins/plugin-bar/sass/bar.scss -------------------------------------------------------------------------------- /cypress/fixtures/plugins/plugin-bar/scripts/bar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alphagov/govuk-prototype-kit/HEAD/cypress/fixtures/plugins/plugin-bar/scripts/bar.js -------------------------------------------------------------------------------- /cypress/fixtures/plugins/plugin-bar/views/bar.html: -------------------------------------------------------------------------------- 1 |