@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 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