feat: 添加版本检查 API,支持从 Cloudflare Function 获取应用版本信息;更新相关配置文件

This commit is contained in:
2026-01-14 02:38:02 +07:00
parent a64bd9b470
commit 26ba611095
8 changed files with 285 additions and 103 deletions

16
pnpm-lock.yaml generated
View File

@@ -54,6 +54,9 @@ catalogs:
'@capacitor/status-bar':
specifier: 8.0.0
version: 8.0.0
'@cloudflare/workers-types':
specifier: ^4.20260113.0
version: 4.20260113.0
'@elysiajs/eden':
specifier: ^1.4.5
version: 1.4.5
@@ -399,6 +402,9 @@ importers:
'@capacitor/cli':
specifier: 'catalog:'
version: 8.0.0
'@cloudflare/workers-types':
specifier: 'catalog:'
version: 4.20260113.0
'@iconify-json/bx':
specifier: 'catalog:'
version: 1.2.2
@@ -521,7 +527,7 @@ importers:
version: 7.4.0
wrangler:
specifier: 'catalog:'
version: 4.54.0
version: 4.54.0(@cloudflare/workers-types@4.20260113.0)
packages/distribute:
dependencies:
@@ -1323,6 +1329,9 @@ packages:
cpu: [x64]
os: [win32]
'@cloudflare/workers-types@4.20260113.0':
resolution: {integrity: sha512-CS2tUdGn1EMAV5GoFYYUfsZ4vwwXiYxwrUiI8ZRkxrJGqkHNGily/5Zf+vt/wh1HSoiCIChNYiuLEoCA/XUybw==}
'@cspotcode/source-map-support@0.8.1':
resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==}
engines: {node: '>=12'}
@@ -10499,6 +10508,8 @@ snapshots:
'@cloudflare/workerd-windows-64@1.20251210.0':
optional: true
'@cloudflare/workers-types@4.20260113.0': {}
'@cspotcode/source-map-support@0.8.1':
dependencies:
'@jridgewell/trace-mapping': 0.3.9
@@ -19654,7 +19665,7 @@ snapshots:
'@cloudflare/workerd-linux-arm64': 1.20251210.0
'@cloudflare/workerd-windows-64': 1.20251210.0
wrangler@4.54.0:
wrangler@4.54.0(@cloudflare/workers-types@4.20260113.0):
dependencies:
'@cloudflare/kv-asset-handler': 0.4.1
'@cloudflare/unenv-preset': 2.7.13(unenv@2.0.0-rc.24)(workerd@1.20251210.0)
@@ -19665,6 +19676,7 @@ snapshots:
unenv: 2.0.0-rc.24
workerd: 1.20251210.0
optionalDependencies:
'@cloudflare/workers-types': 4.20260113.0
fsevents: 2.3.3
transitivePeerDependencies:
- bufferutil