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:
+1
-8
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user