Justin Hernandez
551067a48e
Reorganize mobile app /src and /tests folders ( #1357 )
...
* Refactor mobile app utilities into new modules
* prettier
* update lock, feedback from codex
* fix path
* keep some files in utils
* fix tests
* update paths
* remove old docs
* cr feedback
* flatten inefficient paths
* better structure
* update test folder structure
* migrate images
* fix import
* fix Sentry path
* update ignore
* save wip migration
* more updates
* standardize component names
* rename assets
* fix linting
* add barrel exports. final refactor commit
* fix formatting
* fix nav bar
* reduce bundle size
* remove dupe license
* fix test
* fix merge issues
* add refactor doc so we can track what was imporoved
* cr feedback
* feedback
2025-11-20 17:56:44 -03:00
Justin Hernandez
20fa5c5adc
[SELF-700] feat: add mock document generator demo ( #995 )
...
* feat: add mock document generator demo
* feat: add mock document generator
* fixes
* chore: refresh workflow cache
* update lock
* build
* updates
* more fixes
* code rabbit feedback
* compiles
* save wip
* updates
* merge with dev and fixes
* fix: align hoisting and demo Jest resolver (#1003 )
* chore(app): map common src paths and declare svg flag module
* ci fix
* update lock
* save wip
* chore: address yarn lock issues (#1004 )
* address yarn lock issues
* fix postinstall
* fix ci
* use metro js proxy
* android build working for /app
* save wip
* fix merge
* pipeline fixes
* format
* fix pipelines
* bump limit and split
* fix pipeline issues
* chore: decouple demo app build (#1013 )
* chore: decouple demo app build
* chore: move demo app to workspace
* chore: unpublish demo workspace
* fix mobile sdk tests
* updates
* remove polyfills
* update merge
* update resolutions
* update resolutions
* fix merge
* fix paths
* save wip
* save wip fixes rd2
* working android
* update lock
* save wip ios building
* fix merge
* readd public key
* fixes
* ci fixes
* fixes
* fix web building
* fix ci
* fix tests
* update lock
* fix ci rd2
* formatting and fix ci
* fix
* finalize ci fixes
* fix tests and metro config paths for building
* save wip
* install missing package for pipeline
* fix wip app building
* wip react config
* save working emulator compile
* first round of pr fixes and feedback
* clean up demo app artifacts from sdk
* Add Gradle wrapper files for mobile-sdk-demo Android build
- Added gradlew, gradlew.bat, and gradle/wrapper/ directory
- Updated .gitignore to allow committing Gradle wrapper files
- Fixes Android build error: spawn ./gradlew ENOENT
* codex feedback and fixes
* fix tests
* file renames
* revert back to dev
* add types
* coderabbit fixes
* fix tests
* fix tests
* fix test
* fixes
* fix wip coderabbit issues
* coderabbit suggestions rd 2
* fix ci pipelines and addresss warnings
* cr fixes
* convert kebab to camelCase
* save wip fixes
* update reinstall and lock files
* fixes
* remove file
* fix lint
* fix polyfill fallback issues
* ensure that mock document is not on ofac list
* prettier
2025-09-27 13:59:47 -07:00
Justin Hernandez
fc472915e6
refactor: remove namespace imports ( #969 )
...
* refactor: remove namespace imports
* refactor: use named fs imports
* refactor(app): replace path and fs namespace imports
* format
* format
2025-08-27 20:59:26 -07:00
Justin Hernandez
431f556542
chore: centralize license header checks ( #952 )
...
* chore: centralize license header scripts
* chore: run license header checks from root
* add header to other files
* add header to bundle
* add migration script and update check license headers
* convert license to mobile sdk
* migrate license headers
* remove headers from common; convert remaining
* fix headers
* add license header checks
2025-08-25 11:30:23 -07:00
Justin Hernandez
6b285c9bf3
chore: address TypeScript ESLint v8 upgrade feedback and improve type safety ( #895 )
...
* cr feedback
* update based on feedback
* typing updates
* unify yarn package version
* update lock
2025-08-14 09:19:34 -07:00
Justin Hernandez
2ed8bcfe53
feat: modernize sdk/qrcode build pipeline ( #872 )
...
* Modernize qrcode build
* chore(qrcode): add lint helpers
* fix sdk qrcode
* add new qrcode ci
* fix formatting
* qrcode fixes
* fixes
* fixes rd2
* enable corepack
* enable corepack
* build caching
* update caching
* cr feedback
2025-08-10 21:22:02 -07:00
Justin Hernandez
aa359654eb
Add additional missing BUSL license headers ( #871 )
...
* Exclude Android from license headers
* fixes
* fix formatting
* fix command
* fix license space
* updates
* fix headers
* updates
* new line formatting
2025-08-10 16:53:53 -07:00
Justin Hernandez
d8b2f60c57
Simplify alias tooling and relax export sorting ( #867 )
...
* Simplify alias config
* Restore export sorting overrides
* save migration pattern
* alias last minute updates
* fix tests
* improved import sorting
* Implement typed event emitter (#869 )
* Implement typed event emitter
* cr suggestion
2025-08-10 13:53:03 -07:00
Justin Hernandez
95a3ce5f0c
Alias app imports: @src, @tests ( #852 )
...
* Support @src alias tooling
* run script and nice
* convert ts script to cjs, update sources
* convert to cjs
* wip update paths
* nice and updates
* fix tests alias paths
* lint fixes
* add @tests alias support
* update script and tests to fix remaining src alias paths
* updates
* update script
* fix
* update lock file
* fix test target
* update timeout
* update flow
* fix flow
2025-08-08 15:05:08 -07:00
Justin Hernandez
82d26669bc
Enable tree-shakeable exports ( #823 )
...
* Add tree-shakeable exports
* Migrate imports for tree-shakeable paths
* Document ESM extension requirement
* udpates
* install new lock
* yarn nice
* build deps
* save working index export no wildcard approach
* save wip
* fix building
* add tree shaking doc and examples
* sort package json files
* update package.json
* fix analyzing web
* make sure that web is built
* wip tree shaking
* building works again. save wip logic
* use granular imports
* wip test
* save wip
* Remove hardcoded .d.ts files and setup automatic TypeScript declaration generation
- Remove redundant constants.d.ts, types.d.ts, utils.d.ts files
- Add build:types script to automatically generate TypeScript declarations
- Update tsup config to disable DTS generation (handled separately)
- Update .gitignore to prevent future commits of generated .d.ts files
- Fixes import resolution errors in app by ensuring declarations are always generated
* Add .gitignore rules for generated TypeScript declarations
* ignore dts files
* Remove redundant index.js re-export files
- Remove constants.js, types.js, utils.js as they're redundant with tsup build
- These were just re-exports pointing to dist files that tsup generates
- package.json exports already point directly to built files
- Update .gitignore to prevent future commits of these generated files
- tsup handles all the building, no manual re-export files needed
* save current wip fixes
* add tsup config for web building
* common prettier and fix imports
* prettier
* fix tests
* implement level 3 tree shaking
* improve splitting
* optimize vite web building and prettier
* remove comments
* sort export params
* feedback and fix pipelines
* fix circuit-names path
* fix test
* fix building
* sort
* fix building
* allow cursor to edit scripts
* fix loadDocumentCatalog undefined
* fix build settings
* fix build settings
* additional metro tree shaking
* improved discovery script for xcode building
* pr feedback and fix camelCasing
* simplify shim setup
* fix xcode building and add command to test building
* remove comment
* simplify
2025-08-02 16:55:05 -07:00
Justin Hernandez
2da0f8014a
Add bundle analysis workflow ( #802 )
...
* Add bundle analysis workflow
* Fix bundle analysis workflow
* Add adjustable bundle size warning
* pretty
* update pull request paths
* update Gemfile.lock
* rename
* pipeline tweaks
* fix tests
2025-07-29 11:49:59 -07:00
Justin Hernandez
9aa4faad13
Address minor mobile deployment bugs ( #745 )
...
* feat: improve deployment tooling
* cr feedback
* for temp testing
* clean build artifacts after deploy
* add deploy source
* uncomment ios commands
* Add tests for minor deployment fixes (#750 )
* Add test coverage for deployment scripts and Fastfile
* format
* increase github check to 5 minutes
2025-07-06 18:21:46 -07:00
Justin Hernandez
b841b19d96
Improve manual mobile deploy workflow and docs ( #728 )
...
* Add basic Fastlane helper tests
* Upgrade fastlane and enhance helper tests (#738 )
* simplify mobile deploy pipelines and make them manual. update readme
* update fastlane dev readme
* update tests and add helper script
* cr feedback, update tests, revert circuits package.json sort change
* tweaks
* fix slack
* cr feedback and fixes
* add better cjs eslint support
* save wip. add confirmation check script. update scripts
* remove auto increment feature
* migrate readme items over to DEV due to fastlane auto regen docs flow
* use regular xcode
* fix hermes compiler path
* coderabbit feedback
* reinstall when on local dev
* fix upload
* simplify
* simplify confirmation feedback with tests
* fix mobile deploys
* cr feedback
* test iOS building
* fix trigger logic
* cr feedback
* updates
* fix env var
* fix order
* re-enable upload to testflight for ios
* updated notes
2025-07-03 22:32:14 -07:00