77d1e8ced6
Split out of #21240 — all remaining app-dev improvements. Stacked on #21251 (review/merge that first). - Actionable recovery hints on failed syncs; unified diff renderer; `--dry-run` guard. - Return `flatEntity` on update/delete sync actions and unify the diff label. - Summarize the dev-mode entity list unless `--verbose`. - Docs: syncing & recovery guide + dry-run + open-an-issue prompt. - Live execution mode for synced logic functions; clearer manifest warnings. <img width="1018" height="700" alt="image" src="https://github.com/user-attachments/assets/5e9ce19e-0f1d-4f99-8524-4e118bde932b" />
33 lines
1.5 KiB
Plaintext
33 lines
1.5 KiB
Plaintext
---
|
|
title: Overview
|
|
description: Build, test, and ship your app — CLI commands, integration tests, CI, and publishing to a server or to npm.
|
|
icon: "rocket"
|
|
---
|
|
|
|
The **operations layer** is everything you do *to* your app rather than *with* it: invoking CLI commands, running integration tests against a real Twenty server, configuring CI, and shipping releases — either as a tarball deployed to a single server or as an npm package listed in the marketplace.
|
|
|
|
```text
|
|
develop ─▶ test ─▶ build ─▶ deploy / publish
|
|
─────── ──── ───── ─────────────────
|
|
yarn yarn yarn yarn twenty app:publish --private (tarball → one server)
|
|
twenty test twenty
|
|
dev dev:build yarn twenty app:publish (npm → marketplace)
|
|
```
|
|
|
|
## In this section
|
|
|
|
<CardGroup cols={2}>
|
|
<Card title="CLI" icon="terminal" href="/developers/extend/apps/operations/cli">
|
|
`yarn twenty` reference — exec, logs, uninstall, remotes.
|
|
</Card>
|
|
<Card title="Syncing & recovery" icon="compass" href="/developers/extend/apps/operations/sync-and-recovery">
|
|
Which command when, reading the sync diff, and a recovery ladder.
|
|
</Card>
|
|
<Card title="Testing" icon="flask" href="/developers/extend/apps/operations/testing">
|
|
Vitest setup, integration tests, type checking, CI workflow.
|
|
</Card>
|
|
<Card title="Publishing" icon="upload" href="/developers/extend/apps/operations/publishing">
|
|
Build, deploy a tarball, publish to npm, install.
|
|
</Card>
|
|
</CardGroup>
|