mirror of
https://github.com/prdlk/television.git
synced 2026-11-02 13:12:51 +00:00
Import from root chezmoi source
This commit is contained in:
commit
c8c8c9a000
77 files changed
+2443
No files matched your search
@@ -0,0 +1,20 @@
|
||||
[metadata]
|
||||
name = "npm-packages"
|
||||
description = "List globally installed npm packages"
|
||||
requirements = ["npm"]
|
||||
|
||||
[source]
|
||||
command = "npm list -g --depth=0 --parseable 2>/dev/null | tail -n +2 | xargs -I{} basename {}"
|
||||
|
||||
[preview]
|
||||
command = "npm info '{}' 2>/dev/null | head -30"
|
||||
|
||||
[actions.uninstall]
|
||||
description = "Uninstall the selected global package"
|
||||
command = "npm uninstall -g {}"
|
||||
mode = "execute"
|
||||
|
||||
[actions.update]
|
||||
description = "Update the selected global package"
|
||||
command = "npm update -g {}"
|
||||
mode = "execute"
|
||||
Reference in new issue
Block a user