@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiniestcloud/create",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Start an app or website for Tiniest Cloud: React, TypeScript, Vite, Tailwind CSS and shadcn/ui, or Astro.",
5
5
  "keywords": [
6
6
  "tiniest-cloud",
@@ -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.