* refactor: reorganize package structure and decouple framework packages ## Package Structure Reorganization - Reorganized 55 packages into categorized subdirectories: - packages/framework/ - Generic framework (Laya/Cocos compatible) - packages/engine/ - ESEngine core modules - packages/rendering/ - Rendering modules (WASM dependent) - packages/physics/ - Physics modules - packages/streaming/ - World streaming - packages/network-ext/ - Network extensions - packages/editor/ - Editor framework and plugins - packages/rust/ - Rust WASM engine - packages/tools/ - Build tools and SDK ## Framework Package Decoupling - Decoupled behavior-tree and blueprint packages from ESEngine dependencies - Created abstracted interfaces (IBTAssetManager, IBehaviorTreeAssetContent) - ESEngine-specific code moved to esengine/ subpath exports - Framework packages now usable with Cocos/Laya without ESEngine ## CI Configuration - Updated CI to only type-check and lint framework packages - Added type-check:framework and lint:framework scripts ## Breaking Changes - Package import paths changed due to directory reorganization - ESEngine integrations now use subpath imports (e.g., '@esengine/behavior-tree/esengine') * fix: update es-engine file path after directory reorganization * docs: update README to focus on framework over engine * ci: only build framework packages, remove Rust/WASM dependencies * fix: remove esengine subpath from behavior-tree and blueprint builds ESEngine integration code will only be available in full engine builds. Framework packages are now purely engine-agnostic. * fix: move network-protocols to framework, build both in CI * fix: update workflow paths from packages/core to packages/framework/core * fix: exclude esengine folder from type-check in behavior-tree and blueprint * fix: update network tsconfig references to new paths * fix: add test:ci:framework to only test framework packages in CI * fix: only build core and math npm packages in CI * fix: exclude test files from CodeQL and fix string escaping security issue
163 lines
4.3 KiB
JSON
163 lines
4.3 KiB
JSON
{
|
|
"productName": "ESEngine Editor",
|
|
"version": "1.0.14",
|
|
"identifier": "com.esengine.editor",
|
|
"build": {
|
|
"beforeDevCommand": "npm run build:watch",
|
|
"beforeBuildCommand": "npm run build",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"createUpdaterArtifacts": true,
|
|
"resources": [
|
|
"runtime/**/*",
|
|
"engine/**/*",
|
|
"bin/*"
|
|
],
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.png",
|
|
"icons/icon.ico"
|
|
],
|
|
"windows": {
|
|
"certificateThumbprint": null,
|
|
"digestAlgorithm": "sha256",
|
|
"timestampUrl": "",
|
|
"webviewInstallMode": {
|
|
"type": "downloadBootstrapper"
|
|
}
|
|
},
|
|
"fileAssociations": [
|
|
{
|
|
"ext": [
|
|
"ecs"
|
|
],
|
|
"name": "ECS Scene File",
|
|
"description": "ESEngine Scene File",
|
|
"role": "Editor"
|
|
}
|
|
],
|
|
"macOS": {
|
|
"frameworks": [],
|
|
"minimumSystemVersion": "10.13",
|
|
"exceptionDomain": "",
|
|
"signingIdentity": null,
|
|
"providerShortName": null,
|
|
"entitlements": null
|
|
}
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "ESEngine Editor",
|
|
"width": 1280,
|
|
"height": 800,
|
|
"minWidth": 800,
|
|
"minHeight": 600,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"decorations": false,
|
|
"transparent": false,
|
|
"center": true,
|
|
"skipTaskbar": false,
|
|
"dragDropEnabled": false
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self' 'unsafe-inline' 'unsafe-eval' tauri: project: asset: https: http: data: blob:; script-src 'self' 'unsafe-inline' 'unsafe-eval' tauri: project: asset: https: http: blob:; style-src 'self' 'unsafe-inline' tauri: https: http:; img-src 'self' tauri: project: asset: https: http: data: blob:; connect-src 'self' tauri: project: asset: https: http: ws: wss:",
|
|
"assetProtocol": {
|
|
"enable": true,
|
|
"scope": {
|
|
"allow": [
|
|
"**"
|
|
]
|
|
}
|
|
},
|
|
"capabilities": [
|
|
{
|
|
"identifier": "main",
|
|
"windows": [
|
|
"main",
|
|
"frame-debugger"
|
|
],
|
|
"permissions": [
|
|
"core:default",
|
|
"core:window:allow-start-dragging",
|
|
"core:window:allow-minimize",
|
|
"core:window:allow-maximize",
|
|
"core:window:allow-toggle-maximize",
|
|
"core:window:allow-close",
|
|
"core:window:allow-is-maximized",
|
|
"core:window:allow-create",
|
|
"core:webview:allow-create-webview",
|
|
"core:webview:allow-create-webview-window",
|
|
"shell:default",
|
|
"dialog:default",
|
|
"updater:default",
|
|
"updater:allow-check",
|
|
"updater:allow-download",
|
|
"updater:allow-install",
|
|
"fs:default",
|
|
"fs:allow-read-text-file",
|
|
"fs:allow-write-text-file",
|
|
"fs:allow-read-dir",
|
|
"fs:allow-exists",
|
|
"fs:allow-read",
|
|
"fs:allow-write",
|
|
"fs:allow-create",
|
|
"fs:allow-mkdir",
|
|
"fs:allow-read-file",
|
|
"fs:allow-write-file",
|
|
"fs:allow-remove",
|
|
"fs:allow-rename",
|
|
"fs:allow-copy-file"
|
|
],
|
|
"scope": {
|
|
"allow": [
|
|
"$HOME/**",
|
|
"$APPDATA/**",
|
|
"$APPLOCALDATA/**",
|
|
"$APPCACHE/**",
|
|
"$APPLOG/**",
|
|
"$DESKTOP/**",
|
|
"$DOCUMENT/**",
|
|
"$DOWNLOAD/**",
|
|
"$TEMP/**"
|
|
]
|
|
}
|
|
},
|
|
"http-capability"
|
|
]
|
|
}
|
|
},
|
|
"plugins": {
|
|
"shell": {
|
|
"open": true
|
|
},
|
|
"cli": {
|
|
"args": [
|
|
{
|
|
"name": "file",
|
|
"index": 1,
|
|
"takesValue": true
|
|
}
|
|
]
|
|
},
|
|
"fs": {
|
|
"requireLiteralLeadingDot": false
|
|
},
|
|
"updater": {
|
|
"active": true,
|
|
"endpoints": [
|
|
"https://github.com/esengine/esengine/releases/latest/download/latest.json"
|
|
],
|
|
"dialog": true,
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDFDQjNFNDIxREFBODNDNkMKUldSc1BLamFJZVN6SEJIRXRWWEovVXRta08yNWFkZmtKNnZoSHFmbi9ZdGxubUMzSHJaN3J0VEcK"
|
|
}
|
|
}
|
|
}
|