major: import Fresh 2.0 code (#2449)

🎉
This commit is contained in:
Marvin Hagemeister
2024-05-24 09:40:08 +02:00
committed by GitHub
parent 990357629e
commit 287929e4d2
958 changed files with 15794 additions and 28287 deletions
+28 -10
View File
@@ -7,22 +7,40 @@
"preview": "deno run -A main.ts"
},
"imports": {
"$fresh/": "../",
"preact": "https://esm.sh/preact@10.22.0",
"preact/": "https://esm.sh/preact@10.22.0/",
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
"@preact/signals-core": "https://esm.sh/@preact/signals-core@1.5.1",
"$prism": "https://esm.sh/prismjs@1.29.0",
"$prism/": "https://esm.sh/prismjs@1.29.0/",
"$std/": "https://deno.land/std@0.216.0/",
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
"$marked-mangle": "https://esm.sh/marked-mangle@1.1.7",
"$std/": "https://deno.land/std@0.216.0/",
"@fresh/core": "../src/mod.ts",
"@fresh/core/client": "../src/runtime/client/mod.tsx",
"@fresh/core/client-dev": "../src/runtime/client/dev.ts",
"@fresh/core/dev": "../src/dev/mod.ts",
"@fresh/core/runtime": "../src/runtime/shared.ts",
"@fresh/plugin-tailwind": "../plugin-tailwindcss/src/mod.ts",
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.10.3",
"@preact/signals": "npm:@preact/signals@^1.2.3",
"@std/crypto": "jsr:@std/crypto",
"@std/datetime": "jsr:@std/datetime@^0.224.0",
"@std/encoding": "jsr:@std/encoding",
"@std/fmt": "jsr:@std/fmt",
"@std/fs": "jsr:@std/fs",
"@std/html": "jsr:@std/html@^0.224.0",
"@std/jsonc": "jsr:@std/jsonc@^0.221.0",
"@std/media-types": "jsr:@std/media-types@^0.221.0",
"@std/path": "jsr:@std/path",
"@std/semver": "jsr:@std/semver@^0.224.0",
"autoprefixer": "npm:autoprefixer@10.4.17",
"cssnano": "npm:cssnano@6.0.3",
"esbuild": "npm:esbuild@0.20.2",
"esbuild-wasm": "npm:esbuild-wasm@0.20.2",
"postcss": "npm:postcss@8.4.35",
"preact": "npm:preact@^10.22.0",
"preact-render-to-string": "npm:preact-render-to-string@^6.4.2",
"tailwindcss": "npm:tailwindcss@3.4.1",
"tailwindcss/": "npm:/tailwindcss@3.4.1/",
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js"
},
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
"jsxImportSource": "preact",
"jsxPrecompileSkipElements": ["a", "img", "source", "body", "html", "head"]
}
}