mirror of
https://github.com/selfxyz/self.git
synced 2026-02-19 02:24:25 -05:00
* 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
85 lines
2.2 KiB
JSON
85 lines
2.2 KiB
JSON
{
|
|
"name": "@selfxyz/core",
|
|
"version": "1.1.0-beta.7",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/selfxyz/self"
|
|
},
|
|
"license": "MIT",
|
|
"author": "motemotech",
|
|
"sideEffects": [
|
|
"**/SelfBackendVerifier.js",
|
|
"**/SelfBackendVerifier.cjs",
|
|
"**/typechain-types/**/*.js",
|
|
"**/typechain-types/**/*.cjs",
|
|
"**/abi/*.json"
|
|
],
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.cts",
|
|
"default": "./dist/index.cjs"
|
|
}
|
|
}
|
|
},
|
|
"main": "dist/index.cjs",
|
|
"module": "dist/index.js",
|
|
"types": "dist/index.d.cts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "typechain --target ethers-v6 --node16-modules --out-dir src/typechain-types src/abi/**.json && tsup index.ts --format cjs,esm --dts --clean --sourcemap",
|
|
"build:deps": "yarn workspaces foreach --from @selfxyz/core --topological-dev --recursive run build",
|
|
"copy-abi": "bash scripts/copyAbi.sh",
|
|
"format": "prettier --write .",
|
|
"install-sdk": "yarn workspaces focus @selfxyz/core",
|
|
"lint": "prettier --check .",
|
|
"prepublishOnly": "npm run build",
|
|
"publish": "yarn npm publish --access public",
|
|
"test": "node --loader ts-node/esm --test tests/*.test.ts",
|
|
"types": "yarn build"
|
|
},
|
|
"dependencies": {
|
|
"@selfxyz/common": "workspace:^",
|
|
"ethers": "^6.13.5",
|
|
"js-sha1": "^0.7.0",
|
|
"js-sha256": "^0.11.0",
|
|
"js-sha512": "^0.9.0",
|
|
"node-forge": "^1.3.3",
|
|
"poseidon-lite": "^0.3.0",
|
|
"snarkjs": "^0.7.4",
|
|
"uuid": "^11.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@typechain/ethers-v6": "^0.5.1",
|
|
"@types/chai": "^4.3.6",
|
|
"@types/chai-as-promised": "^7.1.8",
|
|
"@types/circomlibjs": "^0.1.6",
|
|
"@types/expect": "^24.3.0",
|
|
"@types/mocha": "^10.0.6",
|
|
"@types/node": "^22.18.3",
|
|
"@types/node-forge": "^1.3.5",
|
|
"@types/snarkjs": "^0.7.8",
|
|
"axios": "^1.7.2",
|
|
"prettier": "^3.5.3",
|
|
"ts-loader": "^9.5.1",
|
|
"ts-node": "^10.9.2",
|
|
"tsup": "^8.5.0",
|
|
"typechain": "^8.3.2",
|
|
"typescript": "^5.9.3",
|
|
"webpack": "^5.95.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=22 <23"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|