diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 0000000..056e85a Binary files /dev/null and b/bun.lockb differ diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..7e36e53 --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1738680400, + "narHash": "sha256-ooLh+XW8jfa+91F1nhf9OF7qhuA/y1ChLx6lXDNeY5U=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "799ba5bffed04ced7067a91798353d360788b30d", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..5b0f0e0 --- /dev/null +++ b/flake.nix @@ -0,0 +1,25 @@ +{ + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + }; + + outputs = inputs@{ nixpkgs, ... }: + let + system = "x86_64-linux"; + in + { + devShells.${system}.default = + let + pkgs = import nixpkgs { + inherit system; + }; + in + pkgs.mkShell { + packages = with pkgs; [ + bun + ]; + + shellHook = "fish"; + }; + }; +} diff --git a/package.json b/package.json index e9087b1..2dbd620 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,8 @@ "pino-pretty": "^13.0.0", "ts-jest": "^29.2.5", "ts-node": "^10.9.2", - "typescript": "^5.7.3" + "typescript": "^5.7.3", + "@types/bun": "latest" }, "prettier": { "semi": false, @@ -43,4 +44,4 @@ "tabWidth": 2, "trailingComma": "all" } -} +} \ No newline at end of file