@sprucelabs/spruce-deploy-plugin 62.3.44 → 62.3.45
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.
|
@@ -9,7 +9,7 @@ class SpruceError extends error_1.default {
|
|
|
9
9
|
friendlyMessage() {
|
|
10
10
|
const { options } = this;
|
|
11
11
|
let message;
|
|
12
|
-
switch (options
|
|
12
|
+
switch (options?.code) {
|
|
13
13
|
case 'HEROKU_ERROR':
|
|
14
14
|
message = 'A Heroku Error just happened!';
|
|
15
15
|
break;
|
|
@@ -15,8 +15,7 @@ class DeployFeature {
|
|
|
15
15
|
this.bootHandler = cb;
|
|
16
16
|
}
|
|
17
17
|
async execute() {
|
|
18
|
-
|
|
19
|
-
await ((_a = this.bootHandler) === null || _a === void 0 ? void 0 : _a.call(this));
|
|
18
|
+
await this.bootHandler?.();
|
|
20
19
|
}
|
|
21
20
|
async checkHealth() {
|
|
22
21
|
const token = process.env.HEROKU_API_TOKEN;
|
|
@@ -12,7 +12,7 @@ class AbstractDeployTest extends spruce_skill_booter_1.AbstractSkillTest {
|
|
|
12
12
|
delete process.env.HEROKU_TEAM_NAME;
|
|
13
13
|
}
|
|
14
14
|
static Skill(options) {
|
|
15
|
-
const { plugins = [deploy_plugin_1.default] } = options
|
|
15
|
+
const { plugins = [deploy_plugin_1.default] } = options ?? {};
|
|
16
16
|
return super.Skill({
|
|
17
17
|
plugins,
|
|
18
18
|
...options,
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "62.3.
|
|
6
|
+
"version": "62.3.45",
|
|
7
7
|
"files": [
|
|
8
8
|
"build/**/*",
|
|
9
9
|
"!build/__tests__",
|
|
@@ -62,19 +62,19 @@
|
|
|
62
62
|
"lint.tsc": "tsc -p . --noEmit"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@sprucelabs/error": "^6.0.
|
|
66
|
-
"@sprucelabs/schema": "^30.0.
|
|
67
|
-
"@sprucelabs/spruce-skill-booter": "^62.3.
|
|
68
|
-
"@sprucelabs/spruce-skill-utils": "^31.0.
|
|
65
|
+
"@sprucelabs/error": "^6.0.479",
|
|
66
|
+
"@sprucelabs/schema": "^30.0.488",
|
|
67
|
+
"@sprucelabs/spruce-skill-booter": "^62.3.45",
|
|
68
|
+
"@sprucelabs/spruce-skill-utils": "^31.0.547",
|
|
69
69
|
"heroku-client": "^3.1.0"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@sprucelabs/esm-postbuild": "^6.0.
|
|
73
|
-
"@sprucelabs/jest-json-reporter": "^8.0.
|
|
74
|
-
"@sprucelabs/resolve-path-aliases": "^2.0.
|
|
72
|
+
"@sprucelabs/esm-postbuild": "^6.0.462",
|
|
73
|
+
"@sprucelabs/jest-json-reporter": "^8.0.480",
|
|
74
|
+
"@sprucelabs/resolve-path-aliases": "^2.0.457",
|
|
75
75
|
"@sprucelabs/semantic-release": "^5.0.2",
|
|
76
|
-
"@sprucelabs/test": "^9.0.
|
|
77
|
-
"@sprucelabs/test-utils": "^5.1.
|
|
76
|
+
"@sprucelabs/test": "^9.0.51",
|
|
77
|
+
"@sprucelabs/test-utils": "^5.1.432",
|
|
78
78
|
"chokidar-cli": "^3.0.0",
|
|
79
79
|
"eslint": "^9.12.0",
|
|
80
80
|
"eslint-config-spruce": "^11.2.26",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"^#spruce/(.*)$": "<rootDir>/build/.spruce/$1"
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "59b913c0b16c2e83a7506abd5618082abfcd1f65"
|
|
107
107
|
}
|