@absolutejs/absolute 0.19.0-beta.681 → 0.19.0-beta.682
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/dist/angular/index.js +2 -2
- package/dist/angular/index.js.map +1 -1
- package/dist/angular/server.js +2 -2
- package/dist/angular/server.js.map +1 -1
- package/dist/build.js +2 -2
- package/dist/build.js.map +1 -1
- package/dist/cli/index.js +53 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/types/build.d.ts +6 -0
- package/package.json +1 -1
package/dist/types/build.d.ts
CHANGED
|
@@ -51,6 +51,10 @@ export type DelayReadyConfig = {
|
|
|
51
51
|
ms: number;
|
|
52
52
|
};
|
|
53
53
|
export type ServiceReadyConfig = false | string | HttpReadyConfig | TcpReadyConfig | CommandReadyConfig | DelayReadyConfig;
|
|
54
|
+
export type ServiceShutdownConfig = false | string[] | {
|
|
55
|
+
command: string[];
|
|
56
|
+
timeoutMs?: number;
|
|
57
|
+
};
|
|
54
58
|
export type ServiceVisibility = 'public' | 'internal';
|
|
55
59
|
export type BaseBuildConfig = {
|
|
56
60
|
buildDirectory?: string;
|
|
@@ -96,6 +100,7 @@ export type AbsoluteServiceConfig = BaseBuildConfig & {
|
|
|
96
100
|
entry?: string;
|
|
97
101
|
env?: Record<string, string>;
|
|
98
102
|
ready?: ServiceReadyConfig;
|
|
103
|
+
shutdown?: ServiceShutdownConfig;
|
|
99
104
|
port?: number;
|
|
100
105
|
visibility?: ServiceVisibility;
|
|
101
106
|
command?: never;
|
|
@@ -107,6 +112,7 @@ export type CommandServiceConfig = {
|
|
|
107
112
|
dependsOn?: string[];
|
|
108
113
|
env?: Record<string, string>;
|
|
109
114
|
ready?: ServiceReadyConfig;
|
|
115
|
+
shutdown?: ServiceShutdownConfig;
|
|
110
116
|
port?: number;
|
|
111
117
|
visibility?: ServiceVisibility;
|
|
112
118
|
entry?: never;
|
package/package.json
CHANGED