chore(web): use tsgo for type checking

This commit is contained in:
CaIon
2026-06-22 13:38:43 +08:00
parent 44e0e68689
commit e5694748c7
10 changed files with 38 additions and 10 deletions
+4 -4
View File
@@ -6,8 +6,8 @@
"scripts": {
"dev": "rsbuild dev",
"build": "rsbuild build",
"build:check": "tsc -b && rsbuild build",
"typecheck": "tsc -b",
"build:check": "tsgo -b && rsbuild build",
"typecheck": "tsgo -b",
"lint": "oxlint -c .oxlintrc.json .",
"lint:fix": "oxlint -c .oxlintrc.json . --fix",
"preview": "rsbuild preview",
@@ -83,13 +83,13 @@
"@types/node": "^25.9.1",
"@types/react": "^19.2.15",
"@types/react-dom": "^19.2.3",
"@typescript/native-preview": "^7.0.0-dev.20260621.1",
"@xyflow/react": "^12.10.2",
"embla-carousel-react": "^8.6.0",
"knip": "^6.14.2",
"oxfmt": "catalog:",
"oxlint": "catalog:",
"shadcn": "^4.8.0",
"typescript": "~6.0.3"
"shadcn": "^4.8.0"
},
"overrides": {
"brace-expansion": "2.1.1",
+1 -1
View File
@@ -137,7 +137,7 @@ export function useSidebarData(): SidebarData {
icon: Ticket,
},
{
title: t('Subscription Management'),
title: t('Subscriptions'),
url: '/subscriptions',
icon: CreditCard,
},
+1
View File
@@ -4011,6 +4011,7 @@
"Subscription Plans": "Subscription Plans",
"Subscription plans do NOT use the bound Product — each plan has its own dedicated Pancake product, set in the Subscriptions admin (or auto-minted via the \"+ Create\" button there).": "Subscription plans do NOT use the bound Product — each plan has its own dedicated Pancake product, set in the Subscriptions admin (or auto-minted via the \"+ Create\" button there).",
"Subscription purchased successfully": "Subscription purchased successfully",
"Subscriptions": "Subscriptions",
"Subtract": "Subtract",
"Success": "Success",
"Success rate": "Success rate",
+1
View File
@@ -4011,6 +4011,7 @@
"Subscription Plans": "Plans d'abonnement",
"Subscription plans do NOT use the bound Product — each plan has its own dedicated Pancake product, set in the Subscriptions admin (or auto-minted via the \"+ Create\" button there).": "Les forfaits dabonnement nutilisent PAS le produit associé : chaque forfait dispose de son propre produit Pancake dédié, défini dans ladministration des abonnements (ou créé automatiquement via le bouton « + Créer »).",
"Subscription purchased successfully": "Abonnement acheté avec succès",
"Subscriptions": "Abonnements",
"Subtract": "Soustraire",
"Success": "Succès",
"Success rate": "Taux de réussite",
+1
View File
@@ -4011,6 +4011,7 @@
"Subscription Plans": "サブスクリプションプラン",
"Subscription plans do NOT use the bound Product — each plan has its own dedicated Pancake product, set in the Subscriptions admin (or auto-minted via the \"+ Create\" button there).": "サブスクリプションプランは紐付け済み商品を使用しません。各プランには専用の Pancake 商品があり、サブスクリプション管理画面で設定します(または「+ 作成」ボタンで自動作成します)。",
"Subscription purchased successfully": "サブスクリプションを購入しました",
"Subscriptions": "サブスクリプション",
"Subtract": "減算",
"Success": "成功",
"Success rate": "成功率",
+1
View File
@@ -4011,6 +4011,7 @@
"Subscription Plans": "Планы подписки",
"Subscription plans do NOT use the bound Product — each plan has its own dedicated Pancake product, set in the Subscriptions admin (or auto-minted via the \"+ Create\" button there).": "Планы подписки НЕ используют привязанный продукт — у каждого плана есть собственный продукт Pancake, задаваемый в администрировании подписок (или автоматически создаваемый кнопкой «+ Создать»).",
"Subscription purchased successfully": "Подписка успешно приобретена",
"Subscriptions": "Подписки",
"Subtract": "Вычесть",
"Success": "Успешно",
"Success rate": "Доля успешных запросов",
+1
View File
@@ -4011,6 +4011,7 @@
"Subscription Plans": "Gói đăng ký",
"Subscription plans do NOT use the bound Product — each plan has its own dedicated Pancake product, set in the Subscriptions admin (or auto-minted via the \"+ Create\" button there).": "Gói đăng ký KHÔNG dùng Sản phẩm đã liên kết — mỗi gói có một sản phẩm Pancake riêng, được đặt trong quản trị Đăng ký (hoặc tự động tạo bằng nút \"+ Create\" tại đó).",
"Subscription purchased successfully": "Đã mua gói đăng ký thành công",
"Subscriptions": "Đăng ký",
"Subtract": "Trừ",
"Success": "Thành công",
"Success rate": "Tỷ lệ thành công",
+1
View File
@@ -4011,6 +4011,7 @@
"Subscription Plans": "订阅套餐",
"Subscription plans do NOT use the bound Product — each plan has its own dedicated Pancake product, set in the Subscriptions admin (or auto-minted via the \"+ Create\" button there).": "订阅套餐不会使用已绑定的产品。每个套餐都有独立的 Pancake 产品,可在订阅管理中设置,或通过其中的“+ 创建”按钮自动生成。",
"Subscription purchased successfully": "订阅购买成功",
"Subscriptions": "订阅",
"Subtract": "减少",
"Success": "成功",
"Success rate": "成功率",
+1
View File
@@ -345,6 +345,7 @@ export const STATIC_I18N_KEYS = [
// Subscription management
'Subscription Management',
'Subscriptions',
'Stripe/Creem requires creating products on the third-party platform and entering the ID',
'Create Plan',
'Active',