@jxa13/pm2ui 1.17.0 → 1.17.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.
- package/README.md +58 -5
- package/changelog.md +7 -0
- package/package.json +1 -1
- package/server.js +1 -1
- package/user_manual.md +3 -3
package/README.md
CHANGED
|
@@ -47,6 +47,8 @@ npm install -g pm2
|
|
|
47
47
|
|
|
48
48
|
## Installation
|
|
49
49
|
|
|
50
|
+
### Install Or Update
|
|
51
|
+
|
|
50
52
|
Install the CLI globally from npm:
|
|
51
53
|
|
|
52
54
|
```bash
|
|
@@ -62,19 +64,27 @@ pm2ui
|
|
|
62
64
|
By default, the dashboard runs locally on:
|
|
63
65
|
|
|
64
66
|
```text
|
|
65
|
-
http://127.0.0.1:
|
|
67
|
+
http://127.0.0.1:3210
|
|
66
68
|
```
|
|
67
69
|
|
|
68
|
-
|
|
70
|
+
Upgrade to the latest published version:
|
|
69
71
|
|
|
70
72
|
```bash
|
|
71
|
-
npm install -g @jxa13/pm2ui@
|
|
73
|
+
npm install -g @jxa13/pm2ui@latest
|
|
72
74
|
```
|
|
73
75
|
|
|
74
|
-
|
|
76
|
+
Check the installed version:
|
|
75
77
|
|
|
76
78
|
```bash
|
|
77
|
-
npm
|
|
79
|
+
npm list -g @jxa13/pm2ui --depth=0
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Install A Specific Version
|
|
83
|
+
|
|
84
|
+
Install a specific version:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
npm install -g @jxa13/pm2ui@1.17.0
|
|
78
88
|
```
|
|
79
89
|
|
|
80
90
|
Roll back to a previous version:
|
|
@@ -83,6 +93,12 @@ Roll back to a previous version:
|
|
|
83
93
|
npm install -g @jxa13/pm2ui@1.16.4
|
|
84
94
|
```
|
|
85
95
|
|
|
96
|
+
View all published versions:
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
npm view @jxa13/pm2ui versions --json
|
|
100
|
+
```
|
|
101
|
+
|
|
86
102
|
### Install From Source
|
|
87
103
|
|
|
88
104
|
Clone the repository:
|
|
@@ -106,6 +122,43 @@ npm start
|
|
|
106
122
|
|
|
107
123
|
`npm start` builds the React frontend and starts the local Express server.
|
|
108
124
|
|
|
125
|
+
### Publish A New Version
|
|
126
|
+
|
|
127
|
+
Only maintainers with npm publish access can release new versions.
|
|
128
|
+
|
|
129
|
+
Run the checks:
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
npm run react:build
|
|
133
|
+
npm run react:smoke
|
|
134
|
+
npm pack --dry-run
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Bump the package version:
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
npm version patch
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
Use `minor` for backward-compatible feature releases and `major` for breaking changes:
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
npm version minor
|
|
147
|
+
npm version major
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
Publish the release:
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
npm publish --access public
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
After publishing, users can upgrade with:
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
npm install -g @jxa13/pm2ui@latest
|
|
160
|
+
```
|
|
161
|
+
|
|
109
162
|
---
|
|
110
163
|
|
|
111
164
|
## PM2 Setup
|
package/changelog.md
CHANGED
|
@@ -8,6 +8,13 @@ Version numbers should be updated with each commit that changes app behavior, us
|
|
|
8
8
|
- Minor versions, such as `1.1.0`, for user-visible improvements that do not break existing behavior.
|
|
9
9
|
- Major versions, such as `2.0.0`, for breaking changes.
|
|
10
10
|
|
|
11
|
+
## 1.17.1 - 2026-06-07
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- Changed the default local app port from `3000` to `3210`.
|
|
16
|
+
- Updated Vite development and preview API proxies plus user documentation for the new default port.
|
|
17
|
+
|
|
11
18
|
## 1.17.0 - 2026-06-07
|
|
12
19
|
|
|
13
20
|
### Changed
|
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -13,7 +13,7 @@ const {
|
|
|
13
13
|
const { getSystemStats } = require('./Services/systemService');
|
|
14
14
|
|
|
15
15
|
const app = express();
|
|
16
|
-
const PORT = process.env.PORT ||
|
|
16
|
+
const PORT = process.env.PORT || 3210;
|
|
17
17
|
const DEFAULT_PROTECTED_PROCESS_NAMES = ['node-webui'];
|
|
18
18
|
const execFileAsync = promisify(execFile);
|
|
19
19
|
const reactDistPath = path.join(__dirname, 'frontend', 'dist');
|
package/user_manual.md
CHANGED
|
@@ -61,7 +61,7 @@ npm start
|
|
|
61
61
|
The server binds to localhost by default:
|
|
62
62
|
|
|
63
63
|
```text
|
|
64
|
-
http://127.0.0.1:
|
|
64
|
+
http://127.0.0.1:3210
|
|
65
65
|
```
|
|
66
66
|
|
|
67
67
|
## Opening The App
|
|
@@ -69,10 +69,10 @@ http://127.0.0.1:3000
|
|
|
69
69
|
Node WebUI serves the React operations console as the default UI:
|
|
70
70
|
|
|
71
71
|
```text
|
|
72
|
-
http://127.0.0.1:
|
|
72
|
+
http://127.0.0.1:3210
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
-
`npm start` builds the React frontend before starting Express. The compatibility path `http://127.0.0.1:
|
|
75
|
+
`npm start` builds the React frontend before starting Express. The compatibility path `http://127.0.0.1:3210/react` also loads the same React UI.
|
|
76
76
|
|
|
77
77
|
## Optional Environment Variables
|
|
78
78
|
|