Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 13.0.0 #1783

Merged
merged 630 commits into from
Nov 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
630 commits
Select commit Hold shift + click to select a range
1f1802a
Merge pull request #1621 from alphagov/ldeb-fix-issue-1616
lfdebrux Sep 27, 2022
de11435
Creating an argument parser for reliability and testability.
nataliecarey Sep 26, 2022
aad22f5
Using hardcoded argument number rather than parsed (revisit later).
nataliecarey Sep 27, 2022
8de4e2a
Merge pull request #1622 from alphagov/parse-cli-args-better
nataliecarey Sep 27, 2022
46a1a50
V13 Pre-refactor
BenSurgisonGDS Sep 26, 2022
06aad0c
Merge pull request #1624 from alphagov/v13-pre-refactor
BenSurgisonGDS Sep 28, 2022
725970c
Show output from npm install when running create script
lfdebrux Sep 28, 2022
5635556
Stop doing npm audit when installing kit with `create` script
lfdebrux Sep 28, 2022
caaa125
Fix formatting of .tmp/sass/_extensions.scss
lfdebrux Sep 28, 2022
162d399
Fix spawn on Windows
lfdebrux Sep 28, 2022
cb0190b
Remove unused script stubs
lfdebrux Sep 28, 2022
4cad840
Made jest tests less flaky - increase timeout, shared async exec, bro…
nataliecarey Sep 28, 2022
3dd776a
Merge pull request #1628 from alphagov/ldeb-fix-create-stdio-inherit
lfdebrux Sep 29, 2022
54be1ef
Merge pull request #1630 from alphagov/ldeb-remove-script-stubs
lfdebrux Sep 29, 2022
f92cbd5
Merge pull request #1629 from alphagov/ldeb-fix-extensions-sass
lfdebrux Sep 29, 2022
36f3827
Merge pull request #1618 from alphagov/update-plugin-interface
nataliecarey Sep 29, 2022
2891dea
Merge pull request #1627 from alphagov/investigating-flakey-tests
nataliecarey Sep 29, 2022
ef4e541
Stop installing govuk-prototype-kit globally in tests
lfdebrux Sep 29, 2022
71b92d1
Remove unused arguments to mkPrototype
lfdebrux Sep 29, 2022
bd803ad
Refactor mkPrototype
lfdebrux Sep 29, 2022
e8862f7
Fix getInstallLocation on Windows
lfdebrux Sep 29, 2022
49bfc86
Merge pull request #1632 from alphagov/ldeb-no-install-g
lfdebrux Sep 29, 2022
5512d55
Await Promises
lfdebrux Sep 29, 2022
5f744ba
Run tests with default shell on Windows
lfdebrux Sep 27, 2022
32450ce
Stop showing users an error if they run the kit on Windows without us…
lfdebrux Sep 28, 2022
1c2e0fc
Merge pull request #1625 from alphagov/ldeb-support-powershell
lfdebrux Sep 30, 2022
db77ce7
Refactor npm scripts
lfdebrux Sep 29, 2022
bc6daa6
Let exec inherit stdio
lfdebrux Sep 30, 2022
0212846
Add create-prototype-and-start script
lfdebrux Sep 30, 2022
41ba0a8
Restore Heroku tests
lfdebrux Sep 29, 2022
c11c040
Merge pull request #1636 from alphagov/ldeb-heroku-tests
lfdebrux Sep 30, 2022
0bd0d79
Add serve and dev scripts
lfdebrux Sep 30, 2022
6d04b14
Setting the type of our templates to Nunjucks, actually omitting non-…
nataliecarey Sep 30, 2022
0d2c09e
Merge pull request #1637 from alphagov/ldeb-add-serve-script
lfdebrux Sep 30, 2022
f2e9b13
Merge pull request #1642 from alphagov/setting-template-type
nataliecarey Sep 30, 2022
41a8dcb
Fix acceptance tests on windows
BenSurgisonGDS Sep 30, 2022
4e5fc31
Merge pull request #1643 from alphagov/fix-tests-on-windows
BenSurgisonGDS Oct 3, 2022
ff8aa7f
Defer requires of kit code in cli
lfdebrux Oct 3, 2022
a548231
Add cookie session store setting to config
lfdebrux Oct 3, 2022
f076a58
Change default session store to cookie store when in production mode
lfdebrux Oct 3, 2022
19146e3
Update changelog
lfdebrux Oct 3, 2022
475032d
Merge pull request #1648 from alphagov/ldeb-use-session-store-when-ho…
lfdebrux Oct 3, 2022
048ebd0
Inform user to restart after the plugin is installed.
BenSurgisonGDS Oct 3, 2022
a7b95b9
Remove dead comment
lfdebrux Oct 3, 2022
7836077
Merge pull request #1647 from alphagov/inform-user-to-restart-after-p…
BenSurgisonGDS Oct 3, 2022
c287ef3
Merge pull request #1650 from alphagov/ldeb-clean-up
lfdebrux Oct 3, 2022
d18bbe2
Change order of start messages
lfdebrux Oct 3, 2022
1f6b51b
Install plug-ins without restart
BenSurgisonGDS Sep 28, 2022
ac94e66
Regenerating assets when plugin is instaled.
nataliecarey Sep 29, 2022
5d6e32b
Install plugin test
BenSurgisonGDS Sep 29, 2022
e69aa59
Fixing cases which need to wait longer.
nataliecarey Sep 29, 2022
6217acd
Fix tests
BenSurgisonGDS Sep 30, 2022
4658fa9
Upload screenshots of Cypress failures as GitHub artifacts
lfdebrux Sep 30, 2022
8f6bbc9
Add output of kit logs when testing
lfdebrux Sep 30, 2022
ca1dd4c
Merge pull request #1631 from alphagov/install-plugins-without-restart
BenSurgisonGDS Oct 5, 2022
fe3d303
Putting in fixes conditionally so that they are removed when govuk-fr…
nataliecarey Sep 30, 2022
953604f
Make serve default command
lfdebrux Sep 30, 2022
1731bce
Add warning to users if it looks like they have run npm start wrongly
lfdebrux Sep 30, 2022
f7a924d
Update changelog
lfdebrux Sep 30, 2022
5bdfb98
Merge pull request #1638 from alphagov/ldeb-npm-start
lfdebrux Oct 5, 2022
615003c
Make sure the correct plugin status is used in the plugin install page.
BenSurgisonGDS Oct 5, 2022
67011f6
Use sessionUtils to configure session data store middleware
lfdebrux Oct 5, 2022
c361575
Remove support for cookie session store
lfdebrux Oct 5, 2022
9e0fda3
Move tempDir to path-utils
lfdebrux Oct 6, 2022
3b89c44
Use file store for session data
lfdebrux Oct 6, 2022
4fc5482
Merge pull request #1659 from alphagov/fix-plugin-status-within-plugi…
BenSurgisonGDS Oct 6, 2022
610a021
add ctrl c command
joelanman Oct 5, 2022
15ea36d
Fix cypress test
BenSurgisonGDS Oct 6, 2022
0e89229
Merge pull request #1657 from alphagov/add-ctrl-c-command-to-plugins
joelanman Oct 7, 2022
6b01293
Merge pull request #1651 from alphagov/ldeb-hide-start-message-when-i…
lfdebrux Oct 7, 2022
bf4474e
Merge pull request #1658 from alphagov/ldeb-session-store
lfdebrux Oct 10, 2022
da83e5a
Not setting a /assets route, only setting assetPath where the fixes a…
nataliecarey Oct 10, 2022
c16076d
Added changelog entry.
nataliecarey Oct 10, 2022
1b952da
Fix file existence checks in
BenSurgisonGDS Oct 10, 2022
dfd4d77
Remove eslint checks from prototype starter files
BenSurgisonGDS Oct 10, 2022
d996484
Merge pull request #1667 from alphagov/fix-file-existence-checks-in-t…
BenSurgisonGDS Oct 10, 2022
8a0c10a
Merge branch 'v13' into fixing-govuk-frontend-until-they-release-update
nataliecarey Oct 10, 2022
0623f2c
Merge pull request #1668 from alphagov/remove-eslint-from-prototype-s…
BenSurgisonGDS Oct 10, 2022
d2452b3
Merge pull request #1640 from alphagov/fixing-govuk-frontend-until-th…
nataliecarey Oct 10, 2022
8dfdeed
Allow overriding project dir with environment variable
lfdebrux Oct 10, 2022
969e107
Fix integration tests so they run in test folder rather than in repo
lfdebrux Oct 10, 2022
5daef8b
Fix path to hidden stylesheets output dir
lfdebrux Oct 10, 2022
71ee810
Allow running the kit without a package.json file
lfdebrux Oct 10, 2022
2d243f2
Merge pull request #1669 from alphagov/ldeb-fix-sanity-tests
lfdebrux Oct 12, 2022
a7684ef
Rename upgrade command to migrate
lfdebrux Oct 12, 2022
8f61512
Rename upgradeToV13 to migrator
lfdebrux Oct 12, 2022
d3c9b99
Rename runUpgrade to migrate
lfdebrux Oct 12, 2022
c7015fc
Merge pull request #1671 from alphagov/ldeb-rename-upgrade-to-migrate
lfdebrux Oct 12, 2022
3260108
Bump @actions/checkout from 2 to 3
lfdebrux Oct 12, 2022
19feb97
Add logging to migrate process
BenSurgisonGDS Oct 12, 2022
6af19ff
Merge pull request #1674 from alphagov/add-logging-to-migrate-process
BenSurgisonGDS Oct 13, 2022
621eb22
Merge pull request #1673 from alphagov/ldeb-fix-actions-deprecations
lfdebrux Oct 13, 2022
4ede2f8
Clean up file handle after logging is done
lfdebrux Oct 14, 2022
2440d2d
Show ouptut of npm install to user
lfdebrux Oct 14, 2022
43fda7f
Log reports to console immediately
lfdebrux Oct 14, 2022
bf0b394
Merge pull request #1676 from alphagov/ldeb-refactor-migration-logger
lfdebrux Oct 14, 2022
8859051
Ensure that migrate script installs same version of starter files and…
lfdebrux Oct 14, 2022
ee9fda0
Prevent exec/spawn environment being reset to `{}`
colinrotherham Oct 14, 2022
be34598
Merge pull request #1677 from alphagov/ldeb-migrator-ensure-starter-f…
lfdebrux Oct 14, 2022
62a50d0
Always set `{ shell: true }` in exec defaults
colinrotherham Oct 14, 2022
8726856
Update hidden files when migrating existing prototype
lfdebrux Oct 17, 2022
b40ea8a
Merge pull request #1679 from alphagov/fix-environment-defaults
lfdebrux Oct 17, 2022
83352d1
Add usage data config file to usage prototype gitignore
lfdebrux Oct 17, 2022
3e5ea50
Move port tempfile to prototype temp folder
lfdebrux Oct 17, 2022
fafd295
Only create gitignore in migration script if it does not already exist
lfdebrux Oct 17, 2022
af7a23c
Merge pull request #1680 from alphagov/ldeb-migrate-npmrc
lfdebrux Oct 17, 2022
ac792db
Merge pull request #1682 from alphagov/ldeb-port-tmpfile
lfdebrux Oct 18, 2022
f8eb2d9
Ignore whitespace differences in migration
BenSurgisonGDS Oct 17, 2022
a73dc5b
Migrate config file
BenSurgisonGDS Oct 18, 2022
e2c3185
Merge pull request #1683 from alphagov/ignore-whitespace-in-migration
BenSurgisonGDS Oct 19, 2022
e43a398
Merge pull request #1689 from alphagov/migrate-config-file
BenSurgisonGDS Oct 19, 2022
5ebd006
Add stylesheets block
lfdebrux Oct 19, 2022
d6fe714
Split migration steps for testing purposes
BenSurgisonGDS Oct 19, 2022
fb92c1d
Merge pull request #1692 from alphagov/split-migration-for-testing
BenSurgisonGDS Oct 19, 2022
6c37086
Update tests to use new stylesheets block
lfdebrux Oct 20, 2022
2bc5021
Merge pull request #1693 from alphagov/ldeb-add-head-blocks
lfdebrux Oct 20, 2022
9061a2b
Test simple migrate
BenSurgisonGDS Oct 19, 2022
0d6758d
Add new head blocks to changelog
lfdebrux Oct 20, 2022
0400698
Merge pull request #1694 from alphagov/test-migrate
BenSurgisonGDS Oct 20, 2022
d51db92
Merge pull request #1697 from alphagov/ldeb-add-head-blocks
lfdebrux Oct 21, 2022
246dad0
Fix unbranded template
lfdebrux Oct 10, 2022
b650ccc
Split extensions stylesheets includes into separate nunjucks file
lfdebrux Oct 10, 2022
3d2913f
Make purpose of dotenv clearer
lfdebrux Oct 21, 2022
5dcd48d
Add notifications-node-client to dependencies for migrated prototypes
lfdebrux Oct 21, 2022
8cd860c
Remove notifications-node-client from dependencies
lfdebrux Oct 21, 2022
3170374
Merge pull request #1708 from alphagov/ldeb-migrate-keep-notify
lfdebrux Oct 21, 2022
2cf9ee4
Bump nodemon from 2.0.15 to 2.0.20
lfdebrux Oct 21, 2022
6975a1a
Simplify nodemon configuration
lfdebrux Oct 21, 2022
71ae386
Merge pull request #1709 from alphagov/ldeb-fix-nodemon
lfdebrux Oct 24, 2022
8dfe8df
Remove leading newlines from files generated by create script
lfdebrux Oct 25, 2022
6272264
Allow nvm to track latest Node.js LTS versions
colinrotherham Oct 25, 2022
cdeb990
Merge pull request #1714 from alphagov/ldeb-remove-leading-newlines
lfdebrux Oct 25, 2022
4baedaa
Merge pull request #1706 from alphagov/ldeb-fix-unbranded
lfdebrux Oct 25, 2022
49452bf
Unit test migrate
BenSurgisonGDS Oct 20, 2022
1c0b983
Merge pull request #1712 from alphagov/node-versions
lfdebrux Oct 25, 2022
971b792
Merge pull request #1704 from alphagov/unit-test-migrate
BenSurgisonGDS Oct 25, 2022
38bea26
Convert baseExtensions to basePlugins in config
BenSurgisonGDS Oct 20, 2022
d434e28
Merge pull request #1716 from alphagov/convert-base-extensions-to-bas…
BenSurgisonGDS Oct 26, 2022
9a7fb27
Fix package-lock.json
lfdebrux Oct 27, 2022
5873f7e
Fix gitignore migration
lfdebrux Oct 27, 2022
b734868
Merge pull request #1724 from alphagov/ldeb-fix-migrate-gitignore
lfdebrux Oct 27, 2022
0b1eb92
Display a message on Management Pages when not running in dev mode
BenSurgisonGDS Oct 26, 2022
e759c6a
Format extensions Sass file
lfdebrux Oct 27, 2022
fe46852
Merge pull request #1722 from alphagov/display-a-message-on-managemen…
BenSurgisonGDS Oct 27, 2022
20d1be5
Fix global styles for unbranded layout
lfdebrux Oct 27, 2022
24b37ae
Merge pull request #1726 from alphagov/ldeb-fix-password-page-fonts
lfdebrux Oct 28, 2022
a34fd93
Clean up acceptance tests
BenSurgisonGDS Oct 26, 2022
7e85e11
Split unit tests from acceptance tests
BenSurgisonGDS Oct 28, 2022
e4f50ca
Merge pull request #1723 from alphagov/clean-up-acceptance-tests
BenSurgisonGDS Oct 28, 2022
de9ae55
Update changelog to include jQuery changes
lfdebrux Oct 31, 2022
30632fd
Bump socket.io packages
lfdebrux Oct 31, 2022
e46ae8d
Merge pull request #1736 from alphagov/ldeb-bump-socket.io
lfdebrux Oct 31, 2022
95bb6a5
Manage pages availability tests
BenSurgisonGDS Oct 26, 2022
b495af3
Also create tests for manage-prototype/* that should not be accessed …
BenSurgisonGDS Oct 31, 2022
c9110c0
Merge pull request #1727 from alphagov/management-pages-not-available…
BenSurgisonGDS Oct 31, 2022
c37e8ca
Merge pull request #1735 from alphagov/ldeb-update-changelog-jquery
lfdebrux Oct 31, 2022
9b6e66d
Use unix line-endings everywhere
lfdebrux Nov 1, 2022
6a0914e
Remove step-by-step as kit dependency
lfdebrux Oct 28, 2022
7bc4b8e
Bump govuk-frontend from 4.2.0 to 4.3.1
lfdebrux Oct 28, 2022
354c83b
Make govuk-frontend a peer dependency
lfdebrux Oct 28, 2022
7fa1ecd
Fix extensions tests
lfdebrux Nov 1, 2022
58485e1
Merge pull request #1738 from alphagov/ldeb-use-unix-eol
lfdebrux Nov 1, 2022
96e4364
Merge pull request #1681 from alphagov/ldeb-ignore-usage-data-config
lfdebrux Nov 1, 2022
b2b3ec2
Add .tmp folder to starter .gitignore
lfdebrux Oct 25, 2022
49959bc
Release 0.0.1-beta.2
lfdebrux Nov 1, 2022
9c55af5
Merge pull request #1740 from alphagov/release-0.0.1-beta.2
lfdebrux Nov 1, 2022
8db111c
Merge pull request #1739 from alphagov/ldeb-add-tmp-to-gitignore
lfdebrux Nov 2, 2022
aabfe57
Fix loading of front-end legacy assets
BenSurgisonGDS Nov 2, 2022
79ec030
Fix lint
BenSurgisonGDS Nov 2, 2022
3881182
Merge pull request #1743 from alphagov/fix-loading-of-front-end-legac…
BenSurgisonGDS Nov 2, 2022
e57166f
Release 0.0.1-beta.3
lfdebrux Nov 2, 2022
5b1ddfc
Merge pull request #1744 from alphagov/release-0.0.1-beta.3
lfdebrux Nov 2, 2022
d3b0c53
Fix mkPrototype overwrite behaviour
lfdebrux Nov 2, 2022
9794b3d
Improve test for fonts loading
lfdebrux Nov 2, 2022
c690584
Add smoke tests to CI
lfdebrux Nov 2, 2022
38249dd
Make acceptance tests more realistic
lfdebrux Nov 2, 2022
bc9a9e4
Merge pull request #1732 from alphagov/ldeb-govuk-frontend-peer-depen…
lfdebrux Nov 3, 2022
5bf41da
Add version command
lfdebrux Nov 3, 2022
23750e5
Merge pull request #1748 from alphagov/ldeb-add-version-command
lfdebrux Nov 4, 2022
acb7c6c
Merge pull request #1745 from alphagov/ldeb-test-install-links
lfdebrux Nov 4, 2022
1234688
Stop deleting migrate-checks test folder after test run
lfdebrux Nov 7, 2022
b09d821
Make user Nunjucks files highest priority
lfdebrux Nov 7, 2022
7caf8a0
Add copyFromStarterFiles task to Cypress
lfdebrux Nov 7, 2022
ac7b75f
Move default user layout to layouts/main.html
lfdebrux Nov 7, 2022
86d57c5
Update migration script to handle app/views/layout.html
lfdebrux Nov 7, 2022
1d36754
Update our templates to use user default layout
lfdebrux Nov 7, 2022
865853d
Add backup default layout
lfdebrux Nov 7, 2022
20ce4ec
Update CHANGELOG
lfdebrux Nov 7, 2022
5ea8afe
Add preflight checks to migration script
BenSurgisonGDS Nov 4, 2022
56b9dc5
Merge pull request #1751 from alphagov/add-pre-flight-checks-to-migra…
BenSurgisonGDS Nov 8, 2022
508c2a5
Add jQuery to packages to install when migrating existing prototypes
lfdebrux Nov 8, 2022
bf9ed42
Change plug-in to plugin
lfdebrux Nov 8, 2022
8fe04c1
Merge pull request #1755 from alphagov/ldeb-plugin-not-plug-in
lfdebrux Nov 8, 2022
b35eacd
Merge pull request #1754 from alphagov/ldeb-migration-jquery
lfdebrux Nov 8, 2022
84230ad
Merge pull request #1752 from alphagov/ldeb-layouts-folder
lfdebrux Nov 8, 2022
f835fc5
Drop support for Node.js 12, 14
lfdebrux Nov 7, 2022
7b8dfdd
Shrinkwrap dependencies
lfdebrux Oct 5, 2022
f6e0899
Merge pull request #1753 from alphagov/ldeb-no-node-12-14
lfdebrux Nov 8, 2022
4ee4e37
Add step-by-step plugin to packages to install when migrating prototypes
lfdebrux Nov 8, 2022
339baff
Merge pull request #1761 from alphagov/ldeb-migration-step-by-step
lfdebrux Nov 9, 2022
5e9c56e
Fix step by step plugin test
BenSurgisonGDS Nov 9, 2022
3ea8838
Merge pull request #1765 from alphagov/fix-step-by-step-plugin-test
BenSurgisonGDS Nov 9, 2022
68c6377
Report fewer failures in migration script
BenSurgisonGDS Nov 8, 2022
6c294f1
Merge pull request #1654 from alphagov/ldeb-shrinkwrap
lfdebrux Nov 10, 2022
2be8786
Changes as requested in review
BenSurgisonGDS Nov 10, 2022
d524e65
Merge pull request #1764 from alphagov/report-fewer-failures-in-migra…
BenSurgisonGDS Nov 10, 2022
357998a
Report sass includes with patterns
BenSurgisonGDS Nov 9, 2022
ccfbc06
Merge pull request #1766 from alphagov/remove-sass-includes-with-patt…
BenSurgisonGDS Nov 10, 2022
60ea715
Add note about Node.js version support policy to readme
lfdebrux Nov 11, 2022
73f04c3
Review content of migration script output
BenSurgisonGDS Nov 10, 2022
13abf7c
Merge pull request #1769 from alphagov/review-content-of-migration-sc…
BenSurgisonGDS Nov 11, 2022
8eacf98
Move available plugins list to JSON file
lfdebrux Nov 11, 2022
911d140
Remove @hmcts/frontend from available plugins list
lfdebrux Nov 11, 2022
b356682
Merge pull request #1771 from alphagov/ldeb-add-readme-node-version-s…
lfdebrux Nov 11, 2022
ba5488a
Reorder dependencies
lfdebrux Nov 11, 2022
298e3b4
Merge pull request #1773 from alphagov/ldeb-update-available-plugins
lfdebrux Nov 11, 2022
128809b
Remove message about setting default port
lfdebrux Nov 11, 2022
98bd2e4
Merge pull request #1772 from alphagov/ldeb-update-set-default-port-c…
lfdebrux Nov 11, 2022
2b7ce51
Fix appending of migration script log
lfdebrux Nov 11, 2022
d5f245f
Add some debug information to head of migration script log
lfdebrux Nov 11, 2022
907c7c3
Merge pull request #1775 from alphagov/ldeb-migration-script-version-…
lfdebrux Nov 11, 2022
0dbefe8
Release 0.0.1-beta.4
lfdebrux Nov 11, 2022
7478ad8
Merge pull request #1774 from alphagov/release-0.0.1-beta.4
lfdebrux Nov 14, 2022
7a58fc6
Remove gulp and leave node_modules when migrating
BenSurgisonGDS Nov 14, 2022
3ffb3ef
Merge pull request #1778 from alphagov/remove-gulp-leave-node-modules
BenSurgisonGDS Nov 14, 2022
5c82d14
Update to `govuk-frontend@4.4.0` in shrinkwrap
colinrotherham Nov 14, 2022
17df26d
Merge pull request #1779 from alphagov/govuk-frontend-update
lfdebrux Nov 14, 2022
0da4920
split requires so govukPrototypeKit is available
joelanman Nov 17, 2022
8f3820c
Fix unit tests
BenSurgisonGDS Nov 17, 2022
43ff2fd
Merge pull request #1780 from alphagov/split-requires
lfdebrux Nov 17, 2022
66db08a
Merge branch 'main' into v13
lfdebrux Nov 17, 2022
f52b57b
Update known old versions for migration
lfdebrux Nov 17, 2022
878742c
Remove VERSION.txt
lfdebrux Nov 17, 2022
f97f285
Merge pull request #1781 from alphagov/ldeb-merge-main
lfdebrux Nov 17, 2022
7d24d1d
Fix latest release versions
BenSurgisonGDS Nov 17, 2022
3a33f4e
Remove internal docs on documentation app
lfdebrux Nov 17, 2022
df78aca
Update documentation on releasing kit to use npm
lfdebrux Nov 17, 2022
2edfa08
Merge pull request #1782 from alphagov/fix-latest-release-versions
BenSurgisonGDS Nov 17, 2022
5101f15
add links to documentation
joelanman Nov 17, 2022
4ff4443
Merge pull request #1785 from alphagov/link-to-docs
joelanman Nov 18, 2022
f85243c
change to new domain
joelanman Nov 18, 2022
f4eb9c2
Fix changelog
lfdebrux Nov 18, 2022
2d16ca1
update readme about passwords
joelanman Nov 18, 2022
bdcb3b8
Provide support contact even when migration reports it is successful
BenSurgisonGDS Nov 18, 2022
72019c5
Merge pull request #1788 from alphagov/ldeb-fix-changelog
lfdebrux Nov 18, 2022
a022d88
Merge pull request #1787 from alphagov/change-domain
joelanman Nov 18, 2022
a13b478
Merge pull request #1784 from alphagov/ldeb-update-internal-docs
lfdebrux Nov 18, 2022
347bdbc
Merge pull request #1790 from alphagov/provide-support-contact-even-w…
BenSurgisonGDS Nov 18, 2022
57039f3
Update changelog
lfdebrux Nov 21, 2022
a35687d
Release 13.0.0
lfdebrux Nov 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 0 additions & 16 deletions .gitattributes

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
Expand Down
82 changes: 82 additions & 0 deletions .github/workflows/test-acceptance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: Tests (Acceptance)

on:
push:
branches:
- main
- support/*
pull_request:

jobs:
tests:

strategy:
fail-fast: false # continue other tests if one test in matrix fails
matrix:
node-version: [18.x]
os: [macos-latest, windows-latest, ubuntu-latest]

name: Acceptance test kit on Node v${{ matrix.node-version }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 25

env:
CYPRESS_CACHE_FOLDER: ~/.cache/Cypress

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Use Node v${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}

- name: Cache Cypress binary
uses: actions/cache@v3
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-cypress-${{ hashFiles('**/package.json') }}

- run: npm ci

- run: npm run test:acceptance:smoke
env:
CYPRESS_REQUEST_TIMEOUT: 20000
CYPRESS_DEFAULT_COMMAND_TIMEOUT: 40000
CYPRESS_PAGE_LOAD_TIMEOUT: 120000
CYPRESS_RETRIES: 3

- if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: cypress-screenshots-smoke-${{ runner.os }}-${{ matrix.node-version }}
path: cypress/screenshots/

- run: npm run test:acceptance:prod
env:
CYPRESS_REQUEST_TIMEOUT: 20000
CYPRESS_DEFAULT_COMMAND_TIMEOUT: 40000
CYPRESS_PAGE_LOAD_TIMEOUT: 120000
CYPRESS_RETRIES: 3

- if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: cypress-screenshots-prod-${{ runner.os }}-${{ matrix.node-version }}
path: cypress/screenshots/

- run: npm run test:acceptance:dev
env:
CYPRESS_REQUEST_TIMEOUT: 20000
CYPRESS_DEFAULT_COMMAND_TIMEOUT: 40000
CYPRESS_PAGE_LOAD_TIMEOUT: 120000
CYPRESS_RETRIES: 3

- if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: cypress-screenshots-dev-${{ runner.os }}-${{ matrix.node-version }}
path: cypress/screenshots/
41 changes: 41 additions & 0 deletions .github/workflows/test-download.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Tests (Download)

on:
push:
branches:
- main
pull_request:

jobs:
tests:

strategy:
fail-fast: false # continue other tests if one test in matrix fails
matrix:
node-version: [16.x]
os: [ubuntu-latest]

name: Test downloading kit from website
continue-on-error: true
runs-on: ${{ matrix.os }}
timeout-minutes: 25

env:
CYPRESS_CACHE_FOLDER: ~/.cache/Cypress

steps:
- uses: actions/checkout@v3

- name: Use Node v${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}

- name: Cache Cypress binary
uses: actions/cache@v3
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-cypress-${{ hashFiles('**/package.json') }}

- run: npm ci
10 changes: 9 additions & 1 deletion .github/workflows/test-heroku.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,20 @@ jobs:
name: Test kit on Heroku
runs-on: ubuntu-latest

env:
CYPRESS_CACHE_FOLDER: ~/.cache/Cypress

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node v16
uses: actions/setup-node@v3
with:
cache: 'npm'
node-version: '16'
- name: Cache Cypress binary
uses: actions/cache@v3
with:
path: ~/.cache/Cypress
key: cypress-${{ runner.os }}-cypress-${{ hashFiles('**/package.json') }}
- run: npm ci
- run: npm run test:heroku
20 changes: 10 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,24 @@ jobs:
strategy:
fail-fast: false # continue other tests if one test in matrix fails
matrix:
node-version: [12.x, 14.x, 16.x, 18.x]
node-version: [16.x, 18.x]
os: [macos-latest, windows-latest, ubuntu-latest]

name: Test kit on Node v${{ matrix.node-version }} (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 15

defaults:
run:
shell: bash
timeout-minutes: 25

env:
CYPRESS_CACHE_FOLDER: ~/.cache/Cypress

steps:
- uses: actions/checkout@v2
- run: |
git config --global core.autocrlf false
git config --global core.eol lf

- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Use Node v${{ matrix.node-version }}
uses: actions/setup-node@v3
Expand All @@ -44,9 +46,7 @@ jobs:

- run: npm ci

- run: npx jest
- run: npm run test:unit && npm run test:integration
env:
CI: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- run: npm run test:integration
37 changes: 20 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
# ignore tracking usage data config - we want a different one for each user
usage-data-config.json
# ignore extension SCSS because it's dynamically generated
lib/extensions/_extensions.scss
# ignore any release archives
/govuk-prototype-kit*.zip
# Node.js ignores
node_modules/

# Prototype Kit ignores - per-user
.env
.sass-cache
.DS_Store
.start.pid
.port.tmp
public
node_modules/
.tmuxp.*
.idea
/cypress-test
/cypress/videos
/cypress/screenshots
lib/extensions/_extensions.scss
public/
usage-data-config.json

# Prototype Kit ignores - developer tools
/cypress/downloads
/cypress/support
/cypress/screenshots
/cypress/temp
/cypress/videos
/cypress/fixtures/extensions/*/package-lock.json
/govuk-prototype-kit*.zip
/govuk-prototype-kit*.tgz
tmp/

# General ignores
.DS_Store
.idea
.tmuxp.*
/coverage
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.15.0
lts/*
Loading