Skip to content

v0.12.0

Choose a tag to compare

@github-actions github-actions released this 21 May 07:08
· 4 commits to main since this release
  • Feat arco add table <name> — single-command full CRUD module scaffold. Generates a page (index.tsx + columns.tsx + drawer form.tsx + locale/), four API hooks (list / create / update / delete with zod schemas + cache invalidation), and MSW handlers that actually mutate an in-memory list (POST/PUT/DELETE persist for the session). Auto-edits src/routes.ts, src/locale/{en-US,zh-CN}.ts (or legacy index.ts), and src/mock/handlers.ts to register everything. Falls back to printing the snippet when any of the three files doesn't match the expected upstream shape — same pattern as add page / add api. Reuses the existing addPage/routesEdit, addPage/localeEdit, and addApi/handlersEdit engines.