mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 02:14:01 +00:00
chore: remove unused imports and local helpers
Drop module-local helpers that nothing calls (linkAbort, summarize, stringOption, summarizeEntity and the polygonCenter, propertyObject and unwrapProperties helpers only it used, CALLOUT_DOT_SIZE_PX) and unused import specifiers in runtime modules, tests, QA scripts and tools. None of the removed bindings is exported. Re-exports such as the ALPR policy constants and every package export are unchanged.
This commit is contained in:
1 parent
e479b6e91d
commit
f60b9ef7c8
42 files changed
+9
-191
No files matched your search
@@ -34,13 +34,11 @@
|
||||
* Dependencies: sharp (devDependency)
|
||||
*/
|
||||
|
||||
import { readFileSync, mkdirSync, writeFileSync } from 'node:fs';
|
||||
import { mkdirSync } from 'node:fs';
|
||||
import { resolve, join, basename, extname } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import { projectRoot } from '../scripts/project-root.mjs';
|
||||
import sharp from 'sharp';
|
||||
|
||||
const __dirname = fileURLToPath(new URL('.', import.meta.url));
|
||||
const PROJECT_ROOT = projectRoot(import.meta.url);
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -32,11 +32,9 @@
|
||||
|
||||
import { readFileSync, mkdirSync } from 'node:fs';
|
||||
import { resolve, join } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import { projectRoot } from '../scripts/project-root.mjs';
|
||||
import sharp from 'sharp';
|
||||
|
||||
const __dirname = fileURLToPath(new URL('.', import.meta.url));
|
||||
const PROJECT_ROOT = projectRoot(import.meta.url);
|
||||
const TILE_SIZE = 256;
|
||||
const MAX_CONCURRENT = 8;
|
||||
|
||||
@@ -28,7 +28,6 @@ import { projectRoot } from '../scripts/project-root.mjs';
|
||||
import { parseEnv } from 'node:util';
|
||||
import { resolveGoogleServerKey } from '../scripts/google-server-key.mjs';
|
||||
|
||||
const __dirname = fileURLToPath(new URL('.', import.meta.url));
|
||||
const PROJECT_ROOT = projectRoot(import.meta.url);
|
||||
|
||||
function parseArgs() {
|
||||
|
||||
@@ -24,11 +24,9 @@
|
||||
|
||||
import { readFileSync, mkdirSync, writeFileSync } from 'node:fs';
|
||||
import { resolve, join } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import { projectRoot } from '../scripts/project-root.mjs';
|
||||
import sharp from 'sharp';
|
||||
|
||||
const __dirname = fileURLToPath(new URL('.', import.meta.url));
|
||||
const PROJECT_ROOT = projectRoot(import.meta.url);
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user