create-apexjs 0.6.5 → 0.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-apexjs",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "Scaffold a new Apex JS app",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -21,7 +21,7 @@ apex make page dashboard # pages/dashboard.alpine (a route → /dashboa
21
21
  apex make component Card # components/Card.alpine (<Card /> in templates)
22
22
  apex make component ui/Navbar # group in a folder → components/ui/Navbar.alpine (<UiNavbar />)
23
23
  apex make client # app.client.ts — register Alpine plugins/directives/magics
24
- apex make model Post title:string body:string # models/Post.ts → migration + REST + MCP CRUD
24
+ apex make model Post title:string body:string # models/Post.ts → defineModel('posts') /api/posts + MCP CRUD
25
25
  apex make composable Post # composables/usePosts.ts — typed client data-hook off the model
26
26
  apex make api webhooks # server/api/webhooks.ts (defineApexRoute; also an MCP tool)
27
27
  apex make service Billing # services/BillingService.ts