diff --git a/.eslintrc.js b/.eslintrc.js
index 9081191..4db4987 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -9,11 +9,11 @@ module.exports = {
'plugin:@typescript-eslint/recommended',
'plugin:react/recommended',
'plugin:react-hooks/recommended',
- 'prettier',
+ 'plugin:prettier/recommended',
],
parser: '@typescript-eslint/parser',
parserOptions: {
- ecmaVersion: 2022,
+ ecmaVersion: 2020,
project: './tsconfig.json',
tsconfigRootDir: __dirname,
sourceType: 'module',
diff --git a/.nvmrc b/.nvmrc
index 695100c..43bff1f 100644
--- a/.nvmrc
+++ b/.nvmrc
@@ -1 +1 @@
-20.3.0
\ No newline at end of file
+20.9.0
\ No newline at end of file
diff --git a/package.json b/package.json
index e09cba2..d07c631 100644
--- a/package.json
+++ b/package.json
@@ -23,29 +23,27 @@
},
"homepage": "https://github.com/hsimpson/ts-raytracer#readme",
"devDependencies": {
- "@types/node": "^20.3.1",
- "@types/react": "^18.2.13",
- "@types/react-dom": "^18.2.6",
+ "@types/node": "^20.8.10",
+ "@types/react": "^18.2.34",
+ "@types/react-dom": "^18.2.14",
"@types/recoil": "0.0.9",
- "@typescript-eslint/eslint-plugin": "^5.60.0",
- "@typescript-eslint/parser": "^5.60.0",
- "@typescript-eslint/typescript-estree": "^5.60.0",
- "@vitejs/plugin-react": "^4.0.1",
- "@webgpu/types": "^0.1.33",
- "eslint": "^8.43.0",
- "eslint-config-prettier": "^8.8.0",
+ "@typescript-eslint/eslint-plugin": "^6.9.1",
+ "@typescript-eslint/parser": "^6.9.1",
+ "@vitejs/plugin-react": "^4.1.1",
+ "@webgpu/types": "^0.1.38",
+ "eslint": "^8.52.0",
+ "eslint-config-prettier": "^9.0.0",
"eslint-config-react": "^1.1.7",
- "eslint-plugin-prettier": "^4.2.1",
- "eslint-plugin-react": "^7.32.2",
+ "eslint-plugin-prettier": "^5.0.1",
+ "eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
- "prettier": "^2.8.8",
+ "prettier": "^3.0.3",
"resize-observer-polyfill": "^1.5.1",
- "rimraf": "^5.0.1",
- "typescript": "^5.0.4",
- "vite": "^4.3.9"
+ "rimraf": "^5.0.5",
+ "typescript": "^5.2.2",
+ "vite": "^4.5.0"
},
"dependencies": {
- "@types/dom-webcodecs": "^0.1.7",
"alea": "^1.0.1",
"gl-matrix": "^3.4.3",
"react": "^18.2.0",
diff --git a/src/components/dropdown.tsx b/src/components/dropdown.tsx
index 15bc6bb..16320d1 100644
--- a/src/components/dropdown.tsx
+++ b/src/components/dropdown.tsx
@@ -23,7 +23,7 @@ export const DropDown = (props: DropDownProps): React.ReactElement => {
{props.label}