@lightdash/cli 1.89.1 → 1.90.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 +7 -3
- package/dist/.tsbuildinfo +1 -1
- package/dist/handlers/apps/scaffolding.d.ts +1 -0
- package/dist/handlers/apps/scaffolding.d.ts.map +1 -1
- package/dist/handlers/apps/scaffolding.js +10 -12
- package/dist/handlers/apps/scaffolding.test.js +19 -6
- package/dist/handlers/apps/validate.d.ts +24 -3
- package/dist/handlers/apps/validate.d.ts.map +1 -1
- package/dist/handlers/apps/validate.js +142 -5
- package/dist/handlers/apps/validate.test.js +151 -1
- package/dist/index.js +1 -0
- package/dist/vendor/authoring/AGENTS.md.tmpl +2 -2
- package/dist/vendor/authoring/README.md.tmpl +3 -4
- package/dist/vendor/authoring/developing-data-apps-locally/SKILL.md +7 -8
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -64,15 +64,19 @@ Build and upload it with:
|
|
|
64
64
|
|
|
65
65
|
```shell
|
|
66
66
|
cd lightdash/apps/revenue-explorer
|
|
67
|
-
lightdash apps validate --live
|
|
68
|
-
npm run build
|
|
67
|
+
lightdash apps validate --live --build
|
|
69
68
|
lightdash upload --apps revenue-explorer
|
|
70
69
|
```
|
|
71
70
|
|
|
72
71
|
`lightdash apps validate [paths...]` checks app source, manifests,
|
|
73
72
|
dependencies, external-connection aliases, and semantic references. It uses
|
|
74
73
|
the downloaded semantic-layer snapshot by default; `--live` fetches the
|
|
75
|
-
project's current explores, and `--format json` provides CI output.
|
|
74
|
+
project's current explores, and `--format json` provides CI output. Add
|
|
75
|
+
`--build` to run the same bare Vite production build as Lightdash Cloud against
|
|
76
|
+
the CLI's vendored template. Standard apps need `npm install` to have populated
|
|
77
|
+
`node_modules`; custom dependencies are restored with `pnpm install` using
|
|
78
|
+
`--frozen-lockfile --ignore-scripts` first. Build failures include the Vite
|
|
79
|
+
output and make validation exit non-zero.
|
|
76
80
|
|
|
77
81
|
The local build is a pre-flight check; Lightdash rebuilds the source when it is
|
|
78
82
|
uploaded. Existing apps can still be checked out with
|