fix: script imports

This commit is contained in:
TrèsAbhi committed 2025-10-13 22:26:11 -05:00
1 parent 2c55455cd7
commit 49b5d4f7dc
6 files changed
+301 -284

No files matched your search

+23 -24
View File
@@ -1,33 +1,32 @@
import { config } from 'dotenv';
import { argv } from 'process';
import { config } from "dotenv";
import { argv } from "process";
config();
const allTargets = argv.includes('--all-targets');
const allTargets = argv.includes("--all-targets");
const targets = argv
.find((argument) => argument.startsWith('--target'))
?.split('=')[1]
.split(',');
.find((argument) => argument.startsWith("--target"))
?.split("=")[1]
.split(",");
import { blitzkitTankIcons } from './blitzkitTankIcons';
import { boosterIcons } from './boosterIcons';
import { camouflageIcons } from './camouflageIcons';
import { consumableProvisionIcons } from './consumableProvisionIcons';
import { currencies } from './currencies';
import { definitions } from './definitions';
import { equipmentIcons } from './equipmentIcons';
import { flags } from './flags';
import { gameModeBanners } from './gameModeBanners';
import { glossary } from './glossary';
import { migration } from './migration';
import { moduleIcons } from './moduleIcons';
import { shellIcons } from './shellIcons';
import { skillIcons } from './skillIcons';
import { tankArmors } from './tankArmors';
import { tankIcons } from './tankIcons';
import { tankModels } from './tankModels';
import { boosterIcons } from "./boosterIcons";
import { camouflageIcons } from "./camouflageIcons";
import { consumableProvisionIcons } from "./consumableProvisionIcons";
import { currencies } from "./currencies";
import { definitions } from "./definitions";
import { equipmentIcons } from "./equipmentIcons";
import { flags } from "./flags";
import { gameModeBanners } from "./gameModeBanners";
import { glossary } from "./glossary";
import { migration } from "./migration";
import { moduleIcons } from "./moduleIcons";
import { shellIcons } from "./shellIcons";
import { skillIcons } from "./skillIcons";
import { tankArmors } from "./tankArmors";
import { tankIcons } from "./tankIcons";
import { tankModels } from "./tankModels";
if (!targets && !allTargets) throw new Error('No target(s) specified');
if (!targets && !allTargets) throw new Error("No target(s) specified");
const methods = [
migration,