refactor(nix): split into flake parts module and add shell.nix chore: add prettier to treefmt and pin version chore(nix): add prettier exclude chore(nix): bump pnpm to v10.18.2 feat(nix): add overlay for nodejs feat(nix): add overlay for nodejs chore: consolidate .editorconfig
31 lines
567 B
Nix
31 lines
567 B
Nix
{
|
|
perSystem =
|
|
{
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
commonPackages = with pkgs; [
|
|
nodejs # Defined in overlay
|
|
pnpm_10 # v10.18.2
|
|
];
|
|
|
|
additionalPackages = with pkgs; [
|
|
bun
|
|
nodePackages.conventional-changelog-cli
|
|
sentry-cli
|
|
];
|
|
in
|
|
{
|
|
devShells.default = pkgs.mkShell {
|
|
name = "utrp-dev";
|
|
packages = commonPackages;
|
|
};
|
|
|
|
devShells.full = pkgs.mkShell {
|
|
name = "utrp-dev-full";
|
|
packages = commonPackages ++ additionalPackages;
|
|
};
|
|
};
|
|
}
|