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

@@ -1,6 +1,6 @@
import init from './InitSaveLoad/init';
import load from './InitSaveLoad/load';
import save from './InitSaveLoad/save';
import init from './InitSaveLoad/init.js';
import load from './InitSaveLoad/load.js';
import save from './InitSaveLoad/save.js';
const CM = {
init,
@@ -10,7 +10,7 @@ const CM = {
if (typeof Steam !== 'undefined') {
// Need to add a delay for steam
setTimeout(function () {
setTimeout(() => {
Game.registerMod('CookieMonster', CM);
// Game.registerMod also calls CM.load() which calls the loop hook