🔧 chore: switch package tooling to Bun

This commit is contained in:
2026-07-01 12:33:32 +07:00
parent 22dc5d8b5f
commit 3cf1571070
6 changed files with 182 additions and 812 deletions
+25 -25
View File
@@ -1,27 +1,27 @@
{
"devDependencies": {
"@types/node": "^17.0.21",
"@types/validator": "^13.7.1",
"copyfiles": "^2.4.1",
"ts-node-dev": "^1.1.8",
"typescript": "^4.6.2"
},
"scripts": {
"tsc": "tsc",
"development": "ts-node-dev ./src/index.ts --respawn --transpileOnly",
"build": "tsc -b && copyfiles -u 1 configs_example/**/*.* dist/configs_example/",
"docker-build": "docker build . -t ghcr.io/yuzuzensai/cloudflare-ddns-updater:latest"
},
"name": "cloudflare-ddns-updater",
"version": "1.0.0",
"main": "index.js",
"repository": "https://github.com/YuzuZensai/Cloudflare-DDNS-Updater.git",
"author": "Yuzu <yuzu@kirameki.cafe>",
"license": "GPL-3.0",
"dependencies": {
"axios": "^0.26.0",
"dotenv": "^16.0.0",
"validator": "^13.7.0",
"winston": "3.3.3"
}
"name": "cloudflare-ddns-updater",
"version": "1.0.0",
"packageManager": "bun@1.3.14",
"main": "index.js",
"repository": "https://github.com/YuzuZensai/Cloudflare-DDNS-Updater.git",
"author": "Yuzu <yuzu@kirameki.cafe>",
"license": "GPL-3.0",
"dependencies": {
"axios": "^1.18.1",
"dotenv": "^17.4.2",
"validator": "^13.15.35",
"winston": "3.19.0"
},
"devDependencies": {
"@types/node": "^26.0.1",
"@types/validator": "^13.15.10",
"typescript": "^6.0.3"
},
"scripts": {
"typecheck": "tsc --noEmit",
"dev": "bun --watch src/index.ts",
"start": "bun src/index.ts",
"build": "bun run typecheck",
"docker-build": "docker build . -t ghcr.io/yuzuzensai/cloudflare-ddns-updater:latest"
}
}