ares-ssh-deploy 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +3 -3
- package/package.json +7 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -144,7 +144,7 @@ PROJECT_DIR=C:\\workspace\\webstormProjects\\test\\
|
|
|
144
144
|
LOCAL_DEPLOY_DIR=C:\\deploy_static\\deploy-tool-test\\
|
|
145
145
|
|
|
146
146
|
# 本地下载目录
|
|
147
|
-
LOCAL_DOWNLOAD_DIR=C:\\Users\\ares
|
|
147
|
+
LOCAL_DOWNLOAD_DIR=C:\\Users\\ares\\Downloads\\deploy-tool-test\\
|
|
148
148
|
|
|
149
149
|
# 堡垒机SSH配置
|
|
150
150
|
BASTION_SSH_HOST=bastion-host.com
|
|
@@ -172,7 +172,7 @@ TARGET_HEALTH_FILE=/usr/share/nginx/html/health/index.html
|
|
|
172
172
|
TARGET_HEALTH_HIDDEN_FILE=/usr/share/nginx/html/health/hide/index.html
|
|
173
173
|
```
|
|
174
174
|
|
|
175
|
-
#### 示例代码 `.env.
|
|
175
|
+
#### 示例代码 `.env.windows-server`
|
|
176
176
|
```env
|
|
177
177
|
# 日志级别
|
|
178
178
|
LOG_LEVEL=info
|
|
@@ -190,7 +190,7 @@ PROJECT_DIR=C:\\workspace\\webstormProjects\\test\\
|
|
|
190
190
|
LOCAL_DEPLOY_DIR=C:\\deploy_static\\deploy-tool-test\\
|
|
191
191
|
|
|
192
192
|
# 本地下载目录
|
|
193
|
-
LOCAL_DOWNLOAD_DIR=C:\\Users\\ares
|
|
193
|
+
LOCAL_DOWNLOAD_DIR=C:\\Users\\ares\\Downloads\\deploy-tool-test\\
|
|
194
194
|
|
|
195
195
|
# 目标SSH配置
|
|
196
196
|
TARGET_SSH_HOST=192.168.1.158
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ares-ssh-deploy",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "ssh deploy tools",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
7
7
|
"types": "./dist/types/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"types": "./dist/
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
11
|
"import": "./dist/index.mjs",
|
|
12
12
|
"require": "./dist/index.cjs"
|
|
13
13
|
},
|
|
@@ -27,5 +27,10 @@
|
|
|
27
27
|
"lodash-es": "^4.17.21",
|
|
28
28
|
"log4js": "^6.9.1",
|
|
29
29
|
"node-ssh": "^13.2.1"
|
|
30
|
+
},
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "https://github.com/fangrentian/ares-tools.git",
|
|
34
|
+
"directory": "packages/ssh-deploy"
|
|
30
35
|
}
|
|
31
36
|
}
|