Switch to JSON store so Electron runs without native sqlite rebuild.

Auto-seeds 10 presets on first launch; visual designer with palette, drag, resize, and bricks CRUD.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ivan Fontosh
2026-09-12 14:52:31 +08:00
parent d1f180ee0a
commit 45105cd069
6 changed files with 112 additions and 461 deletions
+33 -7
View File
@@ -21,14 +21,12 @@
"dependencies": {
"@dnd-kit/core": "^6.3.1",
"@dnd-kit/utilities": "^3.2.2",
"better-sqlite3": "^11.10.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"reactflow": "^11.11.4"
},
"devDependencies": {
"@playwright/test": "^1.62.0",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^25.6.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
@@ -60,19 +58,47 @@
"asar": true,
"mac": {
"target": [
{ "target": "dmg", "arch": ["x64", "arm64"] },
{ "target": "zip", "arch": ["x64", "arm64"] }
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
},
{
"target": "zip",
"arch": [
"x64",
"arm64"
]
}
]
},
"win": {
"target": [
{ "target": "nsis", "arch": ["x64"] },
{ "target": "zip", "arch": ["x64"] }
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "zip",
"arch": [
"x64"
]
}
]
},
"linux": {
"target": [
{ "target": "AppImage", "arch": ["x64", "arm64"] }
{
"target": "AppImage",
"arch": [
"x64",
"arm64"
]
}
],
"category": "Game"
},