mirror of
https://github.com/lobehub/lobehub.git
synced 2026-03-26 13:19:34 +07:00
* 🔧 refactor: streamline theme handling and title bar overlay * ✨ feat(titlebar): integrate theme update handling in SimpleTitleBar component * 🔧 chore: move `node-mac-permissions` to optionalDependencies and add TypeScript module declaration * ✨ feat(electron): implement connection drawer state management and enhance auth modal functionality * 🐛 fix(ci): fix Windows PowerShell Start-Job working directory issue Start-Job runs in a separate process with default user directory, causing npm install-isolated to fail. Fixed by setting correct working directory in each job using $using:workingDir. * 🐛 fix(ci): use Start-Process instead of Start-Job for Windows parallel install Start-Job runs in isolated PowerShell process without inheriting PATH, causing pnpm/npm commands to fail. Start-Process inherits environment and provides proper exit code handling. * 🐛 fix(ci): use desktop-build-setup action for Windows build Use the same composite action as other desktop workflows instead of custom PowerShell parallel install which has environment issues. * ✨ feat(menu): enhance context menu with additional options for image and link handling * 🔧 fix(auth-modal): prevent modal from opening during desktop onboarding * ✨ feat(electron): enhance native module handling and improve localization resource loading resolves LOBE-4370 - Added `copyNativeModulesToSource` function to resolve pnpm symlinks for native modules before packaging. - Introduced `getNativeModulesFilesConfig` to explicitly include native modules in the build process. - Updated `electron-builder` configuration to utilize the new functions for better native module management. - Enhanced localization resource loading by splitting JSON files by namespace. * 🐛 fix(lint): use slice instead of substring * 🐛 fix(desktop): include global.d.ts in tsconfig for node-mac-permissions types * 🐛 fix(desktop): add ts-ignore for optional node-mac-permissions module * fix: update ui
32 lines
721 B
JSON
32 lines
721 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noEmit": false,
|
|
"target": "ESNext",
|
|
"declaration": true,
|
|
"emitDeclarationOnly": true,
|
|
"esModuleInterop": true,
|
|
"emitDecoratorMetadata": true,
|
|
"composite": true,
|
|
"experimentalDecorators": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"paths": {
|
|
"@/*": ["./src/main/*"],
|
|
"~common/*": ["./src/common/*"],
|
|
"*": ["./*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"src/main/**/*",
|
|
"src/main/global.d.ts",
|
|
"src/preload/**/*",
|
|
"src/common/**/*",
|
|
"electron-builder.js",
|
|
"native-deps.config.js"
|
|
]
|
|
}
|