Validate, upload & deploy
zp app validate # the same checks as the build; writes nothing
zp app build # writes the bundle and manifest.json to dist/
zp app upload # zips the source; Zuper builds it (Build #N). Never deploys.
zp app deploy # makes a build the one your app serves (the newest good one by default)Run zp app validate after every change, and npx tsc --noEmit too, because the build doesn't check types. Fix every problem before you upload. upload builds locally first and stops on errors.
Keeping the SDK current.
package.jsonpins the SDK version. To move to the newest beta, runnpm install --save-dev @zuperpro/app-sdk@beta.
Updated about 1 hour ago
Did this page help you?
