chore: release packages (#401)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d2af9caae9
commit
ebcb4d00a8
@@ -1,24 +0,0 @@
|
|||||||
---
|
|
||||||
"@esengine/behavior-tree": minor
|
|
||||||
---
|
|
||||||
|
|
||||||
feat(behavior-tree): add pure BehaviorTreePlugin class for Cocos/Laya integration
|
|
||||||
|
|
||||||
- Added `BehaviorTreePlugin` class that only depends on `@esengine/ecs-framework`
|
|
||||||
- Implements `IPlugin` interface with `install()`, `uninstall()`, and `setupScene()` methods
|
|
||||||
- Removed `esengine/` subdirectory that incorrectly depended on `@esengine/engine-core`
|
|
||||||
- Updated package documentation with correct usage examples
|
|
||||||
|
|
||||||
Usage:
|
|
||||||
```typescript
|
|
||||||
import { Core, Scene } from '@esengine/ecs-framework';
|
|
||||||
import { BehaviorTreePlugin, BehaviorTreeBuilder, BehaviorTreeStarter } from '@esengine/behavior-tree';
|
|
||||||
|
|
||||||
Core.create();
|
|
||||||
const plugin = new BehaviorTreePlugin();
|
|
||||||
await Core.installPlugin(plugin);
|
|
||||||
|
|
||||||
const scene = new Scene();
|
|
||||||
plugin.setupScene(scene);
|
|
||||||
Core.setScene(scene);
|
|
||||||
```
|
|
||||||
@@ -1,5 +1,30 @@
|
|||||||
# @esengine/behavior-tree
|
# @esengine/behavior-tree
|
||||||
|
|
||||||
|
## 4.1.0
|
||||||
|
|
||||||
|
### Minor Changes
|
||||||
|
|
||||||
|
- [#400](https://github.com/esengine/esengine/pull/400) [`d2af9ca`](https://github.com/esengine/esengine/commit/d2af9caae9d5620c5f690272ab80dc246e9b7e10) Thanks [@esengine](https://github.com/esengine)! - feat(behavior-tree): add pure BehaviorTreePlugin class for Cocos/Laya integration
|
||||||
|
- Added `BehaviorTreePlugin` class that only depends on `@esengine/ecs-framework`
|
||||||
|
- Implements `IPlugin` interface with `install()`, `uninstall()`, and `setupScene()` methods
|
||||||
|
- Removed `esengine/` subdirectory that incorrectly depended on `@esengine/engine-core`
|
||||||
|
- Updated package documentation with correct usage examples
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
|
||||||
|
```typescript
|
||||||
|
import { Core, Scene } from '@esengine/ecs-framework';
|
||||||
|
import { BehaviorTreePlugin, BehaviorTreeBuilder, BehaviorTreeStarter } from '@esengine/behavior-tree';
|
||||||
|
|
||||||
|
Core.create();
|
||||||
|
const plugin = new BehaviorTreePlugin();
|
||||||
|
await Core.installPlugin(plugin);
|
||||||
|
|
||||||
|
const scene = new Scene();
|
||||||
|
plugin.setupScene(scene);
|
||||||
|
Core.setScene(scene);
|
||||||
|
```
|
||||||
|
|
||||||
## 4.0.0
|
## 4.0.0
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esengine/behavior-tree",
|
"name": "@esengine/behavior-tree",
|
||||||
"version": "4.0.0",
|
"version": "4.1.0",
|
||||||
"description": "ECS-based AI behavior tree system - works with any ECS framework (ESEngine, Cocos, Laya, etc.)",
|
"description": "ECS-based AI behavior tree system - works with any ECS framework (ESEngine, Cocos, Laya, etc.)",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"module": "dist/index.js",
|
"module": "dist/index.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user