3.0.0 - Dependency updates, improved typesafe config, improve typing
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m44s

This commit is contained in:
2025-09-22 15:07:03 -06:00
parent 6c9fabe770
commit 75931d4a43
20 changed files with 1353 additions and 1533 deletions

View File

@@ -3,8 +3,8 @@
description = "A portable development environment for atridotdad with Nix Flakes";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; # Pin to a specific branch or commit for stability
flake-utils.url = "github:numtide/flake-utils"; # Helps with system boilerplate
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
@@ -22,7 +22,7 @@
curl
];
# Common libraries needed for Playwright across platforms (e.g., for WebKit/Firefox)
# Common libraries needed for Playwright
playwrightCommonLibs = with pkgs; [
glib
nss
@@ -44,7 +44,7 @@
gnutls
];
# Linux-specific libraries for Playwright (mostly Chromium dependencies)
# Linux-specific libraries for Playwright
playwrightLinuxSpecificLibs = with pkgs; [
glibc
libgcc
@@ -75,7 +75,7 @@
devShells.default = pkgs.mkShell {
packages = commonDevTools ++ (
if isDarwin
then playwrightCommonLibs # For macOS, Playwright will download Chromium. Provide base libs.
then playwrightCommonLibs # For macOS, Playwright will download Chromium.
else [ pkgs.chromium ] ++ playwrightSelfDownloadLibs # For Linux, provide Chromium and its dependencies
);
@@ -112,9 +112,9 @@
if [ ! -d "node_modules" ]; then
echo "📦 Installing pnpm dependencies..."
pnpm install --frozen-lockfile # Use --frozen-lockfile for more consistent builds
pnpm install --frozen-lockfile
fi
'';
};
});
}
}