Loading cli/init.ts +5 −1 Original line number Diff line number Diff line Loading @@ -1303,7 +1303,11 @@ async function addDependencies( const deps = Object.entries(dependencies) .map(([name, version]) => `${ runtime !== "deno" && name.startsWith("npm:") ? name.substring(4) : name runtime !== "deno" && name.startsWith("npm:") ? name.substring(4) : runtime === "deno" && !name.startsWith("npm:") ? `jsr:${name}` : name }@${ runtime !== "deno" && version.includes("+") ? version.substring(0, version.indexOf("+")) Loading docs/install.md +1 −1 Original line number Diff line number Diff line Loading @@ -77,7 +77,7 @@ Deno 1.41.0 or later installed on your system. Then you can install Fedify via the following command: ~~~~ sh deno add @fedify/fedify deno add jsr:@fedify/fedify ~~~~ Since Fedify requires [`Temporal`] API, which is an unstable feature in Deno as Loading docs/manual/federation.md +1 −1 Original line number Diff line number Diff line Loading @@ -350,7 +350,7 @@ install the package: ::: code-group ~~~~ sh [Deno] deno add @hongminhee/x-forwarded-fetch deno add jsr:@hongminhee/x-forwarded-fetch ~~~~ ~~~~ sh [Node.js] Loading docs/manual/log.md +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ To enable logging in your federated server app, you need to install the ::: code-group ~~~~ sh [Deno] deno add @logtape/logtape deno add jsr:@logtape/logtape ~~~~ ~~~~ sh [Node.js] Loading docs/tutorial/basics.md +3 −3 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ Let's create a new project directory and initialize a new project: mkdir follow-server cd follow-server/ echo '{ "unstable": ["kv", "temporal"] }' > deno.json deno add @fedify/fedify deno add jsr:@fedify/fedify ~~~~ ~~~~ sh [Bun] Loading Loading @@ -321,7 +321,7 @@ to the next step. > ::: code-group > > ~~~~ sh [Deno] > deno add @logtape/logtape > deno add jsr:@logtape/logtape > ~~~~ > > ~~~~ sh [Bun] Loading Loading @@ -609,7 +609,7 @@ To do this, you need to install the package: ::: code-group ~~~~ sh [Deno] deno add @hongminhee/x-forwarded-fetch deno add jsr:@hongminhee/x-forwarded-fetch ~~~~ ~~~~ sh [Bun] Loading Loading
cli/init.ts +5 −1 Original line number Diff line number Diff line Loading @@ -1303,7 +1303,11 @@ async function addDependencies( const deps = Object.entries(dependencies) .map(([name, version]) => `${ runtime !== "deno" && name.startsWith("npm:") ? name.substring(4) : name runtime !== "deno" && name.startsWith("npm:") ? name.substring(4) : runtime === "deno" && !name.startsWith("npm:") ? `jsr:${name}` : name }@${ runtime !== "deno" && version.includes("+") ? version.substring(0, version.indexOf("+")) Loading
docs/install.md +1 −1 Original line number Diff line number Diff line Loading @@ -77,7 +77,7 @@ Deno 1.41.0 or later installed on your system. Then you can install Fedify via the following command: ~~~~ sh deno add @fedify/fedify deno add jsr:@fedify/fedify ~~~~ Since Fedify requires [`Temporal`] API, which is an unstable feature in Deno as Loading
docs/manual/federation.md +1 −1 Original line number Diff line number Diff line Loading @@ -350,7 +350,7 @@ install the package: ::: code-group ~~~~ sh [Deno] deno add @hongminhee/x-forwarded-fetch deno add jsr:@hongminhee/x-forwarded-fetch ~~~~ ~~~~ sh [Node.js] Loading
docs/manual/log.md +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ To enable logging in your federated server app, you need to install the ::: code-group ~~~~ sh [Deno] deno add @logtape/logtape deno add jsr:@logtape/logtape ~~~~ ~~~~ sh [Node.js] Loading
docs/tutorial/basics.md +3 −3 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ Let's create a new project directory and initialize a new project: mkdir follow-server cd follow-server/ echo '{ "unstable": ["kv", "temporal"] }' > deno.json deno add @fedify/fedify deno add jsr:@fedify/fedify ~~~~ ~~~~ sh [Bun] Loading Loading @@ -321,7 +321,7 @@ to the next step. > ::: code-group > > ~~~~ sh [Deno] > deno add @logtape/logtape > deno add jsr:@logtape/logtape > ~~~~ > > ~~~~ sh [Bun] Loading Loading @@ -609,7 +609,7 @@ To do this, you need to install the package: ::: code-group ~~~~ sh [Deno] deno add @hongminhee/x-forwarded-fetch deno add jsr:@hongminhee/x-forwarded-fetch ~~~~ ~~~~ sh [Bun] Loading