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 -8
View File
@@ -2,9 +2,7 @@
"name": "@fresh/init",
"version": "2.0.0-alpha.34",
"license": "MIT",
"exports": {
".": "./src/mod.ts"
},
"exports": "./src/mod.ts",
"exclude": ["**/tmp/*"],
"publish": {
"include": [
@@ -13,10 +11,5 @@
"README.md"
],
"exclude": ["**/*_test.*", "*.todo"]
},
"imports": {
"@std/cli": "jsr:@std/cli@1",
"@std/fmt": "jsr:@std/fmt@1",
"@std/path": "jsr:@std/path@1"
}
}