@dxos/typings 0.1.53-main.b9267b1 → 0.1.53-main.cb0c729
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/package.json +1 -1
- package/project.json +2 -2
- package/src/forever.d.ts +19 -1
package/package.json
CHANGED
package/project.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"projectType": "library",
|
|
4
4
|
"targets": {
|
|
5
5
|
"build": {
|
|
6
|
-
"executor": "@
|
|
6
|
+
"executor": "@nx/js:tsc",
|
|
7
7
|
"options": {
|
|
8
8
|
"main": "packages/common/typings/src/index.d.ts",
|
|
9
9
|
"outputPath": "packages/common/typings/dist/types",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"lint": {
|
|
18
|
-
"executor": "@
|
|
18
|
+
"executor": "@nx/linter:eslint",
|
|
19
19
|
"options": {
|
|
20
20
|
"format": "unix",
|
|
21
21
|
"lintFilePatterns": [
|
package/src/forever.d.ts
CHANGED
|
@@ -93,9 +93,25 @@ declare module 'forever' {
|
|
|
93
93
|
|
|
94
94
|
// TODO(mykola): Get full ForeverProcess type.
|
|
95
95
|
export type ForeverProcess = {
|
|
96
|
+
args: string[];
|
|
97
|
+
command: string;
|
|
98
|
+
cwd: string;
|
|
99
|
+
ctime: number;
|
|
100
|
+
errFile: string;
|
|
101
|
+
file: string;
|
|
96
102
|
foreverPid: number;
|
|
97
|
-
|
|
103
|
+
id: string;
|
|
104
|
+
isMaster: boolean;
|
|
105
|
+
logFile: string;
|
|
106
|
+
outFile: string;
|
|
107
|
+
pid: number;
|
|
108
|
+
pidFile: string;
|
|
109
|
+
restarts: number;
|
|
98
110
|
running: boolean;
|
|
111
|
+
silent: boolean;
|
|
112
|
+
socket: string;
|
|
113
|
+
spawnWith: string;
|
|
114
|
+
uid: string;
|
|
99
115
|
};
|
|
100
116
|
|
|
101
117
|
/**
|
|
@@ -106,4 +122,6 @@ declare module 'forever' {
|
|
|
106
122
|
export const list: (format: boolean, callback: (err: Error, processes: ForeverProcess[]) => void) => void;
|
|
107
123
|
|
|
108
124
|
export const kill: (pid: number, killTree?: boolean, signal?: string, callback?: () => any) => void;
|
|
125
|
+
|
|
126
|
+
export const cleanUp: (cleanUpLogs: boolean, allowManager: boolean) => void;
|
|
109
127
|
}
|