fimo-next 2.8.0-staging.6 → 2.8.0-staging.8
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/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# fimo-next
|
|
2
2
|
|
|
3
|
-
The Next.js runtime for Fimo
|
|
3
|
+
The Next.js runtime for Fimo sites. Install it alongside `fimo` and
|
|
4
4
|
`fimo-react` at the same version, plus `@tanstack/react-query`:
|
|
5
5
|
|
|
6
6
|
```bash
|
|
@@ -9,7 +9,7 @@ npm install fimo fimo-react fimo-next @tanstack/react-query
|
|
|
9
9
|
|
|
10
10
|
Render `FimoProvider` once at the application root: from `fimo-next` in the
|
|
11
11
|
App Router root layout (a Server Component), or from `fimo-next/client` in
|
|
12
|
-
`pages/_app.tsx`. It resolves the connection to the linked Fimo
|
|
12
|
+
`pages/_app.tsx`. It resolves the connection to the linked Fimo site on the
|
|
13
13
|
server and passes only public connection data to the browser; the application
|
|
14
14
|
never manages Fimo runtime variables.
|
|
15
15
|
|
|
@@ -68,5 +68,5 @@ export function parseConnection(text) {
|
|
|
68
68
|
return null;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
export const NOT_CONNECTED_MESSAGE = 'This Next.js application is not connected to a Fimo
|
|
71
|
+
export const NOT_CONNECTED_MESSAGE = 'This Next.js application is not connected to a Fimo site. ' +
|
|
72
72
|
'Run `fimo link` in the project directory, or set FIMO_CONTENT_API_URL to the tenant content API URL.';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fimo-next",
|
|
3
|
-
"version": "2.8.0-staging.
|
|
3
|
+
"version": "2.8.0-staging.8",
|
|
4
4
|
"description": "Fimo runtime for Next.js projects.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/",
|
|
@@ -49,22 +49,22 @@
|
|
|
49
49
|
"test:watch": "vitest"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@fimo/tsconfig": "2.8.0-staging.
|
|
52
|
+
"@fimo/tsconfig": "2.8.0-staging.8",
|
|
53
53
|
"@tanstack/react-query": "^5.80.6",
|
|
54
54
|
"@types/node": "22.18.6",
|
|
55
55
|
"@types/react": "19.2.14",
|
|
56
56
|
"@types/react-dom": "19.2.3",
|
|
57
|
-
"fimo": "2.8.0-staging.
|
|
58
|
-
"fimo-react": "2.8.0-staging.
|
|
59
|
-
"next": "16.3.
|
|
57
|
+
"fimo": "2.8.0-staging.8",
|
|
58
|
+
"fimo-react": "2.8.0-staging.8",
|
|
59
|
+
"next": "16.3.8",
|
|
60
60
|
"react": "19.2.4",
|
|
61
61
|
"react-dom": "19.2.4",
|
|
62
62
|
"typescript": "7.0.2",
|
|
63
|
-
"vitest": "5.0.
|
|
63
|
+
"vitest": "5.0.3"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"@tanstack/react-query": "^5.80.6",
|
|
67
|
-
"fimo": "2.8.0-staging.
|
|
67
|
+
"fimo": "2.8.0-staging.8",
|
|
68
68
|
"fimo-react": ">=2.0.1",
|
|
69
69
|
"next": "^15.0.0 || ^16.0.0",
|
|
70
70
|
"react": "^18.2.0 || ^19.0.0",
|