|
7 | 7 | "./www" |
8 | 8 | ], |
9 | 9 | "name": "@fresh/core", |
10 | | - "version": "2.0.0-alpha.29", |
| 10 | + "version": "2.0.0-alpha.34", |
11 | 11 | "license": "MIT", |
12 | 12 | "exports": { |
13 | 13 | ".": "./src/mod.ts", |
14 | 14 | "./runtime": "./src/runtime/shared.ts", |
15 | 15 | "./dev": "./src/dev/mod.ts", |
16 | | - "./compat": "./src/compat/mod.ts" |
| 16 | + "./compat": "./src/compat.ts" |
17 | 17 | }, |
18 | 18 | "tasks": { |
19 | | - "test": "deno test -A --parallel src/ init/ update/ && deno test -A tests/ www/main_test.ts", |
| 19 | + "test": "deno test -A --parallel", |
20 | 20 | "fixture": "deno run -A --watch=static/,routes/ tests/fixture/dev.ts", |
21 | 21 | "www": "deno task --cwd=www start", |
22 | 22 | "build-www": "deno task --cwd=www build", |
23 | 23 | "screenshot": "deno run -A www/utils/screenshot.ts", |
24 | | - "check:types": "deno check src/**/*.ts src/**/*.tsx tests/**/*.ts tests/**/*.tsx update/**/*.ts plugin-tailwindcss/**/*.ts init/**/*.ts", |
| 24 | + "check:types": "deno check --allow-import", |
25 | 25 | "check:docs": "deno run -A tools/check_docs.ts", |
26 | 26 | "ok": "deno fmt --check && deno lint && deno task check:types && deno task test", |
27 | 27 | "test:www": "deno test -A www/main_test.*", |
|
42 | 42 | }, |
43 | 43 | "imports": { |
44 | 44 | "@deno/doc": "jsr:@deno/doc@^0.172.0", |
| 45 | + "@std/cli": "jsr:@std/cli@^1.0.17", |
45 | 46 | "@std/collections": "jsr:@std/collections@^1.0.11", |
46 | 47 | "@std/http": "jsr:@std/http@^1.0.15", |
47 | | - "fresh": "jsr:@fresh/core@^2.0.0-alpha.26", |
48 | | - "preact": "npm:preact@^10.25.1", |
| 48 | + "fresh": "jsr:@fresh/core@^2.0.0-alpha.29", |
| 49 | + "preact": "npm:preact@^10.26.6", |
49 | 50 | "preact-render-to-string": "npm:preact-render-to-string@^6.5.11", |
50 | 51 | "$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts", |
51 | 52 | "@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.11.0", |
52 | 53 | "@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0", |
53 | | - "@preact/signals": "npm:@preact/signals@^1.2.3", |
54 | | - "esbuild": "npm:esbuild@0.23.1", |
55 | | - "esbuild-wasm": "npm:esbuild-wasm@0.23.1", |
| 54 | + "@preact/signals": "npm:@preact/signals@^2.0.4", |
| 55 | + "esbuild": "npm:esbuild@0.25.4", |
| 56 | + "esbuild-wasm": "npm:esbuild-wasm@0.25.4", |
56 | 57 | "@std/crypto": "jsr:@std/crypto@1", |
57 | 58 | "@std/datetime": "jsr:@std/datetime@^0.225.2", |
58 | 59 | "@std/encoding": "jsr:@std/encoding@1", |
59 | | - "@std/fmt": "jsr:@std/fmt@1", |
| 60 | + "@std/fmt": "jsr:@std/fmt@^1.0.7", |
60 | 61 | "@std/fs": "jsr:@std/fs@1", |
61 | 62 | "@std/html": "jsr:@std/html@1", |
62 | 63 | "@std/jsonc": "jsr:@std/jsonc@1", |
|
67 | 68 |
|
68 | 69 | "@astral/astral": "jsr:@astral/astral@^0.5.2", |
69 | 70 | "@marvinh-test/fresh-island": "jsr:@marvinh-test/fresh-island@^0.0.1", |
70 | | - "linkedom": "npm:linkedom@^0.16.11", |
71 | | - "@std/async": "jsr:@std/async@1", |
72 | | - "@std/expect": "jsr:@std/expect@1", |
73 | | - "@std/testing": "jsr:@std/testing@1" |
| 71 | + "linkedom": "npm:linkedom@^0.18.10", |
| 72 | + "@std/async": "jsr:@std/async@^1.0.13", |
| 73 | + "@std/expect": "jsr:@std/expect@^1.0.16", |
| 74 | + "@std/testing": "jsr:@std/testing@^1.0.12", |
| 75 | + |
| 76 | + "autoprefixer": "npm:autoprefixer@10.4.17", |
| 77 | + "cssnano": "npm:cssnano@6.0.3", |
| 78 | + "postcss": "npm:postcss@8.4.35", |
| 79 | + "tailwindcss": "npm:tailwindcss@^3.4.1", |
| 80 | + |
| 81 | + "ts-morph": "npm:ts-morph@^25.0.1", |
| 82 | + |
| 83 | + "@fresh/plugin-tailwind": "jsr:@fresh/plugin-tailwind@^0.0.1-alpha.7", |
| 84 | + "@std/front-matter": "jsr:@std/front-matter@^1.0.5", |
| 85 | + "fresh/compat": "./src/compat/mod.ts", |
| 86 | + "fresh/dev": "./src/dev/mod.ts", |
| 87 | + "fresh/runtime": "./src/runtime/shared.ts", |
| 88 | + "github-slugger": "npm:github-slugger@^2.0.0", |
| 89 | + "marked": "npm:marked@^15.0.11", |
| 90 | + "marked-mangle": "npm:marked-mangle@^1.1.9", |
| 91 | + "prismjs": "npm:prismjs@^1.29.0" |
74 | 92 | }, |
75 | 93 | "compilerOptions": { |
76 | 94 | "lib": ["dom", "dom.asynciterable", "deno.ns", "deno.unstable"], |
|
80 | 98 | }, |
81 | 99 | "lint": { |
82 | 100 | "rules": { |
| 101 | + "tags": ["recommended", "fresh", "jsr", "jsx", "react"], |
83 | 102 | "exclude": ["no-window"], |
84 | 103 | "include": ["no-console"] |
85 | 104 | } |
|
0 commit comments