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
No known key found for this signature in database
3 changed files with 10 additions and 1 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use flake

3
.gitignore vendored
View File

@ -44,9 +44,10 @@ upload
.rollup.cache
*.tsbuildinfo
/.direnv
/result
.svelte-kit
# docs
site/
apps/*/coverage
apps/*/coverage

View File

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