feat: support fresh projects that are part of a workspace (#2716)

Also a performance improvement & bug fix in the tailwind plugin.

---------

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
Luca Casonato
2024-10-17 17:08:24 +02:00
committed by GitHub
co-authored by Marvin Hagemeister
parent bf43a0e90c
commit 407987589f
12 changed files with 249 additions and 874 deletions
+14 -15
View File
@@ -1,5 +1,4 @@
{
"nodeModulesDir": true,
"tasks": {
"start": "deno run -A --watch=static/,routes/,../src,../docs dev.ts",
"build": "deno run -A dev.ts build",
@@ -8,19 +7,19 @@
"imports": {
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
"@fresh/plugin-tailwind": "../plugin-tailwindcss/src/mod.ts",
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.10.3",
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.11.0",
"@preact/signals": "npm:@preact/signals@^1.3.0",
"@std/crypto": "jsr:@std/crypto",
"@std/datetime": "jsr:@std/datetime@^0.224.0",
"@std/encoding": "jsr:@std/encoding",
"@std/fmt": "jsr:@std/fmt",
"@std/front-matter": "jsr:@std/front-matter@^0.224.2",
"@std/fs": "jsr:@std/fs",
"@std/html": "jsr:@std/html@^0.224.2",
"@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",
"@std/crypto": "jsr:@std/crypto@1",
"@std/datetime": "jsr:@std/datetime@0.225.0",
"@std/encoding": "jsr:@std/encoding@1",
"@std/fmt": "jsr:@std/fmt@1",
"@std/front-matter": "jsr:@std/front-matter@^1.0.5",
"@std/fs": "jsr:@std/fs@1",
"@std/html": "jsr:@std/html@1",
"@std/jsonc": "jsr:@std/jsonc@1",
"@std/media-types": "jsr:@std/media-types@1",
"@std/path": "jsr:@std/path@1",
"@std/semver": "jsr:@std/semver@1",
"autoprefixer": "npm:autoprefixer@10.4.17",
"cssnano": "npm:cssnano@6.0.3",
"esbuild": "npm:esbuild@0.23.1",
@@ -36,8 +35,8 @@
"preact": "npm:preact@^10.24.1",
"preact-render-to-string": "npm:preact-render-to-string@^6.5.11",
"prismjs": "npm:prismjs@^1.29.0",
"tailwindcss": "npm:tailwindcss@3.4.1",
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js"
"tailwindcss": "npm:tailwindcss@^3.4.1",
"tailwindcss/plugin": "npm:/tailwindcss@^3.4.1/plugin.js"
},
"compilerOptions": {
"lib": ["dom", "dom.asynciterable", "deno.ns"],