npx pm-gui # [--port=4000] [--db=path/to/sqlite/db] [--pwd=123456]
open browser and visit http://localhost:4000
- listen port
- default:
4000
- app local storage
- default:
cwd/config/app.db
- app auth password
- default:
add project-manager-ipc to project for emit dev info and build dist to pm-gui
import ProjectManagerIpc from "project-manager-ipc";
const ipc = new ProjectManagerIpc();
ipc.connect();
// Run Dev
YourDevScript(() => {
ipc.emitUrl("0.0.0.0", 1234);
});
// Build Success
YourBuildScript(() => {
ipc.emitDist("path/to/dist");
// or
ipc.emitDist("path/to/dist", { version: "1.0.0", name: "name" }});
});
or use project-manager-webpack-plugin to auto emit dist with webpack
import ProjectManagerWebpackPlugin from "project-manager-webpack-plugin";
const webpackConfig = {
//...
plugins: [
new ProjectManagerWebpackPlugin({
// send dev host and port
devInfo: () => ({
host: "0.0.0.0",
port: 1234,
}),
// outpath will be auto emit
}),
],
};
- add deploy post progress
- deploy post version and extra args
- add project output version
- add password auth
- add project deploy
- add process resume
- next project process
- change usage to process
- add db backup file
- add build/dev proc
env
andencoding
- When the project is stopped, click on the status label to display the terminal.
- change project sort
- add project created_at
- category orderby sort asc
- xterm use canvas renderer
- merge project devInfo request
- show cpu/memory on homepage
- update db file save method