@dbx-tools/appkit 0.3.21 → 0.3.23
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/package.json +3 -3
- package/src/config.ts +2 -2
- package/src/create-app.ts +1 -1
- package/src/databricks.ts +1 -1
- package/src/lakebase-resolver.ts +3 -3
- package/src/provision.ts +1 -1
- package/test/tsconfig.json +14 -0
package/package.json
CHANGED
|
@@ -18,15 +18,15 @@
|
|
|
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.3.
|
|
22
|
-
"@dbx-tools/shared-core": "0.3.
|
|
21
|
+
"@dbx-tools/core": "0.3.23",
|
|
22
|
+
"@dbx-tools/shared-core": "0.3.23"
|
|
23
23
|
},
|
|
24
24
|
"main": "index.ts",
|
|
25
25
|
"license": "UNLICENSED",
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"version": "0.3.
|
|
29
|
+
"version": "0.3.23",
|
|
30
30
|
"types": "index.ts",
|
|
31
31
|
"type": "module",
|
|
32
32
|
"exports": {
|
package/src/config.ts
CHANGED
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
* @module
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import { readFile } from "node:fs/promises";
|
|
16
15
|
import { spawnSync } from "node:child_process";
|
|
16
|
+
import { readFile } from "node:fs/promises";
|
|
17
17
|
import { dirname, resolve } from "node:path";
|
|
18
|
-
import { functionModule, object, log, string } from "@dbx-tools/shared-core";
|
|
19
18
|
import { file, project } from "@dbx-tools/core";
|
|
19
|
+
import { functionModule, object, log, string } from "@dbx-tools/shared-core";
|
|
20
20
|
import { parse as parseYamlText } from "yaml";
|
|
21
21
|
import { z } from "zod";
|
|
22
22
|
|
package/src/create-app.ts
CHANGED
package/src/databricks.ts
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
* @module
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
import { async } from "@dbx-tools/shared-core";
|
|
14
13
|
import type { CancellationToken } from "@databricks/sdk-experimental";
|
|
15
14
|
import { Context } from "@databricks/sdk-experimental";
|
|
15
|
+
import { async } from "@dbx-tools/shared-core";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Detect the Databricks App runtime from environment shape: requires a
|
package/src/lakebase-resolver.ts
CHANGED
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
* @module
|
|
36
36
|
*/
|
|
37
37
|
|
|
38
|
+
import { setTimeout as sleep } from "node:timers/promises";
|
|
39
|
+
import { getWorkspaceClient } from "@databricks/appkit";
|
|
40
|
+
import { project } from "@dbx-tools/core";
|
|
38
41
|
import { log, string } from "@dbx-tools/shared-core";
|
|
39
42
|
import { resolveConfigValue } from "./config";
|
|
40
|
-
import { project } from "@dbx-tools/core";
|
|
41
|
-
import { getWorkspaceClient } from "@databricks/appkit";
|
|
42
|
-
import { setTimeout as sleep } from "node:timers/promises";
|
|
43
43
|
|
|
44
44
|
import {
|
|
45
45
|
parseAddress,
|
package/src/provision.ts
CHANGED
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
* @module
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
import { error, type log } from "@dbx-tools/shared-core";
|
|
25
24
|
import { createLakebasePool, getWorkspaceClient } from "@databricks/appkit";
|
|
25
|
+
import { error, type log } from "@dbx-tools/shared-core";
|
|
26
26
|
|
|
27
27
|
import { isAppEnv } from "./databricks";
|
|
28
28
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// ~~ Generated by projen. To modify, edit .projenrc.js and run "pnpm exec projen".
|
|
2
|
+
{
|
|
3
|
+
"extends": "../tsconfig.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"noEmit": true,
|
|
6
|
+
"rootDir": ".."
|
|
7
|
+
},
|
|
8
|
+
"include": [
|
|
9
|
+
"**/*.ts"
|
|
10
|
+
],
|
|
11
|
+
"exclude": [
|
|
12
|
+
"node_modules"
|
|
13
|
+
]
|
|
14
|
+
}
|