Skip to content

Commit f4bd3a4

Browse files
committed
Rename @fedify/nextjs to @fedify/next
fedify-dev#355 (comment) Rename `@fedify/nextjs` to `@fedify/next` fedify-dev#355 (comment) Rename `@fedify/nextjs` to `@fedify/next` fedify-dev#355 (comment) Rename `@fedify/nextjs` to `@fedify/next` fedify-dev#355 (comment) Rename `@fedify/nextjs` to `@fedify/next` fedify-dev#355 (comment)
1 parent 5f6d620 commit f4bd3a4

File tree

14 files changed

+19
-19
lines changed

14 files changed

+19
-19
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ jobs:
425425
| @fedify/express | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/express] | [npm][npm:@fedify/express] |
426426
| @fedify/h3 | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/h3] | [npm][npm:@fedify/h3] |
427427
| @fedify/nestjs | ${{ steps.versioning.outputs.version }} | | [npm][npm:@fedify/nestjs] |
428-
| @fedify/nextjs | ${{ steps.versioning.outputs.version }} | | [npm][npm:@fedify/nextjs] |
428+
| @fedify/next | ${{ steps.versioning.outputs.version }} | | [npm][npm:@fedify/next] |
429429
| @fedify/postgres | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/postgres] | [npm][npm:@fedify/postgres] |
430430
| @fedify/redis | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/redis] | [npm][npm:@fedify/redis] |
431431
| @fedify/sqlite | ${{ steps.versioning.outputs.version }} | [JSR][jsr:@fedify/sqlite] | [npm][npm:@fedify/sqlite] |

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The repository is organized as a monorepo with the following packages:
7070
- *packages/postgres/*: PostgreSQL drivers (@fedify/postgres)
7171
- *packages/redis/*: Redis drivers (@fedify/redis)
7272
- *packages/nestjs/*: NestJS integration (@fedify/nestjs)
73-
- *packages/nextjs/*: Next.js integration (@fedify/nextjs)
73+
- *packages/next/*: Next.js integration (@fedify/next)
7474
- *packages/sqlite/*: SQLite driver (@fedify/sqlite)
7575
- *packages/testing/*: Testing utilities (@fedify/testing)
7676
- *docs/*: Documentation built with Node.js and VitePress

CHANGES.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Version 1.9.0
88

99
To be released.
1010

11-
### @fedify/nextjs
11+
### @fedify/next
1212

13-
- Created [Next.js] integration as the *@fedify/nextjs* package.
13+
- Created [Next.js] integration as the *@fedify/next* package.
1414
[[#313] by Chanhaeng Lee]
1515

1616
### @fedify/cli

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ The repository is organized as a monorepo with the following packages:
193193
- *packages/postgres/*: PostgreSQL drivers (@fedify/postgres) for Fedify.
194194
- *packages/redis/*: Redis drivers (@fedify/redis) for Fedify.
195195
- *packages/nestjs/*: NestJS integration (@fedify/nestjs) for Fedify.
196-
- *packages/nextjs/*: Next.js integration (@fedify/nextjs) for Fedify.
196+
- *packages/next/*: Next.js integration (@fedify/next) for Fedify.
197197
- *packages/sqlite/*: SQLite driver (@fedify/sqlite) for Fedify.
198198
- *packages/testing/*: Testing utilities (@fedify/testing) for Fedify.
199199
- *docs/*: The Fedify docs. The docs are built with [Node.js] and

docs/manual/integration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ Next.js
486486
*This API is available since Fedify 1.9.0.*
487487

488488
[Next.js] is a React framework that enables you to build server-rendered
489-
and statically generated web applications. Fedify has the `@fedify/nextjs`
489+
and statically generated web applications. Fedify has the `@fedify/next`
490490
module that provides a middleware to integrate Fedify with Next.js. Create
491491
an app with the following command using the Fedify CLI:
492492

@@ -510,7 +510,7 @@ from the Next.js framework:
510510

511511

512512
~~~~ typescript
513-
import { fedifyWith } from "@fedify/nextjs";
513+
import { fedifyWith } from "@fedify/next";
514514
import federation from "./federation";
515515

516516
export default fedifyWith(federation)(

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@fedify/fedify": "workspace:",
99
"@fedify/h3": "workspace:",
1010
"@fedify/nestjs": "workspace:",
11-
"@fedify/nextjs": "workspace:",
11+
"@fedify/next": "workspace:",
1212
"@fedify/postgres": "workspace:",
1313
"@fedify/redis": "workspace:",
1414
"@fedify/sqlite": "workspace:",

packages/cli/src/init.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const packagesMetaData: Record<`@fedify/${string}`, string> = {
1414
"@fedify/amqp": metadata.version,
1515
"@fedify/express": metadata.version,
1616
"@fedify/h3": metadata.version,
17-
"@fedify/nextjs": metadata.version,
17+
"@fedify/next": metadata.version,
1818
};
1919

2020
const logger = getLogger(["fedify", "cli", "init"]);
@@ -457,7 +457,7 @@ Then, try look up an actor from your server:
457457
"--skip-install",
458458
],
459459
dependencies: {
460-
"@fedify/nextjs": getLatestVersion("@fedify/nextjs"),
460+
"@fedify/next": getLatestVersion("@fedify/next"),
461461
},
462462
devDependencies: {
463463
"@types/node": "^20.11.2",
@@ -466,7 +466,7 @@ Then, try look up an actor from your server:
466466
loggingFile: "logging.ts",
467467
files: {
468468
"middleware.ts": `
469-
import { fedifyWith } from "@fedify/nextjs";
469+
import { fedifyWith } from "@fedify/next";
470470
import federation from "./federation";
471471
472472
export default fedifyWith(federation)(

packages/fedify/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Here is the list of packages:
9999
| [@fedify/express](/packages/express/) | [JSR][jsr:@fedify/express] | [npm][npm:@fedify/express] | Express integration |
100100
| [@fedify/h3](/packages/h3/) | [JSR][jsr:@fedify/h3] | [npm][npm:@fedify/h3] | H3 integration |
101101
| [@fedify/nestjs](/packages/nestjs/) | | [npm][npm:@fedify/nestjs] | NestJS integration |
102-
| [@fedify/nestjs](/packages/nextjs/) | | | Next.js integration |
102+
| [@fedify/next](/packages/next/) | | | Next.js integration |
103103
| [@fedify/postgres](/packages/postgres/) | [JSR][jsr:@fedify/postgres] | [npm][npm:@fedify/postgres] | PostgreSQL driver |
104104
| [@fedify/redis](/packages/redis/) | [JSR][jsr:@fedify/redis] | [npm][npm:@fedify/redis] | Redis driver |
105105
| [@fedify/sqlite](/packages/sqlite/) | [JSR][jsr:@fedify/sqlite] | [npm][npm:@fedify/sqlite] | SQLite driver |

packages/nextjs/README.md renamed to packages/next/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- deno-fmt-ignore-file -->
22

3-
@fedify/nextjs: Integrate Fedify with Next.js
4-
=============================================
3+
@fedify/next: Integrate Fedify with Next.js
4+
===========================================
55

66
[![Follow @fedify@hollo.social][@[email protected] badge]][@[email protected]]
77

@@ -12,7 +12,7 @@ This package provides a simple way to integrate [Fedify] with [Next.js].
1212

1313
~~~~ typescript
1414
// --- middleware.ts ---
15-
import { fedifyWith } from "@fedify/nextjs";
15+
import { fedifyWith } from "@fedify/next";
1616
import { federation } from "./federation";
1717

1818
export default fedifyWith(federation)();

packages/nextjs/package.json renamed to packages/next/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@fedify/nextjs",
2+
"name": "@fedify/next",
33
"version": "1.9.0",
44
"description": "Integrate Fedify with Next.js",
55
"keywords": [
@@ -18,7 +18,7 @@
1818
"repository": {
1919
"type": "git",
2020
"url": "git+https://github.com/fedify-dev/fedify.git",
21-
"directory": "packages/nextjs"
21+
"directory": "packages/next"
2222
},
2323
"license": "MIT",
2424
"bugs": {

0 commit comments

Comments
 (0)