Files
kiskaadee fbf621dc24 chore(nix): provide reproducible devShell and dual CI/CD pipeline
- Add flake.nix with Node.js 22, pnpm, Biome, tea, and git in devShell

- Add .envrc for seamless direnv integration

- Add .github/workflows/deploy.yml & .gitea/workflows/deploy.yaml for automated Biome check, build validation, and Cloudflare Pages deployment to elcorazoncomoportal.com

- Configure pre-commit hook with --no-errors-on-unmatched to allow non-web files (Nix/YAML) to pass cleanly

Rationale: Guarantee complete reproducible development and continuous deployment pipeline across NixOS and CI runners.
2026-11-01 11:05:35 -05:00

31 lines
766 B
Nix

{
description = "El Corazón como Portal: Public Landing Page (corazoncp-landing) — Node.js 22 + Vite+ + Biome devShell";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
name = "corazoncp-landing-devshell";
packages = with pkgs; [
nodejs_22
pnpm
biome
tea
git
];
shellHook = ''
export PATH="$PWD/node_modules/.bin:$PATH"
'';
};
});
}