fix: 恢复 @esengine/ecs-framework 包名

上一个提交错误地将 npm 包名也改了,这里恢复正确的包名。
只更新 GitHub 仓库 URL,不改变 npm 包名。
This commit is contained in:
yhh
2025-12-08 21:26:35 +08:00
parent 240b165970
commit ad96edfad0
334 changed files with 558 additions and 558 deletions

View File

@@ -20,7 +20,7 @@ import type {
PlatformWorker,
WorkerCreationOptions,
PlatformConfig
} from '@esengine/esengine';
} from '@esengine/ecs-framework';
/**
* 浏览器平台适配器
@@ -231,7 +231,7 @@ class BrowserWorker implements PlatformWorker {
### 2. 注册适配器
```typescript
import { PlatformManager } from '@esengine/esengine';
import { PlatformManager } from '@esengine/ecs-framework';
import { BrowserAdapter } from './platform/BrowserAdapter';
// 创建并注册浏览器适配器
@@ -246,7 +246,7 @@ PlatformManager.registerAdapter(browserAdapter);
浏览器适配器与 WorkerEntitySystem 配合使用,框架会自动处理 Worker 脚本的创建:
```typescript
import { WorkerEntitySystem, Matcher } from '@esengine/esengine';
import { WorkerEntitySystem, Matcher } from '@esengine/ecs-framework';
class PhysicsSystem extends WorkerEntitySystem {
constructor() {