This basically uses the same fix as #1377 and #1323 for the init script. Before: <img width="505" alt="Screenshot 2023-07-12 at 22 18 29" src="https://github.com/denoland/fresh/assets/1062408/e77c3110-d3e2-479e-8381-c67c39e216fa"> After: <img width="446" alt="Screenshot 2023-07-12 at 22 18 38" src="https://github.com/denoland/fresh/assets/1062408/debda939-bdce-4890-8dfb-265a4e1b8328">
23 lines
844 B
TypeScript
23 lines
844 B
TypeScript
// -- std --
|
|
export {
|
|
dirname,
|
|
extname,
|
|
fromFileUrl,
|
|
join,
|
|
toFileUrl,
|
|
} from "https://deno.land/std@0.193.0/path/mod.ts";
|
|
export { walk } from "https://deno.land/std@0.193.0/fs/walk.ts";
|
|
export * as colors from "https://deno.land/std@0.193.0/fmt/colors.ts";
|
|
export {
|
|
type Handler as ServeHandler,
|
|
serve,
|
|
} from "https://deno.land/std@0.193.0/http/server.ts";
|
|
export type { ServeInit } from "https://deno.land/std@0.193.0/http/server.ts";
|
|
export { Status } from "https://deno.land/std@0.193.0/http/http_status.ts";
|
|
export {
|
|
typeByExtension,
|
|
} from "https://deno.land/std@0.193.0/media_types/mod.ts";
|
|
export { toHashString } from "https://deno.land/std@0.193.0/crypto/to_hash_string.ts";
|
|
export { escape } from "https://deno.land/std@0.193.0/regexp/escape.ts";
|
|
export * as JSONC from "https://deno.land/std@0.193.0/jsonc/mod.ts";
|