hof 22.7.7 → 22.8.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.nyc_output/f21ac10e-0bc9-4517-b2d8-7b1808d157cc.json +1 -0
- package/.nyc_output/processinfo/f21ac10e-0bc9-4517-b2d8-7b1808d157cc.json +1 -0
- package/.nyc_output/processinfo/index.json +1 -0
- package/CHANGELOG.md +4 -0
- package/README.md +15 -0
- package/build/tasks/browserify/index.js +12 -1
- package/build/tasks/sass/index.js +34 -5
- package/config/builder-defaults.js +4 -2
- package/frontend/govuk-template/govuk_template_generated.html +102 -0
- package/package.json +2 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"parent":null,"pid":78983,"argv":["/Users/gregory.austin/.nvm/versions/node/v20.19.0/bin/node","/Users/gregory.austin/Developer/Projects/hof/node_modules/.bin/_mocha","test/**/*.spec.js","sandbox/test/**/*.spec.js"],"execArgv":[],"cwd":"/Users/gregory.austin/Developer/Projects/hof","time":1752487091149,"ppid":78979,"coverageFilename":"/Users/gregory.austin/Developer/Projects/hof/.nyc_output/f21ac10e-0bc9-4517-b2d8-7b1808d157cc.json","externalId":"","uuid":"f21ac10e-0bc9-4517-b2d8-7b1808d157cc","files":["/Users/gregory.austin/Developer/Projects/hof/model/index.js","/Users/gregory.austin/Developer/Projects/hof/model/apis/axios-settings.js","/Users/gregory.austin/Developer/Projects/hof/components/index.js","/Users/gregory.austin/Developer/Projects/hof/components/address-lookup/index.js","/Users/gregory.austin/Developer/Projects/hof/components/address-lookup/default-model.js","/Users/gregory.austin/Developer/Projects/hof/components/address-lookup/defaults.js","/Users/gregory.austin/Developer/Projects/hof/components/clear-session/index.js","/Users/gregory.austin/Developer/Projects/hof/components/combine-and-loop-fields/index.js","/Users/gregory.austin/Developer/Projects/hof/components/date/index.js","/Users/gregory.austin/Developer/Projects/hof/components/date/fields.js","/Users/gregory.austin/Developer/Projects/hof/components/emailer/index.js","/Users/gregory.austin/Developer/Projects/hof/components/emailer/email-service.js","/Users/gregory.austin/Developer/Projects/hof/components/emailer/emailer.js","/Users/gregory.austin/Developer/Projects/hof/components/emailer/transports/index.js","/Users/gregory.austin/Developer/Projects/hof/components/emailer/transports/smtp.js","/Users/gregory.austin/Developer/Projects/hof/components/emailer/transports/ses.js","/Users/gregory.austin/Developer/Projects/hof/components/emailer/transports/stub.js","/Users/gregory.austin/Developer/Projects/hof/components/emailer/transports/debug.js","/Users/gregory.austin/Developer/Projects/hof/components/homeoffice-countries/index.js","/Users/gregory.austin/Developer/Projects/hof/config/component-defaults.js","/Users/gregory.austin/Developer/Projects/hof/components/notify/index.js","/Users/gregory.austin/Developer/Projects/hof/components/notify/notify.js","/Users/gregory.austin/Developer/Projects/hof/config/hof-defaults.js","/Users/gregory.austin/Developer/Projects/hof/config/rate-limits.js","/Users/gregory.austin/Developer/Projects/hof/utilities/helpers/index.js","/Users/gregory.austin/Developer/Projects/hof/lib/logger.js","/Users/gregory.austin/Developer/Projects/hof/components/summary/index.js","/Users/gregory.austin/Developer/Projects/hof/middleware/rate-limiter.js","/Users/gregory.austin/Developer/Projects/hof/components/session-timeout-warning/index.js","/Users/gregory.austin/Developer/Projects/hof/controller/base-controller.js","/Users/gregory.austin/Developer/Projects/hof/controller/formatting/index.js","/Users/gregory.austin/Developer/Projects/hof/controller/validation/index.js","/Users/gregory.austin/Developer/Projects/hof/controller/validation/validators.js","/Users/gregory.austin/Developer/Projects/hof/controller/validation/email.js","/Users/gregory.austin/Developer/Projects/hof/controller/validation-error.js","/Users/gregory.austin/Developer/Projects/hof/utilities/index.js","/Users/gregory.austin/Developer/Projects/hof/utilities/autofill/index.js","/Users/gregory.austin/Developer/Projects/hof/utilities/autofill/inputs.js","/Users/gregory.austin/Developer/Projects/hof/utilities/test-data/index.js","/Users/gregory.austin/Developer/Projects/hof/utilities/countries.js","/Users/gregory.austin/Developer/Projects/hof/utilities/reqres/index.js","/Users/gregory.austin/Developer/Projects/hof/config/sanitisation-rules.js","/Users/gregory.austin/Developer/Projects/hof/controller/formatting/formatters.js","/Users/gregory.austin/Developer/Projects/hof/controller/index.js","/Users/gregory.austin/Developer/Projects/hof/controller/behaviour-session.js","/Users/gregory.austin/Developer/Projects/hof/controller/behaviour-hooks.js","/Users/gregory.austin/Developer/Projects/hof/controller/controller.js","/Users/gregory.austin/Developer/Projects/hof/sandbox/apps/sandbox/behaviours/country-select.js","/Users/gregory.austin/Developer/Projects/hof/frontend/template-mixins/mixins/index.js","/Users/gregory.austin/Developer/Projects/hof/frontend/template-mixins/mixins/template-mixins.js","/Users/gregory.austin/Developer/Projects/hof/frontend/template-mixins/mixins/render.js","/Users/gregory.austin/Developer/Projects/hof/frontend/template-mixins/mixins/helpers.js","/Users/gregory.austin/Developer/Projects/hof/index.js","/Users/gregory.austin/Developer/Projects/hof/frontend/index.js","/Users/gregory.austin/Developer/Projects/hof/frontend/govuk-template/index.js","/Users/gregory.austin/Developer/Projects/hof/frontend/govuk-template/build/index.js","/Users/gregory.austin/Developer/Projects/hof/frontend/govuk-template/build/config.js","/Users/gregory.austin/Developer/Projects/hof/frontend/template-partials/index.js","/Users/gregory.austin/Developer/Projects/hof/frontend/template-partials/translations/index.js","/Users/gregory.austin/Developer/Projects/hof/frontend/themes/index.js","/Users/gregory.austin/Developer/Projects/hof/frontend/themes/gov-uk/index.js","/Users/gregory.austin/Developer/Projects/hof/frontend/toolkit/index.js","/Users/gregory.austin/Developer/Projects/hof/frontend/toolkit/assets/javascript/helpers.js","/Users/gregory.austin/Developer/Projects/hof/frontend/toolkit/assets/javascript/form-focus.js","/Users/gregory.austin/Developer/Projects/hof/frontend/toolkit/assets/javascript/progressive-reveal.js","/Users/gregory.austin/Developer/Projects/hof/frontend/toolkit/assets/javascript/validation.js","/Users/gregory.austin/Developer/Projects/hof/frontend/toolkit/assets/javascript/character-count.js","/Users/gregory.austin/Developer/Projects/hof/middleware/index.js","/Users/gregory.austin/Developer/Projects/hof/middleware/cookies.js","/Users/gregory.austin/Developer/Projects/hof/middleware/errors.js","/Users/gregory.austin/Developer/Projects/hof/middleware/not-found.js","/Users/gregory.austin/Developer/Projects/hof/middleware/deep-translate.js","/Users/gregory.austin/Developer/Projects/hof/middleware/service-unavailable.js","/Users/gregory.austin/Developer/Projects/hof/lib/markdown.js","/Users/gregory.austin/Developer/Projects/hof/lib/router.js","/Users/gregory.austin/Developer/Projects/hof/wizard/index.js","/Users/gregory.austin/Developer/Projects/hof/wizard/behaviours/index.js","/Users/gregory.austin/Developer/Projects/hof/wizard/behaviours/complete.js","/Users/gregory.austin/Developer/Projects/hof/wizard/util/constants.js","/Users/gregory.austin/Developer/Projects/hof/lib/helpers.js","/Users/gregory.austin/Developer/Projects/hof/lib/health.js","/Users/gregory.austin/Developer/Projects/hof/lib/serve-static.js","/Users/gregory.austin/Developer/Projects/hof/lib/ga-tag.js","/Users/gregory.austin/Developer/Projects/hof/lib/deindex.js","/Users/gregory.austin/Developer/Projects/hof/lib/sessions.js","/Users/gregory.austin/Developer/Projects/hof/lib/settings.js","/Users/gregory.austin/Developer/Projects/hof/build/index.js","/Users/gregory.austin/Developer/Projects/hof/config/builder-defaults.js","/Users/gregory.austin/Developer/Projects/hof/transpiler/index.js","/Users/gregory.austin/Developer/Projects/hof/transpiler/lib/compile.js","/Users/gregory.austin/Developer/Projects/hof/transpiler/lib/build.js","/Users/gregory.austin/Developer/Projects/hof/transpiler/lib/expand-dirs.js","/Users/gregory.austin/Developer/Projects/hof/transpiler/lib/aggregate.js","/Users/gregory.austin/Developer/Projects/hof/transpiler/lib/write-files.js","/Users/gregory.austin/Developer/Projects/hof/model/apis/index.js","/Users/gregory.austin/Developer/Projects/hof/model/apis/html-to-pdf-converter.js","/Users/gregory.austin/Developer/Projects/hof/wizard/model.js","/Users/gregory.austin/Developer/Projects/hof/wizard/middleware/back-links.js","/Users/gregory.austin/Developer/Projects/hof/wizard/util/helpers.js","/Users/gregory.austin/Developer/Projects/hof/wizard/middleware/check-complete.js","/Users/gregory.austin/Developer/Projects/hof/wizard/middleware/check-progress.js","/Users/gregory.austin/Developer/Projects/hof/wizard/middleware/check-session.js","/Users/gregory.austin/Developer/Projects/hof/wizard/middleware/csrf.js","/Users/gregory.austin/Developer/Projects/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js","/Users/gregory.austin/Developer/Projects/hof/sandbox/apps/sandbox/sections/summary-data-sections.js","/Users/gregory.austin/Developer/Projects/hof/sandbox/apps/sandbox/lib/staticAppealStages.js","/Users/gregory.austin/Developer/Projects/hof/sandbox/apps/sandbox/fields.js","/Users/gregory.austin/Developer/Projects/hof/sandbox/test/helpers/utilities.js","/Users/gregory.austin/Developer/Projects/hof/sandbox/apps/sandbox/behaviours/international-number.js","/Users/gregory.austin/Developer/Projects/hof/lib/encryption.js","/Users/gregory.austin/Developer/Projects/hof/wizard/middleware/session.js","/Users/gregory.austin/Developer/Projects/hof/wizard/middleware/session-model.js"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"processes":{"f21ac10e-0bc9-4517-b2d8-7b1808d157cc":{"parent":null,"children":[]}},"files":{"/Users/gregory.austin/Developer/Projects/hof/model/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/model/apis/axios-settings.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/address-lookup/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/address-lookup/default-model.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/address-lookup/defaults.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/clear-session/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/combine-and-loop-fields/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/date/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/date/fields.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/emailer/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/emailer/email-service.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/emailer/emailer.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/emailer/transports/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/emailer/transports/smtp.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/emailer/transports/ses.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/emailer/transports/stub.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/emailer/transports/debug.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/homeoffice-countries/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/config/component-defaults.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/notify/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/notify/notify.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/config/hof-defaults.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/config/rate-limits.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/utilities/helpers/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/lib/logger.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/summary/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/middleware/rate-limiter.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/components/session-timeout-warning/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/controller/base-controller.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/controller/formatting/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/controller/validation/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/controller/validation/validators.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/controller/validation/email.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/controller/validation-error.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/utilities/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/utilities/autofill/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/utilities/autofill/inputs.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/utilities/test-data/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/utilities/countries.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/utilities/reqres/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/config/sanitisation-rules.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/controller/formatting/formatters.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/controller/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/controller/behaviour-session.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/controller/behaviour-hooks.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/controller/controller.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/sandbox/apps/sandbox/behaviours/country-select.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/template-mixins/mixins/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/template-mixins/mixins/template-mixins.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/template-mixins/mixins/render.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/template-mixins/mixins/helpers.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/govuk-template/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/govuk-template/build/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/govuk-template/build/config.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/template-partials/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/template-partials/translations/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/themes/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/themes/gov-uk/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/toolkit/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/toolkit/assets/javascript/helpers.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/toolkit/assets/javascript/form-focus.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/toolkit/assets/javascript/progressive-reveal.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/toolkit/assets/javascript/validation.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/frontend/toolkit/assets/javascript/character-count.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/middleware/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/middleware/cookies.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/middleware/errors.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/middleware/not-found.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/middleware/deep-translate.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/middleware/service-unavailable.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/lib/markdown.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/lib/router.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/wizard/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/wizard/behaviours/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/wizard/behaviours/complete.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/wizard/util/constants.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/lib/helpers.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/lib/health.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/lib/serve-static.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/lib/ga-tag.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/lib/deindex.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/lib/sessions.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/lib/settings.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/build/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/config/builder-defaults.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/transpiler/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/transpiler/lib/compile.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/transpiler/lib/build.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/transpiler/lib/expand-dirs.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/transpiler/lib/aggregate.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/transpiler/lib/write-files.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/model/apis/index.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/model/apis/html-to-pdf-converter.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/wizard/model.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/wizard/middleware/back-links.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/wizard/util/helpers.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/wizard/middleware/check-complete.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/wizard/middleware/check-progress.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/wizard/middleware/check-session.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/wizard/middleware/csrf.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/sandbox/test/_unit/example_app/sections/summary-data-sections.spec.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/sandbox/apps/sandbox/sections/summary-data-sections.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/sandbox/apps/sandbox/lib/staticAppealStages.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/sandbox/apps/sandbox/fields.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/sandbox/test/helpers/utilities.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/sandbox/apps/sandbox/behaviours/international-number.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/lib/encryption.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/wizard/middleware/session.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"],"/Users/gregory.austin/Developer/Projects/hof/wizard/middleware/session-model.js":["f21ac10e-0bc9-4517-b2d8-7b1808d157cc"]},"externalIds":{}}
|
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 2025-07-04, Version 22.8.0 (Stable), @gregaustinHO
|
2
|
+
### Added
|
3
|
+
- Add support for source maps while debugging
|
4
|
+
|
1
5
|
## 2025-07-09, Version 22.7.6 (Stable), @robertdeniszczyc2 @sulthan-ahmed
|
2
6
|
### Changed
|
3
7
|
- Updated SVG handling and related dependencies to address issues and improve compatibility.
|
package/README.md
CHANGED
@@ -68,6 +68,21 @@ It is recommended to alias `hof-build` to an npm script in your package.json.
|
|
68
68
|
Note: For SASS compilation it's possible to additionally configure the following options via the hof.settings file (see the configuration section below)
|
69
69
|
- `outputStyle` - Controls whether the CSS output is compressed or not, expanded (default) = non compressed and compressed = compressed CSS output.
|
70
70
|
- `quietDeps` - This controls whether you get deprecation warning shown in the console output, if set to false (default) SASS deprecation warnings will be shown in the console, if set to true then deprecation warnings will not be shown in the console output.
|
71
|
+
- `sourceMaps` - This controls whether the build will output css sourcemaps to help with debugging. These will be output to the same directory as the css output as a .map file. This option is not currently available in production.
|
72
|
+
|
73
|
+
For JavaScript compilation, browserify can be set to debug mode by setting the `debug` option to true. This will cause browserify to output JavaScript sourcemaps as a .js.map file to the same directory as the js bundle.
|
74
|
+
|
75
|
+
Debugging example (in hof.settings or your build config)
|
76
|
+
```
|
77
|
+
"build": {
|
78
|
+
"sass": {
|
79
|
+
"sourceMaps": true
|
80
|
+
},
|
81
|
+
"browserify": {
|
82
|
+
"debug": true
|
83
|
+
}
|
84
|
+
}
|
85
|
+
```
|
71
86
|
|
72
87
|
## Watch
|
73
88
|
|
@@ -4,6 +4,7 @@ const browserify = require('browserify');
|
|
4
4
|
const fs = require('fs');
|
5
5
|
const path = require('path');
|
6
6
|
const minify = require('./compress');
|
7
|
+
const exorcist = require('exorcist');
|
7
8
|
|
8
9
|
const mkdir = require('../../lib/mkdir');
|
9
10
|
|
@@ -14,9 +15,12 @@ module.exports = config => {
|
|
14
15
|
|
15
16
|
const out = path.resolve(process.cwd(), config.browserify.out);
|
16
17
|
|
18
|
+
// Enable debug mode (builds source maps) only if not in production
|
19
|
+
const debugMode = !config.production && config.browserify.debug;
|
20
|
+
|
17
21
|
return mkdir(out)
|
18
22
|
.then(() => new Promise((resolve, reject) => {
|
19
|
-
const bundler = browserify(config.browserify.src);
|
23
|
+
const bundler = browserify(config.browserify.src, {debug: debugMode});
|
20
24
|
if (config.theme) {
|
21
25
|
bundler.transform(require('aliasify'), {
|
22
26
|
aliases: {
|
@@ -28,6 +32,13 @@ module.exports = config => {
|
|
28
32
|
if (config.browserify.compress || config.production) {
|
29
33
|
stream = stream.pipe(minify());
|
30
34
|
}
|
35
|
+
|
36
|
+
// If debugging, use exorcist to extract a source map
|
37
|
+
if (debugMode) {
|
38
|
+
const mapPath = path.join(path.dirname(out), path.basename(out) + '.map');
|
39
|
+
stream = stream.pipe(exorcist(mapPath));
|
40
|
+
}
|
41
|
+
|
31
42
|
stream = stream.pipe(fs.createWriteStream(out));
|
32
43
|
|
33
44
|
stream.on('finish', resolve).on('error', reject);
|
@@ -6,6 +6,8 @@ const path = require('path');
|
|
6
6
|
const sass = require('sass');
|
7
7
|
const importer = require('../../helpers/importer');
|
8
8
|
const mkdir = require('../../lib/mkdir');
|
9
|
+
const hofConfig = require('../../../config/hof-defaults');
|
10
|
+
const logger = require('../../../lib/logger')(hofConfig);
|
9
11
|
|
10
12
|
module.exports = config => {
|
11
13
|
if (!config.sass) {
|
@@ -23,16 +25,43 @@ module.exports = config => {
|
|
23
25
|
aliases.$$theme = `hof-theme-${config.theme}`;
|
24
26
|
}
|
25
27
|
|
28
|
+
// Build source maps if we are not in production
|
29
|
+
const createSourceMaps = !config.production && config.sass.sourceMaps;
|
30
|
+
|
26
31
|
sass.render({
|
27
32
|
file: config.sass.src,
|
28
33
|
importer: importer({ aliases }),
|
29
34
|
aliases,
|
30
35
|
outputStyle: config.sass.outputStyle,
|
31
|
-
quietDeps: config.sass.quietDeps
|
32
|
-
|
36
|
+
quietDeps: config.sass.quietDeps,
|
37
|
+
outFile: out,
|
38
|
+
sourceMap: createSourceMaps
|
39
|
+
}, (err, result) => err ? reject(err) : resolve(result));
|
33
40
|
}))
|
34
|
-
.then(
|
35
|
-
|
36
|
-
|
41
|
+
.then(result => {
|
42
|
+
// Write the compiled CSS to the output file
|
43
|
+
const writeCss = new Promise((resolve, reject) => {
|
44
|
+
fs.writeFile(out, result.css, err => err ? reject(err) : resolve());
|
45
|
+
});
|
46
|
+
|
47
|
+
// If a sourcemap was generated, write it to a separate file
|
48
|
+
if (result.map) {
|
49
|
+
const mapPath = path.join(path.dirname(out), path.basename(out) + '.map');
|
50
|
+
const writeMap = new Promise((resolve, reject) => {
|
51
|
+
fs.writeFile(mapPath, result.map, err => {
|
52
|
+
if (err) {
|
53
|
+
logger.error('Failed to create sourcemap:', err);
|
54
|
+
reject(err);
|
55
|
+
} else {
|
56
|
+
logger.info('Sourcemap created successfully:', mapPath);
|
57
|
+
resolve();
|
58
|
+
}
|
59
|
+
});
|
60
|
+
});
|
61
|
+
return Promise.all([writeCss, writeMap]);
|
62
|
+
}
|
63
|
+
|
64
|
+
return writeCss;
|
65
|
+
});
|
37
66
|
};
|
38
67
|
module.exports.task = 'compile sass';
|
@@ -6,7 +6,8 @@ module.exports = {
|
|
6
6
|
out: 'public/js/bundle.js',
|
7
7
|
match: 'assets/js/**/*.js',
|
8
8
|
restart: false,
|
9
|
-
compress: false
|
9
|
+
compress: false,
|
10
|
+
debug: false
|
10
11
|
},
|
11
12
|
sass: {
|
12
13
|
src: 'assets/scss/app.scss',
|
@@ -14,7 +15,8 @@ module.exports = {
|
|
14
15
|
match: 'assets/scss/**/*.scss',
|
15
16
|
restart: false,
|
16
17
|
quietDeps: false,
|
17
|
-
outputStyle: 'expanded'
|
18
|
+
outputStyle: 'expanded',
|
19
|
+
sourceMaps: false
|
18
20
|
},
|
19
21
|
translate: {
|
20
22
|
src: 'apps/**/translations/src',
|
@@ -0,0 +1,102 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE html>
|
3
|
+
<!--[if lt IE 9]><html class="lte-ie8" lang="{{htmlLang}}"><![endif]-->
|
4
|
+
<!--[if gt IE 8]><!--><html lang="{{htmlLang}}" class="govuk-template"><!--<![endif]-->
|
5
|
+
<head>
|
6
|
+
<meta charset="utf-8" />
|
7
|
+
<title>{{$pageTitle}}{{/pageTitle}}</title>
|
8
|
+
{{$head}}{{/head}}
|
9
|
+
|
10
|
+
<link rel="shortcut icon" sizes="16x16 32x32 48x48" href="{{govukAssetPath}}images/favicon.ico" type="image/x-icon">
|
11
|
+
<link rel="mask-icon" href="{{govukAssetPath}}images/govuk-mask-icon.svg" color="#0b0c0c">
|
12
|
+
<link rel="apple-touch-icon" sizes="180x180" href="{{govukAssetPath}}images/govuk-apple-touch-icon-180x180.png">
|
13
|
+
<link rel="apple-touch-icon" sizes="167x167" href="{{govukAssetPath}}images/govuk-apple-touch-icon-167x167.png">
|
14
|
+
<link rel="apple-touch-icon" sizes="152x152" href="{{govukAssetPath}}images/govuk-apple-touch-icon-152x152.png">
|
15
|
+
<link rel="apple-touch-icon" href="{{govukAssetPath}}images/govuk-apple-touch-icon.png">
|
16
|
+
|
17
|
+
|
18
|
+
<meta name="theme-color" content="#0b0c0c" />
|
19
|
+
|
20
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
21
|
+
|
22
|
+
|
23
|
+
<meta property="og:image" content="{{govukAssetPath}}images/opengraph-image.png">
|
24
|
+
</head>
|
25
|
+
|
26
|
+
<body class="{{$bodyClasses}}{{/bodyClasses}} govuk-template__body js-enabled" >
|
27
|
+
<script {{#nonce}}nonce="{{nonce}}"{{/nonce}}>document.body.className = ((document.body.className) ? document.body.className + ' js-enabled' : 'js-enabled');</script>
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
<div id="global-cookie-message" class="gem-c-cookie-banner govuk-clearfix" data-module="cookie-banner" role="region" aria-label="cookie banner" data-nosnippet="">
|
32
|
+
{{$cookieMessage}}{{/cookieMessage}}
|
33
|
+
</div>
|
34
|
+
|
35
|
+
{{$bodyStart}}{{/bodyStart}}
|
36
|
+
|
37
|
+
<header role="banner" id="govuk-header" class="{{$headerClass}}{{/headerClass}}">
|
38
|
+
<div class="govuk-header__container govuk-width-container">
|
39
|
+
|
40
|
+
<div class="govuk-header__logo">
|
41
|
+
<a href="{{$homepageUrl}}https://www.gov.uk{{/homepageUrl}}" title="{{$logoLinkTitle}}Go to the GOV.UK homepage{{/logoLinkTitle}}" id="logo" class="govuk-header__link govuk-header__link--homepage" target="_blank" data-module="track-click" data-track-category="homeLinkClicked" data-track-action="homeHeader">
|
42
|
+
<span class="govuk-header__logotype">
|
43
|
+
<!--[if gt IE 8]><!-->
|
44
|
+
<svg aria-hidden="true" focusable="false" class="govuk-header__logotype-crown" xmlns="http://www.w3.org/2000/svg\" viewBox="0 0 32 30" height="30" width="32">
|
45
|
+
<path fill="currentColor" fill-rule="evenodd" d="M22.6 10.4c-1 .4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s-.1 2-1 2.4m-5.9 6.7c-.9.4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s-.1 2-1 2.4m10.8-3.7c-1 .4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s0 2-1 2.4m3.3 4.8c-1 .4-2-.1-2.4-1-.4-.9.1-2 1-2.4.9-.4 2 .1 2.4 1s-.1 2-1 2.4M17 4.7l2.3 1.2V2.5l-2.3.7-.2-.2.9-3h-3.4l.9 3-.2.2c-.1.1-2.3-.7-2.3-.7v3.4L15 4.7c.1.1.1.2.2.2l-1.3 4c-.1.2-.1.4-.1.6 0 1.1.8 2 1.9 2.2h.7c1-.2 1.9-1.1 1.9-2.1 0-.2 0-.4-.1-.6l-1.3-4c-.1-.2 0-.2.1-.3m-7.6 5.7c.9.4 2-.1 2.4-1 .4-.9-.1-2-1-2.4-.9-.4-2 .1-2.4 1s0 2 1 2.4m-5 3c.9.4 2-.1 2.4-1 .4-.9-.1-2-1-2.4-.9-.4-2 .1-2.4 1s.1 2 1 2.4m-3.2 4.8c.9.4 2-.1 2.4-1 .4-.9-.1-2-1-2.4-.9-.4-2 .1-2.4 1s0 2 1 2.4m14.8 11c4.4 0 8.6.3 12.3.8 1.1-4.5 2.4-7 3.7-8.8l-2.5-.9c.2 1.3.3 1.9 0 2.7-.4-.4-.8-1.1-1.1-2.3l-1.2 4c.7-.5 1.3-.8 2-.9-1.1 2.5-2.6 3.1-3.5 3-1.1-.2-1.7-1.2-1.5-2.1.3-1.2 1.5-1.5 2.1-.1 1.1-2.3-.8-3-2-2.3 1.9-1.9 2.1-3.5.6-5.6-2.1 1.6-2.1 3.2-1.2 5.5-1.2-1.4-3.2-.6-2.5 1.6.9-1.4 2.1-.5 1.9.8-.2 1.1-1.7 2.1-3.5 1.9-2.7-.2-2.9-2.1-2.9-3.6.7-.1 1.9.5 2.9 1.9l.4-4.3c-1.1 1.1-2.1 1.4-3.2 1.4.4-1.2 2.1-3 2.1-3h-5.4s1.7 1.9 2.1 3c-1.1 0-2.1-.2-3.2-1.4l.4 4.3c1-1.4 2.2-2 2.9-1.9-.1 1.5-.2 3.4-2.9 3.6-1.9.2-3.4-.8-3.5-1.9-.2-1.3 1-2.2 1.9-.8.7-2.3-1.2-3-2.5-1.6.9-2.2.9-3.9-1.2-5.5-1.5 2-1.3 3.7.6 5.6-1.2-.7-3.1 0-2 2.3.6-1.4 1.8-1.1 2.1.1.2.9-.3 1.9-1.5 2.1-.9.2-2.4-.5-3.5-3 .6 0 1.2.3 2 .9l-1.2-4c-.3 1.1-.7 1.9-1.1 2.3-.3-.8-.2-1.4 0-2.7l-2.9.9C1.3 23 2.6 25.5 3.7 30c3.7-.5 7.9-.8 12.3-.8\"></path>
|
46
|
+
</svg>
|
47
|
+
<!--<![endif]-->
|
48
|
+
<!--[if IE 8]>
|
49
|
+
<img src="{{govukAssetPath}}images/govuk-logotype-tudor-crown.png" class="govuk-header__logotype-crown-fallback-image" width="32" height="30" alt="">
|
50
|
+
<![endif]-->
|
51
|
+
</span>
|
52
|
+
<span class="govuk-header__logotype-text">
|
53
|
+
{{$globalHeaderText}}GOV.UK{{/globalHeaderText}}
|
54
|
+
</span>
|
55
|
+
</a>
|
56
|
+
</div>
|
57
|
+
{{$insideHeader}}{{/insideHeader}}
|
58
|
+
|
59
|
+
{{$propositionHeader}}{{/propositionHeader}}
|
60
|
+
</div>
|
61
|
+
</header>
|
62
|
+
|
63
|
+
|
64
|
+
{{$afterHeader}}{{/afterHeader}}
|
65
|
+
|
66
|
+
|
67
|
+
{{$main}}{{/main}}
|
68
|
+
|
69
|
+
<footer class="govuk-footer" id="footer" role="contentinfo">
|
70
|
+
|
71
|
+
<div class="govuk-width-container">
|
72
|
+
{{$footerTop}}{{/footerTop}}
|
73
|
+
|
74
|
+
<div class="govuk-footer__meta">
|
75
|
+
<div class="govuk-footer__meta-item govuk-footer__meta-item--grow">
|
76
|
+
<h2 class="govuk-visually-hidden">Support links</h2>
|
77
|
+
{{$footerSupportLinks}}{{/footerSupportLinks}}
|
78
|
+
|
79
|
+
<svg aria-hidden="true" focusable="false" class="govuk-footer__licence-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 483.2 195.7" height="17" width="41">
|
80
|
+
<path fill="currentColor" d="M421.5 142.8V.1l-50.7 32.3v161.1h112.4v-50.7zm-122.3-9.6A47.12 47.12 0 0 1 221 97.8c0-26 21.1-47.1 47.1-47.1 16.7 0 31.4 8.7 39.7 21.8l42.7-27.2A97.63 97.63 0 0 0 268.1 0c-36.5 0-68.3 20.1-85.1 49.7A98 98 0 0 0 97.8 0C43.9 0 0 43.9 0 97.8s43.9 97.8 97.8 97.8c36.5 0 68.3-20.1 85.1-49.7a97.76 97.76 0 0 0 149.6 25.4l19.4 22.2h3v-87.8h-80l24.3 27.5zM97.8 145c-26 0-47.1-21.1-47.1-47.1s21.1-47.1 47.1-47.1 47.2 21 47.2 47S123.8 145 97.8 145"></path>
|
81
|
+
</svg>
|
82
|
+
|
83
|
+
<span class="govuk-footer__licence-description">{{$licenceMessage}}All content is available under the <a href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/" id="open-government-licence" class="govuk-footer__link" target="_blank" rel="license">Open Government Licence v3.0</a>, except where otherwise stated{{/licenceMessage}}</span>
|
84
|
+
</div>
|
85
|
+
|
86
|
+
<div class="govuk-footer__meta-item">
|
87
|
+
<a class="govuk-footer__link govuk-footer__copyright-logo" id="copyright-logo" target="_blank" href="https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/">{{$crownCopyrightMessage}}© Crown copyright{{/crownCopyrightMessage}}</a>
|
88
|
+
</div>
|
89
|
+
</div>
|
90
|
+
</div>
|
91
|
+
</footer>
|
92
|
+
|
93
|
+
<div id="global-app-error" class="app-error hidden"></div>
|
94
|
+
|
95
|
+
|
96
|
+
{{$bodyEnd}}{{/bodyEnd}}
|
97
|
+
|
98
|
+
|
99
|
+
<script {{#nonce}}nonce="{{nonce}}"{{/nonce}}>if (typeof window.GOVUK === 'undefined') document.body.className = document.body.className.replace('js-enabled', '');</script>
|
100
|
+
|
101
|
+
</body>
|
102
|
+
</html>
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "hof",
|
3
3
|
"description": "A bootstrap for HOF projects",
|
4
|
-
"version": "22.
|
4
|
+
"version": "22.8.0-beta.0",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "index.js",
|
7
7
|
"author": "HomeOffice",
|
@@ -105,6 +105,7 @@
|
|
105
105
|
"csv": "^5.3.2",
|
106
106
|
"eslint": "^7.30.0",
|
107
107
|
"eslint-config-hof": "^1.1.0",
|
108
|
+
"exorcist": "^2.0.0",
|
108
109
|
"funkie": "0.0.5",
|
109
110
|
"funkie-phantom": "0.0.1",
|
110
111
|
"istanbul": "^0.4.3",
|