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

17
ts_client/plugins.ts Normal file
View File

@ -0,0 +1,17 @@
import * as smartenv from '@push.rocks/smartenv';
const smartenvInstance = new smartenv.Smartenv();
// node native scope
import type dnsType from 'dns';
const dns: typeof dnsType = await smartenvInstance.getSafeNodeModule('dns');
export { dns };
// pushrocks scope
import * as smartdelay from '@push.rocks/smartdelay';
import * as smartpromise from '@push.rocks/smartpromise';
export { smartdelay, smartenv, smartpromise };
import * as tsclass from '@tsclass/tsclass';
export { tsclass };