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

@@ -45,7 +45,7 @@
"@esengine/platform-common": "workspace:*"
},
"devDependencies": {
"@esengine/esengine": "workspace:*",
"@esengine/ecs-framework": "workspace:*",
"@esengine/engine-core": "workspace:*",
"@esengine/editor-core": "workspace:*",
"@esengine/build-config": "workspace:*",

View File

@@ -16,7 +16,7 @@
}
],
"dependencies": [
"@esengine/esengine",
"@esengine/ecs-framework",
"@esengine/ecs-components"
]
}

View File

@@ -6,7 +6,7 @@
* 用于编辑器中的组件序列化/反序列化
*/
import { ComponentRegistry } from '@esengine/esengine';
import { ComponentRegistry } from '@esengine/ecs-framework';
import type { IRuntimeModule } from '@esengine/engine-core';
// Components (no WASM dependency)

View File

@@ -4,8 +4,8 @@
* 提供 Rapier2D 物理引擎的 ECS 集成
*/
import type { IScene, ServiceContainer } from '@esengine/esengine';
import { ComponentRegistry } from '@esengine/esengine';
import type { IScene, ServiceContainer } from '@esengine/ecs-framework';
import { ComponentRegistry } from '@esengine/ecs-framework';
import type { IRuntimeModule, IPlugin, ModuleManifest, SystemContext } from '@esengine/engine-core';
import { WasmLibraryLoaderFactory } from '@esengine/platform-common';
import type * as RAPIER from '@esengine/rapier2d';

View File

@@ -3,7 +3,7 @@
* 2D 矩形碰撞体组件
*/
import { Property, Serialize, Serializable, ECSComponent } from '@esengine/esengine';
import { Property, Serialize, Serializable, ECSComponent } from '@esengine/ecs-framework';
import { Collider2DBase } from './Collider2DBase';
import type { Vector2 } from '../types/Physics2DTypes';

View File

@@ -3,7 +3,7 @@
* 2D 胶囊碰撞体组件
*/
import { Property, Serialize, Serializable, ECSComponent } from '@esengine/esengine';
import { Property, Serialize, Serializable, ECSComponent } from '@esengine/ecs-framework';
import { Collider2DBase } from './Collider2DBase';
import type { Vector2 } from '../types/Physics2DTypes';

View File

@@ -3,7 +3,7 @@
* 2D 圆形碰撞体组件
*/
import { Property, Serialize, Serializable, ECSComponent } from '@esengine/esengine';
import { Property, Serialize, Serializable, ECSComponent } from '@esengine/ecs-framework';
import { Collider2DBase } from './Collider2DBase';
import type { Vector2 } from '../types/Physics2DTypes';

View File

@@ -3,7 +3,7 @@
* 2D 碰撞体基类组件
*/
import { Component, Property, Serialize } from '@esengine/esengine';
import { Component, Property, Serialize } from '@esengine/ecs-framework';
import { CollisionLayer2D } from '../types/Physics2DTypes';
import type { Vector2 } from '../types/Physics2DTypes';

View File

@@ -3,7 +3,7 @@
* 2D 多边形碰撞体组件
*/
import { Serialize, Serializable, ECSComponent } from '@esengine/esengine';
import { Serialize, Serializable, ECSComponent } from '@esengine/ecs-framework';
import { Collider2DBase } from './Collider2DBase';
import type { Vector2 } from '../types/Physics2DTypes';

View File

@@ -3,7 +3,7 @@
* 2D 刚体组件
*/
import { Component, Property, Serialize, Serializable, ECSComponent } from '@esengine/esengine';
import { Component, Property, Serialize, Serializable, ECSComponent } from '@esengine/ecs-framework';
import { RigidbodyType2D, CollisionDetectionMode2D } from '../types/Physics2DTypes';
import type { Vector2 } from '../types/Physics2DTypes';

View File

@@ -5,7 +5,7 @@
* 提供全局物理配置和实用方法
*/
import type { IService } from '@esengine/esengine';
import type { IService } from '@esengine/ecs-framework';
import type { Vector2, Physics2DConfig, RaycastHit2D, OverlapResult2D } from '../types/Physics2DTypes';
import { DEFAULT_PHYSICS_CONFIG, CollisionLayer2D } from '../types/Physics2DTypes';
import type { Physics2DSystem } from '../systems/Physics2DSystem';

View File

@@ -5,7 +5,7 @@
* 负责更新物理世界并同步 Transform
*/
import { EntitySystem, Matcher, type Entity } from '@esengine/esengine';
import { EntitySystem, Matcher, type Entity } from '@esengine/ecs-framework';
import { TransformComponent } from '@esengine/engine-core';
import { Physics2DWorld } from '../world/Physics2DWorld';
import { Rigidbody2DComponent } from '../components/Rigidbody2DComponent';