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:
Kevin Radloff
2025-02-13 08:07:13 -05:00
committed by Daniël van Noord
parent 9e98208c19
commit a1aaa3de8f
145 changed files with 3775 additions and 5909 deletions

View File

@@ -10,6 +10,7 @@ function CheckNotificationPermissions(ToggleOnOff) {
const checkNotificationPromise = function () {
try {
Notification.requestPermission().then();
// eslint-disable-next-line no-unused-vars
} catch (e) {
return false;
}

View File

@@ -1,6 +1,6 @@
/** Called by the "func" of individual settings */
import UpdateBackground from '../Disp/HelperFunctions/UpdateBackground';
import UpdateBackground from '../Disp/HelperFunctions/UpdateBackground.js';
/**
* This function changes the position of both the bottom and timer bar

View File

@@ -1,4 +1,4 @@
import { saveAndLoadingFunctions } from '@cookiemonsterteam/cookiemonsterframework/src/index';
import { saveAndLoadingFunctions } from '@cookiemonsterteam/cookiemonsterframework/src/index.js';
/** Functions related to toggling or changing an individual setting */

View File

@@ -1,5 +1,5 @@
import { UpdateBotBar } from '../../Disp/InfoBars/BottomBar';
import { UpdateBotTimerBarPosition } from '../SpecificToggles';
import { UpdateBotBar } from '../../Disp/InfoBars/BottomBar.js';
import { UpdateBotTimerBarPosition } from '../SpecificToggles.js';
/**
* This function toggle the bottom bar

View File

@@ -1,5 +1,5 @@
import { CMSayTime } from '../../Disp/VariablesAndData';
import { BackupFunctions } from '../../Main/VariablesAndData';
import { CMSayTime } from '../../Disp/VariablesAndData.js';
import { BackupFunctions } from '../../Main/VariablesAndData.js';
/**
* This function changes some of the time-displays in the game to be more detailed

View File

@@ -1,5 +1,5 @@
import { CacheGoldenShimmersByID } from '../../Cache/VariablesAndData';
import { GCTimers } from '../../Disp/VariablesAndData';
import { CacheGoldenShimmersByID } from '../../Cache/VariablesAndData.js';
import { GCTimers } from '../../Disp/VariablesAndData.js';
/**
* This function toggles GC Timers are visible

View File

@@ -1,4 +1,4 @@
import UpdateUpgrades from '../../Disp/BuildingsUpgrades/Upgrades';
import UpdateUpgrades from '../../Disp/BuildingsUpgrades/Upgrades.js';
/**
* This function toggles the upgrade bar and the colours of upgrades