chore: update package.json and package-lock.json for @types/react-dom, adjust routes and vite config

This commit is contained in:
Dan Dobos
2026-02-20 17:23:35 +01:00
parent 89144c85d9
commit 4a3757ee3d
4 changed files with 19 additions and 5 deletions
+11
View File
@@ -65,6 +65,7 @@
},
"devDependencies": {
"@tailwindcss/vite": "4.1.12",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "4.7.0",
"gh-pages": "^6.3.0",
"tailwindcss": "4.1.12",
@@ -3408,6 +3409,16 @@
"csstype": "^3.2.2"
}
},
"node_modules/@types/react-dom": {
"version": "19.2.3",
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz",
"integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==",
"devOptional": true,
"license": "MIT",
"peerDependencies": {
"@types/react": "^19.2.0"
}
},
"node_modules/@types/react-transition-group": {
"version": "4.4.12",
"resolved": "https://registry.npmjs.org/@types/react-transition-group/-/react-transition-group-4.4.12.tgz",
+3 -4
View File
@@ -1,14 +1,12 @@
{
"name": "handyman",
"homepage": "https://dadobos.github.io/handyman/",
"homepage": "https://dadobos.github.io/handyman",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"build": "vite build",
"dev": "vite"
"deploy": "gh-pages -d dist"
},
"dependencies": {
"@emotion/react": "11.14.0",
@@ -68,6 +66,7 @@
},
"devDependencies": {
"@tailwindcss/vite": "4.1.12",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "4.7.0",
"gh-pages": "^6.3.0",
"tailwindcss": "4.1.12",
+3 -1
View File
@@ -18,4 +18,6 @@ export const router = createBrowserRouter([
{ path: "contact", Component: Contact },
],
},
]);
], {
basename: import.meta.env.BASE_URL
});
+2
View File
@@ -1,9 +1,11 @@
/// <reference types="node" />
import { defineConfig } from 'vite'
import path from 'path'
import tailwindcss from '@tailwindcss/vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
base: '/handyman/', // Set the base path for the application to ensure correct asset loading when deployed to GitHub Pages
plugins: [
// The React and Tailwind plugins are both required for Make, even if
// Tailwind is not being actively used do not remove them