) {
+ SceneDelegateProxy.shared.scene(scene, openURLContexts: URLContexts)
+ }
+
+ func scene(_ scene: UIScene, continue userActivity: NSUserActivity) {
+ SceneDelegateProxy.shared.scene(scene, continue: userActivity)
+ }
+}
diff --git a/ios/App/CapApp-SPM/.gitignore b/ios/App/CapApp-SPM/.gitignore
new file mode 100644
index 0000000..3b29812
--- /dev/null
+++ b/ios/App/CapApp-SPM/.gitignore
@@ -0,0 +1,9 @@
+.DS_Store
+/.build
+/Packages
+/*.xcodeproj
+xcuserdata/
+DerivedData/
+.swiftpm/config/registries.json
+.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
+.netrc
diff --git a/ios/App/CapApp-SPM/Package.swift b/ios/App/CapApp-SPM/Package.swift
new file mode 100644
index 0000000..ee4a7b6
--- /dev/null
+++ b/ios/App/CapApp-SPM/Package.swift
@@ -0,0 +1,37 @@
+// swift-tools-version: 5.9
+import PackageDescription
+
+// DO NOT MODIFY THIS FILE - managed by Capacitor CLI commands
+let package = Package(
+ name: "CapApp-SPM",
+ platforms: [.iOS(.v15)],
+ products: [
+ .library(
+ name: "CapApp-SPM",
+ targets: ["CapApp-SPM"])
+ ],
+ dependencies: [
+ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", exact: "8.5.0"),
+ .package(name: "CapacitorApp", path: "../../../node_modules/@capacitor/app"),
+ .package(name: "CapacitorFilesystem", path: "../../../node_modules/@capacitor/filesystem"),
+ .package(name: "CapacitorHaptics", path: "../../../node_modules/@capacitor/haptics"),
+ .package(name: "CapacitorShare", path: "../../../node_modules/@capacitor/share"),
+ .package(name: "CapacitorSplashScreen", path: "../../../node_modules/@capacitor/splash-screen"),
+ .package(name: "CapacitorStatusBar", path: "../../../node_modules/@capacitor/status-bar")
+ ],
+ targets: [
+ .target(
+ name: "CapApp-SPM",
+ dependencies: [
+ .product(name: "Capacitor", package: "capacitor-swift-pm"),
+ .product(name: "Cordova", package: "capacitor-swift-pm"),
+ .product(name: "CapacitorApp", package: "CapacitorApp"),
+ .product(name: "CapacitorFilesystem", package: "CapacitorFilesystem"),
+ .product(name: "CapacitorHaptics", package: "CapacitorHaptics"),
+ .product(name: "CapacitorShare", package: "CapacitorShare"),
+ .product(name: "CapacitorSplashScreen", package: "CapacitorSplashScreen"),
+ .product(name: "CapacitorStatusBar", package: "CapacitorStatusBar")
+ ]
+ )
+ ]
+)
diff --git a/ios/App/CapApp-SPM/README.md b/ios/App/CapApp-SPM/README.md
new file mode 100644
index 0000000..03964db
--- /dev/null
+++ b/ios/App/CapApp-SPM/README.md
@@ -0,0 +1,5 @@
+# CapApp-SPM
+
+This package is used to host SPM dependencies for your Capacitor project
+
+Do not modify the contents of it or there may be unintended consequences.
diff --git a/ios/App/CapApp-SPM/Sources/CapApp-SPM/CapApp-SPM.swift b/ios/App/CapApp-SPM/Sources/CapApp-SPM/CapApp-SPM.swift
new file mode 100644
index 0000000..945afec
--- /dev/null
+++ b/ios/App/CapApp-SPM/Sources/CapApp-SPM/CapApp-SPM.swift
@@ -0,0 +1 @@
+public let isCapacitorApp = true
diff --git a/ios/debug.xcconfig b/ios/debug.xcconfig
new file mode 100644
index 0000000..53ce18d
--- /dev/null
+++ b/ios/debug.xcconfig
@@ -0,0 +1 @@
+CAPACITOR_DEBUG = true
diff --git a/package-lock.json b/package-lock.json
index bb7cbfd..4f41648 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,10 +9,21 @@
"version": "0.0.0",
"license": "MIT",
"dependencies": {
+ "@capacitor/android": "^8.5.0",
+ "@capacitor/app": "^8.1.1",
+ "@capacitor/cli": "^8.5.0",
+ "@capacitor/core": "^8.5.0",
+ "@capacitor/filesystem": "^8.1.2",
+ "@capacitor/haptics": "^8.0.2",
+ "@capacitor/ios": "^8.5.0",
+ "@capacitor/share": "^8.0.1",
+ "@capacitor/splash-screen": "^8.0.2",
+ "@capacitor/status-bar": "^8.0.3",
"@vercel/analytics": "^2.0.1",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"react-router-dom": "^7.18.1",
+ "tables-core": "github:mrWD/tables-core#v1.2.2",
"zustand": "^5.0.14"
},
"devDependencies": {
@@ -1635,6 +1646,152 @@
"node": ">=6.9.0"
}
},
+ "node_modules/@capacitor/android": {
+ "version": "8.5.0",
+ "resolved": "https://registry.npmjs.org/@capacitor/android/-/android-8.5.0.tgz",
+ "integrity": "sha512-Rb3prJeQiTp0pQhSSOReJuG9VgibOGMG4ECs+UhMwr6TCCHZ3NCZO811bDA0HxD0xrT/gCrJAsY5yfEATu84JQ==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@capacitor/core": "^8.5.0"
+ }
+ },
+ "node_modules/@capacitor/app": {
+ "version": "8.1.1",
+ "resolved": "https://registry.npmjs.org/@capacitor/app/-/app-8.1.1.tgz",
+ "integrity": "sha512-xM2ZTX5jK60tFtmjsmJv+Cdj1Qsb6NcavkqmdEnCPQBeya9oKhamZJxYOnQNj1ZvcJM7sWfG6BEtSLx42pisbA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@capacitor/core": ">=8.0.0"
+ }
+ },
+ "node_modules/@capacitor/cli": {
+ "version": "8.5.0",
+ "resolved": "https://registry.npmjs.org/@capacitor/cli/-/cli-8.5.0.tgz",
+ "integrity": "sha512-rLdzMUM5QV4WITcqoWv04p32i14BXgUH2diqEH6MWQlWaJfiyNrvOyt/+d5vHAfOxOm1klBu637VDEobctlwBA==",
+ "license": "MIT",
+ "dependencies": {
+ "@ionic/cli-framework-output": "^2.2.8",
+ "@ionic/utils-subprocess": "^3.0.1",
+ "@ionic/utils-terminal": "^2.3.5",
+ "commander": "^12.1.0",
+ "debug": "^4.4.0",
+ "env-paths": "^2.2.0",
+ "fs-extra": "^11.2.0",
+ "kleur": "^4.1.5",
+ "native-run": "^2.0.3",
+ "open": "^8.4.0",
+ "plist": "^3.1.0",
+ "prompts": "^2.4.2",
+ "rimraf": "^6.0.1",
+ "semver": "^7.6.3",
+ "tar": "^7.5.3",
+ "tslib": "^2.8.1",
+ "xcode": "^3.0.1",
+ "xml2js": "^0.6.2"
+ },
+ "bin": {
+ "cap": "bin/capacitor",
+ "capacitor": "bin/capacitor"
+ },
+ "engines": {
+ "node": ">=22.0.0"
+ }
+ },
+ "node_modules/@capacitor/cli/node_modules/commander": {
+ "version": "12.1.0",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz",
+ "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/@capacitor/cli/node_modules/fs-extra": {
+ "version": "11.4.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.4.0.tgz",
+ "integrity": "sha512-EQsFzMUJkCKGr1ePqlYADkIUmHW1s3ZXr5Yqy6wbGrfUCphpl2maM/kyOIRA2HpP3AaFQTZXD4ldjek+nccddA==",
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=14.14"
+ }
+ },
+ "node_modules/@capacitor/core": {
+ "version": "8.5.0",
+ "resolved": "https://registry.npmjs.org/@capacitor/core/-/core-8.5.0.tgz",
+ "integrity": "sha512-Ca4krtqH1hothjtBIwf2J2TW7IhYq1ujp8QeItTiJohNsqij8ja2DYYH3DU0l8RmxCWaBAFTGA2TgOgOMCSNsQ==",
+ "license": "MIT",
+ "dependencies": {
+ "tslib": "^2.1.0"
+ }
+ },
+ "node_modules/@capacitor/filesystem": {
+ "version": "8.1.2",
+ "resolved": "https://registry.npmjs.org/@capacitor/filesystem/-/filesystem-8.1.2.tgz",
+ "integrity": "sha512-doaaMfGoFR2hWU6aV6u83I+5ZsGyJVq+Gz4r9lMpJzUKMm1eMu0hLnFdV1aXZlU9FlK/RndFrVD8oRZfNOqWgQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@capacitor/synapse": "^1.0.4"
+ },
+ "peerDependencies": {
+ "@capacitor/core": ">=8.0.0"
+ }
+ },
+ "node_modules/@capacitor/haptics": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/@capacitor/haptics/-/haptics-8.0.2.tgz",
+ "integrity": "sha512-c2hZzRR5Fk1tbTvhG1jhh2XBAf3EhnIerMIb2sl7Mt41Gxx1fhBJFDa0/BI1IbY4loVepyyuqNC9820/GZuoWQ==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@capacitor/core": ">=8.0.0"
+ }
+ },
+ "node_modules/@capacitor/ios": {
+ "version": "8.5.0",
+ "resolved": "https://registry.npmjs.org/@capacitor/ios/-/ios-8.5.0.tgz",
+ "integrity": "sha512-7k1TfohJu5BzRXc1F3g04Q8QQ0fyQgms6h1AvhnHb04VaNr9EdHOx03hL8O+OigEKMQnyJd1ZOjTPPNHCqL5Yw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@capacitor/core": "^8.5.0"
+ }
+ },
+ "node_modules/@capacitor/share": {
+ "version": "8.0.1",
+ "resolved": "https://registry.npmjs.org/@capacitor/share/-/share-8.0.1.tgz",
+ "integrity": "sha512-3cSBKBCJVon54rKDROP2rqGyeGks4pBh9TbaEk9S375Kbek/ZHe72N50zIa0Vn9Eac/SuhwgehO/mmA4CsUOiw==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@capacitor/core": ">=8.0.0"
+ }
+ },
+ "node_modules/@capacitor/splash-screen": {
+ "version": "8.0.2",
+ "resolved": "https://registry.npmjs.org/@capacitor/splash-screen/-/splash-screen-8.0.2.tgz",
+ "integrity": "sha512-0C6rYScr13WfAE9nPl4ScOQynmjFv9NT3Th+RZkD4ezYHmER6mcl1/lDYsv7jg3Rj3FOvLrlTlmNkUrr83kZzQ==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@capacitor/core": ">=8.0.0"
+ }
+ },
+ "node_modules/@capacitor/status-bar": {
+ "version": "8.0.3",
+ "resolved": "https://registry.npmjs.org/@capacitor/status-bar/-/status-bar-8.0.3.tgz",
+ "integrity": "sha512-csSpfNeN49Hx9JaQBSJEIiEbOLtXg3kcc2IpScq2fu5L520h3AWEvsxoH8Srk1jxfRKepaJ4S4sqSC3foI4AgA==",
+ "license": "MIT",
+ "peerDependencies": {
+ "@capacitor/core": ">=8.0.0"
+ }
+ },
+ "node_modules/@capacitor/synapse": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/@capacitor/synapse/-/synapse-1.0.4.tgz",
+ "integrity": "sha512-/C1FUo8/OkKuAT4nCIu/34ny9siNHr9qtFezu4kxm6GY1wNFxrCFWjfYx5C1tUhVGz3fxBABegupkpjXvjCHrw==",
+ "license": "ISC"
+ },
"node_modules/@emnapi/core": {
"version": "1.11.1",
"resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.11.1.tgz",
@@ -2196,6 +2353,142 @@
"url": "https://opencollective.com/libvips"
}
},
+ "node_modules/@ionic/cli-framework-output": {
+ "version": "2.2.8",
+ "resolved": "https://registry.npmjs.org/@ionic/cli-framework-output/-/cli-framework-output-2.2.8.tgz",
+ "integrity": "sha512-TshtaFQsovB4NWRBydbNFawql6yul7d5bMiW1WYYf17hd99V6xdDdk3vtF51bw6sLkxON3bDQpWsnUc9/hVo3g==",
+ "license": "MIT",
+ "dependencies": {
+ "@ionic/utils-terminal": "2.3.5",
+ "debug": "^4.0.0",
+ "tslib": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@ionic/utils-array": {
+ "version": "2.1.6",
+ "resolved": "https://registry.npmjs.org/@ionic/utils-array/-/utils-array-2.1.6.tgz",
+ "integrity": "sha512-0JZ1Zkp3wURnv8oq6Qt7fMPo5MpjbLoUoa9Bu2Q4PJuSDWM8H8gwF3dQO7VTeUj3/0o1IB1wGkFWZZYgUXZMUg==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.0.0",
+ "tslib": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@ionic/utils-fs": {
+ "version": "3.1.7",
+ "resolved": "https://registry.npmjs.org/@ionic/utils-fs/-/utils-fs-3.1.7.tgz",
+ "integrity": "sha512-2EknRvMVfhnyhL1VhFkSLa5gOcycK91VnjfrTB0kbqkTFCOXyXgVLI5whzq7SLrgD9t1aqos3lMMQyVzaQ5gVA==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/fs-extra": "^8.0.0",
+ "debug": "^4.0.0",
+ "fs-extra": "^9.0.0",
+ "tslib": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@ionic/utils-object": {
+ "version": "2.1.6",
+ "resolved": "https://registry.npmjs.org/@ionic/utils-object/-/utils-object-2.1.6.tgz",
+ "integrity": "sha512-vCl7sl6JjBHFw99CuAqHljYJpcE88YaH2ZW4ELiC/Zwxl5tiwn4kbdP/gxi2OT3MQb1vOtgAmSNRtusvgxI8ww==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.0.0",
+ "tslib": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@ionic/utils-process": {
+ "version": "2.1.12",
+ "resolved": "https://registry.npmjs.org/@ionic/utils-process/-/utils-process-2.1.12.tgz",
+ "integrity": "sha512-Jqkgyq7zBs/v/J3YvKtQQiIcxfJyplPgECMWgdO0E1fKrrH8EF0QGHNJ9mJCn6PYe2UtHNS8JJf5G21e09DfYg==",
+ "license": "MIT",
+ "dependencies": {
+ "@ionic/utils-object": "2.1.6",
+ "@ionic/utils-terminal": "2.3.5",
+ "debug": "^4.0.0",
+ "signal-exit": "^3.0.3",
+ "tree-kill": "^1.2.2",
+ "tslib": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@ionic/utils-process/node_modules/signal-exit": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
+ "license": "ISC"
+ },
+ "node_modules/@ionic/utils-stream": {
+ "version": "3.1.7",
+ "resolved": "https://registry.npmjs.org/@ionic/utils-stream/-/utils-stream-3.1.7.tgz",
+ "integrity": "sha512-eSELBE7NWNFIHTbTC2jiMvh1ABKGIpGdUIvARsNPMNQhxJB3wpwdiVnoBoTYp+5a6UUIww4Kpg7v6S7iTctH1w==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.0.0",
+ "tslib": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@ionic/utils-subprocess": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/@ionic/utils-subprocess/-/utils-subprocess-3.0.1.tgz",
+ "integrity": "sha512-cT4te3AQQPeIM9WCwIg8ohroJ8TjsYaMb2G4ZEgv9YzeDqHZ4JpeIKqG2SoaA3GmVQ3sOfhPM6Ox9sxphV/d1A==",
+ "license": "MIT",
+ "dependencies": {
+ "@ionic/utils-array": "2.1.6",
+ "@ionic/utils-fs": "3.1.7",
+ "@ionic/utils-process": "2.1.12",
+ "@ionic/utils-stream": "3.1.7",
+ "@ionic/utils-terminal": "2.3.5",
+ "cross-spawn": "^7.0.3",
+ "debug": "^4.0.0",
+ "tslib": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@ionic/utils-terminal": {
+ "version": "2.3.5",
+ "resolved": "https://registry.npmjs.org/@ionic/utils-terminal/-/utils-terminal-2.3.5.tgz",
+ "integrity": "sha512-3cKScz9Jx2/Pr9ijj1OzGlBDfcmx7OMVBt4+P1uRR0SSW4cm1/y3Mo4OY3lfkuaYifMNBW8Wz6lQHbs1bihr7A==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/slice-ansi": "^4.0.0",
+ "debug": "^4.0.0",
+ "signal-exit": "^3.0.3",
+ "slice-ansi": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0",
+ "tslib": "^2.0.1",
+ "untildify": "^4.0.0",
+ "wrap-ansi": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
+ "node_modules/@ionic/utils-terminal/node_modules/signal-exit": {
+ "version": "3.0.7",
+ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz",
+ "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==",
+ "license": "ISC"
+ },
"node_modules/@isaacs/cliui": {
"version": "9.0.0",
"resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-9.0.0.tgz",
@@ -2206,6 +2499,18 @@
"node": ">=18"
}
},
+ "node_modules/@isaacs/fs-minipass": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz",
+ "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==",
+ "license": "ISC",
+ "dependencies": {
+ "minipass": "^7.0.4"
+ },
+ "engines": {
+ "node": ">=18.0.0"
+ }
+ },
"node_modules/@jridgewell/gen-mapping": {
"version": "0.3.13",
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz",
@@ -3075,11 +3380,19 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/@types/fs-extra": {
+ "version": "8.1.5",
+ "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.1.5.tgz",
+ "integrity": "sha512-0dzKcwO+S8s2kuF5Z9oUWatQJj5Uq/iqphEtE3GQJVRRYm/tD1LglU2UnXi2A8jLq5umkGouOXOR9y0n613ZwQ==",
+ "license": "MIT",
+ "dependencies": {
+ "@types/node": "*"
+ }
+ },
"node_modules/@types/node": {
"version": "24.13.3",
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.13.3.tgz",
"integrity": "sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"undici-types": "~7.18.0"
@@ -3112,6 +3425,12 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/@types/slice-ansi": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/@types/slice-ansi/-/slice-ansi-4.0.0.tgz",
+ "integrity": "sha512-+OpjSaq85gvlZAYINyzKpLeiFkSC4EsC6IIiT6v6TLSU5k5U83fHGj9Lel8oKEXM0HqgrMVCjXPDPVICtxF7EQ==",
+ "license": "MIT"
+ },
"node_modules/@types/trusted-types": {
"version": "2.0.7",
"resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz",
@@ -3187,6 +3506,15 @@
}
}
},
+ "node_modules/@xmldom/xmldom": {
+ "version": "0.9.10",
+ "resolved": "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.9.10.tgz",
+ "integrity": "sha512-A9gOqLdi6cV4ibazAjcQufGj0B1y/vDqYrcuP6d/6x8P27gRS8643Dj9o1dEKtB6O7fwxb2FgBmJS2mX7gpvdw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=14.6"
+ }
+ },
"node_modules/acorn": {
"version": "8.17.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.17.0.tgz",
@@ -3217,6 +3545,30 @@
"url": "https://github.com/sponsors/epoberezkin"
}
},
+ "node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "license": "MIT",
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
"node_modules/array-buffer-byte-length": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz",
@@ -3256,6 +3608,15 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/astral-regex": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz",
+ "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/async": {
"version": "3.2.6",
"resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz",
@@ -3277,7 +3638,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz",
"integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==",
- "dev": true,
"license": "ISC",
"engines": {
"node": ">= 4.0.0"
@@ -3355,12 +3715,31 @@
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz",
"integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": "18 || 20 || >=22"
}
},
+ "node_modules/base64-js": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
+ "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
"node_modules/baseline-browser-mapping": {
"version": "2.11.3",
"resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.3.tgz",
@@ -3374,11 +3753,40 @@
"node": ">=6.0.0"
}
},
+ "node_modules/big-integer": {
+ "version": "1.6.52",
+ "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.52.tgz",
+ "integrity": "sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg==",
+ "license": "Unlicense",
+ "engines": {
+ "node": ">=0.6"
+ }
+ },
+ "node_modules/bplist-creator": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.1.0.tgz",
+ "integrity": "sha512-sXaHZicyEEmY86WyueLTQesbeoH/mquvarJaQNbjuOQO+7gbFcDEWqKmcWA4cOTLzFlfgvkiVxolk1k5bBIpmg==",
+ "license": "MIT",
+ "dependencies": {
+ "stream-buffers": "2.2.x"
+ }
+ },
+ "node_modules/bplist-parser": {
+ "version": "0.3.2",
+ "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.3.2.tgz",
+ "integrity": "sha512-apC2+fspHGI3mMKj+dGevkGo/tCqVB8jMb6i+OX+E29p0Iposz07fABkRIfVUPNd5A5VbuOz1bZbnmkKLYF+wQ==",
+ "license": "MIT",
+ "dependencies": {
+ "big-integer": "1.6.x"
+ },
+ "engines": {
+ "node": ">= 5.10.0"
+ }
+ },
"node_modules/brace-expansion": {
"version": "5.0.8",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.8.tgz",
"integrity": "sha512-JZyDyq3D4AUifKTPOB7DELf6XsB3WdPuNxCtob1vFXPsSXhdAiHBWJ/tJ8HAc9aH84BK+5JFZLNkJKx3G9kzQg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^4.0.2"
@@ -3421,6 +3829,15 @@
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
}
},
+ "node_modules/buffer-crc32": {
+ "version": "0.2.13",
+ "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
+ "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==",
+ "license": "MIT",
+ "engines": {
+ "node": "*"
+ }
+ },
"node_modules/buffer-from": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz",
@@ -3499,6 +3916,33 @@
],
"license": "CC-BY-4.0"
},
+ "node_modules/chownr": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz",
+ "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==",
+ "license": "BlueOak-1.0.0",
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "license": "MIT",
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "license": "MIT"
+ },
"node_modules/commander": {
"version": "2.20.3",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
@@ -3554,7 +3998,6 @@
"version": "7.0.6",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
"integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"path-key": "^3.1.0",
@@ -3640,7 +4083,6 @@
"version": "4.4.3",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
"integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ms": "^2.1.3"
@@ -3682,6 +4124,15 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/define-lazy-prop": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz",
+ "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/define-properties": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
@@ -3748,6 +4199,33 @@
"dev": true,
"license": "ISC"
},
+ "node_modules/elementtree": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/elementtree/-/elementtree-0.1.7.tgz",
+ "integrity": "sha512-wkgGT6kugeQk/P6VZ/f4T+4HB41BVgNBq5CDIZVbQ02nvTVqAiVTbskxxu3eA/X96lMlfYOwnLQpN2v5E1zDEg==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "sax": "1.1.4"
+ },
+ "engines": {
+ "node": ">= 0.4.0"
+ }
+ },
+ "node_modules/emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "license": "MIT"
+ },
+ "node_modules/env-paths": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz",
+ "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/es-abstract": {
"version": "1.24.2",
"resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.2.tgz",
@@ -3977,6 +4455,15 @@
],
"license": "BSD-3-Clause"
},
+ "node_modules/fd-slicer": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz",
+ "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==",
+ "license": "MIT",
+ "dependencies": {
+ "pend": "~1.2.0"
+ }
+ },
"node_modules/fdir": {
"version": "6.5.0",
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",
@@ -4072,7 +4559,6 @@
"version": "9.1.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",
"integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"at-least-node": "^1.0.0",
@@ -4286,7 +4772,6 @@
"version": "4.2.11",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
- "dev": true,
"license": "ISC"
},
"node_modules/has-bigints": {
@@ -4380,6 +4865,21 @@
"dev": true,
"license": "ISC"
},
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "license": "ISC"
+ },
+ "node_modules/ini": {
+ "version": "4.1.3",
+ "resolved": "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz",
+ "integrity": "sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==",
+ "license": "ISC",
+ "engines": {
+ "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
+ }
+ },
"node_modules/internal-slot": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz",
@@ -4530,6 +5030,21 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/is-docker": {
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz",
+ "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==",
+ "license": "MIT",
+ "bin": {
+ "is-docker": "cli.js"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/is-document.all": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-document.all/-/is-document.all-1.0.0.tgz",
@@ -4562,6 +5077,15 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/is-generator-function": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.2.tgz",
@@ -4810,6 +5334,18 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/is-wsl": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz",
+ "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==",
+ "license": "MIT",
+ "dependencies": {
+ "is-docker": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/isarray": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
@@ -4821,7 +5357,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
"integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
- "dev": true,
"license": "ISC"
},
"node_modules/jackspeak": {
@@ -4902,7 +5437,6 @@
"version": "6.2.1",
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz",
"integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"universalify": "^2.0.0"
@@ -4921,6 +5455,15 @@
"node": ">=0.10.0"
}
},
+ "node_modules/kleur": {
+ "version": "4.1.5",
+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz",
+ "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/leven": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
@@ -5233,7 +5776,6 @@
"version": "10.2.5",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz",
"integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==",
- "dev": true,
"license": "BlueOak-1.0.0",
"dependencies": {
"brace-expansion": "^5.0.5"
@@ -5249,17 +5791,27 @@
"version": "7.1.3",
"resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz",
"integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==",
- "dev": true,
"license": "BlueOak-1.0.0",
"engines": {
"node": ">=16 || 14 >=14.17"
}
},
+ "node_modules/minizlib": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.1.0.tgz",
+ "integrity": "sha512-KZxYo1BUkWD2TVFLr0MQoM8vUUigWD3LlD83a/75BqC+4qE0Hb1Vo5v1FgcfaNXvfXzr+5EhQ6ing/CaBijTlw==",
+ "license": "MIT",
+ "dependencies": {
+ "minipass": "^7.1.2"
+ },
+ "engines": {
+ "node": ">= 18"
+ }
+ },
"node_modules/ms": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
- "dev": true,
"license": "MIT"
},
"node_modules/nanoid": {
@@ -5281,6 +5833,31 @@
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
}
},
+ "node_modules/native-run": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/native-run/-/native-run-2.0.3.tgz",
+ "integrity": "sha512-U1PllBuzW5d1gfan+88L+Hky2eZx+9gv3Pf6rNBxKbORxi7boHzqiA6QFGSnqMem4j0A9tZ08NMIs5+0m/VS1Q==",
+ "license": "MIT",
+ "dependencies": {
+ "@ionic/utils-fs": "^3.1.7",
+ "@ionic/utils-terminal": "^2.3.4",
+ "bplist-parser": "^0.3.2",
+ "debug": "^4.3.4",
+ "elementtree": "^0.1.7",
+ "ini": "^4.1.1",
+ "plist": "^3.1.0",
+ "split2": "^4.2.0",
+ "through2": "^4.0.2",
+ "tslib": "^2.6.2",
+ "yauzl": "^2.10.0"
+ },
+ "bin": {
+ "native-run": "bin/native-run"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ }
+ },
"node_modules/node-releases": {
"version": "2.0.51",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.51.tgz",
@@ -5335,6 +5912,23 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/open": {
+ "version": "8.4.2",
+ "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz",
+ "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==",
+ "license": "MIT",
+ "dependencies": {
+ "define-lazy-prop": "^2.0.0",
+ "is-docker": "^2.1.1",
+ "is-wsl": "^2.2.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
"node_modules/own-keys": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.2.tgz",
@@ -5358,14 +5952,12 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",
"integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==",
- "dev": true,
"license": "BlueOak-1.0.0"
},
"node_modules/path-key": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
"integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -5382,7 +5974,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz",
"integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==",
- "dev": true,
"license": "BlueOak-1.0.0",
"dependencies": {
"lru-cache": "^11.0.0",
@@ -5399,12 +5990,17 @@
"version": "11.5.2",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.2.tgz",
"integrity": "sha512-4pfM1Ff0x50o0tQwb5ucw/RzNyD0/YJME6IVcStalZuMWxdt3sR3huStTtxz4PUmvZfRguvDejasvQ2kifR11g==",
- "dev": true,
"license": "BlueOak-1.0.0",
"engines": {
"node": "20 || >=22"
}
},
+ "node_modules/pend": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
+ "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==",
+ "license": "MIT"
+ },
"node_modules/picocolors": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
@@ -5425,6 +6021,20 @@
"url": "https://github.com/sponsors/jonschlinkert"
}
},
+ "node_modules/plist": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/plist/-/plist-3.1.1.tgz",
+ "integrity": "sha512-ZIfcLJC+7E7FBFnDxm9MPmt7D+DidyQ26lewieO75AdhA2ayMtsJSES0iWzqJQbcVRSrTufQoy0DR94xHue0oA==",
+ "license": "MIT",
+ "dependencies": {
+ "@xmldom/xmldom": "^0.9.10",
+ "base64-js": "^1.5.1",
+ "xmlbuilder": "^15.1.1"
+ },
+ "engines": {
+ "node": ">=10.4.0"
+ }
+ },
"node_modules/possible-typed-array-names": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz",
@@ -5477,6 +6087,28 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/prompts": {
+ "version": "2.4.2",
+ "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",
+ "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==",
+ "license": "MIT",
+ "dependencies": {
+ "kleur": "^3.0.3",
+ "sisteransi": "^1.0.5"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/prompts/node_modules/kleur": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
+ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/react": {
"version": "19.2.8",
"resolved": "https://registry.npmjs.org/react/-/react-19.2.8.tgz",
@@ -5536,6 +6168,20 @@
"react-dom": ">=18"
}
},
+ "node_modules/readable-stream": {
+ "version": "3.6.2",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz",
+ "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==",
+ "license": "MIT",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
"node_modules/reflect.getprototypeof": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz",
@@ -5670,6 +6316,42 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/rimraf": {
+ "version": "6.1.3",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-6.1.3.tgz",
+ "integrity": "sha512-LKg+Cr2ZF61fkcaK1UdkH2yEBBKnYjTyWzTJT6KNPcSPaiT7HSdhtMXQuN5wkTX0Xu72KQ1l8S42rlmexS2hSA==",
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "glob": "^13.0.3",
+ "package-json-from-dist": "^1.0.1"
+ },
+ "bin": {
+ "rimraf": "dist/esm/bin.mjs"
+ },
+ "engines": {
+ "node": "20 || >=22"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/rimraf/node_modules/glob": {
+ "version": "13.0.6",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz",
+ "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==",
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "minimatch": "^10.2.2",
+ "minipass": "^7.1.3",
+ "path-scurry": "^2.0.2"
+ },
+ "engines": {
+ "node": "18 || 20 || >=22"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
"node_modules/rolldown": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.1.5.tgz",
@@ -5769,6 +6451,26 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "license": "MIT"
+ },
"node_modules/safe-push-apply": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz",
@@ -5804,6 +6506,12 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/sax": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/sax/-/sax-1.1.4.tgz",
+ "integrity": "sha512-5f3k2PbGGp+YtKJjOItpg3P99IMD84E4HOvcfleTb5joCHNXYLsR9yWFPOYGgaeMPDubQILTCMdsFb2OMeOjtg==",
+ "license": "ISC"
+ },
"node_modules/scheduler": {
"version": "0.27.0",
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.27.0.tgz",
@@ -5814,7 +6522,6 @@
"version": "7.8.5",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
"integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
- "dev": true,
"license": "ISC",
"bin": {
"semver": "bin/semver.js"
@@ -5942,7 +6649,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
"integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"shebang-regex": "^3.0.0"
@@ -5955,7 +6661,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
"integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -6050,6 +6755,52 @@
"url": "https://github.com/sponsors/isaacs"
}
},
+ "node_modules/simple-plist": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/simple-plist/-/simple-plist-1.3.1.tgz",
+ "integrity": "sha512-iMSw5i0XseMnrhtIzRb7XpQEXepa9xhWxGUojHBL43SIpQuDQkh3Wpy67ZbDzZVr6EKxvwVChnVpdl8hEVLDiw==",
+ "license": "MIT",
+ "dependencies": {
+ "bplist-creator": "0.1.0",
+ "bplist-parser": "0.3.1",
+ "plist": "^3.0.5"
+ }
+ },
+ "node_modules/simple-plist/node_modules/bplist-parser": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.3.1.tgz",
+ "integrity": "sha512-PyJxiNtA5T2PlLIeBot4lbp7rj4OadzjnMZD/G5zuBNt8ei/yCU7+wW0h2bag9vr8c+/WuRWmSxbqAl9hL1rBA==",
+ "license": "MIT",
+ "dependencies": {
+ "big-integer": "1.6.x"
+ },
+ "engines": {
+ "node": ">= 5.10.0"
+ }
+ },
+ "node_modules/sisteransi": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",
+ "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==",
+ "license": "MIT"
+ },
+ "node_modules/slice-ansi": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz",
+ "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "astral-regex": "^2.0.0",
+ "is-fullwidth-code-point": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/slice-ansi?sponsor=1"
+ }
+ },
"node_modules/smob": {
"version": "1.6.2",
"resolved": "https://registry.npmjs.org/smob/-/smob-1.6.2.tgz",
@@ -6101,6 +6852,15 @@
"node": ">=0.10.0"
}
},
+ "node_modules/split2": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz",
+ "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==",
+ "license": "ISC",
+ "engines": {
+ "node": ">= 10.x"
+ }
+ },
"node_modules/stop-iteration-iterator": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz",
@@ -6115,6 +6875,38 @@
"node": ">= 0.4"
}
},
+ "node_modules/stream-buffers": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/stream-buffers/-/stream-buffers-2.2.0.tgz",
+ "integrity": "sha512-uyQK/mx5QjHun80FLJTfaWE7JtwfRMKBLkMne6udYOmvH0CawotVa7TfgYHzAnpphn4+TweIx1QKMnRIbipmUg==",
+ "license": "Unlicense",
+ "engines": {
+ "node": ">= 0.10.0"
+ }
+ },
+ "node_modules/string_decoder": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
+ "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
+ "license": "MIT",
+ "dependencies": {
+ "safe-buffer": "~5.2.0"
+ }
+ },
+ "node_modules/string-width": {
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
+ "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
+ "license": "MIT",
+ "dependencies": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/string.prototype.matchall": {
"version": "4.0.12",
"resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.12.tgz",
@@ -6218,6 +7010,18 @@
"node": ">=4"
}
},
+ "node_modules/strip-ansi": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/strip-comments": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/strip-comments/-/strip-comments-2.0.1.tgz",
@@ -6241,6 +7045,39 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/tables-core": {
+ "version": "1.2.2",
+ "resolved": "git+ssh://git@github.com/mrWD/tables-core.git#4e43d9a0affcef39f3cd90cb9ced80db80fd2ced",
+ "license": "MIT",
+ "peerDependencies": {
+ "zustand": "^5"
+ }
+ },
+ "node_modules/tar": {
+ "version": "7.5.22",
+ "resolved": "https://registry.npmjs.org/tar/-/tar-7.5.22.tgz",
+ "integrity": "sha512-MFO/QzvtAOmJbkhOaCTvbGcFN9L9b+JunIsDwaKljSOdcLMea3NJ1k9Usz/rjdfSXTq4dfzfeS7W4p4YOAAHeA==",
+ "license": "BlueOak-1.0.0",
+ "dependencies": {
+ "@isaacs/fs-minipass": "^4.0.0",
+ "chownr": "^3.0.0",
+ "minipass": "^7.1.2",
+ "minizlib": "^3.1.0",
+ "yallist": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/tar/node_modules/yallist": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz",
+ "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==",
+ "license": "BlueOak-1.0.0",
+ "engines": {
+ "node": ">=18"
+ }
+ },
"node_modules/temp-dir": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-2.0.0.tgz",
@@ -6289,6 +7126,15 @@
"node": ">=10"
}
},
+ "node_modules/through2": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz",
+ "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==",
+ "license": "MIT",
+ "dependencies": {
+ "readable-stream": "3"
+ }
+ },
"node_modules/tinyglobby": {
"version": "0.2.17",
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",
@@ -6306,13 +7152,20 @@
"url": "https://github.com/sponsors/SuperchupuDev"
}
},
+ "node_modules/tree-kill": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz",
+ "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==",
+ "license": "MIT",
+ "bin": {
+ "tree-kill": "cli.js"
+ }
+ },
"node_modules/tslib": {
"version": "2.8.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
"integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
- "dev": true,
- "license": "0BSD",
- "optional": true
+ "license": "0BSD"
},
"node_modules/type-fest": {
"version": "0.16.0",
@@ -6442,7 +7295,6 @@
"version": "7.18.2",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",
"integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==",
- "dev": true,
"license": "MIT"
},
"node_modules/unicode-canonical-property-names-ecmascript": {
@@ -6506,12 +7358,20 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
"integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">= 10.0.0"
}
},
+ "node_modules/untildify": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz",
+ "integrity": "sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8"
+ }
+ },
"node_modules/upath": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz",
@@ -6554,6 +7414,22 @@
"browserslist": ">= 4.21.0"
}
},
+ "node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==",
+ "license": "MIT"
+ },
+ "node_modules/uuid": {
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/uuid/-/uuid-7.0.3.tgz",
+ "integrity": "sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg==",
+ "deprecated": "uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).",
+ "license": "MIT",
+ "bin": {
+ "uuid": "dist/bin/uuid"
+ }
+ },
"node_modules/vite": {
"version": "8.1.5",
"resolved": "https://registry.npmjs.org/vite/-/vite-8.1.5.tgz",
@@ -6667,7 +7543,6 @@
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
"integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
- "dev": true,
"license": "ISC",
"dependencies": {
"isexe": "^2.0.0"
@@ -6988,6 +7863,67 @@
"workbox-core": "7.4.1"
}
},
+ "node_modules/wrap-ansi": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
+ "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
+ "license": "MIT",
+ "dependencies": {
+ "ansi-styles": "^4.0.0",
+ "string-width": "^4.1.0",
+ "strip-ansi": "^6.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
+ }
+ },
+ "node_modules/xcode": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/xcode/-/xcode-3.0.1.tgz",
+ "integrity": "sha512-kCz5k7J7XbJtjABOvkc5lJmkiDh8VhjVCGNiqdKCscmVpdVUpEAyXv1xmCLkQJ5dsHqx3IPO4XW+NTDhU/fatA==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "simple-plist": "^1.1.0",
+ "uuid": "^7.0.3"
+ },
+ "engines": {
+ "node": ">=10.0.0"
+ }
+ },
+ "node_modules/xml2js": {
+ "version": "0.6.2",
+ "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz",
+ "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==",
+ "license": "MIT",
+ "dependencies": {
+ "sax": ">=0.6.0",
+ "xmlbuilder": "~11.0.0"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/xml2js/node_modules/xmlbuilder": {
+ "version": "11.0.1",
+ "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz",
+ "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/xmlbuilder": {
+ "version": "15.1.1",
+ "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-15.1.1.tgz",
+ "integrity": "sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
"node_modules/yallist": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz",
@@ -6995,6 +7931,16 @@
"dev": true,
"license": "ISC"
},
+ "node_modules/yauzl": {
+ "version": "2.10.0",
+ "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz",
+ "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==",
+ "license": "MIT",
+ "dependencies": {
+ "buffer-crc32": "~0.2.3",
+ "fd-slicer": "~1.1.0"
+ }
+ },
"node_modules/zustand": {
"version": "5.0.14",
"resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.14.tgz",
diff --git a/package.json b/package.json
index 7526d46..a92187a 100644
--- a/package.json
+++ b/package.json
@@ -9,10 +9,21 @@
"preview": "vite preview"
},
"dependencies": {
+ "@capacitor/android": "^8.5.0",
+ "@capacitor/app": "^8.1.1",
+ "@capacitor/cli": "^8.5.0",
+ "@capacitor/core": "^8.5.0",
+ "@capacitor/filesystem": "^8.1.2",
+ "@capacitor/haptics": "^8.0.2",
+ "@capacitor/ios": "^8.5.0",
+ "@capacitor/share": "^8.0.1",
+ "@capacitor/splash-screen": "^8.0.2",
+ "@capacitor/status-bar": "^8.0.3",
"@vercel/analytics": "^2.0.1",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"react-router-dom": "^7.18.1",
+ "tables-core": "github:mrWD/tables-core#v1.2.2",
"zustand": "^5.0.14"
},
"devDependencies": {
diff --git a/public/privacy.html b/public/privacy.html
new file mode 100644
index 0000000..063795b
--- /dev/null
+++ b/public/privacy.html
@@ -0,0 +1,44 @@
+
+
+
+
+
+GamesTable — Privacy
+
+
+
+GamesTable — Privacy
+Last updated: 2026-08-11
+
+GamesTable is a personal tracker for video games. The shortest honest summary: your
+library never leaves your device, and we could not read it if we wanted to.
+
+What we store
+Nothing. There are no accounts, no sign-in, and no server that holds user data. Your
+library lives in your browser’s storage (on the web) or in the app’s own private
+storage (in the installed app). Deleting your browsing data or the app deletes it —
+which is why the app keeps offering you an export.
+
+What leaves your device
+Searching the catalogue sends your query to the services the catalogue comes from:
+RAWG and Steam, both through our own proxy. Like any website you visit, they see the request and your IP address. Cover
+and poster images load from their image hosts the same way.
+Catalogue queries pass through our proxy at games-table-bay.vercel.app, which exists only to keep the RAWG API key off your device and to add the CORS headers Steam does not send. It forwards the query, caches popular responses at the edge, and stores nothing about you.
+
+Analytics
+The website may report cookieless page views to Vercel Web Analytics — a screen
+name, never a title, a search term or an identifier. The installed app reports
+nothing at all.
+
+Backups
+An exported backup is an ordinary file created at your request. It goes wherever you
+send it — your Files, your drive, your email — and never to us.
+
+Contact
+Questions: lvigtor@gmail.com
+
+
diff --git a/src/components/AutoBackup.tsx b/src/components/AutoBackup.tsx
index 54aef62..6f3e7a6 100644
--- a/src/components/AutoBackup.tsx
+++ b/src/components/AutoBackup.tsx
@@ -1,4 +1,5 @@
import { useEffect } from 'react'
+import { isNativeApp } from 'tables-core'
import { useAutoBackup } from '../store/backup'
import { IconDownload } from './Icons'
@@ -15,6 +16,15 @@ export function AutoBackup() {
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [])
+ if (isNativeApp()) {
+ return (
+
+ Your library is stored inside the app, where clearing a browser cannot reach it.
+ Deleting the app still takes it — export a copy now and then.
+
+ )
+ }
+
if (state === 'unsupported') {
return (
diff --git a/src/components/InstallHint.tsx b/src/components/InstallHint.tsx
index 3df572c..40b0e5d 100644
--- a/src/components/InstallHint.tsx
+++ b/src/components/InstallHint.tsx
@@ -1,10 +1,11 @@
import { useEffect, useState } from 'react'
+import { isIosSafari, isStandalone } from 'tables-core'
import { IconX } from './Icons'
/**
* Nudge to install the app to the home screen.
*
- * This is not a growth banner — it protects the data. The library lives in localStorage,
+ * This is not a growth banner — it protects the data. The library lives on the device,
* and Safari's tracking prevention clears script-writable storage for sites not visited
* for several days. A page kept in a browser tab can therefore lose the library on its
* own; the same page installed to the home screen is exempt. So the copy says why.
@@ -21,22 +22,6 @@ interface PromptEvent extends Event {
userChoice: Promise<{ outcome: 'accepted' | 'dismissed' }>
}
-function isStandalone(): boolean {
- return (
- window.matchMedia('(display-mode: standalone)').matches ||
- // iOS marks installed apps here rather than through display-mode.
- (window.navigator as { standalone?: boolean }).standalone === true
- )
-}
-
-/** iPadOS reports itself as a Mac, so touch support is part of the test. */
-function isIosSafari(): boolean {
- const ua = navigator.userAgent
- const iOS = /iPad|iPhone|iPod/.test(ua) || (/Macintosh/.test(ua) && navigator.maxTouchPoints > 1)
- const webkit = /WebKit/.test(ua) && !/CriOS|FxiOS|EdgiOS|OPiOS/.test(ua)
- return iOS && webkit
-}
-
export function InstallHint() {
const [prompt, setPrompt] = useState(null)
const [showIos, setShowIos] = useState(false)
diff --git a/src/lib/api.ts b/src/lib/api.ts
index b8b4658..ecc2da5 100644
--- a/src/lib/api.ts
+++ b/src/lib/api.ts
@@ -1,3 +1,4 @@
+import { isNativeApp } from 'tables-core'
import type { GameSummary } from './types'
import { stats } from '../store/stats'
@@ -8,13 +9,42 @@ import { stats } from '../store/stats'
*/
/**
- * The path is always same-origin: on Vercel the function lives at /api/games, and in
- * dev Vite proxies /api to the local harness (see vite.config.ts).
+ * On the web the proxy is same-origin: on Vercel the function lives at /api/games, and
+ * in dev Vite proxies /api to the local harness (see vite.config.ts).
+ *
+ * The native app has no origin to be same as — it is served from capacitor://localhost —
+ * so it must call the deployment by its full address. `VITE_API_BASE` still wins when
+ * set, but the fallback is deliberate rather than empty: a build that quietly shipped to
+ * a store with no base would have no search at all, and forgetting one environment
+ * variable is not a failure worth risking that on.
+ *
+ * The proxy needs no change to allow this. Its origin check parses `capacitor://localhost`
+ * to the host `localhost`, which its loopback rule already permits.
*/
+const PRODUCTION_API = 'https://games-table-bay.vercel.app'
+
+const API_BASE = (
+ (import.meta.env.VITE_API_BASE as string | undefined) ?? (isNativeApp() ? PRODUCTION_API : '')
+).replace(/\/$/, '')
/** Set once the proxy proves absent, so we stop retrying on every keystroke. */
let rawgDisabled = false
+/**
+ * A deadline, because this proxy is the app's only source.
+ *
+ * Measured against production while RAWG's own API was down: a failing request took
+ * 19.5 seconds to come back, and Explore sat on loading skeletons for all of it — the
+ * app read as hung rather than unlucky. FilmTable and BooksTable never had this
+ * problem; their supplementary sources are wrapped in short timeouts and a primary
+ * source answers regardless. Here every catalogue call goes through the proxy, so the
+ * deadline belongs here.
+ *
+ * Eight seconds: clear of a slow mobile round trip, still inside the span of someone's
+ * attention.
+ */
+const REQUEST_TIMEOUT_MS = 8000
+
async function proxy(
source: 'rawg' | 'steam',
path: string,
@@ -24,15 +54,22 @@ async function proxy(
if (source === 'rawg' && rawgDisabled) return null
const qs = new URLSearchParams({ source, path, ...params }).toString()
try {
- const res = await fetch(`/api/games?${qs}`)
+ const res = await fetch(`${API_BASE}/api/games?${qs}`, {
+ signal: AbortSignal.timeout?.(REQUEST_TIMEOUT_MS),
+ })
if (res.status === 503 || res.status === 404 || res.status === 403) {
if (source === 'rawg') rawgDisabled = true
return null
}
if (!res.ok) return null
return (await res.json()) as T
- } catch {
- if (source === 'rawg') rawgDisabled = true
+ } catch (err) {
+ // A timeout says "too slow right now", not "not there". Treating the two alike
+ // would let one slow moment disable RAWG — and with it every console game — for
+ // the rest of the session.
+ const name = err instanceof Error ? err.name : ''
+ const timedOut = name === 'TimeoutError' || name === 'AbortError'
+ if (source === 'rawg' && !timedOut) rawgDisabled = true
return null
}
}
@@ -195,15 +232,82 @@ export async function lookupGame(id: string): Promise {
}
/** Explore shelves: popular now and what is coming next. */
-export async function popularGames(): Promise {
+interface SteamFeaturedItem {
+ id: number
+ name?: string
+ header_image?: string
+ large_capsule_image?: string
+}
+
+interface SteamFeatured {
+ new_releases?: { items?: SteamFeaturedItem[] }
+ coming_soon?: { items?: SteamFeaturedItem[] }
+}
+
+/**
+ * Steam's own storefront lists, used when RAWG cannot answer.
+ *
+ * Fetched once per session and shared: both discover sections come out of the same
+ * payload, and asking twice for it would double the wait for no new information.
+ */
+let featuredOnce: Promise | null = null
+function steamFeatured(): Promise {
+ featuredOnce ??= proxy('steam', 'featuredcategories', { cc: 'us', l: 'en' })
+ return featuredOnce
+}
+
+/**
+ * `top_sellers` is deliberately not used. Measured during a Valve hardware launch it
+ * returned four copies of "Steam Machine" and a controller — the list mixes hardware
+ * with games and nothing in the payload separates them (`type` is 0 for both). The
+ * release lists are games in practice, and duplicates are dropped by title anyway.
+ */
+function mapFeatured(items: SteamFeaturedItem[] | undefined): GameSummary[] {
+ const seen = new Set()
+ const out: GameSummary[] = []
+ for (const item of items ?? []) {
+ const title = item.name?.trim()
+ if (!title) continue
+ const key = title.toLowerCase()
+ if (seen.has(key)) continue
+ seen.add(key)
+ out.push({
+ id: `steam:${item.id}`,
+ title,
+ cover: item.large_capsule_image ?? item.header_image ?? null,
+ released: null,
+ genres: [],
+ platforms: ['PC'],
+ metacritic: null,
+ rating: null,
+ })
+ if (out.length === 12) break
+ }
+ return out
+}
+
+/**
+ * The two discover sections say where they came from, because the answers are not
+ * equivalent: RAWG covers every platform, Steam only PC. The screen names its source
+ * rather than passing a narrower list off as the same thing.
+ */
+export type DiscoverSource = 'rawg' | 'steam'
+export interface Discover {
+ games: GameSummary[]
+ source: DiscoverSource
+}
+
+export async function popularGames(): Promise {
const data = await proxy<{ results?: RawgGame[] }>('rawg', 'games', {
ordering: '-added',
page_size: '12',
})
- return (data?.results ?? []).map(mapRawg)
+ if (data?.results?.length) return { games: data.results.map(mapRawg), source: 'rawg' }
+ const featured = await steamFeatured()
+ return { games: mapFeatured(featured?.new_releases?.items), source: 'steam' }
}
-export async function upcomingGames(): Promise {
+export async function upcomingGames(): Promise {
const today = new Date().toISOString().slice(0, 10)
const inAYear = new Date(Date.now() + 365 * 86400000).toISOString().slice(0, 10)
const data = await proxy<{ results?: RawgGame[] }>('rawg', 'games', {
@@ -211,5 +315,7 @@ export async function upcomingGames(): Promise {
ordering: 'released',
page_size: '12',
})
- return (data?.results ?? []).map(mapRawg)
+ if (data?.results?.length) return { games: data.results.map(mapRawg), source: 'rawg' }
+ const featured = await steamFeatured()
+ return { games: mapFeatured(featured?.coming_soon?.items), source: 'steam' }
}
diff --git a/src/lib/native-ui.ts b/src/lib/native-ui.ts
new file mode 100644
index 0000000..2c59da9
--- /dev/null
+++ b/src/lib/native-ui.ts
@@ -0,0 +1,74 @@
+import { App as CapApp } from '@capacitor/app'
+import { Haptics, ImpactStyle, NotificationType } from '@capacitor/haptics'
+import { SplashScreen } from '@capacitor/splash-screen'
+import { StatusBar, Style } from '@capacitor/status-bar'
+import { isNativeApp } from 'tables-core'
+
+/**
+ * The small pieces that make the wrapped app feel like an app rather than a page:
+ * a status bar that follows the theme, a splash screen that hides once there is
+ * something to show, the Android back button, and a tap you can feel.
+ *
+ * Everything here is a no-op in a browser. The guards are explicit rather than relying
+ * on the plugins' web fallbacks, so a future plugin swap cannot quietly start throwing.
+ */
+
+/**
+ * The status bar icons, matched to whatever is actually painted behind them.
+ *
+ * Measured on Android 16 (targetSdk 36): the web view does **not** run edge to edge —
+ * it is inset by 24 CSS px top and bottom, `env(safe-area-inset-*)` reads 0 inside it,
+ * and those two strips are painted with the window background. That background comes
+ * from the `DayNight` theme, so it follows the **system** dark mode and ignores the
+ * theme chosen inside the app. `setBackgroundColor` cannot repaint it either — Android
+ * 15 made it a no-op — and neither `setOverlaysWebView`, `fitsSystemWindows="false"`,
+ * nor `WindowCompat.setDecorFitsSystemWindows(window, false)` moved the web view.
+ *
+ * Hence the system preference here rather than the app's own theme. Driving the icons
+ * from the app's theme is the intuitive thing to write and produces white icons on a
+ * white strip the moment someone picks Dark on a light phone. Icons that follow the
+ * strip's real colour stay readable in every combination.
+ *
+ * The remaining cost is honest and small: with the app's theme overridden against the
+ * system, those two strips keep the system's colour. Making them follow the app would
+ * mean genuine edge-to-edge work against AppCompat's decor, or switching the Android
+ * night mode at runtime — which recreates the activity and reloads the web view.
+ */
+export function syncStatusBar(): void {
+ if (!isNativeApp()) return
+ const systemDark = window.matchMedia?.('(prefers-color-scheme: dark)').matches ?? false
+ // Naming trap: Capacitor's `Style.Dark` means "drawn for a dark background", i.e.
+ // light icons — not "dark icons".
+ void StatusBar.setStyle({ style: systemDark ? Style.Dark : Style.Light }).catch(() => {})
+}
+
+/** The splash stays up (launchAutoHide: false) until hydration has something to show. */
+export function hideSplash(): void {
+ if (!isNativeApp()) return
+ void SplashScreen.hide().catch(() => {})
+}
+
+/**
+ * Android's back button. Inside the app's own history — a book page, Explore — it goes
+ * back; at the root it minimises rather than exits, so the library is instant on return.
+ * iOS never fires this listener.
+ */
+export function wireBackButton(): void {
+ if (!isNativeApp()) return
+ void CapApp.addListener('backButton', ({ canGoBack }) => {
+ if (canGoBack) window.history.back()
+ else void CapApp.minimizeApp()
+ })
+}
+
+/** A light tick for moving a game between statuses. */
+export function tapFeedback(): void {
+ if (!isNativeApp()) return
+ void Haptics.impact({ style: ImpactStyle.Light }).catch(() => {})
+}
+
+/** Finishing a game deserves slightly more than a tick. */
+export function successFeedback(): void {
+ if (!isNativeApp()) return
+ void Haptics.notification({ type: NotificationType.Success }).catch(() => {})
+}
diff --git a/src/lib/native.ts b/src/lib/native.ts
new file mode 100644
index 0000000..5b1740f
--- /dev/null
+++ b/src/lib/native.ts
@@ -0,0 +1,23 @@
+import { Directory, Encoding, Filesystem } from '@capacitor/filesystem'
+import { Share } from '@capacitor/share'
+import type { NativeBridge } from 'tables-core'
+
+/**
+ * The Capacitor plugins, assembled into the shape `tables-core` expects.
+ *
+ * The core package deliberately imports no `@capacitor/*` — two of the three trackers
+ * have no native shell yet — so the wiring lives here. Importing this module in a web
+ * build is harmless: the plugins ship web implementations that simply report the
+ * platform is not native, and nothing behind `isNativeApp()` ever calls them.
+ *
+ * The type arguments are not decoration: `NativeBridge` defaults them to `string` for
+ * web callers, and accepting that default here would stop the real plugin — whose
+ * options are typed with these enums — from fitting.
+ */
+export const native: NativeBridge = {
+ fs: Filesystem,
+ share: Share,
+ directory: Directory.Data,
+ cacheDirectory: Directory.Cache,
+ encoding: Encoding.UTF8,
+}
diff --git a/src/lib/storage.ts b/src/lib/storage.ts
new file mode 100644
index 0000000..a3809b0
--- /dev/null
+++ b/src/lib/storage.ts
@@ -0,0 +1,17 @@
+import { createDeviceStorage } from 'tables-core'
+import { useUi } from '../store/ui'
+import { native } from './native'
+
+/**
+ * The app's one storage instance. The adapter itself lives in `tables-core`, shared with
+ * FilmTable and BooksTable; what belongs here is the database name, the native plugins
+ * to hand it, and what a failed write should say to this app's user.
+ *
+ * In a browser this is IndexedDB. In the native app it is a file in private app storage,
+ * which the OS cannot reclaim the way it reclaims a WebView's site data.
+ */
+export const deviceStorage = createDeviceStorage({
+ dbName: 'gamestable-kv',
+ native,
+ onWriteError: () => useUi.getState().showToast('Saving failed — export a backup from your profile'),
+})
diff --git a/src/main.tsx b/src/main.tsx
index fbba0ac..a504917 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -3,11 +3,23 @@ import { createRoot } from 'react-dom/client'
import { registerSW } from 'virtual:pwa-register'
import './styles.css'
import App from './App'
+import { whenHydrated } from 'tables-core'
+import { hideSplash, wireBackButton } from './lib/native-ui'
+import { useLibrary } from './store/library'
registerSW({ immediate: true })
+wireBackButton()
-createRoot(document.getElementById('root')!).render(
-
-
- ,
-)
+// The library hydrates from IndexedDB in a browser and from a file in the native app —
+// asynchronous either way. Rendering before it settles would flash an empty library (and
+// let startup effects act on one), so the first render waits. In the browser the page
+// background covers the wait; natively the splash screen does (launchAutoHide is off),
+// and is dismissed here once there is something behind it.
+void whenHydrated([useLibrary]).then(() => {
+ createRoot(document.getElementById('root')!).render(
+
+
+ ,
+ )
+ hideSplash()
+})
diff --git a/src/pages/ExplorePage.tsx b/src/pages/ExplorePage.tsx
index 852b89f..8b5596e 100644
--- a/src/pages/ExplorePage.tsx
+++ b/src/pages/ExplorePage.tsx
@@ -5,6 +5,23 @@ import { GameResultRow } from '../components/cards'
import { SectionLabel, SkeletonRows } from '../components/ui'
import { IconSearch, IconX } from '../components/Icons'
+/**
+ * What to say when the catalogue answers nothing.
+ *
+ * There are two different situations behind that, and only one of them is the
+ * reader's business. Running `npm run dev` without the proxy is a developer's own
+ * doing, and the fix is a command. Everywhere else — the deployed site, and the
+ * installed app on someone's phone — the proxy is running and the outage is upstream
+ * at RAWG or Steam; telling that person to "start it locally, or deploy it" is advice
+ * they cannot act on and reads as the app being broken.
+ *
+ * `import.meta.env.DEV` is exactly the line between the two: true only under the dev
+ * server, false in every build that ships.
+ */
+const CATALOGUE_DOWN = import.meta.env.DEV
+ ? 'Catalogue unavailable. Both sources are reached through a small proxy — start it locally, or deploy it, and search will work.'
+ : 'The games catalogue is not answering right now. This is on their side, not yours — your library is untouched. Try again later.'
+
function ForYou() {
const { items, loading, error, taste, load } = useRecommend()
@@ -42,7 +59,7 @@ function ForYou() {
}
export default function ExplorePage() {
- const { query, results, searching, failed, popular, upcoming, discoverLoading, setQuery, runSearch, loadDiscover } =
+ const { query, results, searching, failed, popular, upcoming, discoverLoading, discoverSource, setQuery, runSearch, loadDiscover } =
useExplore()
const debounce = useRef>(undefined)
const inputRef = useRef(null)
@@ -96,9 +113,7 @@ export default function ExplorePage() {
results.map((game) => )}
{!searching && results.length === 0 && (
- {failed
- ? 'Nothing found. If this keeps happening, the catalogue proxy may be unreachable.'
- : `No games found for “${query.trim()}”.`}
+ {failed ? CATALOGUE_DOWN : `No games found for “${query.trim()}”.`}
)}
>
@@ -108,7 +123,7 @@ export default function ExplorePage() {
{discoverLoading && popular.length === 0 && }
{popular.length > 0 && (
- Popular now
+ {discoverSource === 'steam' ? 'New on Steam' : 'Popular now'}
{popular.map((game) => (
))}
@@ -116,17 +131,16 @@ export default function ExplorePage() {
)}
{upcoming.length > 0 && (
- Coming soon
+
+ {discoverSource === 'steam' ? 'Coming soon on Steam' : 'Coming soon'}
+
{upcoming.map((game) => (
))}
)}
{!discoverLoading && popular.length === 0 && upcoming.length === 0 && (
-
- Catalogue unavailable. Both sources are reached through a small proxy — start it
- locally, or deploy it, and search will work.
-
+ {CATALOGUE_DOWN}
)}
Game data from{' '}
diff --git a/src/pages/ProfilePage.tsx b/src/pages/ProfilePage.tsx
index 97efeb5..3520d0b 100644
--- a/src/pages/ProfilePage.tsx
+++ b/src/pages/ProfilePage.tsx
@@ -5,6 +5,8 @@ import { useUi } from '../store/ui'
import { useTheme, type ThemeChoice } from '../store/theme'
import { useStats } from '../store/stats'
import { AutoBackup } from '../components/AutoBackup'
+import { exportJsonFile, isNativeApp } from 'tables-core'
+import { native } from '../lib/native'
import { formatHours } from '../lib/format'
import { IconDownload, IconPad, IconTrash, IconUpload } from '../components/Icons'
import { SupportLinks } from '../components/Support'
@@ -64,14 +66,16 @@ export default function ProfilePage() {
const stats = buildStats(games)
- const doExport = () => {
- const blob = new Blob([JSON.stringify(buildBackup(), null, 2)], { type: 'application/json' })
- const url = URL.createObjectURL(blob)
- const a = document.createElement('a')
- a.href = url
- a.download = `gamestable-backup-${new Date().toISOString().slice(0, 10)}.json`
- a.click()
- URL.revokeObjectURL(url)
+ const doExport = async () => {
+ const name = `gamestable-backup-${new Date().toISOString().slice(0, 10)}.json`
+ const outcome = await exportJsonFile(buildBackup(), name, native)
+ // Closing the share sheet is an answer, not an error; a real failure has to be said
+ // out loud, or someone walks away believing they have a backup.
+ if (outcome === 'cancelled') return
+ if (outcome === 'failed') {
+ showToast('Export failed — the backup was not saved')
+ return
+ }
useStats.getState().recordExport()
showToast('Backup exported')
}
@@ -166,11 +170,16 @@ export default function ProfilePage() {
Data
-
+ void doExport()}>
Export backup
-
Download your library as a JSON file
+
+ {/* In the app the file goes to the share sheet, not a download folder. */}
+ {isNativeApp()
+ ? 'Save your library as a JSON file'
+ : 'Download your library as a JSON file'}
+
fileRef.current?.click()}>
diff --git a/src/store/explore.ts b/src/store/explore.ts
index fd8d18f..d56f59a 100644
--- a/src/store/explore.ts
+++ b/src/store/explore.ts
@@ -1,5 +1,5 @@
import { create } from 'zustand'
-import { popularGames, searchGames, upcomingGames } from '../lib/api'
+import { popularGames, searchGames, upcomingGames, type DiscoverSource } from '../lib/api'
import type { GameSummary } from '../lib/types'
import { stats } from './stats'
@@ -12,6 +12,7 @@ interface ExploreState {
popular: GameSummary[]
upcoming: GameSummary[]
discoverLoading: boolean
+ discoverSource: DiscoverSource
setQuery: (q: string) => void
runSearch: (q: string) => Promise
@@ -29,6 +30,7 @@ export const useExplore = create((set, get) => ({
popular: [],
upcoming: [],
discoverLoading: false,
+ discoverSource: 'rawg',
setQuery: (query) => set({ query }),
@@ -54,10 +56,18 @@ export const useExplore = create((set, get) => ({
loadDiscover: async () => {
if (get().popular.length > 0 || get().discoverLoading) return
set({ discoverLoading: true })
+ const empty = { games: [] as GameSummary[], source: 'rawg' as DiscoverSource }
const [popular, upcoming] = await Promise.all([
- popularGames().catch(() => [] as GameSummary[]),
- upcomingGames().catch(() => [] as GameSummary[]),
+ popularGames().catch(() => empty),
+ upcomingGames().catch(() => empty),
])
- set({ popular, upcoming, discoverLoading: false })
+ set({
+ popular: popular.games,
+ upcoming: upcoming.games,
+ // Either section can fall back on its own; the screen labels itself from
+ // whichever actually produced games.
+ discoverSource: popular.games.length ? popular.source : upcoming.source,
+ discoverLoading: false,
+ })
},
}))
diff --git a/src/store/library.ts b/src/store/library.ts
index 21ab32b..9db449c 100644
--- a/src/store/library.ts
+++ b/src/store/library.ts
@@ -1,8 +1,9 @@
import { create } from 'zustand'
-import { createJSONStorage, persist, type StateStorage } from 'zustand/middleware'
+import { createJSONStorage, persist } from 'zustand/middleware'
import type { BackupFile, GameStatus, GameSummary, TrackedGame } from '../lib/types'
+import { successFeedback, tapFeedback } from '../lib/native-ui'
+import { deviceStorage } from '../lib/storage'
import { useStats } from './stats'
-import { useUi } from './ui'
/**
* The whole user library. Unlike FilmTable's shows there is no separate metadata cache:
@@ -52,33 +53,6 @@ function withoutDescriptions(
return out
}
-/**
- * localStorage has a hard ceiling — measured at 4.94 MB in Chromium — and a write past it
- * throws QuotaExceededError. Unguarded, the exception escapes mid-update and the change is
- * simply lost, which the person only discovers later when an entry is missing. Catch it
- * and say so, once.
- */
-let quotaWarned = false
-
-const guardedStorage: StateStorage = {
- getItem: (name) => localStorage.getItem(name),
- setItem: (name, value) => {
- try {
- localStorage.setItem(name, value)
- quotaWarned = false
- } catch (err) {
- const errName = err instanceof Error ? err.name : ''
- if (errName !== 'QuotaExceededError' && errName !== 'NS_ERROR_DOM_QUOTA_REACHED') {
- throw err
- }
- if (quotaWarned) return
- quotaWarned = true
- useUi.getState().showToast('Storage is full — export a backup from your profile')
- }
- },
- removeItem: (name) => localStorage.removeItem(name),
-}
-
export const useLibrary = create()(
persist(
(set) => ({
@@ -87,6 +61,9 @@ export const useLibrary = create()(
setStatus: (game, status) => {
// Outside the updater on purpose: StrictMode runs it twice.
useStats.getState().recordStatusChange()
+ // Reaching an end state is the moment worth feeling; the rest is a tick.
+ if (status === 'played' || status === 'watched') successFeedback()
+ else tapFeedback()
set((s) => {
const now = Date.now()
const existing = s.games[game.id]
@@ -99,6 +76,8 @@ export const useLibrary = create()(
changeStatus: (id, status) => {
useStats.getState().recordStatusChange()
+ if (status === 'played' || status === 'watched') successFeedback()
+ else tapFeedback()
set((s) => {
const g = s.games[id]
if (!g) return s
@@ -164,7 +143,10 @@ export const useLibrary = create()(
{
name: 'gamestable-library-v1',
version: 1,
- storage: createJSONStorage(() => guardedStorage),
+ // IndexedDB in a browser, a file in private app storage natively — and one
+ // migration each way behind it (see lib/storage.ts). Hydration is async either
+ // way, so main.tsx holds the first render until it settles.
+ storage: createJSONStorage(() => deviceStorage),
// Descriptions are re-fetched whenever a detail page opens and are never shown in a
// list, yet storing them tripled a game entry — 407 bytes to 1229 for Elden Ring.
// Keep them in memory for the session; never write them.
diff --git a/src/store/theme.ts b/src/store/theme.ts
index 7746ad1..a43ea35 100644
--- a/src/store/theme.ts
+++ b/src/store/theme.ts
@@ -1,5 +1,6 @@
import { create } from 'zustand'
import { persist } from 'zustand/middleware'
+import { syncStatusBar } from '../lib/native-ui'
export type ThemeChoice = 'system' | 'light' | 'dark'
@@ -22,8 +23,12 @@ export function applyTheme(choice: ThemeChoice): void {
if (choice === 'system') delete root.dataset.theme
else root.dataset.theme = choice
+ const resolved = resolveTheme(choice)
const meta = document.querySelector('meta[name="theme-color"]')
- meta?.setAttribute('content', THEME_COLORS[resolveTheme(choice)])
+ meta?.setAttribute('content', THEME_COLORS[resolved])
+ // Deliberately not passed the resolved theme: natively the strip behind the icons is
+ // painted by the system, not by this app. See syncStatusBar.
+ syncStatusBar()
}
interface ThemeState {
@@ -55,6 +60,9 @@ export function watchSystemTheme(): () => void {
if (!mq) return () => {}
const onChange = () => {
if (useTheme.getState().theme === 'system') applyTheme('system')
+ // The native status bar strip is painted by the system whatever this app's theme is,
+ // so its icons have to follow the system even when the app does not.
+ else syncStatusBar()
}
mq.addEventListener('change', onChange)
return () => mq.removeEventListener('change', onChange)
diff --git a/src/styles.css b/src/styles.css
index 035d0ef..4225b61 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -1237,7 +1237,9 @@ img {
background: var(--card);
color: var(--ink);
font: inherit;
- font-size: 14px;
+ /* 16px is a floor, not a taste: iOS zooms the page in when a focused field is
+ smaller, leaving the app magnified and panned sideways. Do not lower it. */
+ font-size: 16px;
resize: vertical;
}