@funhub/platform 0.1.149 → 0.1.151

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/dist/components/biz/business/banner/variants/basic-banner/inspector-schema.d.mts +5 -4
  2. package/dist/components/biz/business/banner/variants/basic-banner/inspector-schema.mjs +1 -1
  3. package/dist/components/biz/business/banner/variants/basic-banner/material.d.mts +3 -2
  4. package/dist/components/biz/business/banner-carousel/material.d.mts +3 -2
  5. package/dist/components/biz/business/banner-carousel/schema.d.mts +3 -2
  6. package/dist/components/biz/business/banner-carousel/schema.mjs +1 -1
  7. package/dist/components/biz/business/channel-list/material.d.mts +3 -2
  8. package/dist/components/biz/business/channel-list/schema.d.mts +3 -2
  9. package/dist/components/biz/business/channel-list/schema.mjs +1 -1
  10. package/dist/components/biz/business/detail/shared/registry.d.mts +17 -14
  11. package/dist/components/biz/business/detail/video-detail-actions/schema.mjs +1 -1
  12. package/dist/components/biz/business/detail/video-detail-info/material.d.mts +3 -2
  13. package/dist/components/biz/business/detail/video-detail-info/schema.d.mts +3 -2
  14. package/dist/components/biz/business/detail/video-detail-info/schema.mjs +1 -1
  15. package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/material.d.mts +3 -2
  16. package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/schema.d.mts +3 -2
  17. package/dist/components/biz/business/detail/video-detail-info-title-tags-episodes/schema.mjs +1 -1
  18. package/dist/components/biz/business/detail/video-detail-player/schema.mjs +1 -1
  19. package/dist/components/biz/business/detail/video-detail-player-bridge-only/schema.mjs +1 -1
  20. package/dist/components/biz/business/detail/video-detail-recommend/client.mjs +1 -1
  21. package/dist/components/biz/business/detail/video-detail-recommend/material.d.mts +11 -10
  22. package/dist/components/biz/business/detail/video-detail-recommend/schema.d.mts +11 -10
  23. package/dist/components/biz/business/detail/video-detail-recommend/schema.mjs +1 -1
  24. package/dist/components/biz/business/floating-ball/material.d.mts +3 -2
  25. package/dist/components/biz/business/floating-ball/schema.d.mts +5 -4
  26. package/dist/components/biz/business/floating-ball/schema.mjs +1 -1
  27. package/dist/components/biz/business/header-search/header-avatar-icon/schema.mjs +1 -1
  28. package/dist/components/biz/business/header-search/header-avatar-logo-search/material.d.mts +3 -2
  29. package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.d.mts +3 -2
  30. package/dist/components/biz/business/header-search/header-avatar-logo-search/schema.mjs +1 -1
  31. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/material.d.mts +3 -2
  32. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/schema.d.mts +3 -2
  33. package/dist/components/biz/business/header-search/header-avatar-logo-search-icon/schema.mjs +1 -1
  34. package/dist/components/biz/business/header-search/header-logo-search/material.d.mts +3 -2
  35. package/dist/components/biz/business/header-search/header-logo-search/schema.d.mts +3 -2
  36. package/dist/components/biz/business/header-search/header-logo-search/schema.mjs +1 -1
  37. package/dist/components/biz/business/header-search/header-search/schema.mjs +1 -1
  38. package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.d.mts +13 -12
  39. package/dist/components/biz/business/home-recommend/home-recommend-grid/inspector-schema.mjs +1 -1
  40. package/dist/components/biz/business/home-recommend/home-recommend-grid/material.d.mts +13 -12
  41. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.d.mts +11 -10
  42. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/inspector-schema.mjs +1 -1
  43. package/dist/components/biz/business/home-recommend/home-recommend-waterfall/material.d.mts +11 -10
  44. package/dist/components/biz/business/home-recommend/shared/home-recommend-base.mjs +1 -1
  45. package/dist/components/biz/business/home-recommend/shared/home-recommend-server-data.mjs +1 -1
  46. package/dist/components/biz/business/home-recommend/shared/home-recommend-video-detail.mjs +1 -1
  47. package/dist/components/biz/business/image-text-recommend/material.d.mts +15 -14
  48. package/dist/components/biz/business/image-text-recommend/schema.d.mts +15 -14
  49. package/dist/components/biz/business/image-text-recommend/schema.mjs +1 -1
  50. package/dist/components/biz/business/large-feature-grid/client.mjs +1 -1
  51. package/dist/components/biz/business/large-feature-grid/schema.mjs +1 -1
  52. package/dist/components/biz/business/marquee/material.d.mts +8 -7
  53. package/dist/components/biz/business/marquee/schema.d.mts +26 -24
  54. package/dist/components/biz/business/marquee/schema.mjs +1 -1
  55. package/dist/components/biz/business/profile/profile-header/schema.mjs +1 -1
  56. package/dist/components/biz/business/profile/profile-main/schema.mjs +1 -1
  57. package/dist/components/biz/business/profile/profile-main/tabs/like-tab/client.d.mts +1 -1
  58. package/dist/components/biz/business/search-history/material.d.mts +3 -2
  59. package/dist/components/biz/business/search-history/schema.d.mts +3 -2
  60. package/dist/components/biz/business/search-history/schema.mjs +1 -1
  61. package/dist/components/biz/business/search-input/schema.mjs +1 -1
  62. package/dist/components/biz/business/shortcut-grid/material.d.mts +5 -4
  63. package/dist/components/biz/business/shortcut-grid/schema.d.mts +5 -4
  64. package/dist/components/biz/business/shortcut-grid/schema.mjs +1 -1
  65. package/dist/components/biz/business/tab-bar/schema.mjs +1 -1
  66. package/dist/components/biz/business/text-recommend/material.d.mts +4 -3
  67. package/dist/components/biz/business/text-recommend/schema.d.mts +4 -3
  68. package/dist/components/biz/business/text-recommend/schema.mjs +1 -1
  69. package/dist/components/biz/example/button/material.d.mts +9 -8
  70. package/dist/components/biz/example/button/schema.d.mts +21 -19
  71. package/dist/components/biz/example/button/schema.mjs +1 -1
  72. package/dist/components/pages/login/verify.mjs +1 -1
  73. package/dist/components/pages/video-list/video-list-client.mjs +1 -1
  74. package/dist/components/ui/badge.d.mts +1 -1
  75. package/dist/components/ui/button.d.mts +1 -1
  76. package/dist/components/ui/dots-loading.d.mts +25 -0
  77. package/dist/components/ui/dots-loading.mjs +2 -0
  78. package/dist/components/ui/image.d.mts +4 -4
  79. package/dist/hooks/use-first-row-height.d.mts +69 -0
  80. package/dist/hooks/use-first-row-height.mjs +2 -0
  81. package/dist/hooks/use-min-duration-loading.d.mts +18 -0
  82. package/dist/hooks/use-min-duration-loading.mjs +2 -0
  83. package/dist/hooks.d.mts +3 -1
  84. package/dist/hooks.mjs +1 -1
  85. package/dist/service/generated/client.d.mts +12 -4
  86. package/dist/service/generated/client.mjs +1 -1
  87. package/dist/service/generated/tanstack.d.mts +14 -4
  88. package/dist/service/generated/tanstack.mjs +1 -1
  89. package/dist/service/register-by-verify-email-code.d.mts +2 -2
  90. package/dist/service/register-by-verify-email-code.mjs +1 -1
  91. package/dist/service.d.mts +4 -4
  92. package/dist/service.mjs +1 -1
  93. package/dist/types.d.mts +548 -57
  94. package/dist/ui.d.mts +2 -1
  95. package/dist/ui.mjs +1 -1
  96. package/dist/utils/device-id.d.mts +14 -0
  97. package/dist/utils/device-id.mjs +2 -0
  98. package/dist/utils/http.mjs +1 -1
  99. package/dist/utils/schema/index.d.mts +1 -1
  100. package/dist/utils/schema/inspector.d.mts +43 -71
  101. package/dist/utils/schema/schema.d.mts +59 -53
  102. package/dist/utils/schema/schema.mjs +1 -1
  103. package/dist/utils.d.mts +3 -2
  104. package/dist/utils.mjs +1 -1
  105. package/package.json +28 -28
package/dist/utils.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
 
2
- import{cn as e}from"./utils/cn.mjs";import{clearMyChannelsFromStorage as t,loadHiddenChannelIdsFromStorage as n,loadMyChannelsFromStorage as r,saveHiddenChannelIdsToStorage as i}from"./utils/channel-storage.mjs";import{debounceFun as a,formatVideoDuration as o,generateDynamicSign as s,generateUUID as c,getAtUserElement as l,getCookie as u,getCurrentSecondTime as d,getUserId as f,hashPassword as p,isClient as m,isMobileDevice as h,numToString as g,parseResolution as _,parseTextAtUserIds as v,randomString as y,removeCookie as b,replaceAtUserElement as x,replaceAtUserElementHtmlStr as S,secondToTime as C,setCookie as w,stringToNumber as T,stripHtmlTags as E,updateUrlParams as D}from"./utils/common.mjs";import O from"./utils/get-res-url.mjs";import{decryptImageToArrayBuffer as k,decryptImageToUint8Array as A,decryptImageUrl as j,guessImageContentTypeFromUrl as M,isEncryptedImageUrl as N,resolveImageUrl as P,shouldProbeImageUrl as F,shouldUseApiResDirectly as I}from"./utils/decrypt-image-client.mjs";import L from"./utils/event-bus.mjs";import R,{HttpClient as z,HttpError as B}from"./utils/http.mjs";import{checkFollowStatus as V,followUser as H,getAppId as U,getCurrentUserId as W,unfollowUser as G}from"./utils/follow-service.mjs";import{disablePageScroll as K,enablePageScroll as q,normalizeClassName as J,pxToVw as Y}from"./utils/helper.mjs";import{compressImage as X,defaultImageCompressionMaxSizeMB as Z,defaultImageCompressionQuality as Q,getImageCompressionQuality as $,imageCompressionQualityRules as ee}from"./utils/image-compression.mjs";import{components as te,loadComponent as ne,rewriteComponent as re}from"./utils/loaders.mjs";import{createInputAndSelectFile as ie,getCoverImage as ae,getImageResolutionFromFile as oe}from"./utils/media.mjs";import{PASSWORD_ALLOWED_SPECIAL_CHARS as se,PASSWORD_MAX_LENGTH as ce,PASSWORD_MIN_LENGTH as le,getFirstInvalidPasswordChar as ue,getPasswordCharacterTypeCount as de,getPasswordValidationErrorText as fe,validatePasswordPair as pe}from"./utils/password-validator.mjs";import{uploadToS3WithPresignedUrl as me}from"./utils/s3-uploader.mjs";import{defineMaterial as he,overwriteMaterial as ge}from"./utils/schema/material.mjs";import{INSPECTOR_META_KEY as _e,defineArrayItemPropSchema as ve,defineCheckboxPropSchema as ye,defineColorPropSchema as be,defineComponentPropsSchema as xe,defineDatetimePropSchema as Se,defineNumberPropSchema as Ce,defineObjectPropSchema as we,defineSelectEnumPropSchema as Te,defineSelectPropSchema as Ee,defineSwitchPropSchema as De,defineTextPropSchema as Oe,defineTextareaPropSchema as ke,defineTimeRangePropSchema as Ae,getSchemaDefaultProps as je,withInspectorMeta as Me}from"./utils/schema/schema.mjs";import{generateMaterialMap as Ne,generateMaterialMapGroupByCategory as Pe}from"./utils/schema/utils.mjs";import{base64ToUint8Array as Fe,uint8ArrayToBase64 as Ie,uint8ArrayToNumberArray as Le}from"./utils/uint8.mjs";import{encryptBncBuffer as Re,uploadFile as ze}from"./utils/upload-file.mjs";import{useRouter as Be}from"./utils/use-compatible-router.mjs";export{L as EventBus,z as HttpClient,B as HttpError,_e as INSPECTOR_META_KEY,se as PASSWORD_ALLOWED_SPECIAL_CHARS,ce as PASSWORD_MAX_LENGTH,le as PASSWORD_MIN_LENGTH,Fe as base64ToUint8Array,V as checkFollowStatus,t as clearMyChannelsFromStorage,e as cn,te as components,X as compressImage,ie as createInputAndSelectFile,a as debounceFun,k as decryptImageToArrayBuffer,A as decryptImageToUint8Array,j as decryptImageUrl,Z as defaultImageCompressionMaxSizeMB,Q as defaultImageCompressionQuality,ve as defineArrayItemPropSchema,ye as defineCheckboxPropSchema,be as defineColorPropSchema,xe as defineComponentPropsSchema,Se as defineDatetimePropSchema,he as defineMaterial,Ce as defineNumberPropSchema,we as defineObjectPropSchema,Te as defineSelectEnumPropSchema,Ee as defineSelectPropSchema,De as defineSwitchPropSchema,Oe as defineTextPropSchema,ke as defineTextareaPropSchema,Ae as defineTimeRangePropSchema,K as disablePageScroll,q as enablePageScroll,Re as encryptBncBuffer,H as followUser,o as formatVideoDuration,s as generateDynamicSign,Ne as generateMaterialMap,Pe as generateMaterialMapGroupByCategory,c as generateUUID,U as getAppId,l as getAtUserElement,u as getCookie,ae as getCoverImage,d as getCurrentSecondTime,W as getCurrentUserId,ue as getFirstInvalidPasswordChar,$ as getImageCompressionQuality,oe as getImageResolutionFromFile,de as getPasswordCharacterTypeCount,fe as getPasswordValidationErrorText,O as getResUrl,je as getSchemaDefaultProps,f as getUserId,M as guessImageContentTypeFromUrl,p as hashPassword,R as httpClient,ee as imageCompressionQualityRules,m as isClient,N as isEncryptedImageUrl,h as isMobileDevice,ne as loadComponent,n as loadHiddenChannelIdsFromStorage,r as loadMyChannelsFromStorage,J as normalizeClassName,g as numToString,ge as overwriteMaterial,_ as parseResolution,v as parseTextAtUserIds,Y as pxToVw,y as randomString,b as removeCookie,x as replaceAtUserElement,S as replaceAtUserElementHtmlStr,P as resolveImageUrl,re as rewriteComponent,i as saveHiddenChannelIdsToStorage,C as secondToTime,w as setCookie,F as shouldProbeImageUrl,I as shouldUseApiResDirectly,T as stringToNumber,E as stripHtmlTags,Ie as uint8ArrayToBase64,Le as uint8ArrayToNumberArray,G as unfollowUser,D as updateUrlParams,ze as uploadFile,me as uploadToS3WithPresignedUrl,Be as useRouter,pe as validatePasswordPair,Me as withInspectorMeta};
2
+ import{cn as e}from"./utils/cn.mjs";import{clearMyChannelsFromStorage as t,loadHiddenChannelIdsFromStorage as ee,loadMyChannelsFromStorage as n,saveHiddenChannelIdsToStorage as r}from"./utils/channel-storage.mjs";import{debounceFun as i,formatVideoDuration as a,generateDynamicSign as o,generateUUID as s,getAtUserElement as c,getCookie as l,getCurrentSecondTime as u,getUserId as d,hashPassword as f,isClient as p,isMobileDevice as m,numToString as h,parseResolution as g,parseTextAtUserIds as _,randomString as v,removeCookie as y,replaceAtUserElement as b,replaceAtUserElementHtmlStr as x,secondToTime as S,setCookie as C,stringToNumber as w,stripHtmlTags as T,updateUrlParams as E}from"./utils/common.mjs";import D from"./utils/get-res-url.mjs";import{decryptImageToArrayBuffer as O,decryptImageToUint8Array as k,decryptImageUrl as A,guessImageContentTypeFromUrl as j,isEncryptedImageUrl as M,resolveImageUrl as N,shouldProbeImageUrl as P,shouldUseApiResDirectly as F}from"./utils/decrypt-image-client.mjs";import{getOrCreateDeviceId as I}from"./utils/device-id.mjs";import L from"./utils/event-bus.mjs";import R,{HttpClient as z,HttpError as B}from"./utils/http.mjs";import{checkFollowStatus as V,followUser as H,getAppId as U,getCurrentUserId as W,unfollowUser as G}from"./utils/follow-service.mjs";import{disablePageScroll as K,enablePageScroll as q,normalizeClassName as J,pxToVw as te}from"./utils/helper.mjs";import{compressImage as Y,defaultImageCompressionMaxSizeMB as X,defaultImageCompressionQuality as Z,getImageCompressionQuality as Q,imageCompressionQualityRules as ne}from"./utils/image-compression.mjs";import{components as re,loadComponent as ie,rewriteComponent as ae}from"./utils/loaders.mjs";import{createInputAndSelectFile as oe,getCoverImage as se,getImageResolutionFromFile as ce}from"./utils/media.mjs";import{PASSWORD_ALLOWED_SPECIAL_CHARS as le,PASSWORD_MAX_LENGTH as ue,PASSWORD_MIN_LENGTH as de,getFirstInvalidPasswordChar as fe,getPasswordCharacterTypeCount as pe,getPasswordValidationErrorText as me,validatePasswordPair as he}from"./utils/password-validator.mjs";import{uploadToS3WithPresignedUrl as ge}from"./utils/s3-uploader.mjs";import{defineMaterial as _e,overwriteMaterial as ve}from"./utils/schema/material.mjs";import{INSPECTOR_META_KEY as ye,array as be,boolean as xe,datetime as Se,defineComponentPropsSchema as Ce,enumSchema as $,getSchemaDefaultProps as we,number as Te,object as Ee,string as De,timeRange as Oe,withInspectorMeta as ke}from"./utils/schema/schema.mjs";import{generateMaterialMap as Ae,generateMaterialMapGroupByCategory as je}from"./utils/schema/utils.mjs";import{base64ToUint8Array as Me,uint8ArrayToBase64 as Ne,uint8ArrayToNumberArray as Pe}from"./utils/uint8.mjs";import{encryptBncBuffer as Fe,uploadFile as Ie}from"./utils/upload-file.mjs";import{useRouter as Le}from"./utils/use-compatible-router.mjs";export{L as EventBus,z as HttpClient,B as HttpError,ye as INSPECTOR_META_KEY,le as PASSWORD_ALLOWED_SPECIAL_CHARS,ue as PASSWORD_MAX_LENGTH,de as PASSWORD_MIN_LENGTH,be as array,Me as base64ToUint8Array,xe as boolean,V as checkFollowStatus,t as clearMyChannelsFromStorage,e as cn,re as components,Y as compressImage,oe as createInputAndSelectFile,Se as datetime,i as debounceFun,O as decryptImageToArrayBuffer,k as decryptImageToUint8Array,A as decryptImageUrl,X as defaultImageCompressionMaxSizeMB,Z as defaultImageCompressionQuality,Ce as defineComponentPropsSchema,_e as defineMaterial,K as disablePageScroll,q as enablePageScroll,Fe as encryptBncBuffer,$ as enum,$ as enumSchema,H as followUser,a as formatVideoDuration,o as generateDynamicSign,Ae as generateMaterialMap,je as generateMaterialMapGroupByCategory,s as generateUUID,U as getAppId,c as getAtUserElement,l as getCookie,se as getCoverImage,u as getCurrentSecondTime,W as getCurrentUserId,fe as getFirstInvalidPasswordChar,Q as getImageCompressionQuality,ce as getImageResolutionFromFile,I as getOrCreateDeviceId,pe as getPasswordCharacterTypeCount,me as getPasswordValidationErrorText,D as getResUrl,we as getSchemaDefaultProps,d as getUserId,j as guessImageContentTypeFromUrl,f as hashPassword,R as httpClient,ne as imageCompressionQualityRules,p as isClient,M as isEncryptedImageUrl,m as isMobileDevice,ie as loadComponent,ee as loadHiddenChannelIdsFromStorage,n as loadMyChannelsFromStorage,J as normalizeClassName,h as numToString,Te as number,Ee as object,ve as overwriteMaterial,g as parseResolution,_ as parseTextAtUserIds,te as pxToVw,v as randomString,y as removeCookie,b as replaceAtUserElement,x as replaceAtUserElementHtmlStr,N as resolveImageUrl,ae as rewriteComponent,r as saveHiddenChannelIdsToStorage,S as secondToTime,C as setCookie,P as shouldProbeImageUrl,F as shouldUseApiResDirectly,De as string,w as stringToNumber,T as stripHtmlTags,Oe as timeRange,Ne as uint8ArrayToBase64,Pe as uint8ArrayToNumberArray,G as unfollowUser,E as updateUrlParams,Ie as uploadFile,ge as uploadToS3WithPresignedUrl,Le as useRouter,he as validatePasswordPair,ke as withInspectorMeta};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@funhub/platform",
3
3
  "type": "module",
4
- "version": "0.1.149",
4
+ "version": "0.1.151",
5
5
  "private": false,
6
6
  "sideEffects": [
7
7
  "**/*.css"
@@ -70,6 +70,30 @@
70
70
  "dist",
71
71
  "theme.css"
72
72
  ],
73
+ "scripts": {
74
+ "dev:web": "next dev",
75
+ "build:web": "next build",
76
+ "prebuild": "pnpm i18n:build",
77
+ "build": "cross-env TSDOWN_ENV=production tsdown",
78
+ "predev": "pnpm i18n:build",
79
+ "dev": "node scripts/dev-with-i18n-watch.mjs",
80
+ "dev:core": "cross-env TSDOWN_ENV=development tsdown --watch",
81
+ "publish:platform": "node scripts/publish-platform.mjs",
82
+ "gen:api": "node ./scripts/generate-from-swagger.cjs",
83
+ "pp": "pnpm publish:platform",
84
+ "start": "next start",
85
+ "prelint": "pnpm i18n:build",
86
+ "lint": "eslint . --fix",
87
+ "pretypecheck": "pnpm i18n:build",
88
+ "typecheck": "tsc --noEmit",
89
+ "i18n:find": "node scripts/i18n-locale-tool.mjs find",
90
+ "i18n:set": "node scripts/i18n-locale-tool.mjs set",
91
+ "i18n:flatten": "node scripts/i18n-flat-sync.mjs flatten",
92
+ "i18n:build": "node scripts/i18n-flat-sync.mjs build",
93
+ "i18n:watch": "node scripts/i18n-flat-sync.mjs watch",
94
+ "i18n:check": "node scripts/i18n-flat-sync.mjs check",
95
+ "pretest": "pnpm i18n:build"
96
+ },
73
97
  "peerDependencies": {
74
98
  "@tanstack/query-core": ">=5",
75
99
  "@tanstack/react-query": ">=5",
@@ -118,6 +142,7 @@
118
142
  "zustand": "^5.0.9"
119
143
  },
120
144
  "devDependencies": {
145
+ "@funhub/eslint-config": "workspace:*",
121
146
  "@svgr/webpack": "^8.1.0",
122
147
  "@types/crypto-js": "^4.2.2",
123
148
  "@types/lodash-es": "^4.17.12",
@@ -126,31 +151,6 @@
126
151
  "rollup-plugin-postcss": "^4.0.2",
127
152
  "rollup-preserve-directives": "^1.1.3",
128
153
  "tsdown": "0.20.3",
129
- "vite-plugin-svgr": "^4.3.0",
130
- "@funhub/eslint-config": "0.0.1"
131
- },
132
- "scripts": {
133
- "dev:web": "next dev",
134
- "build:web": "next build",
135
- "prebuild": "pnpm i18n:build",
136
- "build": "cross-env TSDOWN_ENV=production tsdown",
137
- "predev": "pnpm i18n:build",
138
- "dev": "node scripts/dev-with-i18n-watch.mjs",
139
- "dev:core": "cross-env TSDOWN_ENV=development tsdown --watch",
140
- "publish:platform": "node scripts/publish-platform.mjs",
141
- "gen:api": "node ./scripts/generate-from-swagger.cjs",
142
- "pp": "pnpm publish:platform",
143
- "start": "next start",
144
- "prelint": "pnpm i18n:build",
145
- "lint": "eslint . --fix",
146
- "pretypecheck": "pnpm i18n:build",
147
- "typecheck": "tsc --noEmit",
148
- "i18n:find": "node scripts/i18n-locale-tool.mjs find",
149
- "i18n:set": "node scripts/i18n-locale-tool.mjs set",
150
- "i18n:flatten": "node scripts/i18n-flat-sync.mjs flatten",
151
- "i18n:build": "node scripts/i18n-flat-sync.mjs build",
152
- "i18n:watch": "node scripts/i18n-flat-sync.mjs watch",
153
- "i18n:check": "node scripts/i18n-flat-sync.mjs check",
154
- "pretest": "pnpm i18n:build"
154
+ "vite-plugin-svgr": "^4.3.0"
155
155
  }
156
- }
156
+ }