Files
Folo/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

109 lines
4.1 KiB
JSON

{
"name": "@follow/monorepo",
"type": "module",
"private": true,
"packageManager": "pnpm@10.10.0+sha512.d615db246fe70f25dcfea6d8d73dee782ce23e2245e3c4f6f888249fb568149318637dca73c2c5c8ef2a4ca0d5657fb9567188bfab47f566d1ee6ce987815c39",
"description": "Follow everything in one place",
"author": "Folo Team",
"license": "GPL-3.0-only",
"homepage": "https://github.com/RSSNext",
"repository": {
"url": "https://github.com/RSSNext/follow",
"type": "git"
},
"scripts": {
"build:web": "turbo run Folo#build:web",
"dedupe:locales": "eslint --fix locales/**",
"depcheck": "npx depcheck --quiet",
"format": "prettier --write .",
"format:check": "prettier --check .",
"generator:i18n-template": "tsx scripts/generate-i18n-locale.ts",
"hotfix": "vv -c bump.hotfix.config.js",
"icons:sync": "tsx scripts/svg-to-rn.ts && prettier --write apps/mobile/src/icons/**/*.tsx && eslint --fix apps/mobile/src/icons/**/*.tsx",
"icons:update": "tsx scripts/update-icon.ts",
"lint": "pnpm run lint:tsl && eslint",
"lint:fix": "eslint --fix",
"lint:tsl": "tsslint --project apps/*/tsconfig.json",
"mitproxy": "bash scripts/run-proxy.sh",
"polyfill-optimize": "pnpx nolyfill install",
"prepare": "simple-git-hooks && corepack prepare",
"reinstall": "rm -rf node_modules && rm -rf apps/**/node_modules && rm -rf packages/**/node_modules && pnpm install",
"test": "cross-env CI=1 pnpm --recursive run test",
"typecheck": "turbo typecheck"
},
"devDependencies": {
"@eslint/compat": "1.2.8",
"@tsslint/cli": "1.5.16",
"@tsslint/config": "1.5.16",
"@tsslint/eslint": "1.5.16",
"@types/node": "22.15.3",
"@types/react": "19.1.3",
"@types/react-dom": "19.1.3",
"@vercel/node": "5.1.14",
"cross-env": "7.0.3",
"eslint": "9.25.1",
"eslint-config-hyoban": "4.0.3",
"eslint-plugin-react-native": "5.0.0",
"fast-glob": "3.3.3",
"lint-staged": "15.5.1",
"prettier": "3.5.3",
"prettier-plugin-tailwindcss": "0.6.11",
"raw-body": "3.0.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"rimraf": "6.0.1",
"simple-git-hooks": "2.13.0",
"svg-parser": "2.0.4",
"tar": "7.4.3",
"tsx": "4.19.3",
"turbo": "2.5.2",
"typescript": "catalog:",
"vite": "6.3.3",
"vitest": "3.1.2"
},
"pnpm": {
"patchedDependencies": {
"immer@10.1.1": "patches/immer@10.1.1.patch",
"re-resizable@6.11.2": "patches/re-resizable@6.11.2.patch",
"hono": "patches/hono.patch",
"electron-context-menu@4.0.5": "patches/electron-context-menu@4.0.5.patch",
"@mozilla/readability@0.6.0": "patches/@mozilla__readability@0.6.0.patch",
"daisyui@4.12.24": "patches/daisyui@4.12.24.patch",
"jsonpointer": "patches/jsonpointer.patch",
"workbox-precaching": "patches/workbox-precaching.patch",
"@pengx17/electron-forge-maker-appimage": "patches/@pengx17__electron-forge-maker-appimage.patch",
"devlop": "patches/devlop.patch",
"@microflash/remark-callout-directives": "patches/@microflash__remark-callout-directives.patch",
"react-native-track-player": "patches/react-native-track-player.patch",
"react-native-sheet-transitions": "patches/react-native-sheet-transitions.patch",
"react-native-screens": "patches/react-native-screens.patch",
"expo-image": "patches/expo-image.patch",
"react-native-ios-utilities": "patches/react-native-ios-utilities.patch"
},
"overrides": {
"@electron/node-gyp": "10.2.0-electron.2",
"is-core-module": "npm:@nolyfill/is-core-module@1.0.39",
"isarray": "npm:@nolyfill/isarray@1.0.44",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-native-ios-context-menu": "3.1.1",
"react-native-ios-utilities": "5.1.5",
"unist-util-visit-parents": "5.1.3",
"vfile": "5.3.7"
}
},
"simple-git-hooks": {
"pre-commit": "pnpm exec lint-staged"
},
"lint-staged": {
"*": [
"eslint --fix",
"prettier --ignore-unknown --write"
],
"locales/**/*.json": [
"npm run dedupe:locales",
"git add locales"
]
}
}