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
@@ -3,7 +3,7 @@ import {
|
||||
CacheCurrWrinklerCount,
|
||||
CacheCurrWrinklerCPSMult,
|
||||
CacheWrinklersFattest,
|
||||
} from '../../Cache/VariablesAndData';
|
||||
} from '../../Cache/VariablesAndData.js';
|
||||
|
||||
/**
|
||||
* This function returns the cps as either current or average CPS depending on CM.Options.CPSMode
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
ColourPurple,
|
||||
ColourRed,
|
||||
ColourYellow,
|
||||
} from '../VariablesAndData';
|
||||
} from '../VariablesAndData.js';
|
||||
|
||||
/**
|
||||
* This function returns Name and Colour as object for sugar lump type that is given as input param.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CacheWrinklersFattest, CacheWrinklersTotal } from '../../Cache/VariablesAndData';
|
||||
import { CacheWrinklersFattest, CacheWrinklersTotal } from '../../Cache/VariablesAndData.js';
|
||||
|
||||
/**
|
||||
* This function returns the total amount stored in the Wrinkler Bank
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import UpdateBuildings from '../BuildingsUpgrades/Buildings';
|
||||
import UpdateUpgrades from '../BuildingsUpgrades/Upgrades';
|
||||
import { UpdateBotBar } from '../InfoBars/BottomBar';
|
||||
import UpdateBuildings from '../BuildingsUpgrades/Buildings.js';
|
||||
import UpdateUpgrades from '../BuildingsUpgrades/Upgrades.js';
|
||||
import { UpdateBotBar } from '../InfoBars/BottomBar.js';
|
||||
|
||||
/**
|
||||
* This function refreshes all numbers after a change in scale-setting
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { ToggleTimerBar } from '../../Config/SpecificToggles';
|
||||
import ToggleBotBar from '../../Config/Toggles/ToggleBotBar';
|
||||
import { ToggleTimerBar } from '../../Config/SpecificToggles.js';
|
||||
import ToggleBotBar from '../../Config/Toggles/ToggleBotBar.js';
|
||||
|
||||
import UpdateBackground from './UpdateBackground';
|
||||
import UpdateBackground from './UpdateBackground.js';
|
||||
|
||||
/**
|
||||
* This function disables and shows the bars created by CookieMonster when the game is "ascending"
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import UpdateBuildings from '../BuildingsUpgrades/Buildings';
|
||||
import UpdateBuildings from '../BuildingsUpgrades/Buildings.js';
|
||||
import {
|
||||
ColourBackPre,
|
||||
ColourBorderPre,
|
||||
ColoursOrdering,
|
||||
ColourTextPre,
|
||||
} from '../VariablesAndData';
|
||||
} from '../VariablesAndData.js';
|
||||
|
||||
/**
|
||||
* This function changes/refreshes colours if the user has set new standard colours
|
||||
|
||||
Reference in New Issue
Block a user