@lightdash/cli 1.84.1 → 1.85.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 +6 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/handlers/apps/validate.d.ts +49 -0
- package/dist/handlers/apps/validate.d.ts.map +1 -0
- package/dist/handlers/apps/validate.js +332 -0
- package/dist/handlers/apps/validate.test.d.ts +2 -0
- package/dist/handlers/apps/validate.test.d.ts.map +1 -0
- package/dist/handlers/apps/validate.test.js +270 -0
- package/dist/index.js +12 -2
- package/dist/vendor/authoring/README.md.tmpl +4 -3
- package/dist/vendor/authoring/developing-data-apps-locally/SKILL.md +3 -2
- package/dist/vendor/template/references/chart-references.md +1 -0
- package/dist/vendor/template/skill.md +6 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -64,10 +64,16 @@ Build and upload it with:
|
|
|
64
64
|
|
|
65
65
|
```shell
|
|
66
66
|
cd lightdash/apps/revenue-explorer
|
|
67
|
+
lightdash apps validate --live
|
|
67
68
|
npm run build
|
|
68
69
|
lightdash upload --apps revenue-explorer
|
|
69
70
|
```
|
|
70
71
|
|
|
72
|
+
`lightdash apps validate [paths...]` checks app source, manifests,
|
|
73
|
+
dependencies, external-connection aliases, and semantic references. It uses
|
|
74
|
+
the downloaded semantic-layer snapshot by default; `--live` fetches the
|
|
75
|
+
project's current explores, and `--format json` provides CI output.
|
|
76
|
+
|
|
71
77
|
The local build is a pre-flight check; Lightdash rebuilds the source when it is
|
|
72
78
|
uploaded. Existing apps can still be checked out with
|
|
73
79
|
`lightdash download --apps <slug>`.
|