Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ Version 2.4.2

To be released.

### @fedify/init

- Migrated the initialization template script to SvelteKit version 3, by
replacing the `$lib` syntax to `#lib`. [[#1222], [#1224] by Jungmin Yoon\]

[#1222]: https://github.com/fedify-dev/fedify/issues/1222
[#1224]: https://github.com/fedify-dev/fedify/issues/1224


Version 2.4.1
-------------
Expand Down
5 changes: 5 additions & 0 deletions changes.d/init/init-sv-3-migration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Migrated the initialization template script to SvelteKit version 3, by
replacing the `$lib` syntax to `#lib`. [[#1222], [#1224] by Jungmin Yoon]

[#1222]: https://github.com/fedify-dev/fedify/issues/1222
[#1224]: https://github.com/fedify-dev/fedify/pull/1224
1 change: 1 addition & 0 deletions packages/init/src/json/deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"npm:solid-js": "^1.9.14",
"npm:tsx": "^4.23.1",
"npm:typescript": "^5.9.3",
"npm:typescript@6": "^6.0.0",
"npm:vinxi": "^0.5.11",
"npm:x-forwarded-fetch": "^0.2.0"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { fedifyHook } from "@fedify/sveltekit";
import { sequence } from "@sveltejs/kit/hooks";
import federation from "$lib/federation";
import federation from "#lib/federation.ts";

export const handle = sequence(
fedifyHook(federation),
Expand Down
2 changes: 1 addition & 1 deletion packages/init/src/webframeworks/sveltekit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const sveltekitDescription: WebFrameworkDescription = {
},
devDependencies: {
...defaultDevDependencies,
"typescript": deps["npm:typescript"],
"typescript": deps["npm:typescript@6"],
"@types/node": deps["npm:@types/node@25"],
...(pmToRt(pm) === "deno"
? {}
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ catalog:
"@std/assert": "jsr:^1.0.13"
"@std/async": "jsr:^1.0.13"
"@std/path": "jsr:^1.0.6"
"@sveltejs/kit": ^2.0.0
"@sveltejs/kit": ^2.0.0 || ^3.0.0
"@types/amqplib": ^0.10.8
"@types/better-sqlite3": ^7.6.13
"@types/bun": ^1.2.23
Expand Down
Loading