yamchart 0.10.0 → 0.10.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.
- package/dist/{advisor-O2BRAI4T.js → advisor-5TJDNAY7.js} +8 -8
- package/dist/{advisor-O2BRAI4T.js.map → advisor-5TJDNAY7.js.map} +1 -1
- package/dist/agent-TZZHNDPK.js +1 -0
- package/dist/chunk-5FHV22X2.js +1 -0
- package/dist/chunk-64CI3HSY.js +959 -0
- package/dist/chunk-64CI3HSY.js.map +1 -0
- package/dist/chunk-7D4SUZUM.js +1 -0
- package/dist/chunk-DZVT6PHW.js +1 -0
- package/dist/chunk-EAQXUGP6.js +1 -0
- package/dist/chunk-HJVVHYVN.js +1 -0
- package/dist/chunk-IVD4OP3K.js +1 -0
- package/dist/chunk-QUIDZO5G.js +1 -0
- package/dist/chunk-S2CH4HUZ.js +1 -0
- package/dist/chunk-TZKNU5TD.js +1 -0
- package/dist/chunk-UFDQ3C7Q.js +1 -0
- package/dist/chunk-VJC24RKT.js +1 -0
- package/dist/chunk-WYS4ULBE.js +1 -0
- package/dist/chunk-ZBCQNWVN.js +1 -0
- package/dist/chunk-ZIY22VO7.js +1 -0
- package/dist/chunk-ZMJPRNOA.js +1 -0
- package/dist/compare-RQFCEZIK.js +1 -0
- package/dist/connection-utils-FEUWER5I.js +1 -0
- package/dist/describe-MEP72B56.js +1 -0
- package/dist/{dev-LZ4YHNDJ.js → dev-H6SJZ5UA.js} +4 -4
- package/dist/{dev-LZ4YHNDJ.js.map → dev-H6SJZ5UA.js.map} +1 -1
- package/dist/{dist-5IFWLWND.js → dist-5DQO6L2S.js} +3 -3
- package/dist/dist-MIKFZKSD.js +1 -0
- package/dist/dist-PPAD6KOM.js +1 -0
- package/dist/dist-XNCED7JW.js +1 -0
- package/dist/generate-B7FAWVIQ.js +1 -0
- package/dist/index.js +4 -3
- package/dist/init-SECXKD5G.js +1 -0
- package/dist/lineage-HYO4RKZT.js +1 -0
- package/dist/query-2H3YOPI2.js +1 -0
- package/dist/reset-password-YVCZKZPC.js +1 -0
- package/dist/rewrite-database-BOA4QPUR.js +1 -0
- package/dist/sample-ODUGGSFA.js +1 -0
- package/dist/search-IPE4ISFB.js +1 -0
- package/dist/semantic-K3MYXXJI.js +1 -0
- package/dist/source-resolver-HZQLOODU.js +1 -0
- package/dist/sync-dbt-72GVO75P.js +1 -0
- package/dist/{sync-warehouse-26L6JDSV.js → sync-warehouse-TUNULDUY.js} +7 -6
- package/dist/tables-K5NAN2WK.js +1 -0
- package/dist/test-SRHVOXZB.js +1 -0
- package/dist/update-HWCJNQRP.js +1 -0
- package/package.json +6 -4
- package/dist/chunk-FN6R2LAC.js +0 -15442
- package/dist/chunk-FN6R2LAC.js.map +0 -1
- package/dist/chunk-QJ5CPQJK.js +0 -2053
- package/dist/chunk-QJ5CPQJK.js.map +0 -1
- package/dist/fileFromPath-7TNUU6RI.js +0 -130
- package/dist/fileFromPath-7TNUU6RI.js.map +0 -1
- /package/dist/{dist-5IFWLWND.js.map → dist-5DQO6L2S.js.map} +0 -0
- /package/dist/{sync-warehouse-26L6JDSV.js.map → sync-warehouse-TUNULDUY.js.map} +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createRequire as __yamchartCreateRequire } from 'module'; if (!globalThis.require) globalThis.require = __yamchartCreateRequire(import.meta.url);
|
|
1
2
|
import {
|
|
2
3
|
AdvisorAgent,
|
|
3
4
|
AnthropicProvider,
|
|
@@ -18,11 +19,10 @@ import {
|
|
|
18
19
|
readDbtModel,
|
|
19
20
|
updateSchemaYml,
|
|
20
21
|
writeDbtModel
|
|
21
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-64CI3HSY.js";
|
|
22
23
|
import "./chunk-QUIDZO5G.js";
|
|
23
24
|
import "./chunk-UFDQ3C7Q.js";
|
|
24
25
|
import "./chunk-ZIY22VO7.js";
|
|
25
|
-
import "./chunk-QJ5CPQJK.js";
|
|
26
26
|
import "./chunk-7D4SUZUM.js";
|
|
27
27
|
export {
|
|
28
28
|
AdvisorAgent,
|
|
@@ -45,4 +45,4 @@ export {
|
|
|
45
45
|
updateSchemaYml,
|
|
46
46
|
writeDbtModel
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=dist-
|
|
48
|
+
//# sourceMappingURL=dist-5DQO6L2S.js.map
|
package/dist/dist-MIKFZKSD.js
CHANGED
package/dist/dist-PPAD6KOM.js
CHANGED
package/dist/dist-XNCED7JW.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { createRequire as __yamchartCreateRequire } from 'module'; if (!globalThis.require) globalThis.require = __yamchartCreateRequire(import.meta.url);
|
|
2
3
|
import {
|
|
3
4
|
checkForUpdate
|
|
4
5
|
} from "./chunk-TZKNU5TD.js";
|
|
@@ -105,7 +106,7 @@ program.command("dev").description("Start development server with hot reload").a
|
|
|
105
106
|
process.exit(2);
|
|
106
107
|
}
|
|
107
108
|
const globalOpts = program.opts();
|
|
108
|
-
const { runDevServer } = await import("./dev-
|
|
109
|
+
const { runDevServer } = await import("./dev-H6SJZ5UA.js");
|
|
109
110
|
await runDevServer(projectDir, {
|
|
110
111
|
port: parseInt(options.port, 10),
|
|
111
112
|
apiOnly: options.apiOnly ?? false,
|
|
@@ -734,7 +735,7 @@ program.command("sync-warehouse").description("Sync warehouse table metadata int
|
|
|
734
735
|
}
|
|
735
736
|
loadEnvFile(projectDir);
|
|
736
737
|
try {
|
|
737
|
-
const { runSyncWarehouse } = await import("./sync-warehouse-
|
|
738
|
+
const { runSyncWarehouse } = await import("./sync-warehouse-TUNULDUY.js");
|
|
738
739
|
await runSyncWarehouse(projectDir, options);
|
|
739
740
|
} catch (err) {
|
|
740
741
|
error(err instanceof Error ? err.message : String(err));
|
|
@@ -785,7 +786,7 @@ program.command("advisor").description("AI-powered dbt model advisor \u2014 sugg
|
|
|
785
786
|
process.exit(2);
|
|
786
787
|
}
|
|
787
788
|
loadEnvFile(projectDir);
|
|
788
|
-
const { runAdvisor } = await import("./advisor-
|
|
789
|
+
const { runAdvisor } = await import("./advisor-5TJDNAY7.js");
|
|
789
790
|
await runAdvisor(projectDir, question, {
|
|
790
791
|
top: options.top ? parseInt(options.top, 10) : 5,
|
|
791
792
|
json: options.json,
|
package/dist/init-SECXKD5G.js
CHANGED
package/dist/lineage-HYO4RKZT.js
CHANGED
package/dist/query-2H3YOPI2.js
CHANGED
package/dist/sample-ODUGGSFA.js
CHANGED
package/dist/search-IPE4ISFB.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getColumnsQuery,
|
|
3
|
-
getDescribeQuery,
|
|
4
|
-
getTablesQuery
|
|
5
|
-
} from "./chunk-EAQXUGP6.js";
|
|
1
|
+
import { createRequire as __yamchartCreateRequire } from 'module'; if (!globalThis.require) globalThis.require = __yamchartCreateRequire(import.meta.url);
|
|
6
2
|
import {
|
|
7
3
|
generateCatalogJson,
|
|
8
4
|
generateCatalogMd,
|
|
9
5
|
generateWarehouseSection
|
|
10
6
|
} from "./chunk-WYS4ULBE.js";
|
|
7
|
+
import {
|
|
8
|
+
getColumnsQuery,
|
|
9
|
+
getDescribeQuery,
|
|
10
|
+
getTablesQuery
|
|
11
|
+
} from "./chunk-EAQXUGP6.js";
|
|
11
12
|
import {
|
|
12
13
|
createConnector,
|
|
13
14
|
resolveConnection
|
|
@@ -391,4 +392,4 @@ async function runSyncWarehouse(projectDir, options) {
|
|
|
391
392
|
export {
|
|
392
393
|
runSyncWarehouse
|
|
393
394
|
};
|
|
394
|
-
//# sourceMappingURL=sync-warehouse-
|
|
395
|
+
//# sourceMappingURL=sync-warehouse-TUNULDUY.js.map
|
package/dist/tables-K5NAN2WK.js
CHANGED
package/dist/test-SRHVOXZB.js
CHANGED
package/dist/update-HWCJNQRP.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yamchart",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "Git-native business intelligence dashboards",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -62,7 +62,9 @@
|
|
|
62
62
|
"simple-git": "^3.30.0",
|
|
63
63
|
"uuid": "^11.0.0",
|
|
64
64
|
"yaml": "^2.7.0",
|
|
65
|
-
"zod": "^3.24.0"
|
|
65
|
+
"zod": "^3.24.0",
|
|
66
|
+
"openai": "^4.104.0",
|
|
67
|
+
"pg": "^8.13.0"
|
|
66
68
|
},
|
|
67
69
|
"devDependencies": {
|
|
68
70
|
"@types/node": "^22.0.0",
|
|
@@ -74,8 +76,8 @@
|
|
|
74
76
|
"@yamchart/advisor": "0.1.0",
|
|
75
77
|
"@yamchart/auth-local": "0.1.0",
|
|
76
78
|
"@yamchart/chat": "0.1.0",
|
|
77
|
-
"@yamchart/config": "0.1.2",
|
|
78
79
|
"@yamchart/query": "0.1.2",
|
|
80
|
+
"@yamchart/config": "0.1.2",
|
|
79
81
|
"@yamchart/schema": "0.1.2",
|
|
80
82
|
"@yamchart/server": "0.1.2"
|
|
81
83
|
},
|
|
@@ -88,7 +90,7 @@
|
|
|
88
90
|
"access": "public"
|
|
89
91
|
},
|
|
90
92
|
"scripts": {
|
|
91
|
-
"build": "tsup",
|
|
93
|
+
"build": "tsup && node scripts/post-build.mjs",
|
|
92
94
|
"dev": "tsup --watch",
|
|
93
95
|
"test": "vitest run",
|
|
94
96
|
"test:watch": "vitest",
|