feat(editor): 添加 ECS UI 系统和编辑器更新优化 (#238)

This commit is contained in:
YHH
2025-11-26 11:08:10 +08:00
committed by GitHub
parent 3fb6f919f8
commit 7b14fa2da4
62 changed files with 8745 additions and 235 deletions

44
packages/ui/package.json Normal file
View File

@@ -0,0 +1,44 @@
{
"name": "@esengine/ui",
"version": "1.0.0",
"description": "ECS-based UI system with WebGL rendering for games",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "vite build",
"build:watch": "vite build --watch",
"type-check": "tsc --noEmit",
"clean": "rimraf dist"
},
"dependencies": {
"@esengine/ecs-framework": "workspace:*"
},
"peerDependencies": {
"@esengine/ecs-framework": ">=2.0.0"
},
"devDependencies": {
"typescript": "^5.3.3",
"vite": "^5.0.0",
"vite-plugin-dts": "^3.7.0",
"rimraf": "^5.0.5"
},
"keywords": [
"ecs",
"ui",
"webgl",
"game-ui"
],
"author": "",
"license": "MIT"
}