refactor: centralise imports and cleanup exports (#2900)

The benefits of these changes are:
1. Managing and updating dependencies is easier. One only needs to run
`deno outdated` at the root, instead of in each workspace.
2. The versions of dependencies across workspaces is kept consistent.

Closes #2788
This commit is contained in:
Asher Gomez
2025-05-19 09:41:06 +02:00
committed by GitHub
parent 3900aa70d4
commit 3776ef3154
6 changed files with 60 additions and 245 deletions
+1 -11
View File
@@ -2,15 +2,5 @@
"name": "@fresh/plugin-tailwind",
"version": "0.0.1-alpha.7",
"license": "MIT",
"exports": {
".": "./src/mod.ts"
},
"imports": {
"fresh": "jsr:@fresh/core@^2.0.0-alpha.22",
"@std/path": "jsr:@std/path@1",
"autoprefixer": "npm:autoprefixer@10.4.17",
"cssnano": "npm:cssnano@6.0.3",
"postcss": "npm:postcss@8.4.35",
"tailwindcss": "npm:tailwindcss@^3.4.1"
}
"exports": "./src/mod.ts"
}