move to nodenext and simplify TS/ESM config
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
import {describe, expect, test} from 'vitest';
|
||||
import * as fs from 'fs';
|
||||
|
||||
import {Install} from '../../src/regclient/install';
|
||||
import {Install} from '../../src/regclient/install.js';
|
||||
|
||||
describe('download', () => {
|
||||
// prettier-ignore
|
||||
|
||||
@@ -20,9 +20,9 @@ import os from 'os';
|
||||
import path from 'path';
|
||||
import * as rimraf from 'rimraf';
|
||||
|
||||
import {mockArch, mockPlatform} from '../.helpers/os';
|
||||
import {mockArch, mockPlatform} from '../.helpers/os.js';
|
||||
|
||||
import {Install} from '../../src/regclient/install';
|
||||
import {Install} from '../../src/regclient/install.js';
|
||||
|
||||
const tmpDir = fs.mkdtempSync(path.join(process.env.TEMP || os.tmpdir(), 'regclient-install-'));
|
||||
|
||||
|
||||
@@ -17,10 +17,10 @@
|
||||
import {describe, expect, it, vi, test} from 'vitest';
|
||||
import * as semver from 'semver';
|
||||
|
||||
import {Exec} from '../../src/exec';
|
||||
import {Regctl} from '../../src/regclient/regctl';
|
||||
import {Exec} from '../../src/exec.js';
|
||||
import {Regctl} from '../../src/regclient/regctl.js';
|
||||
|
||||
import {Image} from '../../src/types/oci/config';
|
||||
import {Image} from '../../src/types/oci/config.js';
|
||||
|
||||
describe('manifestGet', () => {
|
||||
// prettier-ignore
|
||||
|
||||
Reference in New Issue
Block a user