Skip to content

Commit 3776ef3

Browse files
authored
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
1 parent 3900aa7 commit 3776ef3

6 files changed

Lines changed: 60 additions & 245 deletions

File tree

deno.json

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@
4242
},
4343
"imports": {
4444
"@deno/doc": "jsr:@deno/doc@^0.172.0",
45+
"@std/cli": "jsr:@std/cli@^1.0.17",
4546
"@std/collections": "jsr:@std/collections@^1.0.11",
4647
"@std/http": "jsr:@std/http@^1.0.15",
47-
"fresh": "jsr:@fresh/core@^2.0.0-alpha.26",
48+
"fresh": "jsr:@fresh/core@^2.0.0-alpha.29",
4849
"preact": "npm:preact@^10.26.6",
4950
"preact-render-to-string": "npm:preact-render-to-string@^6.5.11",
5051
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
@@ -56,7 +57,7 @@
5657
"@std/crypto": "jsr:@std/crypto@1",
5758
"@std/datetime": "jsr:@std/datetime@^0.225.2",
5859
"@std/encoding": "jsr:@std/encoding@1",
59-
"@std/fmt": "jsr:@std/fmt@1",
60+
"@std/fmt": "jsr:@std/fmt@^1.0.7",
6061
"@std/fs": "jsr:@std/fs@1",
6162
"@std/html": "jsr:@std/html@1",
6263
"@std/jsonc": "jsr:@std/jsonc@1",
@@ -70,7 +71,24 @@
7071
"linkedom": "npm:linkedom@^0.16.11",
7172
"@std/async": "jsr:@std/async@1",
7273
"@std/expect": "jsr:@std/expect@1",
73-
"@std/testing": "jsr:@std/testing@1"
74+
"@std/testing": "jsr:@std/testing@1",
75+
76+
"autoprefixer": "npm:autoprefixer@10.4.17",
77+
"cssnano": "npm:cssnano@6.0.3",
78+
"postcss": "npm:postcss@8.4.35",
79+
"tailwindcss": "npm:tailwindcss@^3.4.1",
80+
81+
"ts-morph": "npm:ts-morph@^22.0.0",
82+
83+
"@fresh/plugin-tailwind": "jsr:@fresh/plugin-tailwind@^0.0.1-alpha.7",
84+
"@std/front-matter": "jsr:@std/front-matter@^1.0.5",
85+
"fresh/compat": "./src/compat/mod.ts",
86+
"fresh/dev": "./src/dev/mod.ts",
87+
"fresh/runtime": "./src/runtime/shared.ts",
88+
"github-slugger": "npm:github-slugger@^2.0.0",
89+
"marked": "npm:marked@^14.1.2",
90+
"marked-mangle": "npm:marked-mangle@^1.1.9",
91+
"prismjs": "npm:prismjs@^1.29.0"
7492
},
7593
"compilerOptions": {
7694
"lib": ["dom", "dom.asynciterable", "deno.ns", "deno.unstable"],

0 commit comments

Comments
 (0)