Commit 04b3bb8
Migrate monorepo from Yarn to pnpm (#2069)
* Migrate GitHub Actions workflows to pnpm install actions
* Fix invalid pnpm workspace commands in CI workflows
* pipeline fixes
* update to pnpm v11
* fix pipelines
* fixes
* update pnpm
* fix paths
* fix tsup
* remove dupe mock
* override jsdom pkg
* fix types
* fix types
* fix some prs
* workflow fixes
* fix building with overriedses
* more pipeline fixes
* fixes
* fix react
* fix test
* remove yarn artifacts
* fix(pnpm): add packageExtensionsChecksum to lockfile
CI's frozen install computes a checksum from the packageExtensions block
in pnpm-workspace.yaml and rejects the lockfile because none was written
when the field was added. Pin the checksum so --frozen-lockfile passes.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* try again
* fix types
* fix tests
* fixes
* add follow up spec
* update agent files
* pipeline fixes
* fix mock
* fix oom issues
* fix caching issue
* fix pipelines
* format
* dedupe
* fix tests
* fix android build
* fix ios
* update spec
* update pnpm tooling specs
* Honor CI_FORCE_RUN sentinel in check_changes-gated workflows
Add the sentinel to the diff allowlist in circuits, core-sdk, contracts,
and qrcode-sdk so editing .github/CI_FORCE_RUN actually forces them to
run on dev-base PRs. Clarify scope/limits in the sentinel doc and
AGENTS.md, and add a --check mode to the helper script.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* fix vercel deploys
* Force-run CI on PR #2069 and unblock skipped jobs
- Re-enable web-build, workspace-format-check, workspace-test (were if:
false). check-and-deploy in mobile-deploy-auto stays disabled — its
comment says it doesn't work as expected.
- Add a debug job in Core SDK CI that echoes needs.check_changes.outputs
.should_run, pull_request.draft, and event_name so we can diagnose why
downstream jobs skip despite should_run=true.
- Bump CI_FORCE_RUN to trigger a fresh run of all path-filtered
workflows.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Address PR review comments on #2069
- core-sdk-ci (P1, codex): always install deps in lint/types/test; the
build cache restores only common/dist and sdk/core/dist, so skipping
pnpm install on cache hit left the runner with no node_modules.
- mobile-setup (P2, greptile): replace --prod=false with --no-prod.
- cache-pnpm (P2, greptile): document the store path assumption.
- native-shells-ci (Major, coderabbit): mirror the CI_FORCE_RUN sentinel
into the dorny/paths-filter filters so editing the sentinel alone
actually runs android/ios jobs.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* fixes
* format
* fixes
* fixes
* fixes
* fixes
* upgrade pnpm
* fix format
* update lock
* check for more script conversion opportunities
* upgrade pnpm version
* convert format scripts
* format
* fix circuits tests
* fixes
* Stabilize CI tests and add circom tester compat shim
* fixes
* fix pr
* updates
* update lock
* Merge dev: resolve SelfQRcode conflict, fix circom shim loadSymbols
The circom_tester compat shim was throwing 'Unable to resolve witness
index for signal' because circuit.symbols is only populated by
loadSymbols(). Call it before reading the table.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* update lock
* formatting
* update lock file
* revert test shim
* test circuits ci
* update specs
* prettier fixes
* update spec
* simplify pnpm version tracking
* sort package json files
* dedupe
* convert npm to pnpm
* simplify include paths
* match jest
* dedupe
* update spec
* revert jest for now. wait for rn upgrade
* claude feedback
* update pnpm and install files
* downgrade and dedupe
* update lock
* remove old web logic
* update mt spec
* remove additional web artifacts
* pnpm upgrade
* add optimize script
* update packages
* format
* update lock after merge
* formatting and type fix
* update react and types
* update lockfile
* fix ci pipelines
* formatting
* pin package to fix formatting issues
* upgrade packages
* fix pipelines again
* Fix Android CI pipeline failures
* convert scripts from yarn to pnpm
* format
* fix prettier
* fix(ci): keep typechain on prettier 2.x; reformat sol for prettier 3.8.3
The global `prettier: 3.8.3` override forced typechain@8's internal prettier
to v3, whose format() is async. typechain calls it synchronously and writes
the returned Promise to disk, crashing sdk/core's build with
"The data argument ... Received an instance of Promise". This cascaded into
Workspace CI, Common CI type-check, and Core SDK CI. Scope the override
(typechain>prettier: 2.8.8) so typechain keeps prettier 2.x's sync format().
Separately, pinning prettier to 3.8.3 reflows 5 contracts .sol files vs the
versions committed under yarn's older prettier; reformat them so Contracts CI
prettier:check passes. Changes are token-identical line-wrapping only.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* debug(ci): print full format diff to diagnose SPEC.md mismatch
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* ci: exclude markdown from format gate
Prettier aligns markdown tables by display width, which differs across OS
for East-Asian-Width-ambiguous glyphs (em-dash U+2014, arrow U+2192). The
Linux CI runner measures them wider than macOS, so committed-on-Mac tables
show spurious reformatting diffs on CI (e.g. analytics/SPEC.md).
Keep markdown in `pnpm format` but stop .md drift from failing the gate;
other languages still fail as before. Reverts the temporary debug diff dump.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* update lock
* sort
* formatting
* fix formatting
* fix merge conflicts; update pnpm
* pnpm dedupe
---------
Co-authored-by: Justin Hernandez <jmh@Justins-MacBook-Air.local>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3d19f61 commit 04b3bb8
218 files changed
Lines changed: 41275 additions & 47667 deletions
File tree
- .github
- actions
- cache-core-sdk-build
- cache-mobile-sdk-build
- cache-pnpm
- cache-yarn
- check-nested-requires
- mobile-setup
- pnpm-install
- yarnrc-hash
- workflows
- .husky
- app
- android
- app
- docs
- ios
- Self.xcodeproj
- scripts
- scripts
- tests
- src
- components
- homescreen
- native
- config
- devtools/mocks
- hooks
- integrations/haptics
- providers
- screens/documents/scanning
- services/notifications
- specs
- stores
- tests
- __setup__
- src/components
- web
- fonts
- circuits
- scripts
- build
- tests
- disclose
- dsc
- ofac
- other_circuits
- register_id
- register
- utils
- kyc
- date
- ofac
- common
- scripts
- contracts
- contracts
- libraries
- registry
- scripts
- test/utils
- docs
- coverage
- maintenance
- new-common
- packages
- kmp-minipay-sample/gradle
- kmp-sdk-test-app/gradle
- kmp-sdk/gradle
- mobile-sdk-alpha
- scripts
- src/flows/onboarding
- tests/data
- mobile-sdk-demo
- android
- app
- scripts
- rn-sdk-test-app
- android
- app
- src/main/java/com/selfxyz/demoapp
- ios
- SelfRNTestApp.xcodeproj
- scripts
- rn-sdk
- webview-app
- tests/screens
- account
- embed
- recovery
- webview-bridge
- pnpm-patches
- scripts
- ci
- tests
- sdk
- core
- qrcode-angular
- qrcode
- components
- sdk-common
- specs
- projects/sdk
- workstreams
- monorepo-tooling
- plans
- webview-in-app/plans
- topics
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 32 | | |
36 | 33 | | |
37 | 34 | | |
| |||
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 41 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 32 | | |
36 | 33 | | |
37 | 34 | | |
| |||
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 41 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | | - | |
63 | 62 | | |
64 | 63 | | |
65 | | - | |
| 64 | + | |
| 65 | + | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
| 72 | + | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
| 80 | + | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
Lines changed: 9 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 14 | | |
23 | 15 | | |
24 | 16 | | |
25 | 17 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
30 | 24 | | |
31 | 25 | | |
32 | 26 | | |
33 | 27 | | |
34 | 28 | | |
35 | 29 | | |
36 | 30 | | |
37 | | - | |
| 31 | + | |
This file was deleted.
0 commit comments