mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-07-27 06:55:00 +00:00
* feat(mobile): upgrade Expo SDK to v55 Upgrade Expo SDK from v54 to v55, along with React Native 0.83.4, React 19.2, and all related dependencies. Key changes: - Refactored @safe-global/theme to use sub-path exports to fix RN import resolution issues - Added react-native patch for Appearance.setColorScheme bug (facebook/react-native#08d176453) not yet in 0.83.4 release - Replaced Tamagui Skeleton with custom SafeSkeleton component - Updated expo config plugins for SDK 55 compatibility Co-authored-by: Hanzo Dev <dev@hanzo.ai> * fix: downgrade eslint-config-next to v15 to match next.js version eslint-config-next v16 requires next v16 but the project uses next v15.5.8. The v16 package tries to import next/dist/compiled/babel/ eslint-parser which doesn't exist in next v15. Co-authored-by: Hanzo Dev <dev@hanzo.ai> * fix: migrate packages away from eslint-config-next eslint-config-next requires next at runtime for its babel parser, but next is only installed in apps/web. After the Expo SDK v55 upgrade changed dependency hoisting, the parser became unreachable. - Create shared config/eslint/base.mjs using direct plugin imports - Migrate store, theme, utils, and tx-builder to the shared config - Add packageExtensions in .yarnrc.yml so eslint-config-next in apps/web can still resolve next as a peer dependency Co-authored-by: Hanzo Dev <dev@hanzo.ai> * chore: align react 19.2 across workspaces and fix MUI peer dep - Bump react/react-dom to 19.2.0 in web and tx-builder to match mobile - Add @mui/material as optional peer dependency in theme package to avoid duplicate installations causing type conflicts Co-authored-by: Hanzo Dev <dev@hanzo.ai> * chore(mobile): update storybook on mobile to v10 * fix(web): resolve @emotion/react hoisting issue after Expo SDK 55 upgrade Yarn 4's node-modules hoisting shifted after dependency graph changes, leaving @emotion/react only in apps/web/node_modules while @mui/styled-engine remained at root. Add webpack resolve aliases to ensure Next.js finds emotion packages from the web workspace. Co-authored-by: Hanzo Dev <dev@hanzo.ai> * fix(web): resolve @emotion hoisting issue in Jest config Same hoisting fix as next.config.mjs but for Jest's module resolution. Add moduleNameMapper entries for @emotion/react and @emotion/styled. Co-authored-by: Hanzo Dev <dev@hanzo.ai> * fix(tx-builder): prettier * fix: resolve type-check errors after Expo SDK 55 upgrade - Fix BlurView tint prop: map ColorSchemeName to valid BlurTint values - Replace @storybook/test imports with storybook/test (merged in v10) - Align @types/react (~19.2.10) and @types/react-dom (~19.2.0) across all workspaces to prevent duplicate @mui/material type mismatches - Spread visuallyHidden into sx prop for @types/react 19.2.x compat - Add @types/react, @types/react-dom, storybook to yarn version checker Co-authored-by: Hanzo Dev <dev@hanzo.ai> * chore: align more dependencies * chore(web): update storybook snapshot * fix(mobile): normalize color scheme and deduplicate MUI/emotion packages - Normalize useTheme colorScheme to 'light' | 'dark', never 'unspecified' so TamaguiProvider always receives a valid theme name - Update ColorScheme type to exclude 'unspecified' - Remove redundant ?? 'light' fallbacks in SafeThemeProvider - Align @emotion/* and @mui/icons-material versions across workspaces to prevent Yarn from creating duplicate lockfile resolutions - Remove emotion webpack/Jest aliases (no longer needed after dedup) - Add @emotion/react, @emotion/styled, @mui/material, @mui/icons-material to yarn version consistency checker Co-authored-by: Hanzo Dev <dev@hanzo.ai> --------- Co-authored-by: Hanzo Dev <dev@hanzo.ai>
75 lines
2.4 KiB
JSON
75 lines
2.4 KiB
JSON
{
|
|
"name": "@safe-global/tx-builder",
|
|
"version": "2.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --port 4000",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview",
|
|
"type-check": "tsc --noEmit",
|
|
"lint": "eslint src",
|
|
"lint:fix": "eslint src --fix",
|
|
"prettier": "prettier --check . --config ../../.prettierrc --ignore-path ../../.prettierignore",
|
|
"prettier:fix": "prettier --write . --config ../../.prettierrc --ignore-path ../../.prettierignore",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/react": "^11.14.0",
|
|
"@emotion/styled": "^11.14.0",
|
|
"@hello-pangea/dnd": "^18.0.1",
|
|
"@mui/icons-material": "^6.5.0",
|
|
"@mui/lab": "^6.0.0-beta.20",
|
|
"@mui/material": "^6.5.0",
|
|
"@safe-global/safe-apps-provider": "^0.18.5",
|
|
"@safe-global/safe-apps-react-sdk": "^4.7.2",
|
|
"@safe-global/safe-apps-sdk": "^9.1.0",
|
|
"@safe-global/safe-deployments": "^1.37.52",
|
|
"@safe-global/safe-gateway-typescript-sdk": "^3.22.9",
|
|
"axios": "^1.13.6",
|
|
"ethereum-blockies-base64": "^1.0.2",
|
|
"ethers": "6.14.3",
|
|
"evm-proxy-detection": "^1.0.0",
|
|
"localforage": "^1.10.0",
|
|
"react": "19.2.0",
|
|
"react-dom": "19.2.0",
|
|
"react-hook-form": "^7.54.2",
|
|
"react-is": "^19.1.0",
|
|
"react-media": "^1.10.0",
|
|
"react-router-dom": "^6.28.2",
|
|
"react-virtuoso": "^4.12.3",
|
|
"styled-components": "^5.3.11",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.18.0",
|
|
"@faker-js/faker": "^9.3.0",
|
|
"@hookform/devtools": "^4.3.2",
|
|
"@testing-library/dom": "^10.4.0",
|
|
"@testing-library/jest-dom": "^6.6.3",
|
|
"@testing-library/react": "^16.2.0",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@types/node": "^22.10.7",
|
|
"@types/react": "~19.2.10",
|
|
"@types/react-dom": "~19.2.0",
|
|
"@types/styled-components": "^5.1.34",
|
|
"@typescript-eslint/eslint-plugin": "^8.31.1",
|
|
"@typescript-eslint/parser": "^8.31.1",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"eslint": "^9.29.0",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"msw": "^2.7.3",
|
|
"prettier": "^3.6.2",
|
|
"ts-jest": "^29.2.5",
|
|
"typescript": "~5.9.2",
|
|
"typescript-eslint": "^8.31.1",
|
|
"vite": "^6.0.7",
|
|
"vite-plugin-svgr": "^4.3.0"
|
|
}
|
|
}
|