feat: expand template window from 6 months to 1 year and add robust fetcher
- Changed template time window from 6 months to 1 year - Added robust incremental template fetcher that saves as it goes - Successfully fetched and saved 399 templates (up from 199) - Added npm script 'fetch:templates:robust' for better error handling - Templates now save incrementally to prevent data loss on errors 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
"update:n8n": "node scripts/update-n8n-deps.js",
|
||||
"update:n8n:check": "node scripts/update-n8n-deps.js --dry-run",
|
||||
"fetch:templates": "node dist/scripts/fetch-templates.js",
|
||||
"fetch:templates:robust": "node dist/scripts/fetch-templates-robust.js",
|
||||
"test:templates": "node dist/scripts/test-templates.js",
|
||||
"db:rebuild": "node dist/scripts/rebuild-database.js",
|
||||
"db:init": "node -e \"new (require('./dist/services/sqlite-storage-service').SQLiteStorageService)(); console.log('Database initialized')\"",
|
||||
|
||||
Reference in New Issue
Block a user