-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a JSR version of Fedify for the blog example
- Loading branch information
Showing
4 changed files
with
24 additions
and
107 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
{ | ||
"lock": false, | ||
"tasks": { | ||
"fedify-codegen": "cat ../../src/vocab/vocab.ts > /dev/null || (deno run --allow-read --allow-write --check ../../src/codegen/main.ts ../../src/vocab/ ../runtime/ > ../../src/vocab/vocab.ts && deno fmt ../../src/vocab/vocab.ts && deno cache ../../src/vocab/vocab.ts && deno check ../../src/vocab/vocab.ts)", | ||
"generate-import-map": "deno run --allow-read --allow-write generate_import_map.ts", | ||
"codegen": "deno task fedify-codegen && deno task generate-import-map", | ||
"check": "deno task codegen && deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx", | ||
"cli": "deno task codegen && echo \"import '\\$fresh/src/dev/cli.ts'\" | deno run --unstable -A -", | ||
"manifest": "deno task codegen && deno task cli manifest $(pwd)", | ||
"start": "deno task codegen && deno run -A --watch=static/,routes/ --unstable-kv dev.ts", | ||
"build": "deno task codegen && deno run -A dev.ts build", | ||
"preview": "deno task codegen && deno run -A main.ts", | ||
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx", | ||
"cli": "echo \"import '\\$fresh/src/dev/cli.ts'\" | deno run --unstable -A -", | ||
"manifest": "deno task cli manifest $(pwd)", | ||
"start": "deno run -A --watch=static/,routes/ --unstable-kv dev.ts", | ||
"build": "deno run -A dev.ts build", | ||
"preview": "deno run -A main.ts", | ||
"update": "deno run -A -r https://fresh.deno.dev/update ." | ||
}, | ||
"lint": { | ||
|
@@ -23,7 +20,24 @@ | |
"exclude": [ | ||
"**/_fresh/*" | ||
], | ||
"importMap": "./import_map.g.json", | ||
"imports": { | ||
"$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.224.0/load", | ||
"@std/encoding/hex": "jsr:@std/encoding@^0.224.3/hex", | ||
"@std/path": "jsr:@std/path@^0.225.2", | ||
"@std/semver": "jsr:@std/semver@^0.224.3", | ||
"@fedify/fedify": "jsr:@fedify/[email protected]+f75c19cf", | ||
"@hongminhee/x-forwarded-fetch": "jsr:@hongminhee/x-forwarded-fetch@^0.2.0", | ||
"@logtape/logtape": "jsr:@logtape/logtape@^0.6.2", | ||
"markdown-it": "npm:markdown-it@^14.1.0", | ||
"preact": "https://esm.sh/[email protected]", | ||
"preact/": "https://esm.sh/[email protected]/", | ||
"scrypt": "jsr:@denorg/[email protected]", | ||
"sanitize-html": "npm:sanitize-html@^2.13.0", | ||
"uuidv7": "npm:uuidv7@^1.0.0" | ||
}, | ||
"compilerOptions": { | ||
"jsx": "react-jsx", | ||
"jsxImportSource": "preact" | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.