start app publish

Build, publish to npm, and register with start.chat

Build, publish to npm, and register with start.chat

Usage

Terminal

start app publish <entry>
ArgumentRequiredDescription
entryYesEntry file
FlagTypeDefaultDescription
--dryRunbooleanfalseBuild only, do not publish
--skipRegisterbooleanfalsePublish to npm only, skip registering with start.chat

Examples

Build and publish

Terminal

start app publish app.tsx
building app... built .app.json publishing to npm... published my-weather-app@1.0.0

Dry run (validate without publishing)

Terminal

start app publish app.tsx --dry-run
building app... built .app.json dry run — package is valid name: my-weather-app version: 1.0.0