@fedify/next 1.9.0-pr.355.1356 → 1.9.0-pr.365.1365
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 +8 -10
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -16,9 +16,16 @@ This package provides a simple way to integrate [Fedify] with [Next.js].
|
|
|
16
16
|
> Therefore, you must use version 15.5 or later, or at least 15.4 canary.
|
|
17
17
|
> For more details, refer to the [official documentation of `middleware`].
|
|
18
18
|
|
|
19
|
+
[@fedify@hollo.social badge]: https://fedi-badge.deno.dev/@fedify@hollo.social/followers.svg
|
|
20
|
+
[@fedify@hollo.social]: https://hollo.social/@fedify
|
|
21
|
+
[Fedify]: https://fedify.dev/
|
|
22
|
+
[Next.js]: https://nextjs.org/
|
|
23
|
+
[Fedify CLI]: https://www.npmjs.com/package/@fedify/cli
|
|
24
|
+
[official documentation of `middleware`]: https://nextjs.org/docs/app/api-reference/file-conventions/middleware#runtime
|
|
19
25
|
|
|
20
26
|
|
|
21
|
-
|
|
27
|
+
Usage
|
|
28
|
+
-----
|
|
22
29
|
|
|
23
30
|
~~~~ typescript
|
|
24
31
|
// --- middleware.ts ---
|
|
@@ -43,10 +50,8 @@ export const config = {
|
|
|
43
50
|
};
|
|
44
51
|
~~~~
|
|
45
52
|
|
|
46
|
-
|
|
47
53
|
The integration code looks like this:
|
|
48
54
|
|
|
49
|
-
|
|
50
55
|
~~~~ typescript
|
|
51
56
|
/**
|
|
52
57
|
* Fedify with Next.js
|
|
@@ -191,10 +196,3 @@ const onNotAcceptable = () =>
|
|
|
191
196
|
headers: { "Content-Type": "text/plain", Vary: "Accept" },
|
|
192
197
|
});
|
|
193
198
|
~~~~
|
|
194
|
-
|
|
195
|
-
[@fedify@hollo.social badge]: https://fedi-badge.deno.dev/@fedify@hollo.social/followers.svg
|
|
196
|
-
[@fedify@hollo.social]: https://hollo.social/@fedify
|
|
197
|
-
[Fedify]: https://fedify.dev/
|
|
198
|
-
[Next.js]: https://nextjs.org/
|
|
199
|
-
[official documentation of `middleware`]: https://nextjs.org/docs/app/api-reference/file-conventions/middleware#runtime
|
|
200
|
-
[Fedify CLI]: https://www.npmjs.com/package/@fedify/cli
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fedify/next",
|
|
3
|
-
"version": "1.9.0-pr.
|
|
3
|
+
"version": "1.9.0-pr.365.1365+06363db2",
|
|
4
4
|
"description": "Integrate Fedify with Next.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Fedify",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
],
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"next": "^15.4.2-canary",
|
|
54
|
-
"@fedify/fedify": "1.9.0-pr.
|
|
54
|
+
"@fedify/fedify": "1.9.0-pr.365.1365+06363db2"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"tsdown": "^0.12.9",
|