@devopness/sdk-js 2.122.0 → 2.124.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.
@@ -35,7 +35,7 @@ export interface ApplicationEnvironmentCreate {
35
35
  */
36
36
  domain_name?: string;
37
37
  /**
38
- * The optional command that should be executed once during deployment to build the source code and get the application in a ready state. Must be at least 10 characters. Must not be greater than 300 characters.
38
+ * The optional command that should be executed once during deployment to build the source code and get the application in a ready state.
39
39
  * @type {string}
40
40
  * @memberof ApplicationEnvironmentCreate
41
41
  */
@@ -107,17 +107,11 @@ export interface ApplicationEnvironmentCreate {
107
107
  */
108
108
  entrypoint: string;
109
109
  /**
110
- * Indicates if at deployment time Devopness should execute package manager commands to install dependencies used in development mode.
111
- * @type {boolean}
112
- * @memberof ApplicationEnvironmentCreate
113
- */
114
- install_dependencies_dev: boolean;
115
- /**
116
- * Indicates if at deployment time Devopness should execute package manager commands to install dependencies used in production mode.
117
- * @type {boolean}
110
+ * Indicates command that Devopness must execute to install application dependencies.
111
+ * @type {string}
118
112
  * @memberof ApplicationEnvironmentCreate
119
113
  */
120
- install_dependencies_prod: boolean;
114
+ install_dependencies_command?: string;
121
115
  /**
122
116
  * Indicates if push to deploy webhooks are enabled for this application. If enabled an app deployment will be automatically triggered when new changes are committed to the `default_branch`.
123
117
  * @type {boolean}
@@ -139,17 +139,17 @@ export interface ApplicationRelation {
139
139
  */
140
140
  deployments_keep: number;
141
141
  /**
142
- * Indicates if at deployment time Devopness should execute package manager commands to install dependencies used in development mode
143
- * @type {boolean}
142
+ * Indicates command that Devopness must execute to install application dependencies
143
+ * @type {string}
144
144
  * @memberof ApplicationRelation
145
145
  */
146
- install_dependencies_dev: boolean;
146
+ install_dependencies_command?: string;
147
147
  /**
148
- * Indicates if at deployment time Devopness should execute package manager commands to install dependencies used in production mode
149
- * @type {boolean}
148
+ * The optional command that should be executed once during deployment to build the source code and get the application in a ready state
149
+ * @type {string}
150
150
  * @memberof ApplicationRelation
151
151
  */
152
- install_dependencies_prod: boolean;
152
+ build_command?: string;
153
153
  /**
154
154
  * Indicates if the application requires a daemon to keep it alive
155
155
  * @type {boolean}
@@ -41,7 +41,7 @@ export interface ApplicationUpdate {
41
41
  */
42
42
  domain_name?: string;
43
43
  /**
44
- * The optional command that should be executed once during deployment to build the source code and get the application in a ready state. Must be at least 10 characters. Must not be greater than 300 characters.
44
+ * The optional command that should be executed once during deployment to build the source code and get the application in a ready state.
45
45
  * @type {string}
46
46
  * @memberof ApplicationUpdate
47
47
  */
@@ -113,17 +113,11 @@ export interface ApplicationUpdate {
113
113
  */
114
114
  entrypoint: string;
115
115
  /**
116
- * Indicates if at deployment time Devopness should execute package manager commands to install dependencies used in development mode.
117
- * @type {boolean}
118
- * @memberof ApplicationUpdate
119
- */
120
- install_dependencies_dev: boolean;
121
- /**
122
- * Indicates if at deployment time Devopness should execute package manager commands to install dependencies used in production mode.
123
- * @type {boolean}
116
+ * Indicates command that Devopness must execute to install application dependencies.
117
+ * @type {string}
124
118
  * @memberof ApplicationUpdate
125
119
  */
126
- install_dependencies_prod: boolean;
120
+ install_dependencies_command?: string;
127
121
  /**
128
122
  * Indicates if push to deploy webhooks are enabled for this application. If enabled an app deployment will be automatically triggered when new changes are committed to the `default_branch`.
129
123
  * @type {boolean}
@@ -143,17 +143,17 @@ export interface Application {
143
143
  */
144
144
  deployments_keep: number;
145
145
  /**
146
- * Indicates if at deployment time Devopness should execute package manager commands to install dependencies used in development mode
147
- * @type {boolean}
146
+ * Indicates command that Devopness must execute to install application dependencies
147
+ * @type {string}
148
148
  * @memberof Application
149
149
  */
150
- install_dependencies_dev: boolean;
150
+ install_dependencies_command?: string;
151
151
  /**
152
- * Indicates if at deployment time Devopness should execute package manager commands to install dependencies used in production mode
153
- * @type {boolean}
152
+ * The optional command that should be executed once during deployment to build the source code and get the application in a ready state
153
+ * @type {string}
154
154
  * @memberof Application
155
155
  */
156
- install_dependencies_prod: boolean;
156
+ build_command?: string;
157
157
  /**
158
158
  * Indicates if the application requires a daemon to keep it alive
159
159
  * @type {boolean}
@@ -82,4 +82,16 @@ export interface LanguageRuntimeFrameworkDefaults {
82
82
  * @memberof LanguageRuntimeFrameworkDefaults
83
83
  */
84
84
  commands?: LanguageRuntimeFrameworkCommands;
85
+ /**
86
+ * Indicates command that Devopness must execute to install application dependencies
87
+ * @type {string}
88
+ * @memberof LanguageRuntimeFrameworkDefaults
89
+ */
90
+ install_dependencies_command?: string | null;
91
+ /**
92
+ * The optional command that should be executed once during deployment to build the source code and get the application in a ready state
93
+ * @type {string}
94
+ * @memberof LanguageRuntimeFrameworkDefaults
95
+ */
96
+ build_command?: string | null;
85
97
  }
@@ -16,6 +16,7 @@
16
16
  */
17
17
  export declare enum TriggerEvent {
18
18
  ActivateNewRelease = "activate-new-release",
19
+ BuildApplication = "build-application",
19
20
  CheckAppEnvironment = "check-app-environment",
20
21
  GetNewRelease = "get-new-release",
21
22
  InstallDependencies = "install-dependencies",
@@ -21,6 +21,7 @@ exports.TriggerEvent = void 0;
21
21
  var TriggerEvent;
22
22
  (function (TriggerEvent) {
23
23
  TriggerEvent["ActivateNewRelease"] = "activate-new-release";
24
+ TriggerEvent["BuildApplication"] = "build-application";
24
25
  TriggerEvent["CheckAppEnvironment"] = "check-app-environment";
25
26
  TriggerEvent["GetNewRelease"] = "get-new-release";
26
27
  TriggerEvent["InstallDependencies"] = "install-dependencies";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.122.0",
3
+ "version": "2.124.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },