versioning adjustments to get vite

This commit is contained in:
2025-11-08 13:43:36 -06:00
parent 9b172957a2
commit 56828e4b5f
3 changed files with 993 additions and 48 deletions
+3 -5
View File
@@ -12,16 +12,14 @@
reactApp = pkgs.buildNpmPackage { reactApp = pkgs.buildNpmPackage {
pname = "React Frontend"; pname = "React Frontend";
version = "0.1.0"; version = "0.1.0";
npmRoot = "frontend"; npmRoot = ./frontend;
src = ./frontend; src = ./frontend;
npmDepsHash = ""; npmDepsHash = "sha256-nkle3F6olonXwCejF7uJ68g5bcNeM6c6TJ9sMTGn3cM=";
nativeBuildInputs = with pkgs; [ nativeBuildInputs = with pkgs; [
vite nodejs_22
nodejs
]; ];
}; };
nixosModule = {config, lib, pkgs, ...}: nixosModule = {config, lib, pkgs, ...}:
+988 -42
View File
File diff suppressed because it is too large Load Diff
+2 -1
View File
@@ -8,13 +8,14 @@
"@testing-library/react": "^16.3.0", "@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^13.5.0", "@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2", "@types/jest": "^27.5.2",
"@types/node": "^16.18.126", "@types/node": "^22.12.0",
"@types/react": "^19.2.2", "@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2", "@types/react-dom": "^19.2.2",
"react": "^19.2.0", "react": "^19.2.0",
"react-dom": "^19.2.0", "react-dom": "^19.2.0",
"react-scripts": "5.0.1", "react-scripts": "5.0.1",
"typescript": "^4.9.5", "typescript": "^4.9.5",
"vite": "^7.2.2",
"web-vitals": "^2.1.4" "web-vitals": "^2.1.4"
}, },
"scripts": { "scripts": {