nixos-configs/apps/update-sources/src/node-modules.ts

84 lines
2.3 KiB
TypeScript
Raw Normal View History

import { readPackageJSON, writePackageJSON } from 'pkg-types';
import { readdirSync } from 'node:fs';
import { spawnSync } from 'node:child_process';
import { replaceInFile, npmRun } from './lib';
/* Constants */
const FLAKE = process.env.FLAKE as string;
chore: update sources Flake Inputs: • Updated input 'astal': 'github:Aylur/astal' (2024-11-29) rev: 990f031507b21f8a18c0710016fb76b1f260afe8 → 'github:Aylur/astal' (2024-12-06) rev: 4c19d8d06fa25cc6389f37abe8839b4d8be5c0d6 • Updated input 'custom-sidebar-src': 'github:elchininet/custom-sidebar' (2024-12-04) rev: bf77493d6d69d252a669192b2f306bfbe4549655 → 'github:elchininet/custom-sidebar' (2024-12-07) rev: 4a8a5977e620cbcd584a8de96e1bceb83db227a2 • Updated input 'discord-overlay': 'github:matt1432/discord-nightly-overlay' (2024-12-03) rev: 3d31fbcaa6a99040ef1c6b953957f21c30c1d8e0 → 'github:matt1432/discord-nightly-overlay' (2024-12-07) rev: 67db3b139494ad55e489d772c1131d8f03289eea • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2024-11-30) rev: 508934b14a78f420174c1953ee8460384444e72b → 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2024-12-08) rev: 0b9fe9a89783f42d9c3bea1cf9ebf1f4ddf70621 • Updated input 'gtk-theme-src': 'github:dracula/gtk' (2024-11-26) rev: 788add33099a70b8ebba321b882ebff23fdc0a98 → 'github:dracula/gtk' (2024-12-05) rev: 3478e48925f33af411393adaa4043193f03a4e9a • Updated input 'home-manager': 'github:nix-community/home-manager' (2024-12-05) rev: 65912bc6841cf420eb8c0a20e03df7cbbff5963f → 'github:nix-community/home-manager' (2024-12-06) rev: d00c6f6d0ad16d598bf7e2956f52c1d9d5de3c3a • Updated input 'hyprgrass': 'github:horriblename/hyprgrass' (2024-12-05) rev: ecb7e95a739e4e6e7ee4007c3e676f545b687981 → 'github:horriblename/hyprgrass' (2024-12-08) rev: b928abfba914b61d657daf70f3e9901461d27439 • Updated input 'hyprland': 'github:hyprwm/Hyprland' (2024-12-05) rev: ceef4fb3a5efe1617790f56e2701846a21c2533d → 'github:hyprwm/Hyprland' (2024-12-07) rev: c106f454c136ecca47f84c659c58e19670050412 • Added input 'hyprland/hyprland-qtutils': 'github:hyprwm/hyprland-qtutils' (2024-12-06) rev: 969427419276c7ee170301ef1ebe0f68eb6eb2e2 • Added input 'hyprland/hyprland-qtutils/hyprutils': follows 'hyprland/hyprutils' • Added input 'hyprland/hyprland-qtutils/nixpkgs': follows 'hyprland/nixpkgs' • Added input 'hyprland/hyprland-qtutils/systems': follows 'hyprland/systems' • Updated input 'hyprland/pre-commit-hooks': 'github:cachix/git-hooks.nix' (2024-11-19) rev: 3308484d1a443fc5bc92012435d79e80458fe43c → 'github:cachix/git-hooks.nix' (2024-12-04) rev: 6f4e2a2112050951a314d2733a994fbab94864c6 • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland' (2024-11-15) rev: 8070f36deec723de71e7557441acb17e478204d3 → 'github:hyprwm/xdg-desktop-portal-hyprland' (2024-12-02) rev: fd85ef39369f95eed67fdf3f025e86916edeea2f • Updated input 'hyprutils': 'github:hyprwm/hyprutils' (2024-11-22) rev: b26f33cc1c8a7fd5076e19e2cce3f062dca6351c → 'github:hyprwm/hyprutils' (2024-12-06) rev: 104117aed6dd68561be38b50f218190aa47f2cd8 • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS' (2024-11-27) rev: 8d7b2149e618696d5100c2683af1ffa893f02a75 → 'github:Jovian-Experiments/Jovian-NixOS' (2024-12-06) rev: 0f415721ee427270bc078ef3a5ba2a308d47461f • Updated input 'material-symbols-src': 'github:beecho01/material-symbols' (2024-11-23) rev: 2210b1fd4ee1a75d53ca9f3d5013b21d855e22f2 → 'github:beecho01/material-symbols' (2024-12-06) rev: 8f665f5d92821f266c3d0be5385ec990a89c7df3 • Updated input 'nh': 'github:viperML/nh' (2024-12-02) rev: 83db9160f7d79c0e3af45686454853d239202e54 → 'github:viperML/nh' (2024-12-06) rev: 97e70d0a2c6bddb2a1d081c949ebe1b48c169a87 • Updated input 'nix-gaming': 'github:fufexan/nix-gaming' (2024-12-02) rev: 094b2c4ee459dd5d3d1611c919d59f26110053b0 → 'github:fufexan/nix-gaming' (2024-12-08) rev: b15e082eeea1afdf6bfe7aa0dbe4758097958f80 • Updated input 'nix-index-db': 'github:Mic92/nix-index-database' (2024-12-01) rev: 6e0b7f81367069589a480b91603a10bcf71f3103 → 'github:Mic92/nix-index-database' (2024-12-08) rev: f1e477a7dd11e27e7f98b646349cd66bbabf2fb8 • Updated input 'nixpkgs': 'github:NixOS/nixpkgs' (2024-12-03) rev: 55d15ad12a74eb7d4646254e13638ad0c4128776 → 'github:NixOS/nixpkgs' (2024-12-05) rev: d0797a04b81caeae77bcff10a9dde78bc17f5661 • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland' (2024-12-05) rev: 9f8fe3345238f1be1859a036ff68f40dc7bbf34b → 'github:nix-community/nixpkgs-wayland' (2024-12-07) rev: 98e4d443cc6cc78659a33074aae4dee9e4b37bd7 • Updated input 'spotifyplus-src': 'github:thlucas1/homeassistantcomponent_spotifyplus' (2024-12-03) rev: 0ccc8e47abec9f3d474bd2d70e80f2dacfc69b5a → 'github:thlucas1/homeassistantcomponent_spotifyplus' (2024-12-06) rev: 3aa0d8a1e6b811508becabebddcb8df1db490e71 • Updated input 'spotifywebapi-src': 'github:thlucas1/SpotifyWebApiPython' (2024-12-03) rev: 02ddbac32cfe3ad48c6bddecc5522127d8abd723 → 'github:thlucas1/SpotifyWebApiPython' (2024-12-08) rev: acc942bb5f22a9f782b0ec87372157f5fd041219 • Updated input 'tuya-local-src': 'github:make-all/tuya-local' (2024-12-03) rev: 2d205a4cd4a822ed69907738d60f035380086878 → 'github:make-all/tuya-local' (2024-12-08) rev: e7fd0c13dcf8468f913af7d7e1124fb2f4476ada Docker Images: • rssbridge/rss-bridge latest: sha256:f5b63c60dad245b24912886f6ad20503281a4f8aae4cb886a3797f778fad4ffa → sha256:9de8e139d3583793a9b707c90efca9a1a66298ffe202b73903ad218e412ddef9 • nextcloud fpm: sha256:8fac67551cdd146e1c5cea72758a5fb9027234636c4ea44efda6748bc1eb6246 → sha256:e452bb5fc952269c50196a9f914fb84d37f3bb8ef4ff96ad3b5080f990bed5c9 • ghcr.io/linuxserver/sonarr latest: sha256:f1b771bf5f911ddb11aa86170ae27fab5ccde7d4671edcde6a3b264af8662945 → sha256:4ba3bfa985b911129b449734bbf63749a03f6ef69b8ca37f2ecd74d46fabef1f
2024-12-08 00:51:16 -05:00
// FIXME: update msg is broken
const updatePackageJson = async(workspaceDir: string, updates: object) => {
const currentPackageJson = await readPackageJSON(`${workspaceDir}/package.json`);
const outdated = JSON.parse(npmRun(['outdated', '--json'], workspaceDir));
const updateDeps = (deps: string) => {
Object.keys(currentPackageJson[deps]).forEach((dep) => {
const versions = outdated[dep];
chore: update sources Flake Inputs: • Updated input 'ags': 'github:Aylur/ags' (2024-11-22) rev: 81159966eb8b39b66c3efc133982fd76920c9605 → 'github:Aylur/ags' (2024-12-09) rev: ce27d3036f7fbebc3476ccbb5a1c51f0603c2475 • Updated input 'astal': 'github:Aylur/astal' (2024-12-06) rev: 4c19d8d06fa25cc6389f37abe8839b4d8be5c0d6 → 'github:Aylur/astal' (2024-12-11) rev: 6fbeb920eae7f5201d828230ac2ac00d78369251 • Updated input 'custom-sidebar-src': 'github:elchininet/custom-sidebar' (2024-12-07) rev: 4a8a5977e620cbcd584a8de96e1bceb83db227a2 → 'github:elchininet/custom-sidebar' (2024-12-11) rev: 7279c0c85ec2dc2669e7580c9a4e11596ef8505e • Updated input 'discord-overlay': 'github:matt1432/discord-nightly-overlay' (2024-12-07) rev: 67db3b139494ad55e489d772c1131d8f03289eea → 'github:matt1432/discord-nightly-overlay' (2024-12-11) rev: 442631368d4fc16766ffa5fc230f1551d27fea2c • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2024-12-08) rev: 0b9fe9a89783f42d9c3bea1cf9ebf1f4ddf70621 → 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2024-12-09) rev: a006261adef704930a8d946806ba051178a14518 • Updated input 'home-manager': 'github:nix-community/home-manager' (2024-12-06) rev: d00c6f6d0ad16d598bf7e2956f52c1d9d5de3c3a → 'github:nix-community/home-manager' (2024-12-11) rev: 6e5b2d9e8014b5572e3367937a329e7053458d34 • Updated input 'hyprland': 'github:hyprwm/Hyprland' (2024-12-07) rev: c106f454c136ecca47f84c659c58e19670050412 → 'github:hyprwm/Hyprland' (2024-12-11) rev: df956a0f6fbcfd7397b2d7b86883c0936c7795ec • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS' (2024-12-06) rev: 0f415721ee427270bc078ef3a5ba2a308d47461f → 'github:Jovian-Experiments/Jovian-NixOS' (2024-12-10) rev: 77ffd839fd9d60d139dc4a2ad6b6d526f4ad5a17 • Updated input 'material-symbols-src': 'github:beecho01/material-symbols' (2024-12-06) rev: 8f665f5d92821f266c3d0be5385ec990a89c7df3 → 'github:beecho01/material-symbols' (2024-12-09) rev: 266c0a965c6e7f0555e57764ee37fb4fc740e2af • Updated input 'netdaemon-src': 'github:net-daemon/integration' (2024-04-07) rev: d3b7606530ddcaf189ed6f75569e923b22896679 → 'github:net-daemon/integration' (2024-12-11) rev: 2781bf156761a9e3818c710f1240982af1e9f4d9 • Updated input 'nh': 'github:viperML/nh' (2024-12-06) rev: 97e70d0a2c6bddb2a1d081c949ebe1b48c169a87 → 'github:viperML/nh' (2024-12-11) rev: 6a69a145b0c7dbd5616bbded512b8bf8b5d2f8a4 • Updated input 'nix-eval-jobs': 'github:nix-community/nix-eval-jobs' (2024-12-10) rev: 8e82a79fe9329f3be4836ad45d4edf2383e7723a → 'github:nix-community/nix-eval-jobs' (2024-12-11) rev: b1f94fed4af8e7f30665a3bf8b369dc3b8a95884 • Updated input 'nix-gaming': 'github:fufexan/nix-gaming' (2024-12-08) rev: b15e082eeea1afdf6bfe7aa0dbe4758097958f80 → 'github:fufexan/nix-gaming' (2024-12-10) rev: 89887483a47f9e7e849d43e5992f9da54b3e8e0e • Updated input 'nixpkgs': 'github:NixOS/nixpkgs' (2024-12-05) rev: d0797a04b81caeae77bcff10a9dde78bc17f5661 → 'github:NixOS/nixpkgs' (2024-12-09) rev: a73246e2eef4c6ed172979932bc80e1404ba2d56 • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland' (2024-12-07) rev: 98e4d443cc6cc78659a33074aae4dee9e4b37bd7 → 'github:nix-community/nixpkgs-wayland' (2024-12-11) rev: 948369631b8a53b56d847bb095d4fba7aea690ee • Updated input 'sops-nix': 'github:Mic92/sops-nix' (2024-12-02) rev: c6134b6fff6bda95a1ac872a2a9d5f32e3c37856 → 'github:Mic92/sops-nix' (2024-12-09) rev: a80af8929781b5fe92ddb8ae52e9027fae780d2a • Updated input 'spotifyplus-src': 'github:thlucas1/homeassistantcomponent_spotifyplus' (2024-12-06) rev: 3aa0d8a1e6b811508becabebddcb8df1db490e71 → 'github:thlucas1/homeassistantcomponent_spotifyplus' (2024-12-09) rev: 11d3822f3c06178e8c0d5a8d5d2eb122715060bf • Updated input 'spotifywebapi-src': 'github:thlucas1/SpotifyWebApiPython' (2024-12-08) rev: acc942bb5f22a9f782b0ec87372157f5fd041219 → 'github:thlucas1/SpotifyWebApiPython' (2024-12-09) rev: c592338c4cf15d06829c3c29b13e34112bdcab98 • Updated input 'tuya-local-src': 'github:make-all/tuya-local' (2024-12-08) rev: e7fd0c13dcf8468f913af7d7e1124fb2f4476ada → 'github:make-all/tuya-local' (2024-12-11) rev: 9dda00ef89311116f28f2e7f8da3490d05fca0b4 Docker Images: • vegardit/gitea-act-runner dind-latest: sha256:2b5770e40542c158aabba3a1f600d11fd5a0ffe3ff592fcfcf91be617e7c00f8 → sha256:59ddfdc7e592b72665f86d3c4d7d83ff07a5ddfd711e627a1a8eaca0bd76be23 • rssbridge/rss-bridge latest: sha256:9de8e139d3583793a9b707c90efca9a1a66298ffe202b73903ad218e412ddef9 → sha256:02ee316a6cd158706cd15480f44bc4db39ac0f5ab52b76d596083583e7416f7f • postgres 15-alpine: sha256:5d4b2f57adc7739452b0be6cee25f263bfc64b609446bcdd8170354cf8ba8e80 → sha256:fd3abc9557df27613bd5c5e6608fc62fb04dc90c8e79c3322348d600e4b75478 • quay.io/vaultwarden/server latest: sha256:84015c9306cc58f4be8b09c1adc62cfc3b2648b1430e9c15901482f3d870bd14 → sha256:0498b67709f769fee36b1acf02f69e8d9981b051aa5b8200878d938bd537d39d • ghcr.io/linuxserver/bazarr latest: sha256:be98501c48d98eec67a3269cacf884eb122b884d0775cdb8ee9a03947ef2b493 → sha256:954b303893a33b84075857534ad863dc349b8a9e7e838f134e037558ea84823f • ghcr.io/linuxserver/radarr latest: sha256:2e37ae0af799e01f413a97ee82c7e581a5b635816df0380889bc65d554dbeb17 → sha256:18d7873c8b773c10944c475fe96ca8ae79186512d3c6f403bcbd4409c9c4acfc • ghcr.io/linuxserver/sabnzbd latest: sha256:ff682bedd109c45dbad25ab8edcc4f3b837b9ac48c39751fbbb33a858eab97d0 → sha256:d0e307ed7ddbda9c93872f02fed402d538aab52b2605e71a2f80c26f5ba8d3c7 Firefox Addons: sound-volume: 1.5.5 -> 1.5.6 Node modules: @stylistic/eslint-plugin: 2.11.0 -> 2.12.1 @types/node: 22.10.1 -> 22.10.2 eslint-plugin-jsdoc: 50.6.0 -> 50.6.1 typescript-eslint: 8.17.0 -> 8.18.0 some-sass-language-server: 2.1.0 -> 2.1.1 Misc Sources: Vuetorrent: 2.18.0 -> 2.19.0
2024-12-11 18:06:48 -05:00
const current = versions?.wanted || versions?.current;
chore: update sources Flake Inputs: • Updated input 'ags': 'github:Aylur/ags' (2024-11-22) rev: 81159966eb8b39b66c3efc133982fd76920c9605 → 'github:Aylur/ags' (2024-12-09) rev: ce27d3036f7fbebc3476ccbb5a1c51f0603c2475 • Updated input 'astal': 'github:Aylur/astal' (2024-12-06) rev: 4c19d8d06fa25cc6389f37abe8839b4d8be5c0d6 → 'github:Aylur/astal' (2024-12-11) rev: 6fbeb920eae7f5201d828230ac2ac00d78369251 • Updated input 'custom-sidebar-src': 'github:elchininet/custom-sidebar' (2024-12-07) rev: 4a8a5977e620cbcd584a8de96e1bceb83db227a2 → 'github:elchininet/custom-sidebar' (2024-12-11) rev: 7279c0c85ec2dc2669e7580c9a4e11596ef8505e • Updated input 'discord-overlay': 'github:matt1432/discord-nightly-overlay' (2024-12-07) rev: 67db3b139494ad55e489d772c1131d8f03289eea → 'github:matt1432/discord-nightly-overlay' (2024-12-11) rev: 442631368d4fc16766ffa5fc230f1551d27fea2c • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2024-12-08) rev: 0b9fe9a89783f42d9c3bea1cf9ebf1f4ddf70621 → 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2024-12-09) rev: a006261adef704930a8d946806ba051178a14518 • Updated input 'home-manager': 'github:nix-community/home-manager' (2024-12-06) rev: d00c6f6d0ad16d598bf7e2956f52c1d9d5de3c3a → 'github:nix-community/home-manager' (2024-12-11) rev: 6e5b2d9e8014b5572e3367937a329e7053458d34 • Updated input 'hyprland': 'github:hyprwm/Hyprland' (2024-12-07) rev: c106f454c136ecca47f84c659c58e19670050412 → 'github:hyprwm/Hyprland' (2024-12-11) rev: df956a0f6fbcfd7397b2d7b86883c0936c7795ec • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS' (2024-12-06) rev: 0f415721ee427270bc078ef3a5ba2a308d47461f → 'github:Jovian-Experiments/Jovian-NixOS' (2024-12-10) rev: 77ffd839fd9d60d139dc4a2ad6b6d526f4ad5a17 • Updated input 'material-symbols-src': 'github:beecho01/material-symbols' (2024-12-06) rev: 8f665f5d92821f266c3d0be5385ec990a89c7df3 → 'github:beecho01/material-symbols' (2024-12-09) rev: 266c0a965c6e7f0555e57764ee37fb4fc740e2af • Updated input 'netdaemon-src': 'github:net-daemon/integration' (2024-04-07) rev: d3b7606530ddcaf189ed6f75569e923b22896679 → 'github:net-daemon/integration' (2024-12-11) rev: 2781bf156761a9e3818c710f1240982af1e9f4d9 • Updated input 'nh': 'github:viperML/nh' (2024-12-06) rev: 97e70d0a2c6bddb2a1d081c949ebe1b48c169a87 → 'github:viperML/nh' (2024-12-11) rev: 6a69a145b0c7dbd5616bbded512b8bf8b5d2f8a4 • Updated input 'nix-eval-jobs': 'github:nix-community/nix-eval-jobs' (2024-12-10) rev: 8e82a79fe9329f3be4836ad45d4edf2383e7723a → 'github:nix-community/nix-eval-jobs' (2024-12-11) rev: b1f94fed4af8e7f30665a3bf8b369dc3b8a95884 • Updated input 'nix-gaming': 'github:fufexan/nix-gaming' (2024-12-08) rev: b15e082eeea1afdf6bfe7aa0dbe4758097958f80 → 'github:fufexan/nix-gaming' (2024-12-10) rev: 89887483a47f9e7e849d43e5992f9da54b3e8e0e • Updated input 'nixpkgs': 'github:NixOS/nixpkgs' (2024-12-05) rev: d0797a04b81caeae77bcff10a9dde78bc17f5661 → 'github:NixOS/nixpkgs' (2024-12-09) rev: a73246e2eef4c6ed172979932bc80e1404ba2d56 • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland' (2024-12-07) rev: 98e4d443cc6cc78659a33074aae4dee9e4b37bd7 → 'github:nix-community/nixpkgs-wayland' (2024-12-11) rev: 948369631b8a53b56d847bb095d4fba7aea690ee • Updated input 'sops-nix': 'github:Mic92/sops-nix' (2024-12-02) rev: c6134b6fff6bda95a1ac872a2a9d5f32e3c37856 → 'github:Mic92/sops-nix' (2024-12-09) rev: a80af8929781b5fe92ddb8ae52e9027fae780d2a • Updated input 'spotifyplus-src': 'github:thlucas1/homeassistantcomponent_spotifyplus' (2024-12-06) rev: 3aa0d8a1e6b811508becabebddcb8df1db490e71 → 'github:thlucas1/homeassistantcomponent_spotifyplus' (2024-12-09) rev: 11d3822f3c06178e8c0d5a8d5d2eb122715060bf • Updated input 'spotifywebapi-src': 'github:thlucas1/SpotifyWebApiPython' (2024-12-08) rev: acc942bb5f22a9f782b0ec87372157f5fd041219 → 'github:thlucas1/SpotifyWebApiPython' (2024-12-09) rev: c592338c4cf15d06829c3c29b13e34112bdcab98 • Updated input 'tuya-local-src': 'github:make-all/tuya-local' (2024-12-08) rev: e7fd0c13dcf8468f913af7d7e1124fb2f4476ada → 'github:make-all/tuya-local' (2024-12-11) rev: 9dda00ef89311116f28f2e7f8da3490d05fca0b4 Docker Images: • vegardit/gitea-act-runner dind-latest: sha256:2b5770e40542c158aabba3a1f600d11fd5a0ffe3ff592fcfcf91be617e7c00f8 → sha256:59ddfdc7e592b72665f86d3c4d7d83ff07a5ddfd711e627a1a8eaca0bd76be23 • rssbridge/rss-bridge latest: sha256:9de8e139d3583793a9b707c90efca9a1a66298ffe202b73903ad218e412ddef9 → sha256:02ee316a6cd158706cd15480f44bc4db39ac0f5ab52b76d596083583e7416f7f • postgres 15-alpine: sha256:5d4b2f57adc7739452b0be6cee25f263bfc64b609446bcdd8170354cf8ba8e80 → sha256:fd3abc9557df27613bd5c5e6608fc62fb04dc90c8e79c3322348d600e4b75478 • quay.io/vaultwarden/server latest: sha256:84015c9306cc58f4be8b09c1adc62cfc3b2648b1430e9c15901482f3d870bd14 → sha256:0498b67709f769fee36b1acf02f69e8d9981b051aa5b8200878d938bd537d39d • ghcr.io/linuxserver/bazarr latest: sha256:be98501c48d98eec67a3269cacf884eb122b884d0775cdb8ee9a03947ef2b493 → sha256:954b303893a33b84075857534ad863dc349b8a9e7e838f134e037558ea84823f • ghcr.io/linuxserver/radarr latest: sha256:2e37ae0af799e01f413a97ee82c7e581a5b635816df0380889bc65d554dbeb17 → sha256:18d7873c8b773c10944c475fe96ca8ae79186512d3c6f403bcbd4409c9c4acfc • ghcr.io/linuxserver/sabnzbd latest: sha256:ff682bedd109c45dbad25ab8edcc4f3b837b9ac48c39751fbbb33a858eab97d0 → sha256:d0e307ed7ddbda9c93872f02fed402d538aab52b2605e71a2f80c26f5ba8d3c7 Firefox Addons: sound-volume: 1.5.5 -> 1.5.6 Node modules: @stylistic/eslint-plugin: 2.11.0 -> 2.12.1 @types/node: 22.10.1 -> 22.10.2 eslint-plugin-jsdoc: 50.6.0 -> 50.6.1 typescript-eslint: 8.17.0 -> 8.18.0 some-sass-language-server: 2.1.0 -> 2.1.1 Misc Sources: Vuetorrent: 2.18.0 -> 2.19.0
2024-12-11 18:06:48 -05:00
if (!current) {
return;
}
chore: update sources Flake Inputs: • Updated input 'ags': 'github:Aylur/ags' (2024-11-22) rev: 81159966eb8b39b66c3efc133982fd76920c9605 → 'github:Aylur/ags' (2024-12-09) rev: ce27d3036f7fbebc3476ccbb5a1c51f0603c2475 • Updated input 'astal': 'github:Aylur/astal' (2024-12-06) rev: 4c19d8d06fa25cc6389f37abe8839b4d8be5c0d6 → 'github:Aylur/astal' (2024-12-11) rev: 6fbeb920eae7f5201d828230ac2ac00d78369251 • Updated input 'custom-sidebar-src': 'github:elchininet/custom-sidebar' (2024-12-07) rev: 4a8a5977e620cbcd584a8de96e1bceb83db227a2 → 'github:elchininet/custom-sidebar' (2024-12-11) rev: 7279c0c85ec2dc2669e7580c9a4e11596ef8505e • Updated input 'discord-overlay': 'github:matt1432/discord-nightly-overlay' (2024-12-07) rev: 67db3b139494ad55e489d772c1131d8f03289eea → 'github:matt1432/discord-nightly-overlay' (2024-12-11) rev: 442631368d4fc16766ffa5fc230f1551d27fea2c • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2024-12-08) rev: 0b9fe9a89783f42d9c3bea1cf9ebf1f4ddf70621 → 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2024-12-09) rev: a006261adef704930a8d946806ba051178a14518 • Updated input 'home-manager': 'github:nix-community/home-manager' (2024-12-06) rev: d00c6f6d0ad16d598bf7e2956f52c1d9d5de3c3a → 'github:nix-community/home-manager' (2024-12-11) rev: 6e5b2d9e8014b5572e3367937a329e7053458d34 • Updated input 'hyprland': 'github:hyprwm/Hyprland' (2024-12-07) rev: c106f454c136ecca47f84c659c58e19670050412 → 'github:hyprwm/Hyprland' (2024-12-11) rev: df956a0f6fbcfd7397b2d7b86883c0936c7795ec • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS' (2024-12-06) rev: 0f415721ee427270bc078ef3a5ba2a308d47461f → 'github:Jovian-Experiments/Jovian-NixOS' (2024-12-10) rev: 77ffd839fd9d60d139dc4a2ad6b6d526f4ad5a17 • Updated input 'material-symbols-src': 'github:beecho01/material-symbols' (2024-12-06) rev: 8f665f5d92821f266c3d0be5385ec990a89c7df3 → 'github:beecho01/material-symbols' (2024-12-09) rev: 266c0a965c6e7f0555e57764ee37fb4fc740e2af • Updated input 'netdaemon-src': 'github:net-daemon/integration' (2024-04-07) rev: d3b7606530ddcaf189ed6f75569e923b22896679 → 'github:net-daemon/integration' (2024-12-11) rev: 2781bf156761a9e3818c710f1240982af1e9f4d9 • Updated input 'nh': 'github:viperML/nh' (2024-12-06) rev: 97e70d0a2c6bddb2a1d081c949ebe1b48c169a87 → 'github:viperML/nh' (2024-12-11) rev: 6a69a145b0c7dbd5616bbded512b8bf8b5d2f8a4 • Updated input 'nix-eval-jobs': 'github:nix-community/nix-eval-jobs' (2024-12-10) rev: 8e82a79fe9329f3be4836ad45d4edf2383e7723a → 'github:nix-community/nix-eval-jobs' (2024-12-11) rev: b1f94fed4af8e7f30665a3bf8b369dc3b8a95884 • Updated input 'nix-gaming': 'github:fufexan/nix-gaming' (2024-12-08) rev: b15e082eeea1afdf6bfe7aa0dbe4758097958f80 → 'github:fufexan/nix-gaming' (2024-12-10) rev: 89887483a47f9e7e849d43e5992f9da54b3e8e0e • Updated input 'nixpkgs': 'github:NixOS/nixpkgs' (2024-12-05) rev: d0797a04b81caeae77bcff10a9dde78bc17f5661 → 'github:NixOS/nixpkgs' (2024-12-09) rev: a73246e2eef4c6ed172979932bc80e1404ba2d56 • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland' (2024-12-07) rev: 98e4d443cc6cc78659a33074aae4dee9e4b37bd7 → 'github:nix-community/nixpkgs-wayland' (2024-12-11) rev: 948369631b8a53b56d847bb095d4fba7aea690ee • Updated input 'sops-nix': 'github:Mic92/sops-nix' (2024-12-02) rev: c6134b6fff6bda95a1ac872a2a9d5f32e3c37856 → 'github:Mic92/sops-nix' (2024-12-09) rev: a80af8929781b5fe92ddb8ae52e9027fae780d2a • Updated input 'spotifyplus-src': 'github:thlucas1/homeassistantcomponent_spotifyplus' (2024-12-06) rev: 3aa0d8a1e6b811508becabebddcb8df1db490e71 → 'github:thlucas1/homeassistantcomponent_spotifyplus' (2024-12-09) rev: 11d3822f3c06178e8c0d5a8d5d2eb122715060bf • Updated input 'spotifywebapi-src': 'github:thlucas1/SpotifyWebApiPython' (2024-12-08) rev: acc942bb5f22a9f782b0ec87372157f5fd041219 → 'github:thlucas1/SpotifyWebApiPython' (2024-12-09) rev: c592338c4cf15d06829c3c29b13e34112bdcab98 • Updated input 'tuya-local-src': 'github:make-all/tuya-local' (2024-12-08) rev: e7fd0c13dcf8468f913af7d7e1124fb2f4476ada → 'github:make-all/tuya-local' (2024-12-11) rev: 9dda00ef89311116f28f2e7f8da3490d05fca0b4 Docker Images: • vegardit/gitea-act-runner dind-latest: sha256:2b5770e40542c158aabba3a1f600d11fd5a0ffe3ff592fcfcf91be617e7c00f8 → sha256:59ddfdc7e592b72665f86d3c4d7d83ff07a5ddfd711e627a1a8eaca0bd76be23 • rssbridge/rss-bridge latest: sha256:9de8e139d3583793a9b707c90efca9a1a66298ffe202b73903ad218e412ddef9 → sha256:02ee316a6cd158706cd15480f44bc4db39ac0f5ab52b76d596083583e7416f7f • postgres 15-alpine: sha256:5d4b2f57adc7739452b0be6cee25f263bfc64b609446bcdd8170354cf8ba8e80 → sha256:fd3abc9557df27613bd5c5e6608fc62fb04dc90c8e79c3322348d600e4b75478 • quay.io/vaultwarden/server latest: sha256:84015c9306cc58f4be8b09c1adc62cfc3b2648b1430e9c15901482f3d870bd14 → sha256:0498b67709f769fee36b1acf02f69e8d9981b051aa5b8200878d938bd537d39d • ghcr.io/linuxserver/bazarr latest: sha256:be98501c48d98eec67a3269cacf884eb122b884d0775cdb8ee9a03947ef2b493 → sha256:954b303893a33b84075857534ad863dc349b8a9e7e838f134e037558ea84823f • ghcr.io/linuxserver/radarr latest: sha256:2e37ae0af799e01f413a97ee82c7e581a5b635816df0380889bc65d554dbeb17 → sha256:18d7873c8b773c10944c475fe96ca8ae79186512d3c6f403bcbd4409c9c4acfc • ghcr.io/linuxserver/sabnzbd latest: sha256:ff682bedd109c45dbad25ab8edcc4f3b837b9ac48c39751fbbb33a858eab97d0 → sha256:d0e307ed7ddbda9c93872f02fed402d538aab52b2605e71a2f80c26f5ba8d3c7 Firefox Addons: sound-volume: 1.5.5 -> 1.5.6 Node modules: @stylistic/eslint-plugin: 2.11.0 -> 2.12.1 @types/node: 22.10.1 -> 22.10.2 eslint-plugin-jsdoc: 50.6.0 -> 50.6.1 typescript-eslint: 8.17.0 -> 8.18.0 some-sass-language-server: 2.1.0 -> 2.1.1 Misc Sources: Vuetorrent: 2.18.0 -> 2.19.0
2024-12-11 18:06:48 -05:00
if (current !== versions.latest) {
updates[dep] = `${current} -> ${versions.latest}`;
}
currentPackageJson[deps][dep] = versions.latest;
});
};
if (currentPackageJson.dependencies) {
updateDeps('dependencies');
}
if (currentPackageJson.devDependencies) {
updateDeps('devDependencies');
}
await writePackageJSON(`${workspaceDir}/package.json`, currentPackageJson);
};
const prefetchNpmDeps = (workspaceDir: string): string => {
npmRun(['install', '--package-lock-only'], workspaceDir);
return spawnSync(
'prefetch-npm-deps',
[`${workspaceDir}/package-lock.json`],
).stdout.toString().replace('\n', '');
};
export default async() => {
const updates = {};
const packages = readdirSync(FLAKE, { withFileTypes: true, recursive: true });
for (const path of packages) {
chore: update sources Flake Inputs: • Updated input 'ags': 'github:Aylur/ags' (2024-11-22) rev: 81159966eb8b39b66c3efc133982fd76920c9605 → 'github:Aylur/ags' (2024-12-09) rev: ce27d3036f7fbebc3476ccbb5a1c51f0603c2475 • Updated input 'astal': 'github:Aylur/astal' (2024-12-06) rev: 4c19d8d06fa25cc6389f37abe8839b4d8be5c0d6 → 'github:Aylur/astal' (2024-12-11) rev: 6fbeb920eae7f5201d828230ac2ac00d78369251 • Updated input 'custom-sidebar-src': 'github:elchininet/custom-sidebar' (2024-12-07) rev: 4a8a5977e620cbcd584a8de96e1bceb83db227a2 → 'github:elchininet/custom-sidebar' (2024-12-11) rev: 7279c0c85ec2dc2669e7580c9a4e11596ef8505e • Updated input 'discord-overlay': 'github:matt1432/discord-nightly-overlay' (2024-12-07) rev: 67db3b139494ad55e489d772c1131d8f03289eea → 'github:matt1432/discord-nightly-overlay' (2024-12-11) rev: 442631368d4fc16766ffa5fc230f1551d27fea2c • Updated input 'gpu-screen-recorder-src': 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2024-12-08) rev: 0b9fe9a89783f42d9c3bea1cf9ebf1f4ddf70621 → 'git+https://repo.dec05eba.com/gpu-screen-recorder' (2024-12-09) rev: a006261adef704930a8d946806ba051178a14518 • Updated input 'home-manager': 'github:nix-community/home-manager' (2024-12-06) rev: d00c6f6d0ad16d598bf7e2956f52c1d9d5de3c3a → 'github:nix-community/home-manager' (2024-12-11) rev: 6e5b2d9e8014b5572e3367937a329e7053458d34 • Updated input 'hyprland': 'github:hyprwm/Hyprland' (2024-12-07) rev: c106f454c136ecca47f84c659c58e19670050412 → 'github:hyprwm/Hyprland' (2024-12-11) rev: df956a0f6fbcfd7397b2d7b86883c0936c7795ec • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS' (2024-12-06) rev: 0f415721ee427270bc078ef3a5ba2a308d47461f → 'github:Jovian-Experiments/Jovian-NixOS' (2024-12-10) rev: 77ffd839fd9d60d139dc4a2ad6b6d526f4ad5a17 • Updated input 'material-symbols-src': 'github:beecho01/material-symbols' (2024-12-06) rev: 8f665f5d92821f266c3d0be5385ec990a89c7df3 → 'github:beecho01/material-symbols' (2024-12-09) rev: 266c0a965c6e7f0555e57764ee37fb4fc740e2af • Updated input 'netdaemon-src': 'github:net-daemon/integration' (2024-04-07) rev: d3b7606530ddcaf189ed6f75569e923b22896679 → 'github:net-daemon/integration' (2024-12-11) rev: 2781bf156761a9e3818c710f1240982af1e9f4d9 • Updated input 'nh': 'github:viperML/nh' (2024-12-06) rev: 97e70d0a2c6bddb2a1d081c949ebe1b48c169a87 → 'github:viperML/nh' (2024-12-11) rev: 6a69a145b0c7dbd5616bbded512b8bf8b5d2f8a4 • Updated input 'nix-eval-jobs': 'github:nix-community/nix-eval-jobs' (2024-12-10) rev: 8e82a79fe9329f3be4836ad45d4edf2383e7723a → 'github:nix-community/nix-eval-jobs' (2024-12-11) rev: b1f94fed4af8e7f30665a3bf8b369dc3b8a95884 • Updated input 'nix-gaming': 'github:fufexan/nix-gaming' (2024-12-08) rev: b15e082eeea1afdf6bfe7aa0dbe4758097958f80 → 'github:fufexan/nix-gaming' (2024-12-10) rev: 89887483a47f9e7e849d43e5992f9da54b3e8e0e • Updated input 'nixpkgs': 'github:NixOS/nixpkgs' (2024-12-05) rev: d0797a04b81caeae77bcff10a9dde78bc17f5661 → 'github:NixOS/nixpkgs' (2024-12-09) rev: a73246e2eef4c6ed172979932bc80e1404ba2d56 • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland' (2024-12-07) rev: 98e4d443cc6cc78659a33074aae4dee9e4b37bd7 → 'github:nix-community/nixpkgs-wayland' (2024-12-11) rev: 948369631b8a53b56d847bb095d4fba7aea690ee • Updated input 'sops-nix': 'github:Mic92/sops-nix' (2024-12-02) rev: c6134b6fff6bda95a1ac872a2a9d5f32e3c37856 → 'github:Mic92/sops-nix' (2024-12-09) rev: a80af8929781b5fe92ddb8ae52e9027fae780d2a • Updated input 'spotifyplus-src': 'github:thlucas1/homeassistantcomponent_spotifyplus' (2024-12-06) rev: 3aa0d8a1e6b811508becabebddcb8df1db490e71 → 'github:thlucas1/homeassistantcomponent_spotifyplus' (2024-12-09) rev: 11d3822f3c06178e8c0d5a8d5d2eb122715060bf • Updated input 'spotifywebapi-src': 'github:thlucas1/SpotifyWebApiPython' (2024-12-08) rev: acc942bb5f22a9f782b0ec87372157f5fd041219 → 'github:thlucas1/SpotifyWebApiPython' (2024-12-09) rev: c592338c4cf15d06829c3c29b13e34112bdcab98 • Updated input 'tuya-local-src': 'github:make-all/tuya-local' (2024-12-08) rev: e7fd0c13dcf8468f913af7d7e1124fb2f4476ada → 'github:make-all/tuya-local' (2024-12-11) rev: 9dda00ef89311116f28f2e7f8da3490d05fca0b4 Docker Images: • vegardit/gitea-act-runner dind-latest: sha256:2b5770e40542c158aabba3a1f600d11fd5a0ffe3ff592fcfcf91be617e7c00f8 → sha256:59ddfdc7e592b72665f86d3c4d7d83ff07a5ddfd711e627a1a8eaca0bd76be23 • rssbridge/rss-bridge latest: sha256:9de8e139d3583793a9b707c90efca9a1a66298ffe202b73903ad218e412ddef9 → sha256:02ee316a6cd158706cd15480f44bc4db39ac0f5ab52b76d596083583e7416f7f • postgres 15-alpine: sha256:5d4b2f57adc7739452b0be6cee25f263bfc64b609446bcdd8170354cf8ba8e80 → sha256:fd3abc9557df27613bd5c5e6608fc62fb04dc90c8e79c3322348d600e4b75478 • quay.io/vaultwarden/server latest: sha256:84015c9306cc58f4be8b09c1adc62cfc3b2648b1430e9c15901482f3d870bd14 → sha256:0498b67709f769fee36b1acf02f69e8d9981b051aa5b8200878d938bd537d39d • ghcr.io/linuxserver/bazarr latest: sha256:be98501c48d98eec67a3269cacf884eb122b884d0775cdb8ee9a03947ef2b493 → sha256:954b303893a33b84075857534ad863dc349b8a9e7e838f134e037558ea84823f • ghcr.io/linuxserver/radarr latest: sha256:2e37ae0af799e01f413a97ee82c7e581a5b635816df0380889bc65d554dbeb17 → sha256:18d7873c8b773c10944c475fe96ca8ae79186512d3c6f403bcbd4409c9c4acfc • ghcr.io/linuxserver/sabnzbd latest: sha256:ff682bedd109c45dbad25ab8edcc4f3b837b9ac48c39751fbbb33a858eab97d0 → sha256:d0e307ed7ddbda9c93872f02fed402d538aab52b2605e71a2f80c26f5ba8d3c7 Firefox Addons: sound-volume: 1.5.5 -> 1.5.6 Node modules: @stylistic/eslint-plugin: 2.11.0 -> 2.12.1 @types/node: 22.10.1 -> 22.10.2 eslint-plugin-jsdoc: 50.6.0 -> 50.6.1 typescript-eslint: 8.17.0 -> 8.18.0 some-sass-language-server: 2.1.0 -> 2.1.1 Misc Sources: Vuetorrent: 2.18.0 -> 2.19.0
2024-12-11 18:06:48 -05:00
if (
path.name === 'package.json' &&
!path.parentPath.includes('node_modules') &&
!path.parentPath.includes('mk-types') // FIXME: latest breaks
) {
await updatePackageJson(path.parentPath, updates);
const hash = prefetchNpmDeps(path.parentPath);
replaceInFile(
/npmDepsHash = ".*";/,
`npmDepsHash = "${hash}";`,
`${path.parentPath}/default.nix`,
);
}
}
return Object.entries(updates)
.map(([key, dep]) => `${key}: ${dep}`)
.join('\n');
};