@dongnanyang/deploy-cli 0.8.1 → 0.9.0
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/dist/api.js +2 -0
- package/dist/bin.js +1 -1
- package/dist/{cli-BcnQXZsp.js → cli-DFrwLhsI.js} +48 -663
- package/dist/main.js +3 -3
- package/dist/project-BjXAyWOT.js +714 -0
- package/package.json +5 -1
- package/dist/{config-DuBKPLi2.js → config-xUl8Oa3T.js} +1 -1
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dongnanyang/deploy-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Local CLI TUI for SSH tunnels & deploy scripts",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"main": "./dist/api.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./dist/api.js"
|
|
9
|
+
},
|
|
6
10
|
"bin": {
|
|
7
11
|
"deploy-cli": "./bin/deploy-cli.js"
|
|
8
12
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
|
|
2
|
-
import { resolve } from "path";
|
|
3
2
|
import { homedir } from "os";
|
|
3
|
+
import { resolve } from "path";
|
|
4
4
|
//#region src/core/config.ts
|
|
5
5
|
const CONFIG_DIR = resolve(homedir(), ".deploy-cli");
|
|
6
6
|
const CONFIG_PATH = resolve(CONFIG_DIR, "config.json");
|