chore: 移除 network 相关包并修复 CI 问题

This commit is contained in:
yhh
2025-11-23 15:13:51 +08:00
parent a3f7cc38b1
commit f4c7563763
3 changed files with 19 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ jobs:
if: github.event_name == 'workflow_dispatch'
run: |
cd packages/editor-app
npm version ${{ github.event.inputs.version }} --no-git-tag-version
node -e "const pkg=require('./package.json'); pkg.version='${{ github.event.inputs.version }}'; require('fs').writeFileSync('./package.json', JSON.stringify(pkg, null, 2)+'\n')"
node scripts/sync-version.js
- name: Cache TypeScript build
@@ -143,7 +143,7 @@ jobs:
- name: Update version files
run: |
cd packages/editor-app
npm version ${{ github.event.inputs.version }} --no-git-tag-version
node -e "const pkg=require('./package.json'); pkg.version='${{ github.event.inputs.version }}'; require('fs').writeFileSync('./package.json', JSON.stringify(pkg, null, 2)+'\n')"
node scripts/sync-version.js
- name: Create Pull Request

View File

@@ -52,6 +52,7 @@
"@rollup/plugin-terser": "^0.4.4",
"@types/jest": "^29.5.14",
"@types/node": "^20.19.17",
"@types/react": "^18.2.0",
"@eslint/js": "^9.37.0",
"eslint": "^9.37.0",
"typescript-eslint": "^8.46.1",
@@ -63,7 +64,10 @@
"typescript": "^5.8.3"
},
"peerDependencies": {
"@esengine/ecs-framework": "^2.2.8"
"@esengine/ecs-framework": "^2.2.8",
"react": "^18.2.0",
"rxjs": "^7.8.0",
"tsyringe": "^4.8.0"
},
"dependencies": {
"tslib": "^2.8.1"

12
pnpm-lock.yaml generated
View File

@@ -539,9 +539,18 @@ importers:
'@esengine/ecs-framework':
specifier: ^2.2.8
version: 2.2.14
react:
specifier: ^18.2.0
version: 18.3.1
rxjs:
specifier: ^7.8.0
version: 7.8.2
tslib:
specifier: ^2.8.1
version: 2.8.1
tsyringe:
specifier: ^4.8.0
version: 4.10.0
devDependencies:
'@babel/core':
specifier: ^7.28.3
@@ -576,6 +585,9 @@ importers:
'@types/node':
specifier: ^20.19.17
version: 20.19.25
'@types/react':
specifier: ^18.2.0
version: 18.3.27
eslint:
specifier: ^9.37.0
version: 9.39.1(jiti@2.6.1)