Update imports and Electron compatibility

- Removed unnecessary React imports.
- Adjusted package.json scripts for Electron integration.
- Updated components to replace Next.js-specific imports with Electron-compatible alternatives.
- Minor tsconfig.json changes for better compatibility.
This commit is contained in:
natreex
2025-11-16 11:55:52 -05:00
parent 8167948881
commit c9cf99e166
72 changed files with 237 additions and 127 deletions

View File

@@ -2,7 +2,10 @@
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"lib": ["ES2022", "DOM"],
"lib": [
"ES2022",
"DOM"
],
"moduleResolution": "bundler",
"resolveJsonModule": true,
"allowJs": true,
@@ -16,21 +19,36 @@
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"allowSyntheticDefaultImports": true,
"isolatedModules": true,
"jsx": "preserve",
"jsx": "react-jsx",
"incremental": true,
"paths": {
"@/*": ["./src/*"]
}
"@/*": [
"./*"
]
},
"noEmit": true,
"plugins": [
{
"name": "next"
}
]
},
"include": [
"src/**/*",
"electron/**/*"
"app/**/*",
"components/**/*",
"context/**/*",
"lib/**/*",
"public/**/*",
"fonts/**/*",
"electron/**/*",
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules",