chore(dev): move nix flake to top level, add api tooling
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c1d06c5e5a
commit
4d78ae7fa8
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -28,3 +28,4 @@ vendor/
|
||||||
os-packages/
|
os-packages/
|
||||||
mage_output_file.go
|
mage_output_file.go
|
||||||
mage-static
|
mage-static
|
||||||
|
.direnv/
|
||||||
|
|
18
flake.nix
Normal file
18
flake.nix
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
{
|
||||||
|
description = "Vikunja dev environment";
|
||||||
|
|
||||||
|
outputs = { self, nixpkgs }:
|
||||||
|
let pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
|
in {
|
||||||
|
defaultPackage.x86_64-linux =
|
||||||
|
pkgs.mkShell { buildInputs = with pkgs; [
|
||||||
|
# General tools
|
||||||
|
git-cliff
|
||||||
|
# Frontend tools
|
||||||
|
nodePackages.pnpm cypress
|
||||||
|
# API tools
|
||||||
|
go golangci-lint mage
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
1
frontend/.gitignore
vendored
1
frontend/.gitignore
vendored
|
@ -13,7 +13,6 @@ node_modules
|
||||||
/dist*
|
/dist*
|
||||||
coverage
|
coverage
|
||||||
*.zip
|
*.zip
|
||||||
.direnv/
|
|
||||||
|
|
||||||
# Test files
|
# Test files
|
||||||
cypress/screenshots
|
cypress/screenshots
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
{
|
|
||||||
description = "Vikunja frontend dev environment";
|
|
||||||
|
|
||||||
outputs = { self, nixpkgs }:
|
|
||||||
let pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
||||||
in {
|
|
||||||
defaultPackage.x86_64-linux =
|
|
||||||
pkgs.mkShell { buildInputs = [ pkgs.nodePackages.pnpm pkgs.cypress pkgs.git-cliff ]; };
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user