Skip to content

Commit b953a84

Browse files
committed
Fix docs
1 parent ae79e3c commit b953a84

7 files changed

Lines changed: 5791 additions & 1353 deletions

File tree

.github/workflows/build.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -268,26 +268,26 @@ jobs:
268268
url: ${{ steps.deployment.outputs.page_url }}
269269
steps:
270270
- uses: actions/checkout@v4
271-
- uses: oven-sh/setup-bun@v1
271+
- uses: pnpm/action-setup@v4
272272
with:
273-
bun-version: latest
273+
version: 10
274274
- run: |
275275
set -ex
276-
bun install
276+
pnpm install
277277
if [[ "$GITHUB_EVENT_NAME" = "push" && "$GITHUB_REF_TYPE" = "tag" ]]; then
278-
bun add -Df --no-cache "@fedify/fedify@$GITHUB_REF_NAME"
278+
pnpm add -D "@fedify/fedify@$GITHUB_REF_NAME"
279279
EXTRA_NAV_TEXT=Unstable \
280280
EXTRA_NAV_LINK="$UNSTABLE_DOCS_URL" \
281281
SITEMAP_HOSTNAME="$STABLE_DOCS_URL" \
282282
JSR_REF_VERSION=stable \
283-
bun run build
283+
pnpm run build
284284
else
285-
bun add -Df --no-cache @fedify/fedify@dev
285+
pnpm add -D @fedify/fedify@dev
286286
EXTRA_NAV_TEXT=Stable \
287287
EXTRA_NAV_LINK="$STABLE_DOCS_URL" \
288288
SITEMAP_HOSTNAME="$UNSTABLE_DOCS_URL" \
289289
JSR_REF_VERSION=unstable \
290-
bun run build
290+
pnpm run build
291291
fi
292292
env:
293293
PLAUSIBLE_DOMAIN: ${{ secrets.PLAUSIBLE_DOMAIN }}

CONTRIBUTING.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,13 +259,15 @@ with Node.js and Bun.
259259
### Building the docs
260260
261261
If you want to change the Fedify docs, you would like to preview the changes
262-
in the browser. To do that, you need to install [Bun] first.
262+
in the browser. To do that, you need to install [Node.js] and [pnpm] first.
263263
Then you can run the following commands at the *docs/* directory:
264264
265265
~~~~ bash
266-
bun install
267-
bun dev
266+
pnpm install
267+
pnpm dev
268268
~~~~
269269
270270
Once the development server is running, you can open your browser and navigate
271271
to *http://localhost:5173/* to view the docs.
272+
273+
[pnpm]: https://pnpm.io/

docs/bun.lock

Lines changed: 0 additions & 1339 deletions
This file was deleted.

docs/manual/log.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,8 @@ class AsyncLocalStorage<T> implements ContextLocalStorage<T> {
376376
}
377377
// ---cut-before---
378378
import { AsyncLocalStorage } from "node:async_hooks";
379-
import { type LogRecord, configure, getFileSink } from "@logtape/logtape";
379+
import { getFileSink } from "@logtape/file";
380+
import { type LogRecord, configure } from "@logtape/logtape";
380381

381382
await configure({
382383
sinks: {

docs/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
"@braintree/sanitize-url": "^7.1.1",
44
"@deno/kv": "^0.8.4",
55
"@fedify/amqp": "^0.2.0",
6-
"@fedify/fedify": "^1.6.0-dev.768",
6+
"@fedify/fedify": "^1.6.1-dev.828",
77
"@fedify/postgres": "^0.3.0",
88
"@fedify/redis": "^0.4.0",
99
"@hono/node-server": "^1.13.7",
10-
"@js-temporal/polyfill": "^0.5.0",
11-
"@logtape/logtape": "^0.8.0",
10+
"@js-temporal/polyfill": "^0.5.1",
11+
"@logtape/file": "^0.10.0",
12+
"@logtape/logtape": "^0.10.0",
1213
"@opentelemetry/exporter-trace-otlp-proto": "^0.57.0",
1314
"@opentelemetry/sdk-node": "^0.57.0",
1415
"@sentry/node": "^8.47.0",
@@ -17,6 +18,7 @@
1718
"@types/amqplib": "0.10.6",
1819
"@types/better-sqlite3": "^7.6.12",
1920
"@types/bun": "^1.1.14",
21+
"@types/node": "^22.15.21",
2022
"amqplib": "^0.10.5",
2123
"dayjs": "^1.11.13",
2224
"hono": "^4.6.14",

0 commit comments

Comments
 (0)