@dbx-tools/appkit 0.1.9 → 0.1.11

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/config.ts +2 -2
package/package.json CHANGED
@@ -18,12 +18,12 @@
18
18
  "@databricks/sdk-experimental": "^0.17.0",
19
19
  "yaml": "^2.9.0",
20
20
  "zod": "^4.3.6",
21
- "@dbx-tools/core": "0.1.9",
22
- "@dbx-tools/shared-core": "0.1.9"
21
+ "@dbx-tools/core": "0.1.11",
22
+ "@dbx-tools/shared-core": "0.1.11"
23
23
  },
24
24
  "main": "index.ts",
25
25
  "license": "UNLICENSED",
26
- "version": "0.1.9",
26
+ "version": "0.1.11",
27
27
  "types": "index.ts",
28
28
  "type": "module",
29
29
  "exports": {
package/src/config.ts CHANGED
@@ -14,7 +14,7 @@ import { readFile } from "node:fs/promises";
14
14
  import { spawnSync } from "node:child_process";
15
15
  import { dirname, resolve } from "node:path";
16
16
  import { functionModule, iterable, log, string } from "@dbx-tools/shared-core";
17
- import { project } from "@dbx-tools/core";
17
+ import { file, project } from "@dbx-tools/core";
18
18
  import { parse as parseYamlText } from "yaml";
19
19
  import { z } from "zod";
20
20
 
@@ -325,7 +325,7 @@ function resolveConfigFile(cwd: string, configFile: string): string | undefined
325
325
  if (isAppEnv()) return undefined;
326
326
  for (const rootDir of project.resolveProjectRoots(cwd)) {
327
327
  const bundlePath = resolve(rootDir, configFile);
328
- if (project.stat(bundlePath)?.isFile()) return bundlePath;
328
+ if (file.statSync(bundlePath)?.isFile()) return bundlePath;
329
329
  }
330
330
  return undefined;
331
331
  }