chore: add dev shell and direnv support

This commit is contained in:
Zexin Yuan
2025-12-10 21:17:11 +08:00
parent f8b292dfa3
commit 4dcfc3e0bc
3 changed files with 10 additions and 1 deletions

1
.envrc Normal file
View File

@@ -0,0 +1 @@
use flake

1
.gitignore vendored
View File

@@ -44,6 +44,7 @@ upload
.rollup.cache
*.tsbuildinfo
/.direnv
/result
.svelte-kit

View File

@@ -258,6 +258,13 @@
packages.server = server;
packages.default = desktop;
devShells.default = pkgs.mkShell {
buildInputs = [
nodejs
pnpm
];
};
}
);
}