-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Followers collection synchronization
- Loading branch information
Showing
24 changed files
with
611 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,7 @@ | |
|
||
# Fresh build directory | ||
_fresh/ | ||
# Log files | ||
log.jsonl | ||
# npm dependencies | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ | |
"jsxImportSource": "preact" | ||
}, | ||
"unstable": [ | ||
"fs", | ||
"kv" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,8 @@ | |
"@std/fs": "jsr:@std/fs@^0.220.1", | ||
"@std/http/negotiation": "jsr:@std/http@^0.220.1/negotiation", | ||
"@std/json/common": "jsr:@std/json@^0.220.1/common", | ||
"@std/path": "jsr:@std/path@^0.220.1", | ||
"@std/semver": "jsr:@std/semver@^0.220.1", | ||
"@std/path": "jsr:@std/path@^0.224.0", | ||
"@std/semver": "jsr:@std/semver@^0.224.0", | ||
"@std/testing": "jsr:@std/testing@^0.220.1", | ||
"@std/text": "jsr:@std/text@^0.220.1", | ||
"@std/url": "jsr:@std/url@^0.220.1", | ||
|
@@ -40,7 +40,8 @@ | |
"$fresh/": "https://deno.land/x/[email protected]/", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected]", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected]", | ||
"@std/dotenv/load": "jsr:@std/dotenv@^0.220.1/load", | ||
"@std/dotenv/load": "jsr:@std/dotenv@^0.224.0/load", | ||
"@std/encoding/hex": "jsr:@std/encoding@^0.224.0/hex", | ||
"markdown-it": "npm:markdown-it@^14.0.0", | ||
"preact": "https://esm.sh/[email protected]", | ||
"preact/": "https://esm.sh/[email protected]/", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,10 @@ | |
"@js-temporal/polyfill": "npm:@js-temporal/polyfill@^0.4.4", | ||
"@preact/signals": "https://esm.sh/*@preact/[email protected]", | ||
"@preact/signals-core": "https://esm.sh/*@preact/[email protected]", | ||
"@std/dotenv/load": "jsr:@std/dotenv@^0.220.1/load", | ||
"@std/path": "jsr:@std/path@^0.220.1", | ||
"@std/semver": "jsr:@std/semver@^0.220.1", | ||
"@std/dotenv/load": "jsr:@std/dotenv@^0.224.0/load", | ||
"@std/encoding/hex": "jsr:@std/encoding@^0.224.0/hex", | ||
"@std/path": "jsr:@std/path@^0.224.0", | ||
"@std/semver": "jsr:@std/semver@^0.224.0", | ||
"@fedify/fedify": "../../mod.ts", | ||
"@fedify/fedify/federation": "../../federation/mod.ts", | ||
"@fedify/fedify/httpsig": "../../httpsig/mod.ts", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,35 @@ | ||
import { configure, getConsoleSink, type LogLevel } from "@logtape/logtape"; | ||
import { | ||
configure, | ||
getConsoleSink, | ||
getFileSink, | ||
type LogLevel, | ||
} from "@logtape/logtape"; | ||
|
||
await configure({ | ||
sinks: { console: getConsoleSink() }, | ||
sinks: { | ||
console: getConsoleSink(), | ||
file: getFileSink("log.jsonl", { | ||
formatter(log) { | ||
return JSON.stringify(log) + "\n"; | ||
}, | ||
}), | ||
}, | ||
filters: {}, | ||
loggers: [ | ||
{ | ||
category: "fedify", | ||
level: (Deno.env.get("FEDIFY_LOG") as LogLevel | undefined) ?? "debug", | ||
sinks: ["console"], | ||
sinks: ["console", "file"], | ||
}, | ||
{ | ||
category: "blog", | ||
level: (Deno.env.get("BLOG_LOG") as LogLevel | undefined) ?? "debug", | ||
sinks: ["console"], | ||
sinks: ["console", "file"], | ||
}, | ||
{ | ||
category: ["logtape", "meta"], | ||
level: "warning", | ||
sinks: ["console"], | ||
sinks: ["console", "file"], | ||
}, | ||
], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
614b6ed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failed to deploy: