Files
supermarket/tsconfig.json
Mc Smog 3299cca574 feat: add product detail enrichment for Magnit products
- Add isDetailsFetched field to Product model
- Add fetchProductDetails() and fetchProductObjectInfo() methods to MagnitApiScraper
- Add ProductParser methods for detail parsing
- Add ProductService methods: getProductsNeedingDetails(), updateProductDetails(), markAsDetailsFetched()
- Add enrich-product-details.ts script with statistics tracking
- Update package.json with "enrich" script command
- Add E2E_GUIDE.md documentation
- Exclude debug scripts from tsconfig type-check (temporary)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-22 01:52:50 +05:00

37 lines
916 B
JSON

{
"compilerOptions": {
"target": "ES2023",
"module": "ESNext",
"lib": ["ES2023"],
"outDir": "./dist",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"moduleResolution": "bundler",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"allowImportingTsExtensions": false,
"noEmit": false
},
"include": ["src/**/*"],
"exclude": [
"node_modules",
"dist",
"generated",
"src/scripts/extract-product-from-html.ts",
"src/scripts/find-product-detail-api.ts",
"src/scripts/find-product-detail-endpoint-v1.ts",
"src/scripts/test-detail-endpoint.ts",
"src/scripts/test-all-detail-endpoints.ts",
"src/scripts/test-object-reviews-endpoint.ts",
"src/scripts/debug-detail-response.ts"
],
"ts-node": {
"esm": true
}
}