@montytools/cli 0.5.4 → 0.5.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/bin/monty.mjs +606 -677
- package/lib/compile.mjs +3 -3
- package/lib/schemaCodegen.mjs +7 -3
- package/lib/schemaPull.mjs +36 -50
- package/lib/styleLint.mjs +175 -0
- package/lib/tokens-manifest.mjs +90 -0
- package/lib/views.mjs +19 -0
- package/package.json +3 -3
- package/skills/monty-build/SKILL.md +92 -105
- package/skills/monty-design/SKILL.md +104 -55
- package/template/AGENTS.md +53 -33
- package/template/index.html +5 -5
- package/template/package.json +2 -2
- package/template/src/components/ui/badge.tsx +1 -1
- package/template/src/components/ui/button.tsx +7 -7
- package/template/src/components/ui/card.tsx +3 -3
- package/template/src/components/ui/empty.tsx +3 -3
- package/template/src/components/ui/field.tsx +5 -5
- package/template/src/components/ui/input.tsx +1 -1
- package/template/src/components/ui/label.tsx +1 -1
- package/template/src/components/ui/select.tsx +4 -4
- package/template/src/components/ui/table.tsx +3 -3
- package/template/src/index.css +7 -118
- package/template/src/main.tsx +1 -1
- package/template/src/monty.gen.ts +16 -0
- package/template/src/routes/index.tsx +1 -1
- package/template/tsconfig.json +1 -1
- package/template/monty.config.ts +0 -21
package/template/tsconfig.json
CHANGED
package/template/monty.config.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { defineApp } from "@montytools/sdk";
|
|
2
|
-
|
|
3
|
-
// This file is the ONLY place data shapes are defined. Edit it, save, and the
|
|
4
|
-
// typed hooks in your components update immediately. The starter ships with no
|
|
5
|
-
// tables — declare each one as a zod object as the app needs it, e.g.:
|
|
6
|
-
//
|
|
7
|
-
// import { z } from "zod";
|
|
8
|
-
// tables: {
|
|
9
|
-
// tasks: z.object({
|
|
10
|
-
// title: z.string().min(1),
|
|
11
|
-
// done: z.boolean().default(false),
|
|
12
|
-
// }),
|
|
13
|
-
// },
|
|
14
|
-
export const app = defineApp({
|
|
15
|
-
slug: "new-app",
|
|
16
|
-
name: "New app",
|
|
17
|
-
icon: "layout-grid",
|
|
18
|
-
tables: {},
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
export type App = typeof app;
|