feat(bin): 增加了迁移到最新版本的脚本

Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
This commit is contained in:
李东云
2023-12-15 15:13:07 +08:00
parent 6eacde9970
commit a84b812dd0
2 changed files with 5 additions and 2 deletions

View File

@@ -14,6 +14,9 @@
"email": "dongyun.li@luxcreo.ai" "email": "dongyun.li@luxcreo.ai"
} }
], ],
"bin": [
"bin/hdk-migrate-core.sh"
],
"require": { "require": {
"php": ">=8.1", "php": ">=8.1",
"ext-dom": "*", "ext-dom": "*",

View File

@@ -19,8 +19,8 @@ return static function (RectorConfig $rectorConfig): void {
$rectorConfig->importNames(true, false); $rectorConfig->importNames(true, false);
$rectorConfig->paths([ $rectorConfig->paths([
__DIR__ . '/src', __DIR__ . '/app',
__DIR__ . '/publish', __DIR__ . '/config',
__DIR__ . '/tests', __DIR__ . '/tests',
]); ]);