BREAKING CHANGE(server/client): move from client only to server + client exports

This commit is contained in:
2024-06-02 15:34:19 +02:00
parent c56e732d6d
commit 7eb8a46c7c
12 changed files with 5468 additions and 3197 deletions

View File

@@ -3,11 +3,14 @@
"version": "5.0.4",
"private": false,
"description": "A TypeScript library for smart DNS methods, supporting various DNS records and providers.",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"exports": {
".": "./dist_ts_server/index.js",
"./server": "./dist_ts_server/index.js",
"./client": "./dist_ts_client/index.js"
},
"scripts": {
"test": "(tstest test/)",
"build": "(tsbuild --web --allowimplicitany)",
"build": "(tsbuild tsfolders --web --allowimplicitany)",
"buildDocs": "tsdoc"
},
"repository": {
@@ -31,19 +34,20 @@
},
"homepage": "https://code.foss.global/push.rocks/smartdns",
"dependencies": {
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartenv": "^5.0.2",
"@pushrocks/smartpromise": "^3.1.7",
"@pushrocks/smartrequest": "^2.0.11",
"@tsclass/tsclass": "^4.0.17",
"dns2": "^2.0.5"
"@push.rocks/smartdelay": "^3.0.1",
"@push.rocks/smartenv": "^5.0.5",
"@push.rocks/smartpromise": "^4.0.2",
"@push.rocks/smartrequest": "^2.0.15",
"@tsclass/tsclass": "^4.0.54",
"@types/dns-packet": "^5.6.5",
"dns-packet": "^5.6.1"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.63",
"@gitzone/tsrun": "^1.2.39",
"@gitzone/tstest": "^1.0.72",
"@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^18.15.11"
"@git.zone/tsbuild": "^2.1.66",
"@git.zone/tsrun": "^1.2.44",
"@git.zone/tstest": "^1.0.77",
"@push.rocks/tapbundle": "^5.0.8",
"@types/node": "^20.13.0"
},
"files": [
"ts/**/*",