dotcom-tool-kit 4.3.8 → 4.4.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../src/install.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAGrC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,IAAI,EAAa,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,SAAS,EAAmC,MAAM,4BAA4B,CAAA;AAyCvF,eAAO,MAAM,qBAAqB,WACxB,MAAM,UACN,WAAW,KAClB,QAAQ,UAAU,IAAI,EAAE,CAAC,CAwC3B,CAAA;AAED,wBAAsB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAoBrF;AAED,wBAA8B,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAmD/E"}
1
+ {"version":3,"file":"install.d.ts","sourceRoot":"","sources":["../src/install.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAGrC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,IAAI,EAAa,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,SAAS,EAAmC,MAAM,4BAA4B,CAAA;AAyCvF,eAAO,MAAM,qBAAqB,WACxB,MAAM,UACN,WAAW,KAClB,QAAQ,UAAU,IAAI,EAAE,CAAC,CA2C3B,CAAA;AAED,wBAAsB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAoBrF;AAED,wBAA8B,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAiD/E"}
package/lib/install.js CHANGED
@@ -115,9 +115,7 @@ async function installHooks(logger) {
115
115
  }
116
116
  }
117
117
  if (errors.length) {
118
- const error = new error_1.ToolKitError('could not automatically install hooks:');
119
- error.details = errors.map((error) => `- ${error.message}`).join('\n');
120
- throw error;
118
+ throw new AggregateError(errors, 'could not automatically install hooks');
121
119
  }
122
120
  await (0, hash_1.updateHashes)(config);
123
121
  return config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dotcom-tool-kit",
3
- "version": "4.3.8",
3
+ "version": "4.4.1",
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",
@@ -30,13 +30,13 @@
30
30
  "zod": "^3.22.4"
31
31
  },
32
32
  "dependencies": {
33
- "@dotcom-tool-kit/base": "^1.1.6",
34
- "@dotcom-tool-kit/config": "^1.0.9",
33
+ "@dotcom-tool-kit/base": "^1.1.8",
34
+ "@dotcom-tool-kit/config": "^1.0.11",
35
35
  "@dotcom-tool-kit/conflict": "^1.0.0",
36
36
  "@dotcom-tool-kit/error": "^4.1.0",
37
37
  "@dotcom-tool-kit/logger": "^4.1.1",
38
38
  "@dotcom-tool-kit/plugin": "^1.0.0",
39
- "@dotcom-tool-kit/state": "^4.2.0",
39
+ "@dotcom-tool-kit/state": "^4.3.0",
40
40
  "@dotcom-tool-kit/validated": "^1.0.2",
41
41
  "@dotcom-tool-kit/wait-for-ok": "^4.1.0",
42
42
  "endent": "^2.1.0",