Skip to content

Commit

Permalink
Merge pull request Ericsson#706 from mcserep/update-nextjs-14
Browse files Browse the repository at this point in the history
Update NextJs to v14.1 for new frontend
  • Loading branch information
intjftw authored Mar 8, 2024
2 parents 41b42a3 + bc61214 commit d5069ba
Show file tree
Hide file tree
Showing 6 changed files with 1,056 additions and 909 deletions.
4 changes: 2 additions & 2 deletions doc/deps.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ make install -j $(nproc)
```

### Node.js and NPM
Make sure you are using at least version 18 of [Node.js](https://nodejs.org/en/).
Make sure you are using at least version 18.17 of [Node.js](https://nodejs.org/en/).
Unfortunately only older versions are available in the official Ubuntu repositories
for all supported versions, therefore a separate installation might be required from
[NodeSource](https://github.com/nodesource/distributions).
Expand All @@ -218,7 +218,7 @@ sudo apt-get install nodejs
```

You can also download [nvm](https://github.com/nvm-sh/nvm), and run `nvm install`
at the root of the project to use the specified Node version (18.13.0).
at the root of the project to use the specified Node version (18.17.0).


### GTest/Googletest
Expand Down
2 changes: 1 addition & 1 deletion webgui-new/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.13.0
v18.17.0
4 changes: 2 additions & 2 deletions webgui-new/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

## Prerequisites

Make sure you are using at least version 18 of [Node.js](https://nodejs.org/en/).\
You can also download [nvm](https://github.com/nvm-sh/nvm), and run `nvm install` at the root of the project to use the specified Node version (18.13.0).
Make sure you are using at least version 18.17 of [Node.js](https://nodejs.org/en/).\
You can also download [nvm](https://github.com/nvm-sh/nvm), and run `nvm install` at the root of the project to use the specified Node version (18.17.0).

## Development

Expand Down
1 change: 1 addition & 0 deletions webgui-new/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ require('dotenv').config();

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
reactStrictMode: true,
modularizeImports: {
'@mui/icons-material': {
Expand Down
Loading

0 comments on commit d5069ba

Please sign in to comment.