chore: remove $std alias (#2548)

This commit is contained in:
Marvin Hagemeister
2024-06-26 11:21:11 +02:00
committed by GitHub
parent 72811da29b
commit a79e797245
5 changed files with 18 additions and 21 deletions
+6 -6
View File
@@ -9,11 +9,6 @@
"imports": {
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
"$marked-mangle": "https://esm.sh/marked-mangle@1.1.7",
"$std/": "https://deno.land/std@0.216.0/",
"fresh": "../src/mod.ts",
"fresh/dev": "../src/dev/mod.ts",
"fresh/runtime": "../src/runtime/shared.ts",
"fresh/compat": "../src/compat/mod.ts",
"@fresh/plugin-tailwind": "../plugin-tailwindcss/src/mod.ts",
"@luca/esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.10.3",
"@preact/signals": "npm:@preact/signals@^1.2.3",
@@ -21,8 +16,9 @@
"@std/datetime": "jsr:@std/datetime@^0.224.0",
"@std/encoding": "jsr:@std/encoding",
"@std/fmt": "jsr:@std/fmt",
"@std/front-matter": "jsr:@std/front-matter@^0.224.2",
"@std/fs": "jsr:@std/fs",
"@std/html": "jsr:@std/html@^0.224.0",
"@std/html": "jsr:@std/html@^0.224.2",
"@std/jsonc": "jsr:@std/jsonc@^0.221.0",
"@std/media-types": "jsr:@std/media-types@^0.221.0",
"@std/path": "jsr:@std/path",
@@ -31,6 +27,10 @@
"cssnano": "npm:cssnano@6.0.3",
"esbuild": "npm:esbuild@0.20.2",
"esbuild-wasm": "npm:esbuild-wasm@0.20.2",
"fresh": "../src/mod.ts",
"fresh/compat": "../src/compat/mod.ts",
"fresh/dev": "../src/dev/mod.ts",
"fresh/runtime": "../src/runtime/shared.ts",
"postcss": "npm:postcss@8.4.35",
"preact": "npm:preact@^10.22.0",
"preact-render-to-string": "npm:preact-render-to-string@^6.4.2",
+2 -2
View File
@@ -1,7 +1,7 @@
import type { RouteConfig } from "fresh";
import { format, parse } from "$std/semver/mod.ts";
import { format, parse } from "@std/semver";
import VERSIONS from "../../versions.json" with { type: "json" };
import { extname } from "$std/path/mod.ts";
import { extname } from "@std/path";
import { define } from "../utils/state.ts";
const BASE_URL = "https://raw.githubusercontent.com/denoland/fresh/";
+2 -2
View File
@@ -7,10 +7,10 @@ import "https://esm.sh/prismjs@1.29.0/components/prism-json.js?no-check";
import "https://esm.sh/prismjs@1.29.0/components/prism-bash.js?no-check";
import "https://esm.sh/prismjs@1.29.0/components/prism-yaml.js?no-check";
export { extract as frontMatter } from "$std/front_matter/yaml.ts";
export { extractYaml as frontMatter } from "@std/front-matter";
import * as Marked from "https://esm.sh/marked@7.0.2";
import { escape as escapeHtml } from "$std/html/entities.ts";
import { escape as escapeHtml } from "@std/html";
import { mangle } from "$marked-mangle";
Marked.marked.use(mangle());