* fix(ci): run on all PRs with conditional skip - Remove paths filter from pull_request trigger - Add check-changes job to detect code changes - Skip full CI if no code files changed - Satisfies branch protection while avoiding unnecessary builds * fix: add private:true to packages not meant for npm Prevents changesets from trying to publish internal packages: - engine/* (8 packages) - rendering/* (8 packages) - physics/* (2 packages) - streaming/* (1 package) - tools/sdk, tools/worker-generator
@esengine/platform-common
平台通用接口定义包,定义了所有平台子系统的接口规范。
安装
npm install @esengine/platform-common
用途
此包仅包含 TypeScript 接口定义,供各平台适配器包实现:
@esengine/platform-wechat- 微信小游戏@esengine/platform-web- Web 浏览器@esengine/platform-bytedance- 抖音小游戏
接口列表
Canvas/渲染
IPlatformCanvasSubsystemIPlatformCanvasIPlatformImage
音频
IPlatformAudioSubsystemIPlatformAudioContext
存储
IPlatformStorageSubsystem
网络
IPlatformNetworkSubsystemIPlatformWebSocket
输入
IPlatformInputSubsystem
文件系统
IPlatformFileSubsystem
WASM
IPlatformWASMSubsystem
License
MIT