@tiniestcloud/create 0.1.6 → 0.1.7
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 +1 -1
- package/templates/app/AGENTS.md +1 -0
package/package.json
CHANGED
package/templates/app/AGENTS.md
CHANGED
|
@@ -17,6 +17,7 @@ React, TypeScript, Vite, Tailwind CSS and shadcn/ui, deployed to Tiniest Cloud a
|
|
|
17
17
|
- `src/pages/` — one file per screen (`home.tsx`, `orders.tsx`). App.tsx frames them; with
|
|
18
18
|
more than one, it routes to each with React Router, whose browser routes work as-is (the
|
|
19
19
|
platform answers every path with index.html). Keep Vite's default `base`.
|
|
20
|
+
Tiniest Cloud refuses a first deploy whose screens are anywhere else (all in App.tsx, say).
|
|
20
21
|
- `src/components/` — pieces the screens share; `src/components/ui/` for shadcn components.
|
|
21
22
|
- `src/hooks/` — the app's own `useSomething` hooks. The SDK's hooks stay in src/lib/tiny.tsx.
|
|
22
23
|
- `src/lib/` — plain code: helpers, formatting, types (`types.ts`), calculations.
|