updated default.nix shell for nextjs

This commit is contained in:
2025-02-10 12:42:19 -06:00
parent 769e99d4c3
commit c9eb6480da
3 changed files with 4554 additions and 14 deletions
+8 -6
View File
@@ -1,15 +1,17 @@
{ pkgs ? import <nixpkgs> {} }:
let
nodePackages = pkgs.nodePackages;
pkgs = import <nixpkgs> {};
in
pkgs.mkShell {
buildInputs = [
nodePackages.nodejs
nodePackages.yarn
pkgs.nodejs
pkgs.yarn
];
# Install Next.js via yarn in the shell
shellHook = ''
echo "Welcome to the bakery-template development environment!"
if ! [ -d "node_modules" ]; then
yarn add next react react-dom
fi
'';
}
+3 -3
View File
@@ -12,10 +12,10 @@
"@svgr/webpack": "^8.1.0",
"framer-motion": "^11.11.11",
"keen-slider": "^6.8.6",
"next": "15.0.2",
"react": "^18.2.0",
"next": "^15.1.6",
"react": "^19.0.0",
"react-awesome-slider": "^4.1.0",
"react-dom": "^18.2.0",
"react-dom": "^19.0.0",
"sass": "^1.83.4"
},
"devDependencies": {
+4538
View File
File diff suppressed because it is too large Load Diff