chore: release packages (#407)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
0de45279e6
commit
71e111415f
@@ -1,12 +0,0 @@
|
|||||||
---
|
|
||||||
"@esengine/behavior-tree": patch
|
|
||||||
---
|
|
||||||
|
|
||||||
fix(behavior-tree): export NodeExecutorMetadata as value instead of type
|
|
||||||
|
|
||||||
Fixed the export of `NodeExecutorMetadata` decorator in `execution/index.ts`.
|
|
||||||
Previously it was exported as `export type { NodeExecutorMetadata }` which only
|
|
||||||
exported the type signature, not the actual function. This caused runtime errors
|
|
||||||
in Cocos Creator: "TypeError: (intermediate value) is not a function".
|
|
||||||
|
|
||||||
Changed to `export { NodeExecutorMetadata }` to properly export the decorator function.
|
|
||||||
@@ -1,5 +1,18 @@
|
|||||||
# @esengine/behavior-tree
|
# @esengine/behavior-tree
|
||||||
|
|
||||||
|
## 4.1.2
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#406](https://github.com/esengine/esengine/pull/406) [`0de4527`](https://github.com/esengine/esengine/commit/0de45279e612c04ae9be7fbd65ce496e4797a43c) Thanks [@esengine](https://github.com/esengine)! - fix(behavior-tree): export NodeExecutorMetadata as value instead of type
|
||||||
|
|
||||||
|
Fixed the export of `NodeExecutorMetadata` decorator in `execution/index.ts`.
|
||||||
|
Previously it was exported as `export type { NodeExecutorMetadata }` which only
|
||||||
|
exported the type signature, not the actual function. This caused runtime errors
|
||||||
|
in Cocos Creator: "TypeError: (intermediate value) is not a function".
|
||||||
|
|
||||||
|
Changed to `export { NodeExecutorMetadata }` to properly export the decorator function.
|
||||||
|
|
||||||
## 4.1.1
|
## 4.1.1
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esengine/behavior-tree",
|
"name": "@esengine/behavior-tree",
|
||||||
"version": "4.1.1",
|
"version": "4.1.2",
|
||||||
"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