@lightdash/cli 1.48.1 → 1.50.0

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/README.md CHANGED
@@ -42,6 +42,36 @@ the AI agent runtime version.
42
42
  Access lists, Slack integrations, MCP servers, documents, conversations, and
43
43
  other runtime state stay managed in the target environment.
44
44
 
45
+ ## Data apps as code
46
+
47
+ Create a new data app locally from the same starter used by Lightdash's data
48
+ app builder:
49
+
50
+ ```shell
51
+ lightdash create app "Revenue explorer"
52
+ ```
53
+
54
+ This requires npm. Before writing anything, the command first warns that it
55
+ will download packages and run shadcn locally, then asks whether to show and
56
+ approve the exact direct dependencies and shadcn components. It creates
57
+ `lightdash/apps/revenue-explorer/` with runnable source, the
58
+ Lightdash data app and local-development agent skills, and a point-in-time
59
+ snapshot of the selected project's semantic layer. Use `--project`, `--slug`,
60
+ `--description`, or `--path` to override the defaults; use `--assume-yes` to
61
+ approve installation in a non-interactive environment.
62
+
63
+ Build and upload it with:
64
+
65
+ ```shell
66
+ cd lightdash/apps/revenue-explorer
67
+ npm run build
68
+ lightdash upload --apps revenue-explorer
69
+ ```
70
+
71
+ The local build is a pre-flight check; Lightdash rebuilds the source when it is
72
+ uploaded. Existing apps can still be checked out with
73
+ `lightdash download --apps <slug>`.
74
+
45
75
  ## Development
46
76
 
47
77
  First build the package