@syngy/create-workbench-app-react
v0.1.25
Published
Create a Syngy React workbench application
Readme
@syngy/create-workbench-app-react
Create a Vite React TypeScript business app with a product-grade workbench shell.
npm create @syngy/workbench-app-react@latest my-workbench
npm create @syngy/workbench-app-react@latest my-workbench -- --features all
npm create @syngy/workbench-app-react@latest my-workbench -- --features taskboard,arcubaseIf --features is omitted, the scaffold includes @syngy/octopus-client.
Generated apps keep platform integration inside src/lib/syngy.ts, while App.tsx
starts from a business-facing navigation and workspace layout.
Local development requires the Workbench team id used for team-scoped local authorization.
WORKBENCH_REQUIRED_TEAM_ID=<teamId> npm run devWhen --features arcubase is selected, generated apps include npm run
arcubase:codegen. That command generates project-local TypeScript source from
the selected online Arcubase app schema through ingress-first loading. In local
ordinary-user development it uses Workbench JCode plus the Host generic
/arcubase/api/ proxy, and does not depend on octopus-cli.
The first local run creates the Workbench JCode handoff. Later runs reuse the
local Workbench codegen session and refresh it with the stored refresh token.
npm run arcubase:codegen -- --app-id <appId> --team-id <teamId>