govuk_tech_docs 6.3.0 → 6.4.0.beta
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.
- checksums.yaml +4 -4
- data/.github/workflows/build-middleman-artifact.yaml +3 -3
- data/.github/workflows/check-documentation-updates.yaml +32 -0
- data/.github/workflows/check-gem-version.yaml +36 -0
- data/.github/workflows/dependency-review.yaml +2 -5
- data/.github/workflows/pipeline.yaml +50 -0
- data/.github/workflows/publish-gem.yaml +61 -0
- data/.github/workflows/{deploy-to-pages.yaml → publish-github-pages.yaml} +3 -4
- data/.github/workflows/test.yaml +9 -8
- data/.rspec +1 -0
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/govuk_tech_docs/version.rb +1 -1
- data/lib/source/layouts/_footer.erb +1 -1
- data/lib/source/layouts/_header.erb +1 -1
- data/lib/source/layouts/_service_navigation.erb +3 -1
- data/lib/source/layouts/core.erb +2 -4
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.js +2 -5
- data/node_modules/govuk-frontend/dist/govuk/all.bundle.mjs +2 -5
- data/node_modules/govuk-frontend/dist/govuk/common/govuk-frontend-version.mjs +1 -1
- data/node_modules/govuk-frontend/dist/govuk/components/_index.import.scss +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/_index.scss +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/breadcrumbs/_mixin.scss +1 -5
- data/node_modules/govuk-frontend/dist/govuk/components/checkboxes/_mixin.scss +7 -1
- data/node_modules/govuk-frontend/dist/govuk/components/exit-this-page/_mixin.scss +5 -1
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.js +1 -4
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.bundle.mjs +1 -4
- data/node_modules/govuk-frontend/dist/govuk/components/file-upload/file-upload.mjs +1 -5
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/_generic-header.import.scss +6 -0
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/_index.import.scss +8 -0
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/_index.scss +5 -0
- data/node_modules/govuk-frontend/dist/govuk/components/generic-header/_mixin.scss +140 -0
- data/node_modules/govuk-frontend/dist/govuk/components/header/_mixin.scss +9 -65
- data/node_modules/govuk-frontend/dist/govuk/components/input/_mixin.scss +1 -0
- data/node_modules/govuk-frontend/dist/govuk/components/notification-banner/_mixin.scss +8 -7
- data/node_modules/govuk-frontend/dist/govuk/components/panel/_mixin.scss +46 -12
- data/node_modules/govuk-frontend/dist/govuk/components/radios/_mixin.scss +7 -1
- data/node_modules/govuk-frontend/dist/govuk/components/select/_mixin.scss +0 -7
- data/node_modules/govuk-frontend/dist/govuk/components/service-navigation/_mixin.scss +8 -7
- data/node_modules/govuk-frontend/dist/govuk/custom-properties/_frontend-version.mixin.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/govuk-frontend.min.js +1 -1
- data/node_modules/govuk-frontend/dist/govuk/helpers/_links.scss +1 -1
- data/node_modules/govuk-frontend/dist/govuk/settings/_colours-functional.scss +3 -0
- data/node_modules/govuk-frontend/dist/govuk/tools/_exports.scss +1 -1
- data/package-lock.json +160 -559
- data/package.json +3 -3
- metadata +10 -3
- data/.github/workflows/publish.yaml +0 -83
data/package.json
CHANGED
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"test-server": "jasmine-browser-runner serve --config=spec/javascripts/support/jasmine-browser.mjs"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"govuk-frontend": "^6.
|
|
11
|
+
"govuk-frontend": "^6.4.0",
|
|
12
12
|
"nunjucks": "~3.2.4"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"jasmine-browser-runner": "^
|
|
16
|
-
"jasmine-core": "^
|
|
15
|
+
"jasmine-browser-runner": "^5.0.0",
|
|
16
|
+
"jasmine-core": "^7.0.2",
|
|
17
17
|
"standard": "^17.0.0"
|
|
18
18
|
},
|
|
19
19
|
"standard": {
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: govuk_tech_docs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.
|
|
4
|
+
version: 6.4.0.beta
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Government Digital Service
|
|
@@ -396,9 +396,12 @@ files:
|
|
|
396
396
|
- ".github/dependabot.yml"
|
|
397
397
|
- ".github/pull_request_template.md"
|
|
398
398
|
- ".github/workflows/build-middleman-artifact.yaml"
|
|
399
|
+
- ".github/workflows/check-documentation-updates.yaml"
|
|
400
|
+
- ".github/workflows/check-gem-version.yaml"
|
|
399
401
|
- ".github/workflows/dependency-review.yaml"
|
|
400
|
-
- ".github/workflows/
|
|
401
|
-
- ".github/workflows/publish.yaml"
|
|
402
|
+
- ".github/workflows/pipeline.yaml"
|
|
403
|
+
- ".github/workflows/publish-gem.yaml"
|
|
404
|
+
- ".github/workflows/publish-github-pages.yaml"
|
|
402
405
|
- ".github/workflows/test.yaml"
|
|
403
406
|
- ".gitignore"
|
|
404
407
|
- ".npmrc"
|
|
@@ -662,6 +665,10 @@ files:
|
|
|
662
665
|
- node_modules/govuk-frontend/dist/govuk/components/footer/_index.import.scss
|
|
663
666
|
- node_modules/govuk-frontend/dist/govuk/components/footer/_index.scss
|
|
664
667
|
- node_modules/govuk-frontend/dist/govuk/components/footer/_mixin.scss
|
|
668
|
+
- node_modules/govuk-frontend/dist/govuk/components/generic-header/_generic-header.import.scss
|
|
669
|
+
- node_modules/govuk-frontend/dist/govuk/components/generic-header/_index.import.scss
|
|
670
|
+
- node_modules/govuk-frontend/dist/govuk/components/generic-header/_index.scss
|
|
671
|
+
- node_modules/govuk-frontend/dist/govuk/components/generic-header/_mixin.scss
|
|
665
672
|
- node_modules/govuk-frontend/dist/govuk/components/header/_header.import.scss
|
|
666
673
|
- node_modules/govuk-frontend/dist/govuk/components/header/_index.import.scss
|
|
667
674
|
- node_modules/govuk-frontend/dist/govuk/components/header/_index.scss
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
name: Publish
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
workflow_dispatch:
|
|
8
|
-
|
|
9
|
-
concurrency: rubygems
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
pre:
|
|
13
|
-
name: Pre-flight checks
|
|
14
|
-
runs-on: ubuntu-latest
|
|
15
|
-
outputs:
|
|
16
|
-
go: ${{ steps.gem_version.outputs.new_version }}
|
|
17
|
-
|
|
18
|
-
steps:
|
|
19
|
-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
20
|
-
with:
|
|
21
|
-
show-progress: false
|
|
22
|
-
|
|
23
|
-
- uses: ruby/setup-ruby@89f90524b88a01fe6e0b732220432cc6142926af # v1.313.0
|
|
24
|
-
with:
|
|
25
|
-
ruby-version: '3'
|
|
26
|
-
|
|
27
|
-
- name: Check if new version to release
|
|
28
|
-
id: gem_version
|
|
29
|
-
run: |
|
|
30
|
-
gem_version=$(ruby -r rubygems -e "puts Gem::Specification::load('govuk_tech_docs.gemspec').version")
|
|
31
|
-
echo "gem_version=$gem_version" >> "$GITHUB_OUTPUT"
|
|
32
|
-
|
|
33
|
-
if git fetch origin "refs/tags/v$gem_version" >/dev/null 2>&1
|
|
34
|
-
then
|
|
35
|
-
echo "Tag 'v$gem_version' already exists"
|
|
36
|
-
echo "new_version=false" >> "$GITHUB_OUTPUT"
|
|
37
|
-
else
|
|
38
|
-
echo "new_version=true" >> "$GITHUB_OUTPUT"
|
|
39
|
-
fi
|
|
40
|
-
|
|
41
|
-
deploy:
|
|
42
|
-
name: Publish Ruby Gem
|
|
43
|
-
environment: rubygems
|
|
44
|
-
permissions:
|
|
45
|
-
contents: write # needed to be able to tag the release
|
|
46
|
-
runs-on: ubuntu-latest
|
|
47
|
-
needs: pre
|
|
48
|
-
if: needs.pre.outputs.go == 'true'
|
|
49
|
-
|
|
50
|
-
steps:
|
|
51
|
-
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
52
|
-
with:
|
|
53
|
-
show-progress: false
|
|
54
|
-
|
|
55
|
-
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
|
56
|
-
with:
|
|
57
|
-
node-version-file: '.nvmrc'
|
|
58
|
-
cache: 'npm'
|
|
59
|
-
|
|
60
|
-
- uses: ruby/setup-ruby@89f90524b88a01fe6e0b732220432cc6142926af # v1.313.0
|
|
61
|
-
with:
|
|
62
|
-
ruby-version: '3'
|
|
63
|
-
bundler-cache: true
|
|
64
|
-
|
|
65
|
-
- name: Publish
|
|
66
|
-
env:
|
|
67
|
-
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
|
|
68
|
-
run: |
|
|
69
|
-
mkdir -p ~/.gem
|
|
70
|
-
|
|
71
|
-
cat << EOF > ~/.gem/credentials
|
|
72
|
-
---
|
|
73
|
-
:rubygems_api_key: ${RUBYGEMS_API_KEY}
|
|
74
|
-
EOF
|
|
75
|
-
|
|
76
|
-
chmod 0600 ~/.gem/credentials
|
|
77
|
-
|
|
78
|
-
# tag will be associated with github-actions bot user, see
|
|
79
|
-
# https://github.community/t/github-actions-bot-email-address/17204
|
|
80
|
-
git config user.name "github-actions[bot]"
|
|
81
|
-
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
82
|
-
|
|
83
|
-
bundle exec rake release
|