package: migrate to ES modules

This commit is contained in:
2024-07-16 21:20:46 +08:00
parent 67728beefe
commit bac9f8be6d
13 changed files with 30 additions and 24 deletions

View File

@@ -4,10 +4,9 @@ import { promisify } from "util";
import { ChildProcessByStdio } from 'child_process';
import { Readable, Writable } from 'stream';
import { createInterface } from 'readline';
import { projectRoot } from 'lyc/environment';
import { SPECBenchData, benchpath, buildpath, exepath } from './benchData';
import { projectRoot } from '../environment/index.js';
import { SPECBenchData, benchpath, exepath, buildpath } from './benchData.js';
export{ pop2 } from './pop2';
export function getEnvironment(specdir: string): NodeJS.ProcessEnv {