Files
self/.cursorignore
Justin Hernandez fdb932eeba Feat: Lightweight e2e tests for iOS and Android (#840)
* Add Maestro e2e testing

* Run Maestro flows in parallel

* Fix mobile e2e workflow

* Fix e2e script flow path

* prettier

* fix

* prettier

* standardize yml files and new formatting commands

* fix ndk

* fix exclusions

* use double quotes for yml files

* feedback

* fixes

* fixes

* fix

* fix ios job

* unneeded

* fix workflows

* fix launch workflow

* fix

* fix pipeline

* workflow fixes

* install app to emulators

* better logging

* save current version of test script

* android works. ios wip. update locks

* fix pipelines

* cr feedback

* fix android e2e test

* Split mobile e2e workflow by platform (#842)

* Replace react-native-quick-crypto with @noble/hashes (#841)

* Add tests for ethers polyfills

* Add crypto utils

* Inline crypto polyfills into ethers util

* sort and update gemfile lock

* update lock

* chore: incrementing ios build number for version 2.6.3 [github action]

* android works. ios wip. update locks

* Specify Maestro platform

* Fix Android build step in e2e workflow

* fix android

* update ios

* add concurrency

* update Podfile.lock

* fix android

* prettier

* fix

* fix android pipeline

* try job again

* fix ios

* fix android

* fix ios

* fix command

* use android runner now that path is fixed

* fix android e2e test

* fix adb

* add caching

* fix build

* speed up build

* fix

* test emulator options

* updates

* fix pipeline

* fix

* fix script and move on

* add comment

---------

Co-authored-by: Self GitHub Actions <action@github.com>

* feedback

* fixes

* ignore for now

* ignore

* fix tests

* fix ios simulator booting

* fix ios test

* shutdown after run

* fix ios test

* better timing

* increase ios timeout

* fix both flows

* fix pipeline

* combine command

* fix ios

* break up build steps for better caching

* remove cache

* fix ios and android test pipelines

* update logic

---------

Co-authored-by: Self GitHub Actions <action@github.com>
2025-08-06 12:41:09 -07:00

289 lines
5.6 KiB
Plaintext

# .cursorignore - Cursor AI editor ignore file
# This file prevents Cursor from accessing sensitive files and improves performance
# Note: .gitignore files are automatically included
# ========================================
# Security & Sensitive Files
# ========================================
# Environment and secrets
**/.env
**/.env.*
**/env.sample
**/*secrets*
**/*credentials*
**/*private*
**/google-services.json
**/GoogleService-Info.plist
# Keys and certificates
**/*.key
**/*.pem
**/*.p12
**/*.jks
**/*.keystore
**/*.cer
**/*.crt
**/*.cert
**/mock_*.key
**/mock_*.pem
**/debug.keystore
**/dev-keystore
# Mobile app sensitive files
app/android/app/google-services.json
app/ios/GoogleService-Info.plist
app/android/app/debug.keystore
app/android/dev-keystore
# Deployment scripts and CI/CD
circuits/scripts/server/*.sh
!node_modules/**/*.sh
# Fastlane configuration (may contain secrets)
app/fastlane/Fastfile
app/fastlane/helpers.rb
# Test wallets and mock data
app/ios/passport.json
app/ios/OpenPassport/passport.json
# Environment sample files
app/env.sample
sdk/.env
# ========================================
# Build Outputs & Generated Files
# ========================================
# General build outputs
**/dist/
**/build/
**/out/
**/.next/
**/*.tsbuildinfo
# Mobile build outputs
app/android/app/build/
app/android/build/
app/ios/build/
app/ios/Pods/
app/ios/DerivedData/
# Circuit build outputs
circuits/build/
circuits/**/*.r1cs
circuits/**/*.sym
circuits/**/*.json
circuits/**/*.wasm
circuits/**/*.zkey
circuits/**/*.vkey
circuits/**/*.wtns
circuits/ptau/
# Contract artifacts
contracts/artifacts/
contracts/cache/
contracts/typechain-types/
contracts/ignition/deployments/
# ========================================
# Dependencies & Package Management
# ========================================
# Node modules - everywhere
**/node_modules/
**/pnpm-lock.yaml
**/yarn.lock
**/package-lock.json
**/.yarn/
**/.pnp.*
# Mobile specific
app/ios/Podfile.lock
app/android/link-assets-manifest.json
app/ios/link-assets-manifest.json
# ========================================
# Large Data Files
# ========================================
# Circuit deployment artifacts (large JSON files)
app/deployments/artifacts/
# Public keys and trees (large JSON files)
common/pubkeys/public_keys_parsed.json
common/pubkeys/serialized_*.json
common/pubkeys/serialized_csca_tree.json
common/pubkeys/serialized_dsc_tree.json
common/pubkeys/serialized_tree.json
# OFAC and sanctions data
common/ofacdata/
common/sanctionedCountries/
common/ofacdata/original/*.csv
common/ofacdata/scripts/cleaned_sdn.csv
common/sanctionedCountries/outputs/sc_SMT.json
# Mock certificates (numerous files)
common/src/mock_certificates/
# Large SMT (Sparse Merkle Tree) files
contracts/test/utils/smt.json
# Circuit power files
circuits/circuits/utils/crypto/ec/powers/
# Test data files
app/android/android-passport-reader/app/src/main/assets/tessdata/
# ========================================
# Development & Testing
# ========================================
# Test coverage
**/coverage/
**/.nyc_output/
# Test files (optional - you might want AI to see tests)
# **/*.test.ts
# **/*.test.tsx
# **/*.spec.ts
# **/*.spec.tsx
# Temporary files
**/.tmp/
**/tmp/
**/.cache/
**/*.log
**/*.tmp
# ========================================
# IDE & Editor Files
# ========================================
.vscode/
.idea/
*.swp
*.swo
.DS_Store
.cursor/
# ========================================
# Documentation Build
# ========================================
# Documentation builds (if any)
docs/build/
docs/.docusaurus/
documentation/build/
documentation/.docusaurus/
# Development documentation
app/fastlane/DEV.md
common/ofacdata/original/dataspec.txt
# Generated constants from certificates
common/src/constants/skiPem.ts
# Circuit test cases (large)
circuits/tests/**/test_cases.ts
# ========================================
# Platform Specific
# ========================================
# iOS
*.xcworkspace/
*.xcodeproj/
*.pbxproj
app/ios/App Thinning Size Report.txt
# Android
*.iml
.gradle/
local.properties
app/android/android-passport-reader/examples/
# React Native config
app/react-native.config.cjs
# ========================================
# Miscellaneous
# ========================================
# License files (AI doesn't need these)
LICENSE
NOTICE
# Large media files
**/*.mp4
**/*.mov
**/*.avi
**/*.zip
**/*.tar.gz
# Patch files
patches/
# ========================================
# Project Specific Patterns
# ========================================
# Deployment addresses (might contain sensitive info)
contracts/deployed_addresses.json
contracts/ignition/deployments/staging/deployed_addresses.json
contracts/ignition/deployments/*/artifacts/
contracts/deployments/*/
!contracts/deployments/prod/
# Error selectors (generated)
contracts/error-selectors.json
# Hardhat network fork data
contracts/.hardhat_fork_cache/
# Lottie animation files (large JSON)
app/src/assets/animations/*.json
# Font files
app/src/assets/fonts/
# Yarn configuration
.yarnrc.yml
**/.yarn/
# Certificate generation config
common/src/scripts/extensions.cnf
# Powers of Tau files
circuits/ptau/
# ========================================
# Allow Important Files
# ========================================
# Ensure important config files are accessible
!tsconfig.json
!**/tsconfig.json
!package.json
!**/package.json
!hardhat.config.ts
!jest.config.*
!babel.config.*
!metro.config.*
!tamagui.config.ts
# Ensure source code is accessible
!**/*.ts
!**/*.tsx
!**/*.js
!**/*.jsx
!**/*.sol
!**/*.circom
# But exclude generated TypeScript declaration files
**/*.d.ts
!**/types/*.d.ts
!**/src/types/*.d.ts