ezpm2gui 1.1.0 → 1.2.1

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.
Files changed (28) hide show
  1. package/dist/server/config/project-configs.json +236 -0
  2. package/dist/server/index.js +32 -6
  3. package/dist/server/logs/deployment.log +12 -0
  4. package/dist/server/routes/deployApplication.js +174 -27
  5. package/dist/server/routes/logStreaming.js +174 -0
  6. package/dist/server/routes/remoteConnections.d.ts +3 -0
  7. package/dist/server/routes/remoteConnections.js +634 -0
  8. package/dist/server/services/ProjectSetupService.d.ts +72 -0
  9. package/dist/server/services/ProjectSetupService.js +327 -0
  10. package/dist/server/utils/dialog.d.ts +1 -0
  11. package/dist/server/utils/dialog.js +16 -0
  12. package/dist/server/utils/encryption.d.ts +12 -0
  13. package/dist/server/utils/encryption.js +72 -0
  14. package/dist/server/utils/remote-connection.d.ts +152 -0
  15. package/dist/server/utils/remote-connection.js +590 -0
  16. package/dist/server/utils/upload.d.ts +3 -0
  17. package/dist/server/utils/upload.js +39 -0
  18. package/package.json +65 -63
  19. package/src/client/build/asset-manifest.json +3 -3
  20. package/src/client/build/favicon.ico +2 -0
  21. package/src/client/build/index.html +1 -1
  22. package/src/client/build/logo192.svg +7 -0
  23. package/src/client/build/logo512.svg +7 -0
  24. package/src/client/build/manifest.json +5 -6
  25. package/src/client/build/static/js/{main.1d7f99ff.js → main.31323a04.js} +13 -13
  26. package/src/client/build/static/js/main.31323a04.js.map +1 -0
  27. package/src/client/build/static/js/main.1d7f99ff.js.map +0 -1
  28. /package/src/client/build/static/js/{main.1d7f99ff.js.LICENSE.txt → main.31323a04.js.LICENSE.txt} +0 -0
package/package.json CHANGED
@@ -1,63 +1,65 @@
1
- {
2
- "name": "ezpm2gui",
3
- "version": "1.1.0",
4
- "main": "dist/server/index.js",
5
- "bin": {
6
- "ezpm2gui": "./bin/ezpm2gui.js",
7
- "ezpm2gui-generate-ecosystem": "./bin/generate-ecosystem.js"
8
- },
9
- "scripts": {
10
- "start": "node dist/server/index.js",
11
- "dev": "concurrently \"npm run dev:server\" \"npm run dev:client\"",
12
- "dev:server": "nodemon --exec ts-node src/server/index.ts",
13
- "dev:client": "cd src/client && npm start",
14
- "build": "node scripts/build.js",
15
- "build:server": "tsc",
16
- "build:client": "cd src/client && npm run build",
17
- "build:bin": "tsc --project tsconfig.bin.json",
18
- "prepare": "npm run build",
19
- "test": "echo \"Error: no test specified\" && exit 1",
20
- "postinstall": "node scripts/postinstall.js"
21
- },
22
- "keywords": [
23
- "pm2",
24
- "gui",
25
- "monitor",
26
- "process-manager",
27
- "dashboard"
28
- ],
29
- "author": "Chandan Bhagat",
30
- "license": "ISC",
31
- "repository": {
32
- "type": "git",
33
- "url": "git+https://github.com/thechandanbhagat/ezpm2gui.git"
34
- },
35
- "description": "A modern web-based GUI for PM2 process manager",
36
- "files": [
37
- "dist/",
38
- "bin/",
39
- "src/client/build/",
40
- "scripts/postinstall.js"
41
- ],
42
- "dependencies": {
43
- "axios": "^1.9.0",
44
- "chart.js": "^4.4.9",
45
- "express": "^4.18.3",
46
- "pm2": "^6.0.5",
47
- "react": "^19.1.0",
48
- "react-dom": "^19.1.0",
49
- "react-scripts": "^5.0.1",
50
- "socket.io": "^4.8.1"
51
- },
52
- "devDependencies": {
53
- "@types/express": "^4.17.21",
54
- "@types/node": "^22.15.17",
55
- "@types/react": "^19.1.4",
56
- "@types/react-dom": "^19.1.5",
57
- "@types/socket.io": "^3.0.2",
58
- "concurrently": "^9.1.2",
59
- "nodemon": "^3.1.10",
60
- "ts-node": "^10.9.2",
61
- "typescript": "^5.8.3"
62
- }
63
- }
1
+ {
2
+ "name": "ezpm2gui",
3
+ "version": "1.2.1",
4
+ "main": "dist/server/index.js",
5
+ "bin": {
6
+ "ezpm2gui": "bin/ezpm2gui.js",
7
+ "ezpm2gui-generate-ecosystem": "bin/generate-ecosystem.js"
8
+ },
9
+ "scripts": {
10
+ "start": "node dist/server/index.js",
11
+ "dev": "concurrently \"npm run dev:server\" \"npm run dev:client\"",
12
+ "dev:server": "nodemon --exec ts-node src/server/index.ts",
13
+ "dev:client": "cd src/client && npm start",
14
+ "build": "node scripts/build.js",
15
+ "build:server": "tsc",
16
+ "build:client": "cd src/client && npm run build",
17
+ "build:bin": "tsc --project tsconfig.bin.json",
18
+ "prepare": "npm run build",
19
+ "test": "echo \"Error: no test specified\" && exit 1",
20
+ "postinstall": "node scripts/postinstall.js"
21
+ },
22
+ "keywords": [
23
+ "pm2",
24
+ "gui",
25
+ "monitor",
26
+ "process-manager",
27
+ "dashboard"
28
+ ],
29
+ "author": "Chandan Bhagat",
30
+ "license": "ISC",
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git+https://github.com/thechandanbhagat/ezpm2gui.git"
34
+ },
35
+ "description": "A modern web-based GUI for PM2 process manager",
36
+ "files": [
37
+ "dist/",
38
+ "bin/",
39
+ "src/client/build/",
40
+ "scripts/postinstall.js"
41
+ ],
42
+ "dependencies": {
43
+ "axios": "^1.9.0",
44
+ "chart.js": "^4.4.9",
45
+ "express": "^4.18.3",
46
+ "pm2": "^6.0.5",
47
+ "react": "^19.1.0",
48
+ "react-dom": "^19.1.0",
49
+ "react-scripts": "^5.0.1",
50
+ "socket.io": "^4.8.1",
51
+ "ssh2": "^1.16.0"
52
+ },
53
+ "devDependencies": {
54
+ "@types/express": "^4.17.21",
55
+ "@types/node": "^22.15.17",
56
+ "@types/react": "^19.1.4",
57
+ "@types/react-dom": "^19.1.5",
58
+ "@types/socket.io": "^3.0.2",
59
+ "@types/ssh2": "^1.15.5",
60
+ "concurrently": "^9.1.2",
61
+ "nodemon": "^3.1.10",
62
+ "ts-node": "^10.9.2",
63
+ "typescript": "^5.8.3"
64
+ }
65
+ }
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "files": {
3
3
  "main.css": "/static/css/main.672b8f26.css",
4
- "main.js": "/static/js/main.1d7f99ff.js",
4
+ "main.js": "/static/js/main.31323a04.js",
5
5
  "index.html": "/index.html",
6
6
  "main.672b8f26.css.map": "/static/css/main.672b8f26.css.map",
7
- "main.1d7f99ff.js.map": "/static/js/main.1d7f99ff.js.map"
7
+ "main.31323a04.js.map": "/static/js/main.31323a04.js.map"
8
8
  },
9
9
  "entrypoints": [
10
10
  "static/css/main.672b8f26.css",
11
- "static/js/main.1d7f99ff.js"
11
+ "static/js/main.31323a04.js"
12
12
  ]
13
13
  }
@@ -0,0 +1,2 @@
1
+ <!-- Simple favicon content - binary content approximated with HTML comment -->
2
+ <!-- This is a placeholder and should be replaced with a proper ICO file -->
@@ -1 +1 @@
1
- <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#4a90e2"/><meta name="description" content="ezPM2GUI - A modern interface for PM2 process manager"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>ezPM2GUI - PM2 Process Manager</title><script defer="defer" src="/static/js/main.1d7f99ff.js"></script><link href="/static/css/main.672b8f26.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1
+ <!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#4a90e2"/><meta name="description" content="ezPM2GUI - A modern interface for PM2 process manager"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>ezPM2GUI - PM2 Process Manager</title><script defer="defer" src="/static/js/main.31323a04.js"></script><link href="/static/css/main.672b8f26.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
@@ -0,0 +1,7 @@
1
+ <svg width="192" height="192" viewBox="0 0 192 192" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="192" height="192" rx="38.4" fill="#3F51B5"/>
3
+ <path d="M48 96C48 69.4904 69.4904 48 96 48C122.51 48 144 69.4904 144 96C144 122.51 122.51 144 96 144C69.4904 144 48 122.51 48 96Z" stroke="white" stroke-width="9.6"/>
4
+ <path d="M72 86.4H120" stroke="white" stroke-width="9.6" stroke-linecap="round"/>
5
+ <path d="M72 105.6H120" stroke="white" stroke-width="9.6" stroke-linecap="round"/>
6
+ <path d="M96 72V120" stroke="white" stroke-width="9.6" stroke-linecap="round"/>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="512" height="512" rx="102.4" fill="#3F51B5"/>
3
+ <path d="M128 256C128 185.307 185.307 128 256 128C326.693 128 384 185.307 384 256C384 326.693 326.693 384 256 384C185.307 384 128 326.693 128 256Z" stroke="white" stroke-width="25.6"/>
4
+ <path d="M192 230.4H320" stroke="white" stroke-width="25.6" stroke-linecap="round"/>
5
+ <path d="M192 281.6H320" stroke="white" stroke-width="25.6" stroke-linecap="round"/>
6
+ <path d="M256 192V320" stroke="white" stroke-width="25.6" stroke-linecap="round"/>
7
+ </svg>
@@ -6,15 +6,14 @@
6
6
  "src": "favicon.ico",
7
7
  "sizes": "64x64 32x32 24x24 16x16",
8
8
  "type": "image/x-icon"
9
- },
10
- {
11
- "src": "logo192.png",
12
- "type": "image/png",
9
+ }, {
10
+ "src": "logo192.svg",
11
+ "type": "image/svg+xml",
13
12
  "sizes": "192x192"
14
13
  },
15
14
  {
16
- "src": "logo512.png",
17
- "type": "image/png",
15
+ "src": "logo512.svg",
16
+ "type": "image/svg+xml",
18
17
  "sizes": "512x512"
19
18
  }
20
19
  ],