fimo 0.16.0-staging.2 → 0.16.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.
@@ -68,6 +68,8 @@ The working loop is local: run the app with the project's package-manager `dev`
68
68
 
69
69
  `fimo validate` is the single entrypoint for "prove this project is ready" — it covers schema/form codegen, route metadata checks, lint, and missing label checks for `i18n.defaultLocale` from `.fimo/config.json` (fallback: `en`). Use `fimo labels set` / `set-many` to create or update label values in the DB. The underlying phases are also available individually under the hidden `fimo scripts` namespace for advanced/debug use.
70
70
 
71
+ Keep `fimo validate --json` at the front of the project's `build` script, which is where the bundled templates put it. The hosted build runs that script, so validation runs on the exact code being published and a rejected build reports the failing rule instead of a generic build error. Removing it is the developer's call, but do not drop it while editing `package.json` for other reasons.
72
+
71
73
  ## Decision Tree
72
74
 
73
75
  Load the matching reference when the user's request fires its trigger. Recipes that involve writing code also need the `fimo-code` skill's package references — they're called out where relevant.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "bundled": true,
3
3
  "bundler": "esbuild",
4
- "bundledAt": "2026-08-19T15:47:25.647Z",
4
+ "bundledAt": "2026-08-19T18:53:18.024Z",
5
5
  "cliVersion": "0.15.0",
6
6
  "external": [
7
7
  "oxc-parser",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fimo",
3
- "version": "0.16.0-staging.2",
3
+ "version": "0.16.0-staging.3",
4
4
  "description": "Fimo CLI - create, deploy, and manage Fimo projects",
5
5
  "bin": {
6
6
  "fimo": "dist/cli/index.js"
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "astro dev",
8
- "build": "astro build",
8
+ "build": "fimo validate --json && astro build",
9
9
  "check": "astro sync && astro check"
10
10
  },
11
11
  "dependencies": {
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "next dev",
8
- "build": "next build",
8
+ "build": "fimo validate --json && next build",
9
9
  "start": "next start",
10
10
  "lint": "oxlint --deny-warnings",
11
11
  "typecheck": "next typegen && tsc --noEmit"
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "react-router dev --port 5173",
8
- "build": "tsc --noEmit && react-router build && fimo export-static",
8
+ "build": "fimo validate --json && tsc --noEmit && react-router build && fimo export-static",
9
9
  "lint": "oxlint --deny-warnings",
10
10
  "typecheck": "tsc --noEmit",
11
11
  "preview": "vite preview --host 0.0.0.0 --port 4173"
@@ -21,7 +21,7 @@
21
21
  "cmdk": "^1.1.1",
22
22
  "date-fns": "^4.1.0",
23
23
  "embla-carousel-react": "^8.6.0",
24
- "fimo": "0.16.0-staging.2",
24
+ "fimo": "0.16.0-staging.3",
25
25
  "input-otp": "^1.4.2",
26
26
  "isbot": "^5",
27
27
  "lucide-react": "^0.577.0",
@@ -7,4 +7,4 @@
7
7
 
8
8
  allowBuilds:
9
9
  esbuild: true
10
- fimo: true
10
+ fimo: true
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite dev",
8
- "build": "vite build",
8
+ "build": "fimo validate --json && vite build",
9
9
  "preview": "vite preview",
10
10
  "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
11
11
  "prepare": "svelte-kit sync"