fimo 2.8.0-staging.3 → 2.8.0-staging.5
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/assets/skills/fimo-cli/references/analytics.md +5 -11
- package/assets/skills/fimo-cli/references/update.md +6 -9
- package/assets/skills/fimo-code/SKILL.md +1 -5
- package/assets/skills/fimo-code/references/analytics.md +47 -81
- package/assets/skills/fimo-code/references/frameworks/vite-react.md +1 -1
- package/assets/skills/fimo-studio/references/ai-chat.md +6 -2
- package/assets/skills/fimo-studio/references/visual-editing.md +2 -2
- package/dist/cli/bundle.json +1 -1
- package/dist/cli/index.js +3 -3
- package/package.json +9 -9
- package/templates/astro/package.json +3 -2
- package/templates/astro/src/layouts/Base.astro +2 -0
- package/templates/nextjs/package.json +4 -3
- package/templates/nextjs/src/app/layout.tsx +2 -0
- package/templates/react-router/package.json +5 -4
- package/templates/react-router/src/root.tsx +2 -0
- package/templates/sveltekit/package.json +3 -2
- package/templates/sveltekit/src/routes/+layout.svelte +2 -0
- package/templates/vite/package.json +5 -4
- package/templates/vite/src/LocaleLayout.tsx +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fimo",
|
|
3
|
-
"version": "2.8.0-staging.
|
|
3
|
+
"version": "2.8.0-staging.5",
|
|
4
4
|
"description": "Fimo CLI - create, deploy, and manage Fimo projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astro-component"
|
|
@@ -194,13 +194,13 @@
|
|
|
194
194
|
"devDependencies": {
|
|
195
195
|
"@clack/core": "^1.2.0",
|
|
196
196
|
"@clack/prompts": "^1.2.0",
|
|
197
|
-
"@fimo/agents-bundle": "2.8.0-staging.
|
|
198
|
-
"@fimo/api-contracts": "2.8.0-staging.
|
|
199
|
-
"@fimo/cli-kit": "2.8.0-staging.
|
|
200
|
-
"@fimo/framework-detect": "2.8.0-staging.
|
|
201
|
-
"@fimo/routes": "2.8.0-staging.
|
|
202
|
-
"@fimo/sdk": "2.8.0-staging.
|
|
203
|
-
"@fimo/tsconfig": "2.8.0-staging.
|
|
197
|
+
"@fimo/agents-bundle": "2.8.0-staging.5",
|
|
198
|
+
"@fimo/api-contracts": "2.8.0-staging.5",
|
|
199
|
+
"@fimo/cli-kit": "2.8.0-staging.5",
|
|
200
|
+
"@fimo/framework-detect": "2.8.0-staging.5",
|
|
201
|
+
"@fimo/routes": "2.8.0-staging.5",
|
|
202
|
+
"@fimo/sdk": "2.8.0-staging.5",
|
|
203
|
+
"@fimo/tsconfig": "2.8.0-staging.5",
|
|
204
204
|
"@types/node": "22.18.6",
|
|
205
205
|
"agent-install": "^0.0.5",
|
|
206
206
|
"astro": "^7.1.6",
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
"typescript": "7.0.2",
|
|
214
214
|
"vite": "8.2.2",
|
|
215
215
|
"vitest": "5.0.0",
|
|
216
|
-
"wrangler": "4.
|
|
216
|
+
"wrangler": "4.145.0",
|
|
217
217
|
"yaml": "2.8.2"
|
|
218
218
|
},
|
|
219
219
|
"engines": {
|
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
"check": "astro sync && astro check"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"fimo": "2.8.0-staging.
|
|
13
|
-
"fimo-
|
|
12
|
+
"fimo": "2.8.0-staging.5",
|
|
13
|
+
"fimo-analytics": "2.8.0-staging.5",
|
|
14
|
+
"fimo-astro": "2.8.0-staging.5"
|
|
14
15
|
},
|
|
15
16
|
"devDependencies": {
|
|
16
17
|
"@astrojs/check": "^0.9.10",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
+
import Analytics from 'fimo-analytics/astro';
|
|
2
3
|
import { resolveSeoForPath, toSeoHead, type FimoSEO } from 'fimo/seo';
|
|
3
4
|
|
|
4
5
|
import fimoConfig from '../../.fimo/config.json';
|
|
@@ -35,6 +36,7 @@ const head = toSeoHead({
|
|
|
35
36
|
</head>
|
|
36
37
|
<body>
|
|
37
38
|
<slot />
|
|
39
|
+
<Analytics />
|
|
38
40
|
</body>
|
|
39
41
|
</html>
|
|
40
42
|
|
|
@@ -12,9 +12,10 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@tanstack/react-query": "^5.80.6",
|
|
15
|
-
"fimo": "2.8.0-staging.
|
|
16
|
-
"fimo-
|
|
17
|
-
"fimo-
|
|
15
|
+
"fimo": "2.8.0-staging.5",
|
|
16
|
+
"fimo-analytics": "2.8.0-staging.5",
|
|
17
|
+
"fimo-next": "2.8.0-staging.5",
|
|
18
|
+
"fimo-react": "2.8.0-staging.5",
|
|
18
19
|
"next": "^16.3.3",
|
|
19
20
|
"react": "^19.2.7",
|
|
20
21
|
"react-dom": "^19.2.7"
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Analytics } from 'fimo-analytics/next';
|
|
1
2
|
import { FimoProvider } from 'fimo-next';
|
|
2
3
|
import { toNextMetadata, toNextViewport } from 'fimo-next/seo';
|
|
3
4
|
import { getFimoSeo } from 'fimo/seo/server';
|
|
@@ -15,6 +16,7 @@ export default function RootLayout({ children }: Readonly<{ children: ReactNode
|
|
|
15
16
|
<html lang={defaultLocale}>
|
|
16
17
|
<body>
|
|
17
18
|
<FimoProvider locale={defaultLocale}>{children}</FimoProvider>
|
|
19
|
+
<Analytics />
|
|
18
20
|
</body>
|
|
19
21
|
</html>
|
|
20
22
|
);
|
|
@@ -21,10 +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.8.0-staging.
|
|
25
|
-
"fimo-
|
|
26
|
-
"fimo-react
|
|
27
|
-
"fimo-
|
|
24
|
+
"fimo": "2.8.0-staging.5",
|
|
25
|
+
"fimo-analytics": "2.8.0-staging.5",
|
|
26
|
+
"fimo-react": "2.8.0-staging.5",
|
|
27
|
+
"fimo-react-router": "2.8.0-staging.5",
|
|
28
|
+
"fimo-vite": "2.8.0-staging.5",
|
|
28
29
|
"input-otp": "^1.4.2",
|
|
29
30
|
"isbot": "^5",
|
|
30
31
|
"lucide-react": "^0.577.0",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
2
|
+
import { Analytics } from 'fimo-analytics/react-router';
|
|
2
3
|
import { FimoProviders, FimoScripts, loadFimoMetaData, buildFimoMeta, fimoHtmlProps } from 'fimo-react-router';
|
|
3
4
|
import React from 'react';
|
|
4
5
|
import type { MetaFunction } from 'react-router';
|
|
@@ -46,6 +47,7 @@ export default function AppRoot() {
|
|
|
46
47
|
return (
|
|
47
48
|
<QueryClientProvider client={queryClient}>
|
|
48
49
|
<Outlet />
|
|
50
|
+
<Analytics />
|
|
49
51
|
</QueryClientProvider>
|
|
50
52
|
);
|
|
51
53
|
}
|
|
@@ -11,8 +11,9 @@
|
|
|
11
11
|
"prepare": "svelte-kit sync"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"fimo": "2.8.0-staging.
|
|
15
|
-
"fimo-
|
|
14
|
+
"fimo": "2.8.0-staging.5",
|
|
15
|
+
"fimo-analytics": "2.8.0-staging.5",
|
|
16
|
+
"fimo-sveltekit": "2.8.0-staging.5"
|
|
16
17
|
},
|
|
17
18
|
"devDependencies": {
|
|
18
19
|
"@sveltejs/kit": "^2.70.2",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { afterNavigate } from '$app/navigation';
|
|
3
3
|
import { page } from '$app/state';
|
|
4
|
+
import Analytics from 'fimo-analytics/sveltekit';
|
|
4
5
|
import { FimoProvider } from 'fimo-sveltekit/components';
|
|
5
6
|
import type { Snippet } from 'svelte';
|
|
6
7
|
|
|
@@ -27,3 +28,4 @@
|
|
|
27
28
|
<FimoProvider labels={data.labels}>
|
|
28
29
|
{@render children()}
|
|
29
30
|
</FimoProvider>
|
|
31
|
+
<Analytics />
|
|
@@ -11,10 +11,11 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@tanstack/react-query": "^5.80.6",
|
|
14
|
-
"fimo": "2.8.0-staging.
|
|
15
|
-
"fimo-
|
|
16
|
-
"fimo-react
|
|
17
|
-
"fimo-
|
|
14
|
+
"fimo": "2.8.0-staging.5",
|
|
15
|
+
"fimo-analytics": "2.8.0-staging.5",
|
|
16
|
+
"fimo-react": "2.8.0-staging.5",
|
|
17
|
+
"fimo-react-router": "2.8.0-staging.5",
|
|
18
|
+
"fimo-vite": "2.8.0-staging.5",
|
|
18
19
|
"react": "^19.2.7",
|
|
19
20
|
"react-dom": "^19.2.7",
|
|
20
21
|
"react-router": "^8.3.0"
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Analytics } from 'fimo-analytics/react-router';
|
|
1
2
|
import { FimoProviders } from 'fimo-react-router';
|
|
2
3
|
import { Outlet, useParams } from 'react-router';
|
|
3
4
|
|
|
@@ -7,6 +8,7 @@ export function LocaleLayout() {
|
|
|
7
8
|
return (
|
|
8
9
|
<FimoProviders locale={locale}>
|
|
9
10
|
<Outlet />
|
|
11
|
+
<Analytics />
|
|
10
12
|
</FimoProviders>
|
|
11
13
|
);
|
|
12
14
|
}
|