Files
Folo/apps/desktop/package.json
T
Innei efc2e9713b refactor: upgrade react 19 and react native 0.79 (#3661)
* update

Signed-off-by: Innei <tukon479@gmail.com>

* chore: update Babel and Metro configurations

- Added `unstable_transformImportMeta` option to Babel preset for improved JSX handling.
- Disabled `unstable_enablePackageExports` in Metro configuration for better package resolution.

Signed-off-by: Innei <tukon479@gmail.com>

* chore: add react-native-ios-utilities patch and update dependencies

- Introduced a patch for `react-native-ios-utilities` to enhance functionality.
- Updated `expo`, `react-native`, and `react-native-reanimated` versions in the example app for improved compatibility.
- Added `react-native-ios-utilities` to the project dependencies in `package.json`.

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

* chore: auto-fix linting and formatting issues

* refactor: improve route parameter handling and entry fetching logic

- Updated `useRouteParams` to utilize `useReadonlyRoute` for better state management.
- Enhanced `useEntriesByView` to separate remote and local entry fetching, improving data handling and error management.
- Introduced debouncing for pagination in local entries and added toast notifications for error handling.
- Cleaned up entry ID retrieval to ensure uniqueness and prevent duplicates.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: simplify Masonry component return statement

- Updated the return statement in the Masonry component to use JSX syntax for better readability and consistency.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update import from RootPortalProvider to RootPortalContext

- Changed the import statement in Sheet.tsx to reflect the updated context provider name for better clarity and consistency in the codebase.

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update ref types in component props

- Changed ref prop types from React.RefObject to React.Ref for better type compatibility across various components, enhancing overall code consistency and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: add Xcode build server configuration and enhance desktop app routing

- Introduced a new configuration file for the Xcode build server to streamline iOS builds.
- Updated Vite configuration to include a new proxy route for sharing functionality.
- Added a new Jotai atom for managing preview state in the application.
- Removed deprecated error fallback component to clean up the codebase.
- Implemented a new render style hook for consistent styling across components.
- Enhanced entry column components with improved error handling and layout adjustments.
- Updated various components to utilize the new render style and improved accessibility.

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

* fix: ensure plugins array is initialized and update TypeScript configuration

- Initialized the plugins array in the mobile app configuration to prevent potential runtime errors.
- Updated TypeScript configuration to enhance module resolution and improve code organization with clearer path definitions.

Signed-off-by: Innei <tukon479@gmail.com>

* update lint

Signed-off-by: Innei <tukon479@gmail.com>

* refactor: update TypeScript types and improve component props

- Added `skipLibCheck` to TypeScript configuration for faster builds.
- Updated prop types in various components to allow for null values in refs, enhancing type safety.
- Refactored several components to ensure better type compatibility and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(mobile): improve layout handling in NavigationHeader component

- Added console logs for debugging right and left widths.
- Adjusted layout structure to ensure proper width handling for header elements.
- Updated loading indicator positioning and visibility logic.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(mobile): update Pager and QRCode components to use forwardRef

- Refactored Pager and QRCode components to directly export as functional components with forwardRef.
- Updated type definitions to improve ref handling and ensure better type safety.
- Simplified component structure for improved readability and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>

* refactor(ui): enhance FAB components with functional component structure and improved type definitions

- Converted FABBase and FABPortable to functional components using FC type for better type safety.
- Updated props to include optional ref handling, enhancing flexibility in usage.
- Simplified component structure for improved readability and maintainability.

Signed-off-by: Innei <tukon479@gmail.com>

* chore(deps): update react-native-ios-utilities patch and refine TypeScript configuration

- Updated the patch for react-native-ios-utilities in pnpm-lock.yaml to reflect a new hash.
- Enhanced TypeScript configuration in tsconfig.json by adding exclusion for node_modules and formatting paths for better readability.
- Cleaned up the react-native-ios-utilities.patch by removing unused exports from the index file.

Signed-off-by: Innei <tukon479@gmail.com>

* update

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-05-07 16:30:30 +08:00

97 lines
3.5 KiB
JSON

{
"name": "Folo",
"type": "module",
"version": "0.4.4",
"private": true,
"description": "Follow everything in one place",
"author": "Folo Team",
"homepage": "https://github.com/RSSNext",
"repository": {
"url": "https://github.com/RSSNext/Folo",
"type": "git"
},
"main": "./dist/main/index.js",
"scripts": {
"analyze:web": "cross-env analyzer=1 vite build",
"build:electron": "electron-vite build && electron-forge make",
"build:electron-forge": "electron-forge make",
"build:electron-forge:macos": "electron-forge make --arch=x64 --platform=darwin && electron-forge make --arch=arm64 --platform=darwin && tsx scripts/merge-yml.ts",
"build:electron-forge:mas": "electron-forge make --arch=universal --platform=mas",
"build:electron-vite": "electron-vite build",
"build:render": "vite build -c vite.config.electron-render.ts",
"build:web": "rm -rf out/web && cross-env WEB_BUILD=1 vite build",
"bump": "vv",
"dedupe:locales": "eslint --fix locales/**/*.json",
"depcheck": "npx depcheck --quiet",
"dev": "turbo run @follow/web#dev @follow/ssr#dev",
"dev:debug": "export DEBUG=true && vite --debug",
"dev:electron": "electron-vite dev",
"dev:server": "pnpm run --filter=ssr dev",
"dev:web": "cross-env WEB_BUILD=1 vite",
"publish": "electron-vite build && electron-forge publish",
"start": "electron-vite preview",
"update:main-hash": "tsx plugins/vite/generate-main-hash.ts"
},
"dependencies": {
"cookie-es": "2.0.0",
"react-google-recaptcha": "3.1.0",
"react-google-recaptcha-v3": "1.10.1"
},
"devDependencies": {
"@clack/prompts": "0.10.1",
"@electron-forge/cli": "7.8.0",
"@electron-forge/maker-appx": "7.8.0",
"@electron-forge/maker-dmg": "7.8.0",
"@electron-forge/maker-pkg": "7.8.0",
"@electron-forge/maker-squirrel": "7.8.0",
"@electron-forge/maker-zip": "7.8.0",
"@electron-forge/plugin-fuses": "7.8.0",
"@electron-forge/publisher-github": "7.8.0",
"@electron-toolkit/tsconfig": "1.0.1",
"@follow/components": "workspace:*",
"@follow/configs": "workspace:*",
"@follow/constants": "workspace:*",
"@follow/hooks": "workspace:*",
"@follow/models": "workspace:*",
"@follow/shared": "workspace:*",
"@follow/utils": "workspace:*",
"@pengx17/electron-forge-maker-appimage": "1.2.1",
"@sentry/vite-plugin": "3.3.1",
"@types/html-minifier-terser": "7.0.2",
"@types/js-yaml": "4.0.9",
"@types/react-google-recaptcha": "2.1.9",
"@vitejs/plugin-legacy": "6.1.1",
"@vitejs/plugin-react": "4.4.1",
"async-es": "3.2.6",
"autoprefixer": "10.4.21",
"bufferutil": "4.0.9",
"cssnano": "7.0.6",
"dotenv": "16.5.0",
"drizzle-orm": "0.42.0",
"electron": "35.1.5",
"electron-devtools-installer": "4.0.0",
"electron-packager-languages": "0.6.0",
"electron-vite": "3.1.0",
"es-toolkit": "1.36.0",
"fake-indexeddb": "6.0.0",
"happy-dom": "17.4.4",
"hono": "4.7.7",
"html-minifier-terser": "7.2.0",
"js-yaml": "4.1.0",
"nbump": "2.1.2",
"react": "19.0.0",
"react-dom": "19.0.0",
"tailwindcss-multi": "0.4.6",
"tar": "7.4.3",
"tsup": "8.4.0",
"unplugin-ast": "0.14.6",
"utf-8-validate": "6.0.5",
"vite-bundle-analyzer": "0.19.0",
"vite-plugin-mkcert": "1.17.8",
"vite-plugin-pwa": "1.0.0",
"vite-tsconfig-paths": "5.1.4"
},
"productName": "Folo",
"mainHash": "940434b28461617481f90649e06860933a1fbadcd739f08fbf84659701fd1bee"
}