|
1 | 1 | { |
2 | | - "workspace": [ |
3 | | - "./examples", |
4 | | - "./init", |
5 | | - "./plugin-tailwindcss", |
6 | | - "./update", |
7 | | - "./www" |
8 | | - ], |
9 | | - "name": "@unabbreviated-fresh/core", |
10 | | - "version": "2.0.0-alpha.29", |
11 | | - "license": "MIT", |
12 | | - "exports": { |
13 | | - ".": "./src/mod.ts", |
14 | | - "./runtime": "./src/runtime/shared.ts", |
15 | | - "./dev": "./src/dev/mod.ts", |
16 | | - "./compat": "./src/compat/mod.ts" |
17 | | - }, |
18 | | - "tasks": { |
19 | | - "test": "deno test -A --parallel src/ init/ update/ && deno test -A tests/ www/main_test.ts", |
20 | | - "fixture": "deno run -A --watch=static/,routes/ tests/fixture/dev.ts", |
21 | | - "www": "deno task --cwd=www start", |
22 | | - "build-www": "deno task --cwd=www build", |
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", |
25 | | - "ok": "deno fmt --check && deno lint && deno task check:types && deno task test", |
26 | | - "test:www": "deno test -A www/main_test.*", |
27 | | - "release": "deno run -A tools/release.ts" |
28 | | - }, |
29 | | - "exclude": ["**/_fresh/*", "**/tmp/*", "*/tests_OLD/**"], |
30 | | - "publish": { |
31 | | - "include": [ |
32 | | - "src/**", |
33 | | - "deno.json", |
34 | | - "README.md", |
35 | | - "LICENSE", |
36 | | - "www/static/fresh-badge.svg", |
37 | | - "www/static/fresh-badge-dark.svg", |
38 | | - "*.todo" |
39 | | - ], |
40 | | - "exclude": ["**/*_test.*", "src/__OLD/**", "*.todo"] |
41 | | - }, |
42 | | - "imports": { |
43 | | - "fresh": "jsr:@unabbreviated-fresh/core@^2.0.0-alpha.26", |
44 | | - "preact": "npm:preact@^10.25.1", |
45 | | - "preact-render-to-string": "npm:preact-render-to-string@^6.5.11", |
46 | | - "$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts", |
47 | | - "@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.11.0", |
48 | | - "@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0", |
49 | | - "@preact/signals": "npm:@preact/signals@^1.2.3", |
50 | | - "esbuild": "npm:esbuild@0.23.1", |
51 | | - "esbuild-wasm": "npm:esbuild-wasm@0.23.1", |
52 | | - "@std/crypto": "jsr:@std/crypto@1", |
53 | | - "@std/datetime": "jsr:@std/datetime@^0.225.2", |
54 | | - "@std/encoding": "jsr:@std/encoding@1", |
55 | | - "@std/fmt": "jsr:@std/fmt@1", |
56 | | - "@std/fs": "jsr:@std/fs@1", |
57 | | - "@std/html": "jsr:@std/html@1", |
58 | | - "@std/jsonc": "jsr:@std/jsonc@1", |
59 | | - "@std/media-types": "jsr:@std/media-types@1", |
60 | | - "@std/path": "jsr:@std/path@1", |
61 | | - "@std/semver": "jsr:@std/semver@1", |
62 | | - "@std/streams": "jsr:@std/streams@1", |
| 2 | + "workspace": [ |
| 3 | + "./examples", |
| 4 | + "./init", |
| 5 | + "./plugin-tailwindcss", |
| 6 | + "./update", |
| 7 | + "./www" |
| 8 | + ], |
| 9 | + "name": "@unabbreviated-fresh/core", |
| 10 | + "version": "2.0.0-alpha.34", |
| 11 | + "license": "MIT", |
| 12 | + "exports": { |
| 13 | + ".": "./src/mod.ts", |
| 14 | + "./runtime": "./src/runtime/shared.ts", |
| 15 | + "./dev": "./src/dev/mod.ts", |
| 16 | + "./compat": "./src/compat/mod.ts" |
| 17 | + }, |
| 18 | + "tasks": { |
| 19 | + "test": "deno test -A --parallel", |
| 20 | + "fixture": "deno run -A --watch=static/,routes/ tests/fixture/dev.ts", |
| 21 | + "www": "deno task --cwd=www start", |
| 22 | + "build-www": "deno task --cwd=www build", |
| 23 | + "screenshot": "deno run -A www/utils/screenshot.ts", |
| 24 | + "check:types": "deno check --allow-import", |
| 25 | + "check:docs": "deno run -A tools/check_docs.ts", |
| 26 | + "ok": "deno fmt --check && deno lint && deno task check:types && deno task test", |
| 27 | + "test:www": "deno test -A www/main_test.*", |
| 28 | + "release": "deno run -A tools/release.ts" |
| 29 | + }, |
| 30 | + "exclude": ["**/_fresh/*", "**/tmp/*", "*/tests_OLD/**"], |
| 31 | + "publish": { |
| 32 | + "include": [ |
| 33 | + "src/**", |
| 34 | + "deno.json", |
| 35 | + "README.md", |
| 36 | + "LICENSE", |
| 37 | + "www/static/fresh-badge.svg", |
| 38 | + "www/static/fresh-badge-dark.svg", |
| 39 | + "*.todo" |
| 40 | + ], |
| 41 | + "exclude": ["**/*_test.*", "src/__OLD/**", "*.todo"] |
| 42 | + }, |
| 43 | + "imports": { |
| 44 | + "@deno/doc": "jsr:@deno/doc@^0.172.0", |
| 45 | + "@std/collections": "jsr:@std/collections@^1.0.11", |
| 46 | + "@std/http": "jsr:@std/http@^1.0.15", |
| 47 | + "fresh": "jsr:@unabbreviated-fresh/core@^2.0.0-alpha.26", |
| 48 | + "preact": "npm:preact@^10.26.6", |
| 49 | + "preact-render-to-string": "npm:preact-render-to-string@^6.5.11", |
| 50 | + "$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts", |
| 51 | + "@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.11.0", |
| 52 | + "@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0", |
| 53 | + "@preact/signals": "npm:@preact/signals@^2.0.4", |
| 54 | + "esbuild": "npm:esbuild@0.23.1", |
| 55 | + "esbuild-wasm": "npm:esbuild-wasm@0.23.1", |
| 56 | + "@std/crypto": "jsr:@std/crypto@1", |
| 57 | + "@std/datetime": "jsr:@std/datetime@^0.225.2", |
| 58 | + "@std/encoding": "jsr:@std/encoding@1", |
| 59 | + "@std/fmt": "jsr:@std/fmt@1", |
| 60 | + "@std/fs": "jsr:@std/fs@1", |
| 61 | + "@std/html": "jsr:@std/html@1", |
| 62 | + "@std/jsonc": "jsr:@std/jsonc@1", |
| 63 | + "@std/media-types": "jsr:@std/media-types@1", |
| 64 | + "@std/path": "jsr:@std/path@1", |
| 65 | + "@std/semver": "jsr:@std/semver@1", |
| 66 | + "@std/streams": "jsr:@std/streams@1", |
63 | 67 |
|
64 | | - "@astral/astral": "jsr:@astral/astral@^0.4.6", |
65 | | - "@marvinh-test/fresh-island": "jsr:@marvinh-test/fresh-island@^0.0.1", |
66 | | - "linkedom": "npm:linkedom@^0.16.11", |
67 | | - "@std/async": "jsr:@std/async@1", |
68 | | - "@std/expect": "jsr:@std/expect@1", |
69 | | - "@std/testing": "jsr:@std/testing@1" |
70 | | - }, |
71 | | - "compilerOptions": { |
72 | | - "lib": ["dom", "dom.asynciterable", "deno.ns", "deno.unstable"], |
73 | | - "jsx": "precompile", |
74 | | - "jsxImportSource": "preact", |
75 | | - "jsxPrecompileSkipElements": [ |
76 | | - "a", |
77 | | - "img", |
78 | | - "source", |
79 | | - "body", |
80 | | - "html", |
81 | | - "head" |
82 | | - ] |
83 | | - }, |
84 | | - "lint": { |
85 | | - "rules": { |
86 | | - "exclude": ["no-window"], |
87 | | - "include": ["no-console"] |
88 | | - } |
89 | | - } |
| 68 | + "@astral/astral": "jsr:@astral/astral@^0.5.2", |
| 69 | + "@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" |
| 74 | + }, |
| 75 | + "compilerOptions": { |
| 76 | + "lib": ["dom", "dom.asynciterable", "deno.ns", "deno.unstable"], |
| 77 | + "jsx": "precompile", |
| 78 | + "jsxImportSource": "preact", |
| 79 | + "jsxPrecompileSkipElements": ["a", "img", "source", "body", "html", "head"] |
| 80 | + }, |
| 81 | + "lint": { |
| 82 | + "rules": { |
| 83 | + "tags": ["recommended", "fresh", "jsr", "jsx", "react"], |
| 84 | + "exclude": ["no-window"], |
| 85 | + "include": ["no-console"] |
| 86 | + } |
| 87 | + } |
90 | 88 | } |
0 commit comments