依赖管理增加直接强制删除

This commit is contained in:
whyour
2022-04-23 15:02:54 +08:00
parent 5be421b4ea
commit 1b893f35ba
5 changed files with 66 additions and 35 deletions
+2 -2
View File
@@ -37,13 +37,13 @@ export enum DependenceTypes {
}
export enum InstallDependenceCommandTypes {
'npm i -g --force',
'npm i -g -f --loglevel warn',
'pip3 install',
'apk add --no-cache -f',
}
export enum unInstallDependenceCommandTypes {
'npm uninstall -g --force',
'npm uninstall -g -f --loglevel warn',
'pip3 uninstall -y',
'apk del -f',
}
+1
View File
@@ -13,5 +13,6 @@ export class SockMessage {
export type SockMessageType =
| 'ping'
| 'installDependence'
| 'uninstallDependence'
| 'updateSystemVersion'
| 'manuallyRunScript';