Add nodejs

This commit is contained in:
Oliver Davies 2024-08-02 22:35:40 +01:00
parent 3646cb490c
commit 5159aaf086
6 changed files with 5373 additions and 3534 deletions

1
.envrc Normal file
View file

@ -0,0 +1 @@
use flake

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
web/build/
node_modules/
.direnv/

View file

@ -1,7 +1,7 @@
@tailwind base;
a {
@apply text-red-800 text-lg
@apply text-lg
}
a:hover,

27
flake.lock Normal file
View file

@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1685573264,
"narHash": "sha256-Zffu01pONhs/pqH07cjlF10NnMDLok8ix5Uk4rhOnZQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "380be19fbd2d9079f677978361792cb25e8a3635",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-22.05",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

17
flake.nix Normal file
View file

@ -0,0 +1,17 @@
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.05";
outputs =
{ nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
inherit (pkgs) mkShell nodejs;
in
{
devShells.${system}.default = mkShell { buildInputs = [ nodejs ]; };
formatter.${system} = pkgs.nixfmt-rfc-style;
};
}

6481
package-lock.json generated

File diff suppressed because it is too large Load diff