dotcom-tool-kit 3.4.4 → 3.5.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/index.d.ts.map +1 -1
- package/lib/index.js +5 -1
- package/package.json +6 -6
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAWrC,eAAO,MAAM,wBAAwB,QAAO,OAY3C,CAAA;AAED,wBAAsB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAWrC,eAAO,MAAM,wBAAwB,QAAO,OAY3C,CAAA;AAED,wBAAsB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAyF/F;AAED,wBAAsB,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAO/D;AAED,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,WAAW,CAAA"}
|
package/lib/index.js
CHANGED
|
@@ -68,7 +68,11 @@ ${availableHooks}`;
|
|
|
68
68
|
await task.run(files);
|
|
69
69
|
}
|
|
70
70
|
catch (error) {
|
|
71
|
-
//
|
|
71
|
+
// if there's an exit code, that's a request from the task to exit early
|
|
72
|
+
if (error instanceof error_1.ToolKitError && error.exitCode) {
|
|
73
|
+
throw error;
|
|
74
|
+
}
|
|
75
|
+
// if not, we allow subsequent hook tasks to run on error
|
|
72
76
|
errors.push({
|
|
73
77
|
hook,
|
|
74
78
|
task: id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dotcom-tool-kit",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "modern, maintainable, modular developer tooling for FT.com projects",
|
|
5
5
|
"author": "FT.com Platforms Team <platforms-team.customer-products@ft.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@dotcom-tool-kit/babel": "^3.2.0",
|
|
24
|
-
"@dotcom-tool-kit/backend-heroku-app": "^3.1.
|
|
25
|
-
"@dotcom-tool-kit/circleci": "^6.0.
|
|
26
|
-
"@dotcom-tool-kit/circleci-deploy": "^3.4.
|
|
27
|
-
"@dotcom-tool-kit/eslint": "^3.2.
|
|
28
|
-
"@dotcom-tool-kit/frontend-app": "^3.2.
|
|
24
|
+
"@dotcom-tool-kit/backend-heroku-app": "^3.1.4",
|
|
25
|
+
"@dotcom-tool-kit/circleci": "^6.0.1",
|
|
26
|
+
"@dotcom-tool-kit/circleci-deploy": "^3.4.3",
|
|
27
|
+
"@dotcom-tool-kit/eslint": "^3.2.1",
|
|
28
|
+
"@dotcom-tool-kit/frontend-app": "^3.2.4",
|
|
29
29
|
"@dotcom-tool-kit/heroku": "^3.4.1",
|
|
30
30
|
"@dotcom-tool-kit/mocha": "^3.2.0",
|
|
31
31
|
"@dotcom-tool-kit/n-test": "^3.3.1",
|