BREAKING CHANGE: initialized vite + frontend, electron currently broken

tsconfig.json and vite.config.ts makes things difficult to build but
we're getting somewhere on it. I'm likely going to change these files
and perhaps the layout of the project as it grows, especially for the
debugging parts and building parts (e.g ./dist/ and the ts, vite, and
node configs)

so far, its going well, slow and steady start, the next thing I need to
target is fixing to why electron won't load built vite files and figure
out how to run electron and vite together perhaps as a means of making
debugging / programming easier
This commit is contained in:
devaine 2026-10-27 11:18:31 -05:00
commit 73cb54ad4f
Signed by: devaine
GPG key ID: 954B1DCAC6FF84EE
10 changed files with 3248 additions and 0 deletions

29
package.json Normal file
View file

@ -0,0 +1,29 @@
{
"type": "module",
"private": true,
"version": "0.0.1",
"scripts": {
"dev:render": "vite --mode renderer",
"dev:build": "vite build --mode renderer",
"dev:electron": "electron src/main/main.ts"
},
"dependencies": {
"react": "^19.3.1",
"react-dom": "^19.3.1"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^24.19.2",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.1.2",
"electron": "^45.0.0",
"eslint": "^10.13.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.7",
"globals": "^17.13.0",
"typescript": "~6.0.3",
"typescript-eslint": "^8.71.2",
"vite": "^8.3.4"
}
}