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
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user