Update dependencies and remove unneeded things. This allows building on node v22. Also rely on configs for eslint/prettier so CI and command line runs are guaranteed to be consistent.
This commit is contained in:
committed by
Daniël van Noord
parent
9e98208c19
commit
a1aaa3de8f
@@ -1,5 +1,5 @@
|
||||
import GetCPSBuffMult from '../CPS/GetCPSBuffMult';
|
||||
import FillCMDCache from '../FillCMDCache';
|
||||
import GetCPSBuffMult from '../CPS/GetCPSBuffMult.js';
|
||||
import FillCMDCache from '../FillCMDCache.js';
|
||||
import {
|
||||
CacheChainFrenzyMaxReward,
|
||||
CacheChainFrenzyRequired,
|
||||
@@ -17,7 +17,7 @@ import {
|
||||
CacheGoldenCookiesMult,
|
||||
CacheNoGoldSwitchCookiesPS,
|
||||
CacheWrathCookiesMult,
|
||||
} from '../VariablesAndData';
|
||||
} from '../VariablesAndData.js';
|
||||
|
||||
/**
|
||||
* This functions calculates the max possible payout given a set of variables
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import FillCMDCache from '../FillCMDCache';
|
||||
import FillCMDCache from '../FillCMDCache.js';
|
||||
import {
|
||||
CacheHCPerSecond,
|
||||
CacheLastHeavenlyCheck,
|
||||
CacheLastHeavenlyChips,
|
||||
HeavenlyChipsDiff,
|
||||
} from '../VariablesAndData';
|
||||
} from '../VariablesAndData.js';
|
||||
|
||||
/**
|
||||
* This functions caches the heavenly chips per second in the last five seconds
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { crateMissing } from '../../Disp/MenuSections/Statistics/CreateMissingUpgrades';
|
||||
import { crateMissing } from '../../Disp/MenuSections/Statistics/CreateMissingUpgrades.js';
|
||||
import {
|
||||
CacheMissingUpgrades, // eslint-disable-line no-unused-vars
|
||||
CacheMissingUpgradesCookies, // eslint-disable-line no-unused-vars
|
||||
CacheMissingUpgradesPrestige, // eslint-disable-line no-unused-vars
|
||||
} from '../VariablesAndData';
|
||||
} from '../VariablesAndData.js';
|
||||
|
||||
/**
|
||||
* This functions caches variables related to missing upgrades
|
||||
@@ -35,12 +35,10 @@ export default function CacheAllMissingUpgrades() {
|
||||
let str = '';
|
||||
|
||||
str += crateMissing(me);
|
||||
/* eslint-disable no-unused-vars */
|
||||
if (me.pool === 'prestige') CacheMissingUpgradesPrestige += str;
|
||||
else if (me.pool === 'cookie') CacheMissingUpgradesCookies += str;
|
||||
else if (me.pool !== 'toggle' && me.pool !== 'unused' && me.pool !== 'debug')
|
||||
CacheMissingUpgrades += str;
|
||||
/* eslint-enable no-unused-vars */
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import FillCMDCache from '../FillCMDCache';
|
||||
import { CacheSeaSpec } from '../VariablesAndData';
|
||||
import FillCMDCache from '../FillCMDCache.js';
|
||||
import { CacheSeaSpec } from '../VariablesAndData.js';
|
||||
|
||||
/**
|
||||
* This functions caches the reward of popping a reindeer
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/** Functions related to Caching stats */
|
||||
|
||||
import SimHas from '../../Sim/ReplacedGameFunctions/SimHas';
|
||||
import GetCPSBuffMult from '../CPS/GetCPSBuffMult';
|
||||
import FillCMDCache from '../FillCMDCache';
|
||||
import SimHas from '../../Sim/ReplacedGameFunctions/SimHas.js';
|
||||
import GetCPSBuffMult from '../CPS/GetCPSBuffMult.js';
|
||||
import FillCMDCache from '../FillCMDCache.js';
|
||||
import {
|
||||
CacheConjure,
|
||||
CacheConjureReward,
|
||||
@@ -18,7 +18,7 @@ import {
|
||||
CacheLuckyWrathRewardFrenzy,
|
||||
CacheNoGoldSwitchCookiesPS,
|
||||
CacheWrathCookiesMult,
|
||||
} from '../VariablesAndData';
|
||||
} from '../VariablesAndData.js';
|
||||
|
||||
/**
|
||||
* This functions caches variables related to the stats page
|
||||
|
||||
Reference in New Issue
Block a user