utilzify 1.5.6 → 1.6.0
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/lib/cjs/interfaces/ecosystem-config.d.ts +58 -0
- package/lib/cjs/interfaces/ecosystem-config.d.ts.map +1 -0
- package/lib/cjs/interfaces/ecosystem-config.js +1 -0
- package/lib/cjs/interfaces/index.d.ts +1 -0
- package/lib/cjs/interfaces/index.d.ts.map +1 -1
- package/lib/esm/interfaces/ecosystem-config.d.ts +58 -0
- package/lib/esm/interfaces/ecosystem-config.d.ts.map +1 -0
- package/lib/esm/interfaces/ecosystem-config.js +1 -0
- package/lib/esm/interfaces/index.d.ts +1 -0
- package/lib/esm/interfaces/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export type EnvVariables = {
|
|
2
|
+
[key: string]: string | number | boolean;
|
|
3
|
+
};
|
|
4
|
+
export interface EcosystemApp {
|
|
5
|
+
name: string;
|
|
6
|
+
script: string;
|
|
7
|
+
cwd: string;
|
|
8
|
+
args: string | string[];
|
|
9
|
+
interpreter: string;
|
|
10
|
+
interpreter_args: string;
|
|
11
|
+
node_args: string | string[];
|
|
12
|
+
instances: number;
|
|
13
|
+
exec_mode: "cluster" | "fork";
|
|
14
|
+
watch: boolean | string[];
|
|
15
|
+
ignore_watch: string | string[];
|
|
16
|
+
max_memory_restart: number | `${number}G` | `${number}M` | `${number}K`;
|
|
17
|
+
env: EnvVariables;
|
|
18
|
+
[key: `env_${string}`]: EnvVariables;
|
|
19
|
+
appendEnvToName: boolean;
|
|
20
|
+
source_map_support: boolean;
|
|
21
|
+
instance_var: string;
|
|
22
|
+
filter_env: string[];
|
|
23
|
+
log_date_format: string;
|
|
24
|
+
error_file: string;
|
|
25
|
+
out_file: string;
|
|
26
|
+
log_file: string;
|
|
27
|
+
combine_logs: boolean;
|
|
28
|
+
merge_logs: boolean;
|
|
29
|
+
time: boolean;
|
|
30
|
+
pid_file: string;
|
|
31
|
+
min_uptime: number | `${number}s` | `${number}m` | `${number}h`;
|
|
32
|
+
listen_timeout: number;
|
|
33
|
+
kill_timeout: number;
|
|
34
|
+
shutdown_with_message: boolean;
|
|
35
|
+
wait_ready: boolean;
|
|
36
|
+
max_restarts: number;
|
|
37
|
+
restart_delay: number;
|
|
38
|
+
autorestart: boolean;
|
|
39
|
+
cron_restart: string;
|
|
40
|
+
vizion: boolean;
|
|
41
|
+
post_update: string[];
|
|
42
|
+
force: boolean;
|
|
43
|
+
key: string;
|
|
44
|
+
user: string;
|
|
45
|
+
host: string[];
|
|
46
|
+
ssh_options: string | string[];
|
|
47
|
+
ref: string;
|
|
48
|
+
repo: string;
|
|
49
|
+
path: string;
|
|
50
|
+
"pre-setup": string;
|
|
51
|
+
"post-setup": string;
|
|
52
|
+
"pre-deploy-local": string;
|
|
53
|
+
"post-deploy": string;
|
|
54
|
+
}
|
|
55
|
+
export interface EcosystemConfig {
|
|
56
|
+
apps: Partial<EcosystemApp>[];
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=ecosystem-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ecosystem-config.d.ts","sourceRoot":"","sources":["../../../src/interfaces/ecosystem-config.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC;AAExE,MAAM,WAAW,YAAY;IAE3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAG7B,SAAS,EAAE,MAAM,CAAC;IAClB,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AAE,CAAC;IACf,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export type EnvVariables = {
|
|
2
|
+
[key: string]: string | number | boolean;
|
|
3
|
+
};
|
|
4
|
+
export interface EcosystemApp {
|
|
5
|
+
name: string;
|
|
6
|
+
script: string;
|
|
7
|
+
cwd: string;
|
|
8
|
+
args: string | string[];
|
|
9
|
+
interpreter: string;
|
|
10
|
+
interpreter_args: string;
|
|
11
|
+
node_args: string | string[];
|
|
12
|
+
instances: number;
|
|
13
|
+
exec_mode: "cluster" | "fork";
|
|
14
|
+
watch: boolean | string[];
|
|
15
|
+
ignore_watch: string | string[];
|
|
16
|
+
max_memory_restart: number | `${number}G` | `${number}M` | `${number}K`;
|
|
17
|
+
env: EnvVariables;
|
|
18
|
+
[key: `env_${string}`]: EnvVariables;
|
|
19
|
+
appendEnvToName: boolean;
|
|
20
|
+
source_map_support: boolean;
|
|
21
|
+
instance_var: string;
|
|
22
|
+
filter_env: string[];
|
|
23
|
+
log_date_format: string;
|
|
24
|
+
error_file: string;
|
|
25
|
+
out_file: string;
|
|
26
|
+
log_file: string;
|
|
27
|
+
combine_logs: boolean;
|
|
28
|
+
merge_logs: boolean;
|
|
29
|
+
time: boolean;
|
|
30
|
+
pid_file: string;
|
|
31
|
+
min_uptime: number | `${number}s` | `${number}m` | `${number}h`;
|
|
32
|
+
listen_timeout: number;
|
|
33
|
+
kill_timeout: number;
|
|
34
|
+
shutdown_with_message: boolean;
|
|
35
|
+
wait_ready: boolean;
|
|
36
|
+
max_restarts: number;
|
|
37
|
+
restart_delay: number;
|
|
38
|
+
autorestart: boolean;
|
|
39
|
+
cron_restart: string;
|
|
40
|
+
vizion: boolean;
|
|
41
|
+
post_update: string[];
|
|
42
|
+
force: boolean;
|
|
43
|
+
key: string;
|
|
44
|
+
user: string;
|
|
45
|
+
host: string[];
|
|
46
|
+
ssh_options: string | string[];
|
|
47
|
+
ref: string;
|
|
48
|
+
repo: string;
|
|
49
|
+
path: string;
|
|
50
|
+
"pre-setup": string;
|
|
51
|
+
"post-setup": string;
|
|
52
|
+
"pre-deploy-local": string;
|
|
53
|
+
"post-deploy": string;
|
|
54
|
+
}
|
|
55
|
+
export interface EcosystemConfig {
|
|
56
|
+
apps: Partial<EcosystemApp>[];
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=ecosystem-config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ecosystem-config.d.ts","sourceRoot":"","sources":["../../../src/interfaces/ecosystem-config.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;CAAE,CAAC;AAExE,MAAM,WAAW,YAAY;IAE3B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,IA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,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,KAAK,EAAE,OAAO,CAAC;IAGf,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC/B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC"}
|