chore: remove Windows ARM64 build support and add npm publish scripts

- Add publish-npm and publish-npm:dry-run scripts to root package.json (forwarding to cli)
- Remove Windows ARM64 (bun-windows-arm64) from DEFAULT_TARGETS in build-executable.ts
- Remove Windows ARM64 check from getPlatformDir in build-executable.ts
- Remove HAPI_TARGET_WIN32_ARM64 from bunBundle.d.ts type definitions
- Remove Windows ARM64 check from embeddedAssets.bun.ts
This commit is contained in:
weishu
2025-12-24 18:51:49 +08:00
parent c47316d173
commit 31dfaebc85
5 changed files with 10 additions and 17 deletions
+5 -5
View File
@@ -25,11 +25,11 @@
}
},
"optionalDependencies": {
"@twsxtd/hapi-darwin-arm64": "0.0.0-placeholder",
"@twsxtd/hapi-darwin-x64": "0.0.0-placeholder",
"@twsxtd/hapi-linux-arm64": "0.0.0-placeholder",
"@twsxtd/hapi-linux-x64": "0.0.0-placeholder",
"@twsxtd/hapi-win32-x64": "0.0.0-placeholder"
"@twsxtd/hapi-darwin-arm64": "0.1.0",
"@twsxtd/hapi-darwin-x64": "0.1.0",
"@twsxtd/hapi-linux-arm64": "0.1.0",
"@twsxtd/hapi-linux-x64": "0.1.0",
"@twsxtd/hapi-win32-x64": "0.1.0"
},
"scripts": {
"typecheck": "tsc --noEmit",