mirror of
https://github.com/wu736139669/hapi.git
synced 2026-10-24 22:10:59 +00:00
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:
@@ -85,10 +85,6 @@ async function selectEmbeddedAssets(): Promise<EmbeddedAsset[]> {
|
||||
];
|
||||
}
|
||||
|
||||
if (feature('HAPI_TARGET_WIN32_ARM64')) {
|
||||
throw new Error('Windows arm64 archives are missing; add arm64 tool archives before building.');
|
||||
}
|
||||
|
||||
throw new Error('No build target feature flag set. Build with --feature=HAPI_TARGET_*.');
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-2
@@ -5,8 +5,7 @@ declare module 'bun:bundle' {
|
||||
| 'HAPI_TARGET_DARWIN_X64'
|
||||
| 'HAPI_TARGET_LINUX_ARM64'
|
||||
| 'HAPI_TARGET_LINUX_X64'
|
||||
| 'HAPI_TARGET_WIN32_X64'
|
||||
| 'HAPI_TARGET_WIN32_ARM64';
|
||||
| 'HAPI_TARGET_WIN32_X64';
|
||||
}
|
||||
|
||||
export function feature(name: Registry['features']): boolean;
|
||||
|
||||
Reference in New Issue
Block a user