feat(updateScript): clean up output
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
8fa5398008
commit
8570bf8ef4
5 changed files with 15 additions and 8 deletions
|
@ -15,7 +15,7 @@ in
|
||||||
inherit (packageJSON) version;
|
inherit (packageJSON) version;
|
||||||
|
|
||||||
src = ./.;
|
src = ./.;
|
||||||
npmDepsHash = "sha256-hNXuZi3kgst0wBzoOwNAthEXW5MrafDD6D3Zwzp0S78=";
|
npmDepsHash = "sha256-3fU6eS6CPqBhD1zmsHnZs7Pk2mEiucPMrOSdS81+Ml8=";
|
||||||
|
|
||||||
runtimeInputs = [
|
runtimeInputs = [
|
||||||
(callPackage ../../nixosModules/docker/updateImage.nix {})
|
(callPackage ../../nixosModules/docker/updateImage.nix {})
|
||||||
|
|
BIN
apps/update/package-lock.json
generated
BIN
apps/update/package-lock.json
generated
Binary file not shown.
|
@ -10,12 +10,12 @@
|
||||||
"@eslint/js": "9.13.0",
|
"@eslint/js": "9.13.0",
|
||||||
"@stylistic/eslint-plugin": "2.9.0",
|
"@stylistic/eslint-plugin": "2.9.0",
|
||||||
"@types/eslint__js": "8.42.3",
|
"@types/eslint__js": "8.42.3",
|
||||||
"@types/node": "22.7.7",
|
"@types/node": "22.8.4",
|
||||||
"esbuild": "0.24.0",
|
"esbuild": "0.24.0",
|
||||||
"eslint": "9.13.0",
|
"eslint": "9.13.0",
|
||||||
"eslint-plugin-jsdoc": "50.4.3",
|
"eslint-plugin-jsdoc": "50.4.3",
|
||||||
"jiti": "2.3.3",
|
"jiti": "2.3.3",
|
||||||
"typescript": "5.6.3",
|
"typescript": "5.6.3",
|
||||||
"typescript-eslint": "8.10.0"
|
"typescript-eslint": "8.12.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,12 +73,12 @@ if (args['a'] || args['all']) {
|
||||||
});
|
});
|
||||||
|
|
||||||
const output = [
|
const output = [
|
||||||
'chore: update flake.lock',
|
'chore: update flake.lock\n',
|
||||||
`Flake Inputs:\n${flakeOutput}`,
|
`Flake Inputs:\n${flakeOutput}\n`,
|
||||||
`Docker Images:\n${dockerOutput}`,
|
`Docker Images:\n${dockerOutput}`,
|
||||||
`Firefox Addons:\n${firefoxOutput}`,
|
`Firefox Addons:\n${firefoxOutput}\n`,
|
||||||
`Misc Sources:\n${vuetorrentOutput}`,
|
`Misc Sources:\n${vuetorrentOutput}\n`,
|
||||||
].join('\n\n');
|
].join('\n');
|
||||||
|
|
||||||
if (args['f']) {
|
if (args['f']) {
|
||||||
writeFileSync(args['f'] as string, output);
|
writeFileSync(args['f'] as string, output);
|
||||||
|
|
|
@ -23,6 +23,13 @@ export const updateFlakeInputs = () => {
|
||||||
.map((l) => l
|
.map((l) => l
|
||||||
.replace(/.{33}\?narHash=sha256[^']*/, '')
|
.replace(/.{33}\?narHash=sha256[^']*/, '')
|
||||||
.replace(/&rev=(.{7})[^'&]*/, (_, backref) => `&rev=${backref}`))
|
.replace(/&rev=(.{7})[^'&]*/, (_, backref) => `&rev=${backref}`))
|
||||||
|
.filter((input) => ![
|
||||||
|
'systems',
|
||||||
|
'flake-utils',
|
||||||
|
'flake-parts',
|
||||||
|
'treefmt-nix',
|
||||||
|
'lib-aggregate',
|
||||||
|
].some((inputName) => input.startsWith(`• Updated input '${inputName}'`)))
|
||||||
.join('\n');
|
.join('\n');
|
||||||
|
|
||||||
return output;
|
return output;
|
||||||
|
|
Loading…
Reference in a new issue