|
1 | 1 | {
|
2 | 2 | "lock": false,
|
3 | 3 | "tasks": {
|
4 |
| - "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)", |
5 |
| - "generate-import-map": "deno run --allow-read --allow-write generate_import_map.ts", |
6 |
| - "codegen": "deno task fedify-codegen && deno task generate-import-map", |
7 |
| - "check": "deno task codegen && deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx", |
8 |
| - "cli": "deno task codegen && echo \"import '\\$fresh/src/dev/cli.ts'\" | deno run --unstable -A -", |
9 |
| - "manifest": "deno task codegen && deno task cli manifest $(pwd)", |
10 |
| - "start": "deno task codegen && deno run -A --watch=static/,routes/ --unstable-kv dev.ts", |
11 |
| - "build": "deno task codegen && deno run -A dev.ts build", |
12 |
| - "preview": "deno task codegen && deno run -A main.ts", |
| 4 | + "check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx", |
| 5 | + "cli": "echo \"import '\\$fresh/src/dev/cli.ts'\" | deno run --unstable -A -", |
| 6 | + "manifest": "deno task cli manifest $(pwd)", |
| 7 | + "start": "deno run -A --watch=static/,routes/ --unstable-kv dev.ts", |
| 8 | + "build": "deno run -A dev.ts build", |
| 9 | + "preview": "deno run -A main.ts", |
13 | 10 | "update": "deno run -A -r https://fresh.deno.dev/update ."
|
14 | 11 | },
|
15 | 12 | "lint": {
|
|
23 | 20 | "exclude": [
|
24 | 21 | "**/_fresh/*"
|
25 | 22 | ],
|
26 |
| - "importMap": "./import_map.g.json", |
| 23 | + "imports": { |
| 24 | + "$fresh/": "https://deno.land/x/fresh@1.6.8/", |
| 25 | + "@preact/signals": "https://esm.sh/*@preact/signals@1.2.2", |
| 26 | + "@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1", |
| 27 | + "@std/dotenv/load": "jsr:@std/dotenv@^0.224.0/load", |
| 28 | + "@std/encoding/hex": "jsr:@std/encoding@^0.224.3/hex", |
| 29 | + "@std/path": "jsr:@std/path@^0.225.2", |
| 30 | + "@std/semver": "jsr:@std/semver@^0.224.3", |
| 31 | + "@fedify/fedify": "jsr:@fedify/fedify@1.0.0-dev.414+f75c19cf", |
| 32 | + "@hongminhee/x-forwarded-fetch": "jsr:@hongminhee/x-forwarded-fetch@^0.2.0", |
| 33 | + "@logtape/logtape": "jsr:@logtape/logtape@^0.6.2", |
| 34 | + "markdown-it": "npm:markdown-it@^14.1.0", |
| 35 | + "preact": "https://esm.sh/preact@10.19.6", |
| 36 | + "preact/": "https://esm.sh/preact@10.19.6/", |
| 37 | + "scrypt": "jsr:@denorg/scrypt@4.4.4", |
| 38 | + "sanitize-html": "npm:sanitize-html@^2.13.0", |
| 39 | + "uuidv7": "npm:uuidv7@^1.0.0" |
| 40 | + }, |
27 | 41 | "compilerOptions": {
|
28 | 42 | "jsx": "react-jsx",
|
29 | 43 | "jsxImportSource": "preact"
|
|
0 commit comments