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:
@@ -3,41 +3,5 @@
|
||||
"start": "deno run -A --watch=static/,routes/,../src,../docs dev.ts",
|
||||
"build": "deno run -A dev.ts build",
|
||||
"preview": "deno run -A main.ts"
|
||||
},
|
||||
"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.11.0",
|
||||
"@preact/signals": "npm:@preact/signals@^2.0.4",
|
||||
"@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",
|
||||
"@opentelemetry/api": "npm:@opentelemetry/api@^1.9.0",
|
||||
"astral": "jsr:@astral/astral",
|
||||
"autoprefixer": "npm:autoprefixer@10.4.17",
|
||||
"cssnano": "npm:cssnano@6.0.3",
|
||||
"esbuild": "npm:esbuild@0.23.1",
|
||||
"esbuild-wasm": "npm:esbuild-wasm@0.23.1",
|
||||
"fresh": "../src/mod.ts",
|
||||
"fresh/compat": "../src/compat/mod.ts",
|
||||
"fresh/dev": "../src/dev/mod.ts",
|
||||
"fresh/runtime": "../src/runtime/shared.ts",
|
||||
"github-slugger": "npm:github-slugger@^2.0.0",
|
||||
"imagescript": "https://deno.land/x/imagescript@1.3.0/mod.ts",
|
||||
"marked": "npm:marked@^14.1.2",
|
||||
"marked-mangle": "npm:marked-mangle@^1.1.9",
|
||||
"postcss": "npm:postcss@8.4.35",
|
||||
"preact": "npm:preact@^10.26.6",
|
||||
"preact-render-to-string": "npm:preact-render-to-string@^6.5.11",
|
||||
"prismjs": "npm:prismjs@^1.29.0",
|
||||
"tailwindcss": "npm:tailwindcss@^3.4.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user