refactor: 重命名SDK为iflow-engine,使用npm包引入第三方引擎

- 将包名从 @fishdingding/bim-engine-sdk 改为 iflow-engine
- 将构建输出文件从 bim-engine-sdk.*.js 改为 iflow-engine.*.js
- 将全局变量从 LyzBimEngineSDK 改为 IflowEngine
- 将第三方引擎SDK从本地引入改为npm包引入 (iflow-engine-base)
- 移除本地 src/engine_base 目录,移至回收站
- 更新所有文档和demo中的引用
This commit is contained in:
yuding
2026-01-22 11:29:51 +08:00
parent 70523e54e5
commit f2460fb981
103 changed files with 32120 additions and 31434 deletions

View File

@@ -11,9 +11,8 @@ export default defineConfig(() => {
include: ['src'],
exclude: [
'src/**/*.es.js',
'src/bim-engine-sdk.es.js',
'**/*.es.js'
], // 排除第三方 SDK 文件,避免类型分析错误
],
rollupTypes: true,
logLevel: 'warn', // 只显示警告和错误
}),
@@ -27,8 +26,8 @@ export default defineConfig(() => {
build: {
lib: {
entry: resolve(__dirname, 'src/index.ts'),
name: 'LyzBimEngineSDK',
fileName: (format) => `bim-engine-sdk.${format}.js`,
name: 'IflowEngine',
fileName: (format) => `iflow-engine.${format}.js`,
},
rollupOptions: {
output: {