Replace private shared dependencies with local implementations, keep the standalone crawl/search/serp build working, and add CI, GHCR image publishing, Dependabot updates, and green-only auto-merge automation.
11 lines
310 B
JavaScript
11 lines
310 B
JavaScript
#!/usr/bin/env node
|
|
|
|
const fs = require('fs');
|
|
const path = require('path');
|
|
|
|
const file = path.resolve(__dirname, 'licensed/GeoLite2-City.mmdb');
|
|
|
|
if (!fs.existsSync(file)) {
|
|
console.error(`Integrity check warning: ${file} does not exist. GeoIP features will be disabled until the asset is prepared.`);
|
|
}
|