feat: 开源母线电容计算器并接入独立自动部署

整理 Buck 与 PMSM 完整源码、离线构建、校核测试和使用说明,采用 MIT 许可。
增加页首开源链接,支持推送 main 后自动测试、构建并发布到原计算器网址。
This commit is contained in:
2026-11-27 04:38:28 +08:00
commit 73ab36f7ff
75 changed files with 8300 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
{
"name": "bus-capacitor-calculator",
"version": "1.0.0",
"description": "Buck and PMSM bus capacitor, impedance and ripple calculators",
"license": "MIT",
"author": "Ggodname",
"engines": { "node": ">=22" },
"scripts": {
"build": "node scripts/build.cjs",
"test": "node scripts/test.cjs",
"start": "node scripts/serve.cjs"
},
"repository": {
"type": "git",
"url": "https://git.ggodname.top/Ggodname/bus-capacitor-calculator.git"
},
"homepage": "https://blog.ggodname.top/tools/impedance-calculators.html"
}