feat: add immer dependency and integrate draft handling in engine actions

This commit is contained in:
2026-01-02 09:38:05 +00:00
parent 56495c65e3
commit 18247eeff4
3 changed files with 245 additions and 166 deletions
+11
View File
@@ -60,6 +60,9 @@ importers:
app/game-engine:
dependencies:
'@prisma/client':
specifier: ^7.2.0
version: 7.2.0(prisma@7.2.0(@types/react@19.2.7)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)(typescript@5.9.3))(typescript@5.9.3)
'@sammo-ts/common':
specifier: workspace:*
version: link:../../packages/common
@@ -176,6 +179,9 @@ importers:
'@sammo-ts/common':
specifier: workspace:*
version: link:../common
immer:
specifier: ^11.1.3
version: 11.1.3
zod:
specifier: ^4.2.1
version: 4.2.1
@@ -1278,6 +1284,9 @@ packages:
resolution: {integrity: sha512-2Tth85cXwGFHfvRgZWszZSvdo+0Xsqmw8k8ZwxScfcBneNUraK+dxRxRm24nszx80Y0TVio8kKLt5sLE7ZCLlw==}
engines: {node: '>=0.10.0'}
immer@11.1.3:
resolution: {integrity: sha512-6jQTc5z0KJFtr1UgFpIL3N9XSC3saRaI9PwWtzM2pSqkNGtiNkYY2OSwkOGDK2XcTRcLb1pi/aNkKZz0nxVH4Q==}
import-without-cache@0.2.5:
resolution: {integrity: sha512-B6Lc2s6yApwnD2/pMzFh/d5AVjdsDXjgkeJ766FmFuJELIGHNycKRj+l3A39yZPM4CchqNCB4RITEAYB1KUM6A==}
engines: {node: '>=20.19.0'}
@@ -3066,6 +3075,8 @@ snapshots:
dependencies:
safer-buffer: 2.1.2
immer@11.1.3: {}
import-without-cache@0.2.5: {}
ini@1.3.8: {}