Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/build-frontend/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ runs:
using: composite
steps:
- name: Install Node
uses: actions/setup-node@v4.2.0
uses: actions/setup-node@v6.0.0
with:
node-version: "22"
node-version: "24"

- name: Install dependencies
run: npm ci
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Install Node
uses: actions/[email protected]
with:
node-version: 22
node-version: 24

- name: Install Node dependencies
working-directory: ./frontend
Expand All @@ -90,7 +90,7 @@ jobs:
- name: Install Node
uses: actions/[email protected]
with:
node-version: 22
node-version: 24

- name: Install Node dependencies
working-directory: ./frontend
Expand All @@ -114,7 +114,7 @@ jobs:
- name: Install Node
uses: actions/[email protected]
with:
node-version: 20
node-version: 24

- name: Install Node dependencies
working-directory: ./frontend
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install Node
uses: actions/[email protected]
with:
node-version: 22
node-version: 24

- name: Build the documentation
run: sh misc/build-docs.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Install Node
uses: actions/[email protected]
with:
node-version: 22
node-version: 24

- name: Install Localazy CLI
run: npm install -g @localazy/cli
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/translations-download.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install Node
uses: actions/[email protected]
with:
node-version: 22
node-version: 24

- name: Install Localazy CLI
run: npm install -g @localazy/cli
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/translations-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install Node
uses: actions/[email protected]
with:
node-version: 22
node-version: 24

- name: Install Localazy CLI
run: npm install -g @localazy/cli
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
ARG DEBIAN_VERSION=12
ARG DEBIAN_VERSION_NAME=bookworm
ARG RUSTC_VERSION=1.89.0
ARG NODEJS_VERSION=22.19.0
ARG NODEJS_VERSION=24.11.0
# Keep in sync with .github/actions/build-policies/action.yml and policies/Makefile
ARG OPA_VERSION=1.8.0
ARG CARGO_AUDITABLE_VERSION=0.7.0
Expand Down
33 changes: 0 additions & 33 deletions frontend/i18next-parser.config.ts

This file was deleted.

18 changes: 18 additions & 0 deletions frontend/i18next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Copyright 2025 New Vector Ltd.
//
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
// Please see LICENSE files in the repository root for full details.

import { defineConfig } from "i18next-cli";

export default defineConfig({
locales: ["en"],
extract: {
input: "src/**/*.{ts,tsx}",
output: "locales/{{language}}.json",
defaultNS: false,
pluralSeparator: ":",
keySeparator: ".",
sort: true,
},
});
7 changes: 6 additions & 1 deletion frontend/knip.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ import type { KnipConfig } from "knip";

export default {
entry: ["src/main.tsx", "src/swagger.ts", "src/routes/*"],
ignore: ["src/gql/*", "src/routeTree.gen.ts", ".storybook/locales.ts"],
ignore: [
"src/gql/*",
"src/routeTree.gen.ts",
".storybook/locales.ts",
"i18next.config.ts",
],
ignoreDependencies: [
// This is used by the tailwind PostCSS plugin, but not detected by knip
"postcss-nesting",
Expand Down
3 changes: 0 additions & 3 deletions frontend/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,6 @@
"delete_button_title": "Remove email address",
"email": "Email"
},
"user_email_list": {
"no_primary_email_alert": "No primary email address"
},
"user_sessions_overview": {
"heading": "Where you're signed in",
"no_active_sessions": {
Expand Down
Loading
Loading