diff --git a/pac-man-board-game.sln.DotSettings.user b/pac-man-board-game.sln.DotSettings.user
index cefe584..3b6af26 100644
--- a/pac-man-board-game.sln.DotSettings.user
+++ b/pac-man-board-game.sln.DotSettings.user
@@ -2,6 +2,4 @@
True
35336347-32EB-4764-A28E-3F8FF6CA54C4
db4927dd-2e12-48a7-9a84-2b7e3e31b9c8
- <SessionState ContinuousTestingMode="0" IsActive="True" Name="All tests from <BackendTests>" xmlns="urn:schemas-jetbrains-com:jetbrains-ut-session">
- <Project Location="/home/martin/Git/Csharp/pac-man-board-game/BackendTests" Presentation="<BackendTests>" />
-</SessionState>
\ No newline at end of file
+
\ No newline at end of file
diff --git a/pac-man-board-game/ClientApp/package.json b/pac-man-board-game/ClientApp/package.json
index b4882bc..313005d 100644
--- a/pac-man-board-game/ClientApp/package.json
+++ b/pac-man-board-game/ClientApp/package.json
@@ -2,6 +2,7 @@
"name": "pac_man_board_game",
"version": "0.1.1",
"private": true,
+ "type": "module",
"dependencies": {
"@emotion/react": "^11.11.1",
"@headlessui/react": "^1.7.17",
@@ -15,6 +16,7 @@
"web-vitals": "^3.5.0"
},
"devDependencies": {
+ "@types/node": "^20.10.7",
"@types/react": "^18.2.45",
"@types/react-dom": "^18.2.18",
"@vitejs/plugin-react": "^4.2.1",
diff --git a/pac-man-board-game/ClientApp/pnpm-lock.yaml b/pac-man-board-game/ClientApp/pnpm-lock.yaml
index c0f938f..b656deb 100644
--- a/pac-man-board-game/ClientApp/pnpm-lock.yaml
+++ b/pac-man-board-game/ClientApp/pnpm-lock.yaml
@@ -43,6 +43,9 @@ importers:
specifier: ^3.5.0
version: 3.5.0
devDependencies:
+ '@types/node':
+ specifier: ^20.10.7
+ version: 20.10.7
'@types/react':
specifier: ^18.2.45
version: 18.2.45
@@ -78,7 +81,7 @@ importers:
version: 5.3.3
vite:
specifier: ^5.0.10
- version: 5.0.10
+ version: 5.0.10(@types/node@20.10.7)
vite-plugin-node-polyfills:
specifier: ^0.17.0
version: 0.17.0(vite@5.0.10)
@@ -90,7 +93,7 @@ importers:
version: 4.2.2(typescript@5.3.3)(vite@5.0.10)
vitest:
specifier: ^1.1.0
- version: 1.1.0(happy-dom@12.10.3)
+ version: 1.1.0(@types/node@20.10.7)(happy-dom@12.10.3)
packages:
@@ -1403,6 +1406,12 @@ packages:
resolution: {integrity: sha512-22y3o88f4a94mKljsZcanlNWPzO0uBsBdzLAngf2tp533LzZcQzb6+eZPJ+vCTt+bqF2XnvT9gejTLsAcJAJyQ==}
dev: false
+ /@types/node@20.10.7:
+ resolution: {integrity: sha512-fRbIKb8C/Y2lXxB5eVMj4IU7xpdox0Lh8bUPEdtLysaylsml1hOOx1+STloRs/B9nf7C6kPRmmg/V7aQW7usNg==}
+ dependencies:
+ undici-types: 5.26.5
+ dev: true
+
/@types/parse-json@4.0.0:
resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==}
dev: false
@@ -1437,7 +1446,7 @@ packages:
'@babel/plugin-transform-react-jsx-source': 7.23.3(@babel/core@7.23.6)
'@types/babel__core': 7.20.5
react-refresh: 0.14.0
- vite: 5.0.10
+ vite: 5.0.10(@types/node@20.10.7)
transitivePeerDependencies:
- supports-color
dev: true
@@ -1460,7 +1469,7 @@ packages:
std-env: 3.6.0
test-exclude: 6.0.0
v8-to-istanbul: 9.2.0
- vitest: 1.1.0(happy-dom@12.10.3)
+ vitest: 1.1.0(@types/node@20.10.7)(happy-dom@12.10.3)
transitivePeerDependencies:
- supports-color
dev: true
@@ -3815,6 +3824,10 @@ packages:
resolution: {integrity: sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA==}
dev: true
+ /undici-types@5.26.5:
+ resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}
+ dev: true
+
/update-browserslist-db@1.0.11(browserslist@4.21.10):
resolution: {integrity: sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==}
hasBin: true
@@ -3933,7 +3946,7 @@ packages:
convert-source-map: 2.0.0
dev: true
- /vite-node@1.1.0:
+ /vite-node@1.1.0(@types/node@20.10.7):
resolution: {integrity: sha512-jV48DDUxGLEBdHCQvxL1mEh7+naVy+nhUUUaPAZLd3FJgXuxQiewHcfeZebbJ6onDqNGkP4r3MhQ342PRlG81Q==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
@@ -3942,7 +3955,7 @@ packages:
debug: 4.3.4
pathe: 1.1.1
picocolors: 1.0.0
- vite: 5.0.10
+ vite: 5.0.10(@types/node@20.10.7)
transitivePeerDependencies:
- '@types/node'
- less
@@ -3963,7 +3976,7 @@ packages:
buffer-polyfill: /buffer@6.0.3
node-stdlib-browser: 1.2.0
process: 0.11.10
- vite: 5.0.10
+ vite: 5.0.10(@types/node@20.10.7)
transitivePeerDependencies:
- rollup
dev: true
@@ -3976,7 +3989,7 @@ packages:
'@rollup/pluginutils': 5.0.5
'@svgr/core': 8.1.0
'@svgr/plugin-jsx': 8.1.0(@svgr/core@8.1.0)
- vite: 5.0.10
+ vite: 5.0.10(@types/node@20.10.7)
transitivePeerDependencies:
- rollup
- supports-color
@@ -3993,13 +4006,13 @@ packages:
debug: 4.3.4
globrex: 0.1.2
tsconfck: 2.1.2(typescript@5.3.3)
- vite: 5.0.10
+ vite: 5.0.10(@types/node@20.10.7)
transitivePeerDependencies:
- supports-color
- typescript
dev: true
- /vite@5.0.10:
+ /vite@5.0.10(@types/node@20.10.7):
resolution: {integrity: sha512-2P8J7WWgmc355HUMlFrwofacvr98DAjoE52BfdbwQtyLH06XKwaL/FMnmKM2crF0iX4MpmMKoDlNCB1ok7zHCw==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
@@ -4027,6 +4040,7 @@ packages:
terser:
optional: true
dependencies:
+ '@types/node': 20.10.7
esbuild: 0.19.10
postcss: 8.4.32
rollup: 4.9.1
@@ -4034,7 +4048,7 @@ packages:
fsevents: 2.3.3
dev: true
- /vitest@1.1.0(happy-dom@12.10.3):
+ /vitest@1.1.0(@types/node@20.10.7)(happy-dom@12.10.3):
resolution: {integrity: sha512-oDFiCrw7dd3Jf06HoMtSRARivvyjHJaTxikFxuqJjO76U436PqlVw1uLn7a8OSPrhSfMGVaRakKpA2lePdw79A==}
engines: {node: ^18.0.0 || >=20.0.0}
hasBin: true
@@ -4059,6 +4073,7 @@ packages:
jsdom:
optional: true
dependencies:
+ '@types/node': 20.10.7
'@vitest/expect': 1.1.0
'@vitest/runner': 1.1.0
'@vitest/snapshot': 1.1.0
@@ -4078,8 +4093,8 @@ packages:
strip-literal: 1.3.0
tinybench: 2.5.1
tinypool: 0.8.1
- vite: 5.0.10
- vite-node: 1.1.0
+ vite: 5.0.10(@types/node@20.10.7)
+ vite-node: 1.1.0(@types/node@20.10.7)
why-is-node-running: 2.2.2
transitivePeerDependencies:
- less
diff --git a/pac-man-board-game/ClientApp/postcss.config.js b/pac-man-board-game/ClientApp/postcss.config.cjs
similarity index 100%
rename from pac-man-board-game/ClientApp/postcss.config.js
rename to pac-man-board-game/ClientApp/postcss.config.cjs
diff --git a/pac-man-board-game/ClientApp/tailwind.config.js b/pac-man-board-game/ClientApp/tailwind.config.cjs
similarity index 100%
rename from pac-man-board-game/ClientApp/tailwind.config.js
rename to pac-man-board-game/ClientApp/tailwind.config.cjs
diff --git a/pac-man-board-game/Dockerfile b/pac-man-board-game/Dockerfile
index cf33e21..f2f6153 100644
--- a/pac-man-board-game/Dockerfile
+++ b/pac-man-board-game/Dockerfile
@@ -1,9 +1,9 @@
-FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base
+FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
WORKDIR /app
EXPOSE 80
EXPOSE 443
-FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
+FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
&& apt-get install -y \