mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 03:48:56 +00:00
import everything from "bun" where possible
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const bun = @import("../global.zig");
|
||||
const bun = @import("bun");
|
||||
const string = bun.string;
|
||||
const Output = bun.Output;
|
||||
const Global = bun.Global;
|
||||
@@ -11,7 +11,7 @@ const C = bun.C;
|
||||
const std = @import("std");
|
||||
|
||||
const lex = @import("../js_lexer.zig");
|
||||
const logger = @import("../logger.zig");
|
||||
const logger = @import("bun").logger;
|
||||
|
||||
const FileSystem = @import("../fs.zig").FileSystem;
|
||||
const PathName = @import("../fs.zig").PathName;
|
||||
@@ -21,7 +21,7 @@ const json_parser = @import("../json_parser.zig");
|
||||
const js_printer = @import("../js_printer.zig");
|
||||
const js_ast = @import("../js_ast.zig");
|
||||
const linker = @import("../linker.zig");
|
||||
const panicky = @import("../panic_handler.zig");
|
||||
|
||||
const sync = @import("../sync.zig");
|
||||
const Api = @import("../api/schema.zig").Api;
|
||||
const resolve_path = @import("../resolver/resolve_path.zig");
|
||||
@@ -36,14 +36,14 @@ var path_buf: [bun.MAX_PATH_BYTES]u8 = undefined;
|
||||
var path_buf2: [bun.MAX_PATH_BYTES]u8 = undefined;
|
||||
const PathString = bun.PathString;
|
||||
const is_bindgen = std.meta.globalOption("bindgen", bool) orelse false;
|
||||
const HTTPThread = @import("http").HTTPThread;
|
||||
const HTTPThread = @import("bun").HTTP.HTTPThread;
|
||||
|
||||
const JSC = @import("javascript_core");
|
||||
const JSC = @import("bun").JSC;
|
||||
const Jest = JSC.Jest;
|
||||
const TestRunner = JSC.Jest.TestRunner;
|
||||
const Test = TestRunner.Test;
|
||||
const NetworkThread = @import("http").NetworkThread;
|
||||
const uws = @import("uws");
|
||||
const NetworkThread = @import("bun").HTTP.NetworkThread;
|
||||
const uws = @import("bun").uws;
|
||||
pub const CommandLineReporter = struct {
|
||||
jest: TestRunner,
|
||||
callback: TestRunner.Callback,
|
||||
|
||||
Reference in New Issue
Block a user