@altertable/cli 1.9.0 → 1.9.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.
Files changed (2) hide show
  1. package/dist/cli.js +21 -10
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -7035,7 +7035,7 @@ var require_public_api = __commonJS(function(exports) {
7035
7035
  });
7036
7036
 
7037
7037
  // src/version.ts
7038
- var VERSION = "1.9.0";
7038
+ var VERSION = "1.9.1";
7039
7039
  var USER_AGENT = `altertable-cli/${VERSION}`;
7040
7040
 
7041
7041
  // src/lib/transport-defaults.ts
@@ -22214,7 +22214,7 @@ Commit app source, \`package.json\`, and \`bun.lock\`. A fresh clone installs \`
22214
22214
  "title": "Getting started",
22215
22215
  "scope": { "organization": "Your organization", "environment": "your environment" },
22216
22216
  "appearance": {
22217
- "mode": "light",
22217
+ "theme": "light",
22218
22218
  "baseColor": "neutral",
22219
22219
  "accentColor": "#405d47",
22220
22220
  "density": "comfortable",
@@ -22230,7 +22230,7 @@ Commit app source, \`package.json\`, and \`bun.lock\`. A fresh clone installs \`
22230
22230
  "": {
22231
22231
  "name": "data-app-starter",
22232
22232
  "dependencies": {
22233
- "@altertable/data-app": "0.61.0",
22233
+ "@altertable/data-app": "0.65.0",
22234
22234
  "react": "19.3.0",
22235
22235
  "react-dom": "19.3.0",
22236
22236
  },
@@ -22246,7 +22246,7 @@ Commit app source, \`package.json\`, and \`bun.lock\`. A fresh clone installs \`
22246
22246
  },
22247
22247
  },
22248
22248
  "packages": {
22249
- "@altertable/data-app": ["@altertable/data-app@0.61.0", "", { "dependencies": { "@floating-ui/react": "0.27.20", "@internationalized/date": "3.12.4", "@tanstack/react-query": "5.104.0", "fuzzysort": "4.0.2", "lucide-react": "1.48.0", "react-aria-components": "1.21.1" }, "peerDependencies": { "react": ">=19.2.0", "react-dom": ">=19.2.0" } }, "sha512-68nAEv/G0C7ZJ6P+Y0kAEBXEG4cMvEqORJYqR1/9dd+CeEYHMJDN4v20/7VUnYnEfz6reXJGyuKq3MMv6zbhpA=="],
22249
+ "@altertable/data-app": ["@altertable/data-app@0.65.0", "", { "dependencies": { "@floating-ui/react": "0.27.20", "@internationalized/date": "3.12.4", "@tanstack/react-query": "5.104.0", "fflate": "0.8.3", "fuzzysort": "4.0.2", "lucide-react": "1.48.0", "react-aria-components": "1.21.1" }, "peerDependencies": { "react": ">=19.2.0", "react-dom": ">=19.2.0" } }, "sha512-BvaUwOhjUx0PzQbc8DUf5NUPpXL4VBcZ5LGegFB8Y41rQnmJIQk81AmP+Dg5iz1j/NwlsuiB8ABBUE6nY6e1aQ=="],
22250
22250
 
22251
22251
  "@floating-ui/core": ["@floating-ui/core@1.8.0", "", { "dependencies": { "@floating-ui/utils": "^0.2.12" } }, "sha512-0CIZ5itps/8x7BG8dEIhs53BvCUH2PCoogtakwRTut+Arm58sJooJ0AuZhLw2HJYIR5cMLNPBSS728sPho2khQ=="],
22252
22252
 
@@ -22418,6 +22418,8 @@ Commit app source, \`package.json\`, and \`bun.lock\`. A fresh clone installs \`
22418
22418
 
22419
22419
  "csstype": ["csstype@3.2.3", "", {}, "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ=="],
22420
22420
 
22421
+ "fflate": ["fflate@0.8.3", "", {}, "sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA=="],
22422
+
22421
22423
  "fuzzysort": ["fuzzysort@4.0.2", "", {}, "sha512-3c7yD6rK1EXIsqpcu1ZVzXJugODWNMzvUij6yTiziaAHrpNS8kzFOI9mJLE8pmG4K9JOaVgzQRgklfOEk8f4Tg=="],
22422
22424
 
22423
22425
  "lucide-react": ["lucide-react@1.48.0", "", { "peerDependencies": { "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-R0CIKY/fXiC6y9xRBADgsK+VW2p/pcTJOMhLZf1T+uG+vJUvyUR02nGOgmIIC7MPkiNK4Ox8QDnbqF8rJYWPZQ=="],
@@ -22492,7 +22494,7 @@ Lead with a supported finding and provide complementary ways to explore the ques
22492
22494
  "build": "bun build src/index.html --outdir=dist --production"
22493
22495
  },
22494
22496
  "dependencies": {
22495
- "@altertable/data-app": "0.61.0",
22497
+ "@altertable/data-app": "0.65.0",
22496
22498
  "react": "19.3.0",
22497
22499
  "react-dom": "19.3.0"
22498
22500
  },
@@ -22508,7 +22510,7 @@ Lead with a supported finding and provide complementary ways to explore the ques
22508
22510
  }
22509
22511
  `, "src/App.tsx": `import { GettingStarted } from "@altertable/data-app/react";
22510
22512
  import { dataContext } from "#app/data-context.ts";
22511
- import app from "#config";
22513
+ import app from "#app/config.ts";
22512
22514
 
22513
22515
  /** Connectivity-only screen. Investigate the requested question, then replace this with a view
22514
22516
  * that leads with a supported finding and explores the useful angles behind it. */
@@ -22516,6 +22518,15 @@ export function App() {
22516
22518
  return <GettingStarted config={app} dataContext={dataContext} />;
22517
22519
  }
22518
22520
  `, "src/assets.d.ts": `declare module "*.css";
22521
+ `, "src/config.ts": `import { parseAppearance } from "@altertable/data-app/appearance";
22522
+ import type { DataAppConfig } from "@altertable/data-app/config";
22523
+ import app from "#config";
22524
+
22525
+ export default {
22526
+ title: app.title,
22527
+ scope: app.scope,
22528
+ appearance: parseAppearance(app.appearance),
22529
+ } satisfies DataAppConfig;
22519
22530
  `, "src/data-context.ts": `import { createDataContext } from "@altertable/data-app/react";
22520
22531
  import { connectionQueryNames } from "@altertable/data-app/contract";
22521
22532
 
@@ -22559,11 +22570,11 @@ export const dataContext = createDataContext(connectionQueryNames)({
22559
22570
  <div id="root"></div>
22560
22571
  </body>
22561
22572
  </html>
22562
- `, "src/main.tsx": `import "@altertable/data-app/react/styles.css";
22563
- import { mountDataApp } from "@altertable/data-app/react";
22573
+ `, "src/main.tsx": `import { injectDataAppStyles, mountDataApp } from "@altertable/data-app/react";
22564
22574
  import { App } from "#app/App.tsx";
22565
- import app from "#config";
22575
+ import app from "#app/config.ts";
22566
22576
 
22577
+ injectDataAppStyles();
22567
22578
  mountDataApp({ config: app, component: App });
22568
22579
  `, "src/operations.ts": `import { connectionCheck } from "@altertable/data-app/contract";
22569
22580
 
@@ -22573,7 +22584,7 @@ export const operations = { connection: connectionCheck() };
22573
22584
  `, "src/server.ts": `import page from "#app/index.html";
22574
22585
  import { serveLocalApp } from "@altertable/data-app/server/bun";
22575
22586
  import { operations } from "#app/operations.ts";
22576
- import app from "#config";
22587
+ import app from "#app/config.ts";
22577
22588
 
22578
22589
  serveLocalApp({ page, operations, title: app.title });
22579
22590
  `, "tsconfig.json": `{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@altertable/cli",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "Altertable CLI — query and manage your data platform",
5
5
  "homepage": "https://github.com/altertable-ai/altertable-cli#readme",
6
6
  "bugs": {