fimo 2.11.0-staging.1 → 2.11.0-staging.3

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.
Files changed (28) hide show
  1. package/assets/skills/fimo-cli/references/content.md +1 -0
  2. package/assets/skills/fimo-cli/references/domains.md +10 -5
  3. package/assets/skills/fimo-cli/references/media.md +9 -1
  4. package/assets/skills/fimo-code/references/best-practices/next.md +1 -1
  5. package/assets/skills/fimo-code/references/content/schema.md +5 -1
  6. package/assets/skills/fimo-code/references/forms.md +2 -3
  7. package/assets/skills/fimo-code/references/frameworks/next/app-router.md +4 -1
  8. package/assets/skills/fimo-code/references/frameworks/next/pages-router.md +2 -0
  9. package/assets/skills/fimo-code/references/frameworks/next/seo.md +2 -2
  10. package/assets/skills/fimo-code/references/frameworks/next.md +3 -1
  11. package/assets/skills/fimo-code/references/frameworks/react-router.md +1 -1
  12. package/assets/skills/fimo-code/references/frameworks/seo-head.md +1 -0
  13. package/assets/skills/fimo-code/references/frameworks/sveltekit.md +3 -1
  14. package/assets/skills/fimo-code/references/frameworks/vite-react.md +1 -1
  15. package/assets/skills/fimo-studio/references/custom-domains.md +5 -4
  16. package/dist/cli/bundle.json +1 -1
  17. package/dist/cli/index.js +288 -303
  18. package/dist/scripts/sync-schemas.js +1 -0
  19. package/dist/scripts/validate-schemas.js +8 -1
  20. package/package.json +16 -16
  21. package/templates/astro/package.json +3 -3
  22. package/templates/nextjs/package.json +4 -4
  23. package/templates/nextjs/src/app/globals.css +1 -7
  24. package/templates/react-router/package.json +5 -5
  25. package/templates/react-router/src/index.css +1 -8
  26. package/templates/sveltekit/package.json +3 -3
  27. package/templates/vite/package.json +5 -5
  28. package/templates/vite/src/index.css +1 -7
@@ -25,6 +25,7 @@ const SCHEMA_DEFINITION_SCHEMA = z.object({
25
25
  name: z.string().min(1).optional(),
26
26
  isSingleton: z.boolean().optional(),
27
27
  i18n: z.object({ enabled: z.boolean().optional() }).optional(),
28
+ description: z.string().optional(),
28
29
  groups: z
29
30
  .array(z.object({ id: z.string().min(1), label: z.string().min(1), default: z.boolean().optional() }).strict())
30
31
  .optional(),
@@ -63,7 +63,7 @@ export function validateSchemaFile(absolutePath, file, schemaUids = new Set()) {
63
63
  return [{ rule: 'schemas/shape', message: 'Schema must be a JSON object.', file }];
64
64
  }
65
65
  const errors = [];
66
- const { uid, name, fields, i18n, isSingleton, groups } = schema;
66
+ const { uid, name, fields, i18n, isSingleton, description, groups } = schema;
67
67
  const expectedUid = basename(file, '.json');
68
68
  if (typeof uid !== 'string' || uid.length === 0) {
69
69
  errors.push({
@@ -100,6 +100,13 @@ export function validateSchemaFile(absolutePath, file, schemaUids = new Set()) {
100
100
  file,
101
101
  });
102
102
  }
103
+ if (description !== undefined && typeof description !== 'string') {
104
+ errors.push({
105
+ rule: 'schemas/description',
106
+ message: '"description" must be a string when provided.',
107
+ file,
108
+ });
109
+ }
103
110
  if (i18n !== undefined) {
104
111
  if (typeof i18n !== 'object' || i18n === null || Array.isArray(i18n)) {
105
112
  errors.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fimo",
3
- "version": "2.11.0-staging.1",
3
+ "version": "2.11.0-staging.3",
4
4
  "description": "CLI for Fimo, the website platform for sites built with coding agents: CMS, previews, site agents, and hosting. Create, deploy, and manage Fimo sites.",
5
5
  "keywords": [
6
6
  "ai-agents",
@@ -197,30 +197,30 @@
197
197
  "change-case": "^5.4.4",
198
198
  "eta": "^3.5.0",
199
199
  "oxc-parser": "^0.118.0",
200
- "zod": "4.5.2"
200
+ "zod": "4.6.7"
201
201
  },
202
202
  "devDependencies": {
203
- "@clack/core": "^1.2.0",
204
- "@clack/prompts": "^1.2.0",
205
- "@fimo/agents-bundle": "2.11.0-staging.1",
206
- "@fimo/api-contracts": "2.11.0-staging.1",
207
- "@fimo/cli-kit": "2.11.0-staging.1",
208
- "@fimo/framework-detect": "2.11.0-staging.1",
209
- "@fimo/routes": "2.11.0-staging.1",
210
- "@fimo/sdk": "2.11.0-staging.1",
211
- "@fimo/tsconfig": "2.11.0-staging.1",
203
+ "@clack/core": "^1.5.1",
204
+ "@clack/prompts": "^1.8.1",
205
+ "@fimo/agents-bundle": "2.11.0-staging.3",
206
+ "@fimo/api-contracts": "2.11.0-staging.3",
207
+ "@fimo/cli-kit": "2.11.0-staging.3",
208
+ "@fimo/framework-detect": "2.11.0-staging.3",
209
+ "@fimo/routes": "2.11.0-staging.3",
210
+ "@fimo/sdk": "2.11.0-staging.3",
211
+ "@fimo/tsconfig": "2.11.0-staging.3",
212
212
  "@types/node": "22.18.6",
213
213
  "agent-install": "^0.0.5",
214
- "astro": "^7.1.6",
214
+ "astro": "^7.4.5",
215
215
  "better-auth": "1.7.12",
216
- "cheerio": "^1.0.0",
216
+ "cheerio": "^1.2.0",
217
217
  "commander": "^13.1.0",
218
- "esbuild": "^0.25.10",
219
- "open": "^10.1.2",
218
+ "esbuild": "^0.25.12",
219
+ "open": "^10.2.0",
220
220
  "tsx": "4.22.4",
221
221
  "typescript": "7.0.2",
222
222
  "vite": "8.3.5",
223
- "vitest": "5.0.5",
223
+ "vitest": "5.1.0",
224
224
  "wrangler": "4.151.3",
225
225
  "yaml": "2.8.2"
226
226
  },
@@ -9,9 +9,9 @@
9
9
  "check": "astro sync && astro check"
10
10
  },
11
11
  "dependencies": {
12
- "fimo": "2.11.0-staging.1",
13
- "fimo-analytics": "2.11.0-staging.1",
14
- "fimo-astro": "2.11.0-staging.1",
12
+ "fimo": "2.11.0-staging.3",
13
+ "fimo-analytics": "2.11.0-staging.3",
14
+ "fimo-astro": "2.11.0-staging.3",
15
15
  "zod": "^4.4.3"
16
16
  },
17
17
  "devDependencies": {
@@ -12,10 +12,10 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@tanstack/react-query": "^5.80.6",
15
- "fimo": "2.11.0-staging.1",
16
- "fimo-analytics": "2.11.0-staging.1",
17
- "fimo-next": "2.11.0-staging.1",
18
- "fimo-react": "2.11.0-staging.1",
15
+ "fimo": "2.11.0-staging.3",
16
+ "fimo-analytics": "2.11.0-staging.3",
17
+ "fimo-next": "2.11.0-staging.3",
18
+ "fimo-react": "2.11.0-staging.3",
19
19
  "next": "16.4.2",
20
20
  "react": "^19.2.7",
21
21
  "react-dom": "^19.2.7",
@@ -3,13 +3,7 @@
3
3
  :root {
4
4
  color-scheme: light;
5
5
  -webkit-text-size-adjust: 100%;
6
- font-family:
7
- Inter,
8
- ui-sans-serif,
9
- system-ui,
10
- -apple-system,
11
- 'Segoe UI',
12
- sans-serif;
6
+ font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
13
7
  line-height: 1.5;
14
8
  font-synthesis: none;
15
9
  text-rendering: optimizeLegibility;
@@ -21,11 +21,11 @@
21
21
  "cn": "0.2.4",
22
22
  "date-fns": "^4.1.0",
23
23
  "embla-carousel-react": "^8.6.0",
24
- "fimo": "2.11.0-staging.1",
25
- "fimo-analytics": "2.11.0-staging.1",
26
- "fimo-react": "2.11.0-staging.1",
27
- "fimo-react-router": "2.11.0-staging.1",
28
- "fimo-vite": "2.11.0-staging.1",
24
+ "fimo": "2.11.0-staging.3",
25
+ "fimo-analytics": "2.11.0-staging.3",
26
+ "fimo-react": "2.11.0-staging.3",
27
+ "fimo-react-router": "2.11.0-staging.3",
28
+ "fimo-vite": "2.11.0-staging.3",
29
29
  "input-otp": "^1.4.2",
30
30
  "isbot": "^5",
31
31
  "lucide-react": "^0.577.0",
@@ -6,14 +6,7 @@
6
6
  @custom-variant dark (&:is(.dark *));
7
7
 
8
8
  :root {
9
- font-family:
10
- 'Inter',
11
- ui-sans-serif,
12
- system-ui,
13
- -apple-system,
14
- BlinkMacSystemFont,
15
- 'Segoe UI',
16
- sans-serif;
9
+ font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
17
10
  line-height: 1.5;
18
11
  font-weight: 400;
19
12
  color-scheme: light;
@@ -11,9 +11,9 @@
11
11
  "prepare": "svelte-kit sync"
12
12
  },
13
13
  "dependencies": {
14
- "fimo": "2.11.0-staging.1",
15
- "fimo-analytics": "2.11.0-staging.1",
16
- "fimo-sveltekit": "2.11.0-staging.1",
14
+ "fimo": "2.11.0-staging.3",
15
+ "fimo-analytics": "2.11.0-staging.3",
16
+ "fimo-sveltekit": "2.11.0-staging.3",
17
17
  "zod": "^4.4.3"
18
18
  },
19
19
  "devDependencies": {
@@ -11,11 +11,11 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@tanstack/react-query": "^5.80.6",
14
- "fimo": "2.11.0-staging.1",
15
- "fimo-analytics": "2.11.0-staging.1",
16
- "fimo-react": "2.11.0-staging.1",
17
- "fimo-react-router": "2.11.0-staging.1",
18
- "fimo-vite": "2.11.0-staging.1",
14
+ "fimo": "2.11.0-staging.3",
15
+ "fimo-analytics": "2.11.0-staging.3",
16
+ "fimo-react": "2.11.0-staging.3",
17
+ "fimo-react-router": "2.11.0-staging.3",
18
+ "fimo-vite": "2.11.0-staging.3",
19
19
  "react": "^19.2.7",
20
20
  "react-dom": "^19.2.7",
21
21
  "react-router": "^8.3.0",
@@ -3,13 +3,7 @@
3
3
  :root {
4
4
  color-scheme: light;
5
5
  -webkit-text-size-adjust: 100%;
6
- font-family:
7
- Inter,
8
- ui-sans-serif,
9
- system-ui,
10
- -apple-system,
11
- 'Segoe UI',
12
- sans-serif;
6
+ font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
13
7
  line-height: 1.5;
14
8
  font-synthesis: none;
15
9
  text-rendering: optimizeLegibility;