feat(update): start work on npm updating

This commit is contained in:
matt1432 2024-11-30 03:44:34 -05:00
parent 9612c2a634
commit f52293ffe3
6 changed files with 100 additions and 3 deletions
apps/update-sources/src

View file

@ -7,6 +7,7 @@ import { updateDocker } from './docker';
import { updateFirefoxAddons } from '././firefox';
import { updateFlakeInputs } from './flake';
import { updateCustomPackage, updateVuetorrent } from './misc';
import updateNodeModules from './node-modules';
/* Constants */
@ -43,6 +44,10 @@ if (args['s'] || args['some-sass-language-server']) {
console.log(updateCustomPackage('some-sass-language-server'));
}
if (args['n'] || args['node_modules']) {
updateNodeModules();
}
if (args['a'] || args['all']) {
// Update this first because of nix run cmd
const firefoxOutput = updateFirefoxAddons();