Update ForeignKey reference in PublishingRecord model and enhance integration app configuration

- Changed ForeignKey reference from 'content.Content' to 'writer.Content' in PublishingRecord model to ensure correct app_label usage.
- Updated IntegrationConfig to use a unique label 'integration_module' to avoid conflicts.
- Added 'lucide-react' dependency to package.json and package-lock.json for improved icon support in the frontend.
- Enhanced Vite configuration to optimize dependency pre-bundling for core React dependencies.
- Added Phase 5 Migration Final Verification and Verification Report documents for comprehensive migration tracking.
This commit is contained in:
IGNY8 VPS (Salman)
2025-11-18 00:54:01 +00:00
parent a6a80ad005
commit 9facd12082
9 changed files with 4259 additions and 3 deletions

View File

@@ -20,6 +20,7 @@
"apexcharts": "^4.1.0",
"clsx": "^2.1.1",
"flatpickr": "^4.6.13",
"lucide-react": "^0.554.0",
"react": "^19.0.0",
"react-apexcharts": "^1.7.0",
"react-dnd": "^16.0.1",
@@ -3822,6 +3823,15 @@
"yallist": "^3.0.2"
}
},
"node_modules/lucide-react": {
"version": "0.554.0",
"resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.554.0.tgz",
"integrity": "sha512-St+z29uthEJVx0Is7ellNkgTEhaeSoA42I7JjOCBCrc5X6LYMGSv0P/2uS5HDLTExP5tpiqRD2PyUEOS6s9UXA==",
"license": "ISC",
"peerDependencies": {
"react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
"node_modules/merge2": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",

View File

@@ -26,6 +26,7 @@
"apexcharts": "^4.1.0",
"clsx": "^2.1.1",
"flatpickr": "^4.6.13",
"lucide-react": "^0.554.0",
"react": "^19.0.0",
"react-apexcharts": "^1.7.0",
"react-dnd": "^16.0.1",

View File

@@ -109,10 +109,15 @@ export default defineConfig(({ mode, command }) => {
// Optimize dependency pre-bundling
optimizeDeps: {
include: [
// Core React dependencies - prevent multiple instances
"react",
"react-dom",
"react/jsx-runtime",
// Only pre-bundle frequently used, small dependencies
"clsx",
"tailwind-merge",
"zustand",
"zustand/middleware", // Required for persist middleware used in stores
// Include apexcharts for proper module resolution (skip during marketing-only build)
...(isMarketingBuild ? [] : ["apexcharts", "react-apexcharts"]),
],