🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

pm-gui

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pm-gui

project-manager

1.4.9
latest
Source
npm
Version published
Weekly downloads
1
-66.67%
Maintainers
0
Weekly downloads
 
Created
Source

Project Manager

Usage

npx pm-gui # [--port=4000] [--db=path/to/sqlite/db] [--pwd=123456]

open browser and visit http://localhost:4000

Args

port

  • listen port
  • default: 4000

db

  • app local storage
  • default: cwd/config/app.db

pwd

  • app auth password
  • default:

IPC

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
    }),
  ],
};

Demo

image

changelog

[1.4.3] 2024-04-19

  • add deploy post progress

[1.4.2] 2024-01-16

  • deploy post version and extra args

[1.4.1] 2024-01-16

  • add project output version

[1.4.0] 2024-01-15

  • add password auth

[1.3.0] 2023-12-07

  • add project deploy

[1.2.3] 2023-11-28

  • add process resume

[1.2.0] 2023-11-27

  • next project process

[1.1.0] 2023-10-31

  • change usage to process
  • add db backup file

[1.0.8] 2023-05-23

  • add build/dev proc env and encoding

[1.0.7] 2023-05-22

  • When the project is stopped, click on the status label to display the terminal.

[1.0.6] 2023-05-08

  • change project sort
  • add project created_at

[1.0.5] 2023-05-06

  • category orderby sort asc
  • xterm use canvas renderer

[1.0.4] 2023-05-06

  • merge project devInfo request
  • show cpu/memory on homepage

[1.0.3] 2023-05-05

  • update db file save method

FAQs

Package last updated on 26 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts