Skip to content

Commit

Permalink
chore: add direnv
Browse files Browse the repository at this point in the history
  • Loading branch information
paring-chan committed Dec 27, 2023
1 parent 6e727f2 commit a739b20
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use nix
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,7 @@ dist
dist-docs
/.swc
docs/typedoc-out.json
docs/docs.json
docs/docs.json


.direnv
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true,
"editor.codeActionsOnSave": {
"source.fixAll": true
"source.fixAll": "explicit"
}
}
3 changes: 3 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{ pkgs ? import <nixpkgs> { } }:

pkgs.mkShell { packages = with pkgs; [ nodejs_20 corepack ]; }

0 comments on commit a739b20

Please sign in to comment.