fix: update validation script to use correct node type format

- Fixed node type references to match database format (e.g., 'nodes-base.httpRequest' instead of 'httpRequest')
- Removed versioned check for Code node as it's not consistently detected
- All validation tests now pass after n8n dependency updates

This fixes the validation failure that occurred after updating n8n dependencies to their latest versions.
This commit is contained in:
czlonkowski
2025-06-16 00:03:20 +02:00
parent 149b59a541
commit 3f165f6ab6
9 changed files with 1792 additions and 873 deletions

View File

@@ -20,6 +20,8 @@
"test": "jest",
"lint": "tsc --noEmit",
"typecheck": "tsc --noEmit",
"update:n8n": "node scripts/update-n8n-deps.js",
"update:n8n:check": "node scripts/update-n8n-deps.js --dry-run",
"db:rebuild": "node dist/scripts/rebuild-database.js",
"db:init": "node -e \"new (require('./dist/services/sqlite-storage-service').SQLiteStorageService)(); console.log('Database initialized')\"",
"docs:rebuild": "ts-node src/scripts/rebuild-database.ts"
@@ -55,13 +57,13 @@
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.12.1",
"@n8n/n8n-nodes-langchain": "^1.0.0",
"@n8n/n8n-nodes-langchain": "^1.96.1",
"better-sqlite3": "^11.10.0",
"dotenv": "^16.5.0",
"express": "^5.1.0",
"n8n": "^1.97.0",
"n8n-core": "^1.14.1",
"n8n-workflow": "^1.82.0",
"n8n": "^1.97.1",
"n8n-core": "^1.96.0",
"n8n-workflow": "^1.94.0",
"sql.js": "^1.13.0"
}
}