Commit Graph

842 Commits

Author SHA1 Message Date
pezkuwichain 0d3b34a92a chore: Fix 430+ TS errors, Safe Area issues, WebView SSO, and mock Alice for testing 2026-01-19 03:06:22 +03:00
pezkuwichain e0bf620f56 Fix react-test-renderer version conflict for npm audit
Pin react-test-renderer@19.1.0 to match react@19.1.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 06:13:40 +03:00
pezkuwichain fb462017d2 Fix react-test-renderer version conflict for npm audit
Pin react-test-renderer@19.1.0 to match react@19.1.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 06:13:40 +03:00
pezkuwichain c9b31e159e Remove Cloudflare workflow - using Cloudflare dashboard instead 2026-01-18 05:37:11 +03:00
pezkuwichain cdb58297d0 Remove Cloudflare workflow - using Cloudflare dashboard instead 2026-01-18 05:37:11 +03:00
pezkuwichain 481bdd8640 Fix: handle missing SDK docs in CI build 2026-01-18 05:26:19 +03:00
pezkuwichain b1781bb2b4 Fix: handle missing SDK docs in CI build 2026-01-18 05:26:19 +03:00
pezkuwichain 23bb31d56e Fix: create .env from secret in Cloudflare workflow 2026-01-18 05:18:22 +03:00
pezkuwichain 8b85ae7ece Fix: create .env from secret in Cloudflare workflow 2026-01-18 05:18:22 +03:00
pezkuwichain 07169ddf71 Fix Cloudflare workflow: remove npm cache dependency 2026-01-18 05:11:22 +03:00
pezkuwichain 1576088821 Fix Cloudflare workflow: remove npm cache dependency 2026-01-18 05:11:22 +03:00
pezkuwichain 874aa6a5b7 Add Cloudflare Pages deployment workflow 2026-01-18 05:01:01 +03:00
pezkuwichain a194c87b7c Add Cloudflare Pages deployment workflow 2026-01-18 05:01:01 +03:00
pezkuwichain fcfd126698 Add moduleNameMapper for shared lib mocks in Jest
Create dedicated mock files for shared/lib modules and map them
in moduleNameMapper for reliable module resolution in CI.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 03:40:46 +03:00
pezkuwichain 899d2a3b8b Add moduleNameMapper for shared lib mocks in Jest
Create dedicated mock files for shared/lib modules and map them
in moduleNameMapper for reliable module resolution in CI.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 03:40:46 +03:00
pezkuwichain b8b5addf0e Add mocks for shared/lib modules in Jest
Mock shared/lib/tiki, shared/lib/referral, and shared/lib/scores
modules which depend on @pezkuwi/api that's not installed in CI.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 03:35:00 +03:00
pezkuwichain e2127bb03e Add mocks for shared/lib modules in Jest
Mock shared/lib/tiki, shared/lib/referral, and shared/lib/scores
modules which depend on @pezkuwi/api that's not installed in CI.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 03:35:00 +03:00
pezkuwichain 1daafc75ca Fix Jest mocks for CI: add virtual: true for optional packages
@polkadot/api and @pezkuwi/* packages are not installed in CI,
so jest.mock needs virtual: true to allow mocking without the
actual module being present.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 03:30:47 +03:00
pezkuwichain 6c6aa2883f Fix Jest mocks for CI: add virtual: true for optional packages
@polkadot/api and @pezkuwi/* packages are not installed in CI,
so jest.mock needs virtual: true to allow mocking without the
actual module being present.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 03:30:47 +03:00
pezkuwichain 40bc15f1f9 Fix all ESLint errors in mobile app (157 errors -> 0)
Major fixes:
- Replace `any` types with proper TypeScript types across all files
- Convert require() imports to ES module imports
- Add __DEV__ guards to console statements
- Escape special characters in JSX (&apos; and &quot;)
- Fix unused variables (prefix with _ or remove)
- Fix React hooks violations (useCallback, useMemo patterns)
- Convert wasm-crypto-shim.js to TypeScript
- Add eslint-disable comments for valid setState patterns

Files affected: 50+ screens, components, contexts, and services

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 02:55:03 +03:00
pezkuwichain 1a47363938 Fix all ESLint errors in mobile app (157 errors -> 0)
Major fixes:
- Replace `any` types with proper TypeScript types across all files
- Convert require() imports to ES module imports
- Add __DEV__ guards to console statements
- Escape special characters in JSX (&apos; and &quot;)
- Fix unused variables (prefix with _ or remove)
- Fix React hooks violations (useCallback, useMemo patterns)
- Convert wasm-crypto-shim.js to TypeScript
- Add eslint-disable comments for valid setState patterns

Files affected: 50+ screens, components, contexts, and services

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 02:55:03 +03:00
pezkuwichain 6979f36721 Fix ESLint errors in governance screens, services, types, and utils 2026-01-18 01:51:22 +03:00
pezkuwichain b9903831c6 Fix ESLint errors in governance screens, services, types, and utils 2026-01-18 01:51:22 +03:00
pezkuwichain 28b9cec71b Fix ESLint errors in remaining screens: TaxZekat, WhatsKURD, governance screens 2026-01-18 01:48:13 +03:00
pezkuwichain 80eac5d6b9 Fix ESLint errors in remaining screens: TaxZekat, WhatsKURD, governance screens 2026-01-18 01:48:13 +03:00
pezkuwichain 1f6e449041 Fix ESLint errors: escape entities, fix any types, remove unused imports 2026-01-18 01:45:31 +03:00
pezkuwichain a5c3ec4032 Fix ESLint errors: escape entities, fix any types, remove unused imports 2026-01-18 01:45:31 +03:00
pezkuwichain 4c3a70be92 Fix ESLint errors: remove any types, fix console statements, remove unused vars 2026-01-18 01:41:41 +03:00
pezkuwichain 3e89c3fe05 Fix ESLint errors: remove any types, fix console statements, remove unused vars 2026-01-18 01:41:41 +03:00
pezkuwichain 33033a31f0 Fix web build polyfills and mobile ESLint ignore patterns 2026-01-18 01:28:04 +03:00
pezkuwichain d75c587a3f Fix web build polyfills and mobile ESLint ignore patterns 2026-01-18 01:28:04 +03:00
pezkuwichain a963a96d53 Fix mobile peer deps, skip SDK UI job for now 2026-01-18 01:22:06 +03:00
pezkuwichain 02880b4004 Fix mobile peer deps, skip SDK UI job for now 2026-01-18 01:22:06 +03:00
pezkuwichain f6d53276a3 Fix mobile types override and SDK UI yarn detection 2026-01-18 01:17:35 +03:00
pezkuwichain 20bdbe1905 Fix mobile types override and SDK UI yarn detection 2026-01-18 01:17:35 +03:00
pezkuwichain bbb442a70b Fix CI: remove root package.json, fix mobile overrides, update workflow 2026-01-18 01:13:24 +03:00
pezkuwichain c75ae9a7f5 Fix CI: remove root package.json, fix mobile overrides, update workflow 2026-01-18 01:13:24 +03:00
pezkuwichain dfc8d27c39 Add presale lib and backup file, ignore credentials 2026-01-18 01:08:42 +03:00
pezkuwichain 2855c0b106 Add presale lib and backup file, ignore credentials 2026-01-18 01:08:42 +03:00
pezkuwichain 48caa0cd87 Add unified build scripts and update Quality Gate workflow for all packages 2026-01-18 01:07:27 +03:00
pezkuwichain 994625b6b5 Add unified build scripts and update Quality Gate workflow for all packages 2026-01-18 01:07:27 +03:00
pezkuwichain 83f0e39543 Update @pezkuwi/extension-dapp to 0.62.20 2026-01-18 01:04:04 +03:00
pezkuwichain b82f57a3ee Update @pezkuwi/extension-dapp to 0.62.20 2026-01-18 01:04:04 +03:00
pezkuwichain f7f533b8ec Update promotional images and web package dependencies 2026-01-17 23:20:03 +03:00
pezkuwichain 21ed5ee318 Update promotional images and web package dependencies 2026-01-17 23:20:03 +03:00
pezkuwichain 28f1f0de96 Fix TypeScript errors and update dependencies
- Fix ReactPortal return types in PopupWindow, Tooltip, Modal
- Fix RefObject type compatibility for React 18
- Update extension-dapp dependency to 0.62.19
- Update vanitygen dependency to 1.0.1
- Add eslint-scope resolution for webpack
- Remove unused @ts-expect-error directives
- Update mobile test snapshots
2026-01-17 23:13:47 +03:00
pezkuwichain a6f51d0822 Fix TypeScript errors and update dependencies
- Fix ReactPortal return types in PopupWindow, Tooltip, Modal
- Fix RefObject type compatibility for React 18
- Update extension-dapp dependency to 0.62.19
- Update vanitygen dependency to 1.0.1
- Add eslint-scope resolution for webpack
- Remove unused @ts-expect-error directives
- Update mobile test snapshots
2026-01-17 23:13:47 +03:00
pezkuwichain 10ed6e78a5 fix: remove local path aliases for extension packages in vite config 2026-01-17 19:32:20 +03:00
pezkuwichain 667509c5dc fix: remove local path aliases for extension packages in vite config 2026-01-17 19:32:20 +03:00
pezkuwichain 2276c557e2 Fix lint: remove unused Smartphone import 2026-01-17 18:44:23 +03:00