@dotcom-tool-kit/typescript 3.3.0 → 3.3.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":"typescript.d.ts","sourceRoot":"","sources":["../../src/tasks/typescript.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAE5D,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAIxB,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;EAsBiB,CAAA;AACvC,OAAO,EAAE,gBAAgB,IAAI,MAAM,EAAE,CAAA;AAErC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,IAAI,CAAC;IAAE,IAAI,EAAE,OAAO,gBAAgB,CAAA;CAAE,CAAC;IACvE,GAAG,CAAC,EAAE,GAAG,EAAE,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CA+BlD"}
1
+ {"version":3,"file":"typescript.d.ts","sourceRoot":"","sources":["../../src/tasks/typescript.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AAE5D,OAAO,KAAK,CAAC,MAAM,KAAK,CAAA;AAExB,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;EAsBiB,CAAA;AACvC,OAAO,EAAE,gBAAgB,IAAI,MAAM,EAAE,CAAA;AAErC,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,IAAI,CAAC;IAAE,IAAI,EAAE,OAAO,gBAAgB,CAAA;CAAE,CAAC;IACvE,GAAG,CAAC,EAAE,GAAG,EAAE,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;CAgClD"}
@@ -6,7 +6,6 @@ const logger_1 = require("@dotcom-tool-kit/logger");
6
6
  const base_1 = require("@dotcom-tool-kit/base");
7
7
  const child_process_1 = require("child_process");
8
8
  const z = tslib_1.__importStar(require("zod"));
9
- const tscPath = require.resolve('typescript/bin/tsc');
10
9
  const TypeScriptSchema = z
11
10
  .object({
12
11
  configPath: z
@@ -27,6 +26,7 @@ const TypeScriptSchema = z
27
26
  exports.schema = TypeScriptSchema;
28
27
  class TypeScript extends base_1.Task {
29
28
  async run({ cwd }) {
29
+ const tscPath = require.resolve('typescript/bin/tsc', { paths: [cwd] });
30
30
  const args = [];
31
31
  // TODO:KB:20240408 refactor this
32
32
  if (this.options.build) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotcom-tool-kit/typescript",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "",
5
5
  "main": "lib",
6
6
  "scripts": {
@@ -25,7 +25,7 @@
25
25
  "typescript": "3.x || 4.x || 5.x"
26
26
  },
27
27
  "dependencies": {
28
- "@dotcom-tool-kit/base": "^1.1.10",
28
+ "@dotcom-tool-kit/base": "^1.2.0",
29
29
  "@dotcom-tool-kit/logger": "^4.1.1",
30
30
  "zod": "^3.24.1"
31
31
  },