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

@@ -27,7 +27,7 @@
"clean": "rimraf dist"
},
"devDependencies": {
"@esengine/esengine": "workspace:*",
"@esengine/ecs-framework": "workspace:*",
"@esengine/engine-core": "workspace:*",
"@esengine/ecs-engine-bindgen": "workspace:*",
"@esengine/build-config": "workspace:*",

View File

@@ -1,4 +1,4 @@
import { Entity, Scene, HierarchySystem, HierarchyComponent } from '@esengine/esengine';
import { Entity, Scene, HierarchySystem, HierarchyComponent } from '@esengine/ecs-framework';
import { UITransformComponent, AnchorPreset } from './components/UITransformComponent';
import { UIRenderComponent, UIRenderType } from './components/UIRenderComponent';
import { UIInteractableComponent } from './components/UIInteractableComponent';

View File

@@ -1,5 +1,5 @@
import type { IScene } from '@esengine/esengine';
import { ComponentRegistry } from '@esengine/esengine';
import type { IScene } from '@esengine/ecs-framework';
import { ComponentRegistry } from '@esengine/ecs-framework';
import type { IRuntimeModule, IPlugin, ModuleManifest, SystemContext } from '@esengine/engine-core';
import { EngineBridgeToken } from '@esengine/ecs-engine-bindgen';

View File

@@ -1,4 +1,4 @@
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/esengine';
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/ecs-framework';
/**
* 缩放模式

View File

@@ -1,4 +1,4 @@
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/esengine';
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/ecs-framework';
/**
* 光标类型

View File

@@ -1,4 +1,4 @@
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/esengine';
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/ecs-framework';
/**
* 布局类型

View File

@@ -1,4 +1,4 @@
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/esengine';
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/ecs-framework';
/**
* 渲染类型

View File

@@ -1,4 +1,4 @@
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/esengine';
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/ecs-framework';
/**
* 安全区域边缘

View File

@@ -1,4 +1,4 @@
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/esengine';
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/ecs-framework';
/**
* 文本对齐方式

View File

@@ -1,4 +1,4 @@
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/esengine';
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/ecs-framework';
/**
* 锚点预设

View File

@@ -1,4 +1,4 @@
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/esengine';
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/ecs-framework';
/**
* 按钮状态样式

View File

@@ -1,4 +1,4 @@
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/esengine';
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/ecs-framework';
/**
* 进度条方向

View File

@@ -1,4 +1,4 @@
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/esengine';
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/ecs-framework';
/**
* 滚动条可见性

View File

@@ -1,4 +1,4 @@
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/esengine';
import { Component, ECSComponent, Property, Serializable, Serialize } from '@esengine/ecs-framework';
/**
* 滑块方向

View File

@@ -1,4 +1,4 @@
import { EntitySystem, Matcher, Entity, Time, ECSSystem } from '@esengine/esengine';
import { EntitySystem, Matcher, Entity, Time, ECSSystem } from '@esengine/ecs-framework';
import { UIProgressBarComponent } from '../components/widgets/UIProgressBarComponent';
import { UISliderComponent } from '../components/widgets/UISliderComponent';
import { UIButtonComponent } from '../components/widgets/UIButtonComponent';

View File

@@ -1,4 +1,4 @@
import { EntitySystem, Matcher, Entity, ECSSystem } from '@esengine/esengine';
import { EntitySystem, Matcher, Entity, ECSSystem } from '@esengine/ecs-framework';
import { UICanvasScalerComponent } from '../components/UICanvasScalerComponent';
import { UISafeAreaComponent } from '../components/UISafeAreaComponent';
import { UILayoutSystem } from './UILayoutSystem';

View File

@@ -1,4 +1,4 @@
import { EntitySystem, Matcher, Entity, Time, ECSSystem } from '@esengine/esengine';
import { EntitySystem, Matcher, Entity, Time, ECSSystem } from '@esengine/ecs-framework';
import { UITransformComponent } from '../components/UITransformComponent';
import { UIInteractableComponent } from '../components/UIInteractableComponent';
import { UIButtonComponent } from '../components/widgets/UIButtonComponent';

View File

@@ -1,4 +1,4 @@
import { EntitySystem, Matcher, Entity, ECSSystem, HierarchyComponent } from '@esengine/esengine';
import { EntitySystem, Matcher, Entity, ECSSystem, HierarchyComponent } from '@esengine/ecs-framework';
import { UITransformComponent } from '../components/UITransformComponent';
import { UILayoutComponent, UILayoutType, UIJustifyContent, UIAlignItems } from '../components/UILayoutComponent';

View File

@@ -7,7 +7,7 @@
* 通过向共享的 UIRenderCollector 提交渲染原语来渲染 UIButtonComponent 实体。
*/
import { EntitySystem, Matcher, Entity, ECSSystem } from '@esengine/esengine';
import { EntitySystem, Matcher, Entity, ECSSystem } from '@esengine/ecs-framework';
import { UITransformComponent } from '../../components/UITransformComponent';
import { UIButtonComponent } from '../../components/widgets/UIButtonComponent';
import { UIRenderComponent } from '../../components/UIRenderComponent';

View File

@@ -7,7 +7,7 @@
* 通过向共享的 UIRenderCollector 提交渲染原语来渲染 UIProgressBarComponent 实体。
*/
import { EntitySystem, Matcher, Entity, ECSSystem } from '@esengine/esengine';
import { EntitySystem, Matcher, Entity, ECSSystem } from '@esengine/ecs-framework';
import { UITransformComponent } from '../../components/UITransformComponent';
import { UIProgressBarComponent, UIProgressDirection } from '../../components/widgets/UIProgressBarComponent';
import { getUIRenderCollector } from './UIRenderCollector';

View File

@@ -8,7 +8,7 @@
* (没有专门 widget 组件的实体)。
*/
import { EntitySystem, Matcher, Entity, ECSSystem } from '@esengine/esengine';
import { EntitySystem, Matcher, Entity, ECSSystem } from '@esengine/ecs-framework';
import { UITransformComponent } from '../../components/UITransformComponent';
import { UIRenderComponent } from '../../components/UIRenderComponent';
import { UIButtonComponent } from '../../components/widgets/UIButtonComponent';

View File

@@ -10,7 +10,7 @@
* 这确保每帧都以一组新的渲染原语开始。
*/
import { EntitySystem, Entity, ECSSystem, Matcher } from '@esengine/esengine';
import { EntitySystem, Entity, ECSSystem, Matcher } from '@esengine/ecs-framework';
import { getUIRenderCollector } from './UIRenderCollector';
/**

View File

@@ -7,7 +7,7 @@
* 通过向共享的 UIRenderCollector 提交渲染原语来渲染 UIScrollViewComponent 实体。
*/
import { EntitySystem, Matcher, Entity, ECSSystem } from '@esengine/esengine';
import { EntitySystem, Matcher, Entity, ECSSystem } from '@esengine/ecs-framework';
import { UITransformComponent } from '../../components/UITransformComponent';
import { UIScrollViewComponent } from '../../components/widgets/UIScrollViewComponent';
import { getUIRenderCollector } from './UIRenderCollector';

View File

@@ -7,7 +7,7 @@
* 通过向共享的 UIRenderCollector 提交渲染原语来渲染 UISliderComponent 实体。
*/
import { EntitySystem, Matcher, Entity, ECSSystem } from '@esengine/esengine';
import { EntitySystem, Matcher, Entity, ECSSystem } from '@esengine/ecs-framework';
import { UITransformComponent } from '../../components/UITransformComponent';
import { UISliderComponent, UISliderOrientation } from '../../components/widgets/UISliderComponent';
import { getUIRenderCollector } from './UIRenderCollector';

View File

@@ -7,7 +7,7 @@
* 通过生成文本纹理并提交到共享的 UIRenderCollector 来渲染 UITextComponent 实体。
*/
import { EntitySystem, Matcher, Entity, ECSSystem } from '@esengine/esengine';
import { EntitySystem, Matcher, Entity, ECSSystem } from '@esengine/ecs-framework';
import { UITransformComponent } from '../../components/UITransformComponent';
import { UITextComponent } from '../../components/UITextComponent';
import { getUIRenderCollector, registerCacheInvalidationCallback, unregisterCacheInvalidationCallback } from './UIRenderCollector';