initialize base config for env, git and npm proxy

This commit is contained in:
Baipyrus 2024-08-30 17:08:58 +02:00
parent a66ffd0e4c
commit 06d9244e2c

102
configs.json Normal file
View File

@ -0,0 +1,102 @@
[
{
"name": "env",
"cmd": "[System.Environment]::SetEnvironmentVariable($ARG, $ARG, 'User')",
"set": [
{
"args": [
"http_proxy"
],
"type": "variable"
}, {
"args": [
"https_proxy"
],
"type": "variable"
}
],
"unset": [
{
"args": [
"http_proxy",
"[NullString]::Value"
],
"type": "variable"
}, {
"args": [
"https_proxy",
"[NullString]::Value"
],
"type": "variable"
}
]
}, {
"name": "git",
"set": [
{
"args": [
"config",
"--global",
"http.proxy"
]
}, {
"args": [
"config",
"--global",
"https.proxy"
]
}
],
"unset": [
{
"args": [
"config",
"--global",
"--unset",
"http.proxy"
]
}, {
"args": [
"config",
"--global",
"--unset",
"https.proxy"
]
}
]
}, {
"name": "npm",
"set": [
{
"args": [
"config",
"set",
"proxy"
],
"equator": "="
}, {
"args": [
"config",
"set",
"https-proxy"
],
"equator": "="
}
],
"unset": [
{
"args": [
"config",
"delete",
"proxy"
]
}, {
"args": [
"config",
"delete",
"https-proxy"
]
}
]
}
]