BREAKING CHANGE(core): Refactor module entry point and update plugin imports; remove deprecated dnsly.plugins, update dependency versions, and adjust test imports

This commit is contained in:
2025-05-27 11:31:12 +00:00
parent 34276f71ef
commit 24ed3bd238
12 changed files with 1217 additions and 2249 deletions

View File

@ -1,4 +1,4 @@
import { expect, tap } from '@push.rocks/tapbundle';
import { expect, tap } from '@git.zone/tstest/tapbundle';
import * as smartdns from '../ts_client/index.js';
@ -76,4 +76,4 @@ tap.test('should detect dns sec', async () => {
expect(result[0].dnsSecEnabled).toBeTrue();
});
tap.start();
export default tap.start();

View File

@ -1,6 +1,6 @@
import * as plugins from '../ts_server/plugins.js';
import { expect, tap } from '@push.rocks/tapbundle';
import { tapNodeTools } from '@push.rocks/tapbundle/node';
import { expect, tap } from '@git.zone/tstest/tapbundle';
import { tapNodeTools } from '@git.zone/tstest/tapbundle_node';
import { execSync } from 'child_process';
import * as dnsPacket from 'dns-packet';
@ -644,4 +644,4 @@ tap.test('should stop the server', async () => {
dnsServer = null;
});
await tap.start();
export default tap.start();