refactor: install mutative

This commit is contained in:
hypercross 2026-04-02 13:11:45 +08:00
parent 74f56b9da4
commit 705e2f9396
2 changed files with 13 additions and 7 deletions

17
package-lock.json generated
View File

@ -10,8 +10,8 @@
"license": "MIT",
"dependencies": {
"@preact/signals-core": "^1.5.1",
"boardgame-core": "file:",
"inline-schema": "git+https://gitea.ayi-games.online/hypercross/inline-schema"
"inline-schema": "git+https://gitea.ayi-games.online/hypercross/inline-schema",
"mutative": "^1.3.0"
},
"devDependencies": {
"tsup": "^8.0.2",
@ -1337,10 +1337,6 @@
"node": "*"
}
},
"node_modules/boardgame-core": {
"resolved": "",
"link": true
},
"node_modules/bundle-require": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/bundle-require/-/bundle-require-5.1.0.tgz",
@ -1813,6 +1809,15 @@
"dev": true,
"license": "MIT"
},
"node_modules/mutative": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/mutative/-/mutative-1.3.0.tgz",
"integrity": "sha512-8MJj6URmOZAV70dpFe1YnSppRTKC4DsMkXQiBDFayLcDI4ljGokHxmpqaBQuDWa4iAxWaJJ1PS8vAmbntjjKmQ==",
"license": "MIT",
"engines": {
"node": ">=14.0"
}
},
"node_modules/mz": {
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz",

View File

@ -19,7 +19,8 @@
},
"dependencies": {
"@preact/signals-core": "^1.5.1",
"inline-schema": "git+https://gitea.ayi-games.online/hypercross/inline-schema"
"inline-schema": "git+https://gitea.ayi-games.online/hypercross/inline-schema",
"mutative": "^1.3.0"
},
"devDependencies": {
"tsup": "^8.0.2",