#!/bin/sh -

# run as root 
# presupposes that rpm is already installed, e.g. by instZypper.sh
# note, update updates only installed packages. 
# others are ignored silently 

#npm update -g npm
#npm update -g tar
# to create an a frontend (a bit outdated)
#npm update -g create-react-app
# for development of VS code extensions 
# better with npx volatile 
#npm install -g yo generator-code
npm install -g vsce # Visual Studio Code Extension Manager
npm install -g ovsx # Open VSX Client


# # 1. npm selbst aktuell halten (das braucht oft noch sudo, je nach Installation)
# sudo npm install -g npm@latest

# # 2. Die "Dauerbrenner" (Tools, die du oft brauchst und die offline gehen sollen)
# npm install -g vsce
# npm install -g ovsx  # Da du jetzt zu Open VSX willst!

# # 3. Den "Müll" vermeiden: Alles andere lieber per npx
# # npx yo generator-code ...
# # npx create-vite ...