vh-dev-helper 1.0.0 → 1.0.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 (177) hide show
  1. package/dist/app.d.ts +8 -0
  2. package/dist/app.js +22 -0
  3. package/dist/app.js.map +1 -0
  4. package/dist/bin/index.js +6 -2
  5. package/dist/bin/index.js.map +1 -0
  6. package/dist/features/git/git.controller.d.ts +24 -0
  7. package/dist/features/git/git.controller.js +154 -0
  8. package/dist/features/git/git.controller.js.map +1 -0
  9. package/dist/features/git/git.route.d.ts +20 -0
  10. package/dist/features/git/git.route.js +132 -0
  11. package/dist/features/git/git.route.js.map +1 -0
  12. package/dist/features/git/git.service.d.ts +14 -0
  13. package/dist/features/git/git.service.js +342 -0
  14. package/dist/features/git/git.service.js.map +1 -0
  15. package/dist/shared/config/config.d.ts +1 -0
  16. package/dist/shared/config/config.js +3 -0
  17. package/dist/shared/config/config.js.map +1 -0
  18. package/dist/shared/config/config.types.d.ts +1 -0
  19. package/dist/shared/config/config.types.js +3 -0
  20. package/dist/shared/config/config.types.js.map +1 -0
  21. package/dist/shared/config/defaults.d.ts +1 -0
  22. package/dist/shared/config/defaults.js +3 -0
  23. package/dist/shared/config/defaults.js.map +1 -0
  24. package/dist/shared/constants/env.constants.d.ts +1 -0
  25. package/dist/shared/constants/env.constants.js +3 -0
  26. package/dist/shared/constants/env.constants.js.map +1 -0
  27. package/dist/shared/errors/base.error.d.ts +1 -0
  28. package/dist/shared/errors/base.error.js +3 -0
  29. package/dist/shared/errors/base.error.js.map +1 -0
  30. package/dist/shared/errors/cli.error.d.ts +1 -0
  31. package/dist/shared/errors/cli.error.js +3 -0
  32. package/dist/shared/errors/cli.error.js.map +1 -0
  33. package/dist/shared/errors/runtine.error.d.ts +1 -0
  34. package/dist/shared/errors/runtine.error.js +3 -0
  35. package/dist/shared/errors/runtine.error.js.map +1 -0
  36. package/dist/shared/events/event-bus.d.ts +1 -0
  37. package/dist/shared/events/event-bus.js +3 -0
  38. package/dist/shared/events/event-bus.js.map +1 -0
  39. package/dist/shared/events/events.types.d.ts +1 -0
  40. package/dist/shared/events/events.types.js +3 -0
  41. package/dist/shared/events/events.types.js.map +1 -0
  42. package/dist/shared/helpers/gitParsers/parser.controller.d.ts +26 -0
  43. package/dist/shared/helpers/gitParsers/parser.controller.js +169 -0
  44. package/dist/shared/helpers/gitParsers/parser.controller.js.map +1 -0
  45. package/dist/shared/helpers/gitParsers/parser.services.d.ts +29 -0
  46. package/dist/shared/helpers/gitParsers/parser.services.js +368 -0
  47. package/dist/shared/helpers/gitParsers/parser.services.js.map +1 -0
  48. package/dist/shared/helpers/gitParsers/parser.types.d.ts +83 -0
  49. package/dist/shared/helpers/gitParsers/parser.types.js +22 -0
  50. package/dist/shared/helpers/gitParsers/parser.types.js.map +1 -0
  51. package/dist/shared/helpers/logger/logger.d.ts +1 -0
  52. package/dist/shared/helpers/logger/logger.js +3 -0
  53. package/dist/shared/helpers/logger/logger.js.map +1 -0
  54. package/dist/shared/helpers/logger/logger.types.d.ts +1 -0
  55. package/dist/shared/helpers/logger/logger.types.js +3 -0
  56. package/dist/shared/helpers/logger/logger.types.js.map +1 -0
  57. package/dist/shared/helpers/output/index.d.ts +19 -0
  58. package/dist/shared/helpers/output/index.js +78 -0
  59. package/dist/shared/helpers/output/index.js.map +1 -0
  60. package/dist/shared/helpers/prompt/prompt.d.ts +11 -0
  61. package/dist/shared/helpers/prompt/prompt.js +81 -0
  62. package/dist/shared/helpers/prompt/prompt.js.map +1 -0
  63. package/dist/shared/helpers/prompt/prompt.types.d.ts +40 -0
  64. package/dist/shared/helpers/prompt/prompt.types.js +3 -0
  65. package/dist/shared/helpers/prompt/prompt.types.js.map +1 -0
  66. package/dist/shared/helpers/shell/exec.d.ts +15 -0
  67. package/dist/shared/helpers/shell/exec.js +30 -0
  68. package/dist/shared/helpers/shell/exec.js.map +1 -0
  69. package/dist/shared/helpers/shell/spawn.d.ts +1 -0
  70. package/dist/shared/helpers/shell/spawn.js +3 -0
  71. package/dist/shared/helpers/shell/spawn.js.map +1 -0
  72. package/dist/shared/types/common.types.d.ts +1 -0
  73. package/dist/shared/types/common.types.js +3 -0
  74. package/dist/shared/types/common.types.js.map +1 -0
  75. package/dist/shared/ui/stepProgress/index.d.ts +19 -0
  76. package/dist/shared/ui/stepProgress/index.js +100 -0
  77. package/dist/shared/ui/stepProgress/index.js.map +1 -0
  78. package/dist/shared/ui/writer/index.d.ts +6 -0
  79. package/dist/shared/ui/writer/index.js +36 -0
  80. package/dist/shared/ui/writer/index.js.map +1 -0
  81. package/package.json +34 -23
  82. package/dist/src/commands/dashbaord/index.d.ts +0 -2
  83. package/dist/src/commands/dashbaord/index.js +0 -38
  84. package/dist/src/commands/dashbaord/project.command.d.ts +0 -2
  85. package/dist/src/commands/dashbaord/project.command.js +0 -17
  86. package/dist/src/commands/git/bg.command.d.ts +0 -2
  87. package/dist/src/commands/git/bg.command.js +0 -17
  88. package/dist/src/commands/git/cleanup.command.d.ts +0 -2
  89. package/dist/src/commands/git/cleanup.command.js +0 -12
  90. package/dist/src/commands/git/cp.command.d.ts +0 -2
  91. package/dist/src/commands/git/cp.command.js +0 -68
  92. package/dist/src/commands/git/del.command.d.ts +0 -2
  93. package/dist/src/commands/git/del.command.js +0 -19
  94. package/dist/src/commands/git/fetch.command.d.ts +0 -2
  95. package/dist/src/commands/git/fetch.command.js +0 -12
  96. package/dist/src/commands/git/final.command.d.ts +0 -2
  97. package/dist/src/commands/git/final.command.js +0 -23
  98. package/dist/src/commands/git/ga.command.d.ts +0 -2
  99. package/dist/src/commands/git/ga.command.js +0 -22
  100. package/dist/src/commands/git/gcm.command.d.ts +0 -2
  101. package/dist/src/commands/git/gcm.command.js +0 -23
  102. package/dist/src/commands/git/gco.command.d.ts +0 -2
  103. package/dist/src/commands/git/gco.command.js +0 -27
  104. package/dist/src/commands/git/gcob.command.d.ts +0 -2
  105. package/dist/src/commands/git/gcob.command.js +0 -23
  106. package/dist/src/commands/git/gph.command.d.ts +0 -2
  107. package/dist/src/commands/git/gph.command.js +0 -29
  108. package/dist/src/commands/git/gpho.command.d.ts +0 -2
  109. package/dist/src/commands/git/gpho.command.js +0 -20
  110. package/dist/src/commands/git/gpl.command.d.ts +0 -2
  111. package/dist/src/commands/git/gpl.command.js +0 -33
  112. package/dist/src/commands/git/gplo.command.d.ts +0 -2
  113. package/dist/src/commands/git/gplo.command.js +0 -20
  114. package/dist/src/commands/git/gpu.command.d.ts +0 -2
  115. package/dist/src/commands/git/gpu.command.js +0 -23
  116. package/dist/src/commands/git/gr.command.d.ts +0 -2
  117. package/dist/src/commands/git/gr.command.js +0 -20
  118. package/dist/src/commands/git/graph.command.d.ts +0 -2
  119. package/dist/src/commands/git/graph.command.js +0 -12
  120. package/dist/src/commands/git/gs.command.d.ts +0 -2
  121. package/dist/src/commands/git/gs.command.js +0 -23
  122. package/dist/src/commands/git/index.d.ts +0 -2
  123. package/dist/src/commands/git/index.js +0 -52
  124. package/dist/src/commands/git/init.command.d.ts +0 -2
  125. package/dist/src/commands/git/init.command.js +0 -12
  126. package/dist/src/commands/git/merge.command.d.ts +0 -2
  127. package/dist/src/commands/git/merge.command.js +0 -13
  128. package/dist/src/commands/git/sync.command.d.ts +0 -2
  129. package/dist/src/commands/git/sync.command.js +0 -12
  130. package/dist/src/commands/git/undo.command.d.ts +0 -2
  131. package/dist/src/commands/git/undo.command.js +0 -21
  132. package/dist/src/commands/git/untrack.command.d.ts +0 -2
  133. package/dist/src/commands/git/untrack.command.js +0 -27
  134. package/dist/src/commands/index.d.ts +0 -1
  135. package/dist/src/commands/index.js +0 -15
  136. package/dist/src/commands/network/discover.command.d.ts +0 -2
  137. package/dist/src/commands/network/discover.command.js +0 -24
  138. package/dist/src/commands/network/index.d.ts +0 -2
  139. package/dist/src/commands/network/index.js +0 -47
  140. package/dist/src/commands/network/inspect.command.d.ts +0 -2
  141. package/dist/src/commands/network/inspect.command.js +0 -34
  142. package/dist/src/commands/network/ports.command.d.ts +0 -2
  143. package/dist/src/commands/network/ports.command.js +0 -27
  144. package/dist/src/commands/network/ssl.command.d.ts +0 -2
  145. package/dist/src/commands/network/ssl.command.js +0 -32
  146. package/dist/src/commands/network/trace.command.d.ts +0 -2
  147. package/dist/src/commands/network/trace.command.js +0 -30
  148. package/dist/src/core/helper/command.helper.d.ts +0 -1
  149. package/dist/src/core/helper/command.helper.js +0 -28
  150. package/dist/src/core/helper/git.helper.d.ts +0 -2
  151. package/dist/src/core/helper/git.helper.js +0 -58
  152. package/dist/src/core/helper/prompts.helper.d.ts +0 -5
  153. package/dist/src/core/helper/prompts.helper.js +0 -83
  154. package/dist/src/core/shell/exec.d.ts +0 -1
  155. package/dist/src/core/shell/exec.js +0 -38
  156. package/dist/src/dashboards/collectors/project/project.collector.d.ts +0 -9
  157. package/dist/src/dashboards/collectors/project/project.collector.js +0 -29
  158. package/dist/src/dashboards/project/backend/server/dashboard.bootstrap.d.ts +0 -6
  159. package/dist/src/dashboards/project/backend/server/dashboard.bootstrap.js +0 -45
  160. package/dist/src/dashboards/project/backend/server/dashboard.server.d.ts +0 -6
  161. package/dist/src/dashboards/project/backend/server/dashboard.server.js +0 -25
  162. package/dist/src/dashboards/project/backend/server/websocket.server.d.ts +0 -8
  163. package/dist/src/dashboards/project/backend/server/websocket.server.js +0 -28
  164. package/dist/src/dashboards/project/backend/services/git.service.d.ts +0 -9
  165. package/dist/src/dashboards/project/backend/services/git.service.js +0 -18
  166. package/dist/src/dashboards/project/backend/services/metrics.service.d.ts +0 -7
  167. package/dist/src/dashboards/project/backend/services/metrics.service.js +0 -54
  168. package/dist/src/dashboards/project/backend/services/project.service.d.ts +0 -10
  169. package/dist/src/dashboards/project/backend/services/project.service.js +0 -19
  170. package/dist/src/dashboards/project/backend/services/system.service.d.ts +0 -15
  171. package/dist/src/dashboards/project/backend/services/system.service.js +0 -42
  172. package/dist/src/dashboards/project/backend/wrapper/process.wrapper.d.ts +0 -13
  173. package/dist/src/dashboards/project/backend/wrapper/process.wrapper.js +0 -56
  174. package/dist/src/services/git/git.service.d.ts +0 -37
  175. package/dist/src/services/git/git.service.js +0 -303
  176. package/dist/src/services/network/network.service.d.ts +0 -23
  177. package/dist/src/services/network/network.service.js +0 -524
@@ -1,45 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.dashboardBootstrap = dashboardBootstrap;
7
- const open_1 = __importDefault(require("open"));
8
- const dashboard_server_1 = require("./dashboard.server");
9
- const websocket_server_1 = require("./websocket.server");
10
- const process_wrapper_1 = require("../wrapper/process.wrapper");
11
- const metrics_service_1 = require("../services/metrics.service");
12
- async function dashboardBootstrap({ command, args }) {
13
- try {
14
- console.log("\n🚀 Starting Project Dashboard\n");
15
- /*
16
- * start http server
17
- */
18
- const server = await dashboard_server_1.dashboardServer.start();
19
- /*
20
- * attach websocket
21
- */
22
- websocket_server_1.websocketServer.attach(server);
23
- /*
24
- * start wrapped project
25
- */
26
- await process_wrapper_1.processWrapper.start({
27
- command,
28
- args,
29
- });
30
- /*
31
- * start metrics collection
32
- */
33
- metrics_service_1.metricsService.start();
34
- /*
35
- * open browser
36
- */
37
- await (0, open_1.default)("http://localhost:5173");
38
- console.log("✅ Dashboard Ready\n");
39
- }
40
- catch (error) {
41
- console.log("❌ Failed to start dashboard");
42
- console.error(error);
43
- process.exit(1);
44
- }
45
- }
@@ -1,6 +0,0 @@
1
- import http from "http";
2
- declare class DashboardServer {
3
- start(): Promise<http.Server<typeof http.IncomingMessage, typeof http.ServerResponse>>;
4
- }
5
- export declare const dashboardServer: DashboardServer;
6
- export {};
@@ -1,25 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.dashboardServer = void 0;
7
- const express_1 = __importDefault(require("express"));
8
- const http_1 = __importDefault(require("http"));
9
- class DashboardServer {
10
- async start() {
11
- const app = (0, express_1.default)();
12
- app.get("/health", (_req, res) => {
13
- res.send("dashboard alive");
14
- });
15
- const server = http_1.default.createServer(app);
16
- await new Promise((resolve) => {
17
- server.listen(4545, () => {
18
- console.log("Dashboard API : http://localhost:4545");
19
- resolve(true);
20
- });
21
- });
22
- return server;
23
- }
24
- }
25
- exports.dashboardServer = new DashboardServer();
@@ -1,8 +0,0 @@
1
- import { Server } from "http";
2
- declare class WebsocketServer {
3
- private wss?;
4
- attach(server: Server): void;
5
- emit(event: string, payload: unknown): void;
6
- }
7
- export declare const websocketServer: WebsocketServer;
8
- export {};
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.websocketServer = void 0;
4
- const ws_1 = require("ws");
5
- class WebsocketServer {
6
- wss;
7
- attach(server) {
8
- this.wss = new ws_1.WebSocketServer({
9
- server,
10
- });
11
- this.wss.on("connection", () => {
12
- console.log("Dashboard connected");
13
- });
14
- }
15
- emit(event, payload) {
16
- if (!this.wss) {
17
- return;
18
- }
19
- const message = JSON.stringify({
20
- event,
21
- payload,
22
- });
23
- this.wss.clients.forEach((client) => {
24
- client.send(message);
25
- });
26
- }
27
- }
28
- exports.websocketServer = new WebsocketServer();
@@ -1,9 +0,0 @@
1
- declare class GitDashboardService {
2
- getInfo(): Promise<{
3
- branch: string;
4
- changesCount: number;
5
- changes: string[];
6
- }>;
7
- }
8
- export declare const gitDashboardService: GitDashboardService;
9
- export {};
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.gitDashboardService = void 0;
4
- const exec_1 = require("../../../../core/shell/exec");
5
- class GitDashboardService {
6
- async getInfo() {
7
- const branch = (await (0, exec_1.exec)("git branch --show-current", true)).trim();
8
- const changes = (await (0, exec_1.exec)("git status --short", true))
9
- .split("\n")
10
- .filter(Boolean);
11
- return {
12
- branch,
13
- changesCount: changes.length,
14
- changes,
15
- };
16
- }
17
- }
18
- exports.gitDashboardService = new GitDashboardService();
@@ -1,7 +0,0 @@
1
- declare class MetricsService {
2
- private timer?;
3
- start(): void;
4
- stop(): void;
5
- }
6
- export declare const metricsService: MetricsService;
7
- export {};
@@ -1,54 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.metricsService = void 0;
7
- const pidusage_1 = __importDefault(require("pidusage"));
8
- const websocket_server_1 = require("../server/websocket.server");
9
- const process_wrapper_1 = require("../wrapper/process.wrapper");
10
- const project_service_1 = require("./project.service");
11
- const git_service_1 = require("./git.service");
12
- const system_service_1 = require("./system.service");
13
- class MetricsService {
14
- timer;
15
- start() {
16
- this.timer = setInterval(async () => {
17
- try {
18
- const pid = process_wrapper_1.processWrapper.getPid();
19
- if (!pid) {
20
- return;
21
- }
22
- const stats = await (0, pidusage_1.default)(pid);
23
- const project = project_service_1.projectService.getInfo();
24
- const git = await git_service_1.gitDashboardService.getInfo();
25
- const memory = system_service_1.systemService.getMemory();
26
- const cpu = system_service_1.systemService.getCpuUsage();
27
- const machine = system_service_1.systemService.getMachine();
28
- websocket_server_1.websocketServer.emit("dashboard:update", {
29
- runtime: {
30
- pid,
31
- cpu: cpu,
32
- memory: memory,
33
- elapsed: stats.elapsed,
34
- uptime: process.uptime(),
35
- },
36
- project,
37
- git,
38
- system: {
39
- cpu,
40
- memory,
41
- machine,
42
- },
43
- });
44
- }
45
- catch (error) {
46
- console.log(error);
47
- }
48
- }, 1000);
49
- }
50
- stop() {
51
- clearInterval(this.timer);
52
- }
53
- }
54
- exports.metricsService = new MetricsService();
@@ -1,10 +0,0 @@
1
- declare class ProjectService {
2
- getInfo(): {
3
- name: any;
4
- version: any;
5
- scripts: any;
6
- cwd: string;
7
- };
8
- }
9
- export declare const projectService: ProjectService;
10
- export {};
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.projectService = void 0;
7
- const fs_1 = __importDefault(require("fs"));
8
- class ProjectService {
9
- getInfo() {
10
- const pkg = JSON.parse(fs_1.default.readFileSync("package.json", "utf8"));
11
- return {
12
- name: pkg.name,
13
- version: pkg.version,
14
- scripts: pkg.scripts,
15
- cwd: process.cwd(),
16
- };
17
- }
18
- }
19
- exports.projectService = new ProjectService();
@@ -1,15 +0,0 @@
1
- declare class SystemService {
2
- private previous;
3
- getCpuUsage(): number;
4
- getMemory(): {
5
- usedMB: number;
6
- totalMB: number;
7
- };
8
- getMachine(): {
9
- arch: NodeJS.Architecture;
10
- cpu: string;
11
- platform: NodeJS.Platform;
12
- };
13
- }
14
- export declare const systemService: SystemService;
15
- export {};
@@ -1,42 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.systemService = void 0;
7
- const os_1 = __importDefault(require("os"));
8
- class SystemService {
9
- previous = os_1.default.cpus();
10
- getCpuUsage() {
11
- const current = os_1.default.cpus();
12
- let idleDiff = 0;
13
- let totalDiff = 0;
14
- current.forEach((cpu, index) => {
15
- const prev = this.previous[index];
16
- const prevTotal = Object.values(prev.times).reduce((a, b) => a + b, 0);
17
- const currTotal = Object.values(cpu.times).reduce((a, b) => a + b, 0);
18
- idleDiff += cpu.times.idle - prev.times.idle;
19
- totalDiff += currTotal - prevTotal;
20
- });
21
- this.previous = current;
22
- const usage = 100 - (idleDiff / totalDiff) * 100;
23
- return Number(usage.toFixed(1));
24
- }
25
- getMemory() {
26
- const total = os_1.default.totalmem();
27
- const free = os_1.default.freemem();
28
- const result = {
29
- usedMB: Math.round((total - free) / 1024 / 1024),
30
- totalMB: Math.round(total / 1024 / 1024),
31
- };
32
- return result;
33
- }
34
- getMachine() {
35
- return {
36
- arch: os_1.default.arch(),
37
- cpu: os_1.default.cpus()[0]?.model,
38
- platform: os_1.default.platform(),
39
- };
40
- }
41
- }
42
- exports.systemService = new SystemService();
@@ -1,13 +0,0 @@
1
- import { ChildProcess } from "child_process";
2
- declare class ProcessWrapper {
3
- private child?;
4
- start({ command, args, }: {
5
- command: string;
6
- args: string[];
7
- }): Promise<void>;
8
- getPid(): number | undefined;
9
- getProcess(): ChildProcess | undefined;
10
- stop(): void;
11
- }
12
- export declare const processWrapper: ProcessWrapper;
13
- export {};
@@ -1,56 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.processWrapper = void 0;
4
- const child_process_1 = require("child_process");
5
- const websocket_server_1 = require("../server/websocket.server");
6
- class ProcessWrapper {
7
- child;
8
- async start({ command, args, }) {
9
- console.log("tick");
10
- this.child = (0, child_process_1.spawn)(command, args, {
11
- shell: true,
12
- stdio: "pipe",
13
- env: {
14
- ...process.env,
15
- VH_ENABLED: "true",
16
- },
17
- });
18
- websocket_server_1.websocketServer.emit("process", {
19
- pid: this.child.pid,
20
- command,
21
- args,
22
- });
23
- this.child.stdout?.on("data", (data) => {
24
- websocket_server_1.websocketServer.emit("stdout", {
25
- message: data.toString(),
26
- timestamp: Date.now(),
27
- });
28
- });
29
- this.child.stderr?.on("data", (data) => {
30
- websocket_server_1.websocketServer.emit("stderr", {
31
- message: data.toString(),
32
- timestamp: Date.now(),
33
- });
34
- });
35
- this.child.on("close", (code) => {
36
- websocket_server_1.websocketServer.emit("process_exit", {
37
- code,
38
- });
39
- });
40
- this.child.on("error", (error) => {
41
- websocket_server_1.websocketServer.emit("process_error", {
42
- error: error.message,
43
- });
44
- });
45
- }
46
- getPid() {
47
- return this.child?.pid;
48
- }
49
- getProcess() {
50
- return this.child;
51
- }
52
- stop() {
53
- this.child?.kill("SIGTERM");
54
- }
55
- }
56
- exports.processWrapper = new ProcessWrapper();
@@ -1,37 +0,0 @@
1
- declare class GitService {
2
- deleteBranch(branch: string, remote?: boolean): Promise<void>;
3
- cherryPickLines(ref: string, file: string, range?: string): Promise<void>;
4
- cherryPickInteractive(ref: string, file: string): Promise<void>;
5
- cherryPickCommit(ref: string): Promise<void>;
6
- cherryPickFile(ref: string, file: string): Promise<void>;
7
- cherryPickFolder(ref: string, folder: string): Promise<void>;
8
- init(): Promise<void>;
9
- fetch(): Promise<void>;
10
- merge(branch: string): Promise<void>;
11
- sync(): Promise<void>;
12
- cleanup(): Promise<void>;
13
- graph(): Promise<void>;
14
- undo({ hard, mixed, commit, index, }: {
15
- hard?: boolean;
16
- mixed?: boolean;
17
- commit?: string;
18
- index?: number;
19
- }): Promise<void>;
20
- addAll(): Promise<void>;
21
- commit(message: string): Promise<void>;
22
- status(): Promise<void>;
23
- checkout(branch: string): Promise<void>;
24
- checkoutBranch(branch: string): Promise<void>;
25
- branches(): Promise<void>;
26
- restore(file?: string): Promise<void>;
27
- pushUpstream(): Promise<void>;
28
- pushOrigin(branch?: string): Promise<void>;
29
- pullOrigin(branch?: string): Promise<void>;
30
- pushWithPull(branch?: string): Promise<void>;
31
- pull(branch?: string): Promise<void>;
32
- resolveRef(ref: string): Promise<string>;
33
- final(message?: string): Promise<void>;
34
- untrack(target: string): Promise<void>;
35
- }
36
- export declare const gitService: GitService;
37
- export {};