diff --git a/apps/desktop/layer/renderer/src/modules/discover/InboxTable.electron.tsx b/apps/desktop/layer/renderer/src/modules/discover/InboxTable.electron.tsx index 53154f6c0..d034c2082 100644 --- a/apps/desktop/layer/renderer/src/modules/discover/InboxTable.electron.tsx +++ b/apps/desktop/layer/renderer/src/modules/discover/InboxTable.electron.tsx @@ -26,7 +26,11 @@ export const InboxTable = () => { {t("discover.inbox.actions")} - {inboxes?.map((inbox) => )} + + {inboxes?.map((inbox) => ( + + ))} + ) } diff --git a/apps/desktop/layer/renderer/src/modules/entry-content/components/EntryReadHistory.mobile.tsx b/apps/desktop/layer/renderer/src/modules/entry-content/components/EntryReadHistory.mobile.tsx index 53f95a90a..ca4e550e5 100644 --- a/apps/desktop/layer/renderer/src/modules/entry-content/components/EntryReadHistory.mobile.tsx +++ b/apps/desktop/layer/renderer/src/modules/entry-content/components/EntryReadHistory.mobile.tsx @@ -123,7 +123,9 @@ const Content: Component<{ {entryHistory?.userIds ?.filter((id) => id !== me?.id) .slice(LIMIT) - .map((userId) => )} + .map((userId) => ( + + ))} ) } diff --git a/apps/desktop/layer/renderer/src/modules/settings/tabs/lists/modals.tsx b/apps/desktop/layer/renderer/src/modules/settings/tabs/lists/modals.tsx index 288682e39..5c8273b65 100644 --- a/apps/desktop/layer/renderer/src/modules/settings/tabs/lists/modals.tsx +++ b/apps/desktop/layer/renderer/src/modules/settings/tabs/lists/modals.tsx @@ -280,7 +280,9 @@ export const ListFeedsModalContent = ({ id }: { id: string }) => { - {list.feedIds?.map((feedId) => )} + {list.feedIds?.map((feedId) => ( + + ))} diff --git a/apps/ssr/client/pages/(main)/share/lists/[id]/index.tsx b/apps/ssr/client/pages/(main)/share/lists/[id]/index.tsx index 68927a094..3f66040db 100644 --- a/apps/ssr/client/pages/(main)/share/lists/[id]/index.tsx +++ b/apps/ssr/client/pages/(main)/share/lists/[id]/index.tsx @@ -190,9 +190,9 @@ export function Component() {
- {listData.feedIds - ?.slice(0, SIZE) - .map((feedId) => )} + {listData.feedIds?.slice(0, SIZE).map((feedId) => ( + + ))}
{"feedCount" in list.data && list.data.feedCount > SIZE && ( diff --git a/package.json b/package.json index c48d3620b..f3a92d75c 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "eslint-plugin-react-native": "5.0.0", "fast-glob": "3.3.3", "lint-staged": "16.1.2", - "prettier": "3.5.3", + "prettier": "3.6.0", "prettier-plugin-tailwindcss": "0.6.13", "raw-body": "3.0.0", "react": "19.0.0", diff --git a/packages/vite-plugin-route-builder/readme.md b/packages/vite-plugin-route-builder/readme.md index cb7082581..23a35708e 100644 --- a/packages/vite-plugin-route-builder/readme.md +++ b/packages/vite-plugin-route-builder/readme.md @@ -271,15 +271,12 @@ export const routes: RouteObject[] = [ ### Common Issues and Solutions 1. **Path Mismatch**: Routes generated without corresponding lazy functions - - **Solution**: Enhanced file matching with multiple strategies and path normalization 2. **Incorrect Import Paths**: Absolute paths causing import failures - - **Solution**: Proper relative path calculation using `path.relative()` 3. **Unused Lazy Variables**: Too many lazy imports for non-existent files - - **Solution**: Only generate lazy imports for routes with actual file matches 4. **Index Route Handling**: Paths ending with `/` causing mapping issues diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b6fe2c3a3..bd9501bc5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -117,11 +117,11 @@ importers: specifier: 16.1.2 version: 16.1.2 prettier: - specifier: 3.5.3 - version: 3.5.3 + specifier: 3.6.0 + version: 3.6.0 prettier-plugin-tailwindcss: specifier: 0.6.13 - version: 0.6.13(prettier@3.5.3) + version: 0.6.13(prettier@3.6.0) raw-body: specifier: 3.0.0 version: 3.0.0 @@ -12803,8 +12803,8 @@ packages: prettier-plugin-svelte: optional: true - prettier@3.5.3: - resolution: {integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==} + prettier@3.6.0: + resolution: {integrity: sha512-ujSB9uXHJKzM/2GBuE0hBOUgC77CN3Bnpqa+g80bkv3T3A93wL/xlzDATHhnhkzifz/UE2SNOvmbTz5hSkDlHw==} engines: {node: '>=14'} hasBin: true @@ -21443,7 +21443,7 @@ snapshots: debug: 2.6.9 invariant: 2.2.4 metro: 0.82.4(bufferutil@4.0.9) - metro-config: 0.82.4(bufferutil@4.0.9)(utf-8-validate@6.0.5) + metro-config: 0.82.4(bufferutil@4.0.9) metro-core: 0.82.4 semver: 7.7.2 transitivePeerDependencies: @@ -28781,6 +28781,21 @@ snapshots: transitivePeerDependencies: - supports-color + metro-config@0.82.4(bufferutil@4.0.9): + dependencies: + connect: 3.7.0 + cosmiconfig: 5.2.1 + flow-enums-runtime: 0.0.6 + jest-validate: 29.7.0 + metro: 0.82.4(bufferutil@4.0.9) + metro-cache: 0.82.4 + metro-core: 0.82.4 + metro-runtime: 0.82.4 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + metro-config@0.82.4(bufferutil@4.0.9)(utf-8-validate@6.0.5): dependencies: connect: 3.7.0 @@ -28795,6 +28810,7 @@ snapshots: - bufferutil - supports-color - utf-8-validate + optional: true metro-core@0.82.4: dependencies: @@ -28906,6 +28922,7 @@ snapshots: - bufferutil - supports-color - utf-8-validate + optional: true metro@0.82.4(bufferutil@4.0.9): dependencies: @@ -28933,7 +28950,7 @@ snapshots: metro-babel-transformer: 0.82.4 metro-cache: 0.82.4 metro-cache-key: 0.82.4 - metro-config: 0.82.4(bufferutil@4.0.9)(utf-8-validate@6.0.5) + metro-config: 0.82.4(bufferutil@4.0.9) metro-core: 0.82.4 metro-file-map: 0.82.4 metro-resolver: 0.82.4 @@ -29000,6 +29017,7 @@ snapshots: - bufferutil - supports-color - utf-8-validate + optional: true micromark-core-commonmark@2.0.3: dependencies: @@ -30285,11 +30303,11 @@ snapshots: prelude-ls@1.2.1: {} - prettier-plugin-tailwindcss@0.6.13(prettier@3.5.3): + prettier-plugin-tailwindcss@0.6.13(prettier@3.6.0): dependencies: - prettier: 3.5.3 + prettier: 3.6.0 - prettier@3.5.3: {} + prettier@3.6.0: {} pretty-bytes@5.6.0: {} diff --git a/wiki/contribute-i18n.md b/wiki/contribute-i18n.md index 444d89de7..1ef07c4a9 100644 --- a/wiki/contribute-i18n.md +++ b/wiki/contribute-i18n.md @@ -19,7 +19,6 @@ To add support for a new language: 2. Select the desired locale from the list. 3. The script will: - - Create new resource files for the selected locale - Update the necessary configuration files