chore: use @std prefix for internal module specifiers (#24543)

This change aims to replace all relative import specifiers targeted at
`tests/util/std` with mapped ones (using a `deno.json` file). Towards
updating the `std` git submodule.
This commit is contained in:
Asher Gomez 2024-07-25 10:26:54 +10:00 committed by GitHub
parent 795ed23b35
commit f248050cb4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
52 changed files with 96 additions and 81 deletions

View file

@ -5,12 +5,12 @@ import {
join,
resolve,
toFileUrl,
} from "../tests/util/std/path/mod.ts";
} from "@std/path/mod.ts";
import { wait } from "https://deno.land/x/wait@0.1.13/mod.ts";
export { dirname, fromFileUrl, join, resolve, toFileUrl };
export { existsSync, walk } from "../tests/util/std/fs/mod.ts";
export { TextLineStream } from "../tests/util/std/streams/text_line_stream.ts";
export { delay } from "../tests/util/std/async/delay.ts";
export { existsSync, walk } from "@std/fs/mod.ts";
export { TextLineStream } from "@std/streams/text_line_stream.ts";
export { delay } from "@std/async/delay.ts";
// [toolName] --version output
const versions = {