Files
self/sdk/qrcode-angular/package.json
Justin Hernandez 8da076cf0d Bump Babel, TypeScript, React Native and assorted dependencies; refresh lockfile (#1606)
* Update dependency versions

* Fix gesture handler Android dependency (#1611)

* Patch screens codegen type (#1609)

* Downgrade Sentry React Native (#1612)

* fix patches and packages

* downgrade versions for gesture handler and screens

* agent feedback

* fix ios building

* allow ios tets to pass

* formatting

* make cache more resilient

* Address CodeRabbitAI review comments

This commit addresses all 7 unresolved CodeRabbitAI comments on PR #1606:

Patch-package error handling (comments #1, #2, #3):
- stderr capture already implemented in both root and workspace patch runs
- Add CI warning when patches fail silently instead of exiting with 0
- Log completion status in CI mode for visibility

Critical Mixpanel dependency fix (comment #5):
- Add explicit Mixpanel-swift pod declaration to fix E2E build failures
- Ensures Mixpanel is available even when NFCPassportReader is skipped during E2E testing

React-native-web validation (comment #4):
- Verified no usage of deprecated findNodeHandle, pointerEvents: 'box-none', or createPortal
- Safe to upgrade from 0.19 to 0.21.2

CI workflow improvements (comments #6, #7):
- Create cache-sdk-build composite action for consistent SDK build artifact caching
- Replace all direct actions/cache@v4 usage with cache-yarn composite action
- Replace all direct actions/cache/restore@v4 and save@v4 with cache-sdk-build
- Add nested require() validation step before tests to fail fast on problematic patterns

All changes follow repository coding guidelines for CI caching and test memory optimization.

* Extend cache composite actions to all SDK workflows

This commit extends the caching standardization from PR #1606 to include
mobile-sdk-ci.yml and core-sdk-ci.yml workflows.

New composite actions created:
- cache-mobile-sdk-build: For mobile SDK build artifacts
- cache-core-sdk-build: For core SDK build artifacts

Workflow updates:
- mobile-sdk-ci.yml: Replaced 5 instances of direct actions/cache with cache-mobile-sdk-build
- core-sdk-ci.yml: Replaced 4 instances of direct actions/cache with cache-core-sdk-build

All SDK CI workflows now use consistent caching patterns via composite actions,
following the AGENTS.md guideline: "Use shared composite actions from .github/actions
for CI caching instead of calling actions/cache directly."

Benefits:
- Consistent caching across all SDK workflows (qrcode, mobile, core)
- Centralized cache configuration - easier to maintain
- Follows established patterns from qrcode-sdk-ci.yml

* downgrade react-native-svg

* update pod lock file

* sort
2026-01-28 12:47:32 -08:00

88 lines
2.5 KiB
JSON

{
"name": "@selfxyz/qrcode-angular",
"version": "1.0.4",
"description": "Angular QR code wrapper SDK for Self passport verification",
"keywords": [
"angular",
"qrcode",
"self",
"passport",
"verification",
"identity"
],
"repository": {
"type": "git",
"url": "https://github.com/selfxyz/self"
},
"license": "MIT",
"sideEffects": false,
"main": "dist/fesm2022/selfxyz-qrcode-angular.mjs",
"module": "dist/fesm2022/selfxyz-qrcode-angular.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"README.md"
],
"scripts": {
"build": "ng-packagr -p ng-package.json",
"build:deps": "yarn workspaces foreach --from @selfxyz/qrcode-angular --topological-dev --recursive run build",
"build:watch": "ng-packagr -p ng-package.json --watch",
"format": "prettier --write .",
"lint": "ng lint",
"lint:fix": "ng lint --fix",
"nice": "yarn format && yarn lint",
"prepublishOnly": "yarn build",
"publish": "yarn npm publish --access public",
"test": "ng test"
},
"dependencies": {
"angularx-qrcode": "^20.0.0",
"lottie-web": "^5.12.2",
"socket.io-client": "^4.8.3",
"uuid": "^11.1.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^20.3.0",
"@angular-eslint/builder": "^20.3.0",
"@angular-eslint/eslint-plugin": "^20.3.0",
"@angular-eslint/eslint-plugin-template": "^20.3.0",
"@angular-eslint/schematics": "^20.3.0",
"@angular-eslint/template-parser": "^20.3.0",
"@angular/animations": "^20.3.0",
"@angular/cli": "^20.3.0",
"@angular/common": "^20.3.0",
"@angular/compiler": "^20.3.0",
"@angular/compiler-cli": "^20.3.0",
"@angular/core": "^20.3.0",
"@angular/platform-browser": "^20.3.0",
"@angular/platform-browser-dynamic": "^20.3.0",
"@types/node": "^22.0.0",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@typescript-eslint/types": "^8.0.0",
"@typescript-eslint/utils": "^8.0.0",
"eslint": "^8.57.0",
"ng-packagr": "^20.3.0",
"ngx-lottie": "^20.0.0",
"prettier": "^3.5.3",
"rxjs": "^7.8.0",
"tslib": "^2.6.0",
"typescript": "~5.9.3",
"zone.js": "^0.15.0"
},
"peerDependencies": {
"@angular/animations": "^20.3.0",
"@angular/common": "^20.3.0",
"@angular/core": "^20.3.0",
"ngx-lottie": "^20.0.0",
"rxjs": "^7.8.0"
},
"engines": {
"node": ">=22 <23"
},
"publishConfig": {
"access": "public"
}
}