fix(framework): 补充包配置 peerDeps/repository/keywords (#346)

* fix(framework): 补充 peerDependencies, repository 和 keywords 配置

- fsm: 添加 peerDeps, repository, keywords
- timer: 添加 peerDeps, repository, keywords
- spatial: 添加 peerDeps, repository, keywords
- procgen: 添加 peerDeps, repository, keywords
- pathfinding: 移除重复的 dependencies,添加 repository, keywords

* chore: update pnpm-lock.yaml
This commit is contained in:
YHH
2025-12-26 18:05:37 +08:00
committed by GitHub
parent 7cbf92b8c7
commit 5cb83f0743
6 changed files with 123 additions and 17 deletions

View File

@@ -34,7 +34,27 @@
"tsup": "^8.0.0",
"typescript": "^5.8.3"
},
"peerDependencies": {
"@esengine/ecs-framework": "workspace:*",
"@esengine/blueprint": "workspace:*"
},
"publishConfig": {
"access": "public"
}
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/esengine/esengine.git",
"directory": "packages/framework/fsm"
},
"keywords": [
"ecs",
"fsm",
"state-machine",
"finite-state-machine",
"game-ai",
"cocos",
"laya",
"esengine"
]
}

View File

@@ -22,16 +22,37 @@
"type-check": "tsc --noEmit",
"clean": "rimraf dist"
},
"dependencies": {
"devDependencies": {
"@esengine/ecs-framework": "workspace:*",
"@esengine/ecs-framework-math": "workspace:*",
"@esengine/blueprint": "workspace:*",
"tsup": "^8.0.0",
"typescript": "^5.8.0"
},
"peerDependencies": {
"@esengine/ecs-framework": "workspace:*",
"@esengine/ecs-framework-math": "workspace:*",
"@esengine/blueprint": "workspace:*"
},
"devDependencies": {
"tsup": "^8.0.0",
"typescript": "^5.8.0"
},
"publishConfig": {
"access": "public"
}
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/esengine/esengine.git",
"directory": "packages/framework/pathfinding"
},
"keywords": [
"ecs",
"pathfinding",
"astar",
"a-star",
"navmesh",
"navigation",
"game-ai",
"cocos",
"laya",
"esengine"
]
}

View File

@@ -34,7 +34,30 @@
"tsup": "^8.0.0",
"typescript": "^5.8.3"
},
"peerDependencies": {
"@esengine/ecs-framework": "workspace:*",
"@esengine/blueprint": "workspace:*"
},
"publishConfig": {
"access": "public"
}
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/esengine/esengine.git",
"directory": "packages/framework/procgen"
},
"keywords": [
"ecs",
"procgen",
"procedural-generation",
"noise",
"perlin",
"simplex",
"random",
"game-engine",
"cocos",
"laya",
"esengine"
]
}

View File

@@ -35,7 +35,30 @@
"tsup": "^8.0.0",
"typescript": "^5.8.3"
},
"peerDependencies": {
"@esengine/ecs-framework": "workspace:*",
"@esengine/ecs-framework-math": "workspace:*",
"@esengine/blueprint": "workspace:*"
},
"publishConfig": {
"access": "public"
}
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/esengine/esengine.git",
"directory": "packages/framework/spatial"
},
"keywords": [
"ecs",
"spatial",
"spatial-index",
"grid",
"aoi",
"area-of-interest",
"game-engine",
"cocos",
"laya",
"esengine"
]
}

View File

@@ -34,7 +34,27 @@
"tsup": "^8.0.0",
"typescript": "^5.8.3"
},
"peerDependencies": {
"@esengine/ecs-framework": "workspace:*",
"@esengine/blueprint": "workspace:*"
},
"publishConfig": {
"access": "public"
}
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/esengine/esengine.git",
"directory": "packages/framework/timer"
},
"keywords": [
"ecs",
"timer",
"cooldown",
"scheduler",
"game-engine",
"cocos",
"laya",
"esengine"
]
}

3
pnpm-lock.yaml generated
View File

@@ -1593,7 +1593,7 @@ importers:
version: 5.9.3
packages/framework/pathfinding:
dependencies:
devDependencies:
'@esengine/blueprint':
specifier: workspace:*
version: link:../blueprint
@@ -1603,7 +1603,6 @@ importers:
'@esengine/ecs-framework-math':
specifier: workspace:*
version: link:../math
devDependencies:
tsup:
specifier: ^8.0.0
version: 8.5.1(@microsoft/api-extractor@7.55.2(@types/node@20.19.27))(@swc/core@1.15.7)(jiti@2.6.1)(postcss@8.5.6)(tsx@4.21.0)(typescript@5.9.3)(yaml@2.8.2)