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

Node version update #878

Merged
merged 25 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
16d68ad
frontend: package-lock.json
ErvinRacz Dec 8, 2024
bc377cc
frontend: react-scripts-version
ErvinRacz Dec 8, 2024
e07188a
frontend: executed tests after node version change
ErvinRacz Dec 9, 2024
45892bf
frontend: gh workflow
ErvinRacz Dec 9, 2024
15de604
frontend: component api fixes
ErvinRacz Dec 10, 2024
cf6dd00
frontend: added dev dep private property helper babel plugin
ErvinRacz Dec 10, 2024
4f3a658
frontend: prop name of justify for Grids
ErvinRacz Dec 10, 2024
e9f0ab8
frontend: code style
ErvinRacz Dec 11, 2024
98743b3
front-end: typescript version
ErvinRacz Dec 11, 2024
21d0612
frontend: storybook version
ErvinRacz Dec 16, 2024
ff966ca
frontend: api.ts
ErvinRacz Dec 16, 2024
705273f
frontend: MUI and react version
ErvinRacz Dec 17, 2024
92c008b
frontend: MUI and react version: variant-prop
ErvinRacz Dec 17, 2024
07f58b1
frontend: MUI and react version: link-underline-hover
ErvinRacz Dec 17, 2024
0e47de4
frontend: react-refresh version & MUI migration fixes
ErvinRacz Dec 17, 2024
6e9d2a4
frontend: fixed unit test
ErvinRacz Dec 18, 2024
874ef2b
frontend: fixed storybook config & updated snapshots
ErvinRacz Dec 18, 2024
aabfe8a
frontend: input field variants
ErvinRacz Dec 19, 2024
21366fd
frontend: snapshots updated
ErvinRacz Dec 19, 2024
56ff4ae
frontend: increased test coverage
ErvinRacz Dec 19, 2024
e503648
frontend: eslint config reference & ts version
ErvinRacz Dec 19, 2024
c90e91c
frontend: code cleaning
ErvinRacz Jan 3, 2025
1e74973
frontend: api query construction
ErvinRacz Jan 7, 2025
6672bb1
frontend: bg color
ErvinRacz Jan 20, 2025
3905d3d
frontend: update snapshots
ErvinRacz Jan 20, 2025
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/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ on:
jobs:
build:

runs-on: ubuntu-22.04
runs-on: ubuntu-24.04

strategy:
matrix:
node-version: [16.x]
node-version: [22]

steps:
- name: Check out code
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ COPY ./backend ./
RUN make build

# Frontend build
FROM docker.io/library/node:15 as frontend-install
FROM docker.io/library/node:22 as frontend-install
WORKDIR /app/frontend
COPY frontend/package*.json ./
RUN npm install
Expand Down
14 changes: 13 additions & 1 deletion frontend/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
module.exports = {
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
stories: ['../src/**/*.stories.@(js|jsx|ts|tsx)'],

addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/preset-create-react-app',
],

framework: {
name: '@storybook/react-webpack5',
options: {}
},

staticDirs: ['../public'],

docs: {
autodocs: true
}
};
11 changes: 7 additions & 4 deletions frontend/.storybook/preview.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import React from 'react';
import themesConf from '../src/lib/themes';
import { StylesProvider } from '@material-ui/core/styles';
import { StylesProvider } from '@mui/styles';
import '../src/i18n/config';
import ThemeProviderNexti18n from '../src/i18n/ThemeProviderNexti18n';
import { StyledEngineProvider } from '@mui/material/styles';

const darkTheme = themesConf['dark'];
const lightTheme = themesConf['light'];
Expand All @@ -12,9 +13,11 @@ const withThemeProvider = (Story, context) => {
const theme = backgroundColor !== 'dark' ? lightTheme : darkTheme;

const ourThemeProvider = (
<ThemeProviderNexti18n theme={theme}>
<Story {...context} />
</ThemeProviderNexti18n>
<StyledEngineProvider injectFirst>
<ThemeProviderNexti18n theme={theme}>
<Story {...context} />
</ThemeProviderNexti18n>
</StyledEngineProvider>
);
if (process.env.NODE_ENV !== 'test') {
return ourThemeProvider;
Expand Down
Loading
Loading