Skip to content

Commit

Permalink
Update the NodeJS version to jod (22.x)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Oct 29, 2024
1 parent 80bdf15 commit 2b2d48b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/iron
lts/jod
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Added `aria-label` attributes to all elements with custom `title` attributes
- Added a title for items in pagination components ("Page x")
- The LTS version of NodeJS used has been upgraded from `iron` (`20.x`) to `jod` (`22.x`)

### Deprecated
### Removed

- Pagination items no longer have a `label` attribute - this is instead defined as `Page x` where `x` is the `number` attribute
- Removed the warnings about importing Google Fonts

### Fixed

Expand Down
8 changes: 4 additions & 4 deletions src/nationalarchives/utilities/_imports.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
" ",
"+"
);
@warn "Remember to import the Google Fonts CSS into your application";
@debug '<link rel="preconnect" href="https://fonts.googleapis.com">';
@debug '<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>';
@debug '<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=#{$main-font-family-name}:wght@#{typography.$main-font-weight}..#{typography.$main-font-weight-bold}&family=#{$detail-font-family-name}:wght@#{typography.$detail-font-weight}..#{typography.$detail-font-weight-bold}&display=swap">'; /* stylelint-disable-line */
// @warn "Remember to import the Google Fonts CSS into your application";
// @debug '<link rel="preconnect" href="https://fonts.googleapis.com">';
// @debug '<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>';
// @debug '<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=#{$main-font-family-name}:wght@#{typography.$main-font-weight}..#{typography.$main-font-weight-bold}&family=#{$detail-font-family-name}:wght@#{typography.$detail-font-weight}..#{typography.$detail-font-weight-bold}&display=swap">'; /* stylelint-disable-line */
}

0 comments on commit 2b2d48b

Please sign in to comment.