From 2f6c4f34c164909869b2de30392de334b07a1145 Mon Sep 17 00:00:00 2001 From: Aleksandr Pasevin Date: Fri, 21 Aug 2026 01:27:48 +0100 Subject: [PATCH] fix(export): sync export versions with the published adapter and UI releases check-versions is failing on every PR again. This is the same maintenance the script exists for, not a new defect: @openzeppelin/adapter-evm, adapter-polkadot and adapter-stellar published 3.0.0, and the openzeppelin-ui packages published a round (ui-utils 4.0.0, ui-types 3.5.1, ui-components 3.8.2, ui-react 3.3.1, ui-renderer 3.4.1, ui-storage 1.2.4), so versions.ts went stale. Ran `pnpm run update-export-versions`, which updated versions.ts and refreshed two export snapshots. Unlike before, the pin test no longer duplicates these literals (it derives them from packageVersions since #412), so nothing had to be edited by hand and the deadlock did not recur. Note this raises exported apps to the adapter 3.x line while this repo's own devDependencies still pin ^2.x. That gap is what the follow-up adapter bump wave is for; syncing here is what unblocks CI now. Verified: 46 test files and 322 tests pass, the production build succeeds, lint and format:check clean. Co-Authored-By: Claude Opus 5 (1M context) --- .../ExportSnapshotTests.test.ts.snap | 24 +++++++++---------- apps/builder/src/export/versions.ts | 18 +++++++------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/apps/builder/src/export/__tests__/__snapshots__/ExportSnapshotTests.test.ts.snap b/apps/builder/src/export/__tests__/__snapshots__/ExportSnapshotTests.test.ts.snap index c5f22cc1..f995ad67 100644 --- a/apps/builder/src/export/__tests__/__snapshots__/ExportSnapshotTests.test.ts.snap +++ b/apps/builder/src/export/__tests__/__snapshots__/ExportSnapshotTests.test.ts.snap @@ -341,12 +341,12 @@ export default function GeneratedForm({ adapter, isWalletConnected }: GeneratedF exports[`Export Snapshot Tests > evm Export Snapshots > should match snapshot for package.json structure > package-json-evm 1`] = ` { "dependencies": { - "@openzeppelin/adapter-evm": "^2.7.0", - "@openzeppelin/ui-components": "^3.8.1", - "@openzeppelin/ui-react": "^3.3.0", - "@openzeppelin/ui-renderer": "^3.4.0", - "@openzeppelin/ui-types": "^3.5.0", - "@openzeppelin/ui-utils": "^3.3.0", + "@openzeppelin/adapter-evm": "^3.0.0", + "@openzeppelin/ui-components": "^3.8.2", + "@openzeppelin/ui-react": "^3.3.1", + "@openzeppelin/ui-renderer": "^3.4.1", + "@openzeppelin/ui-types": "^3.5.1", + "@openzeppelin/ui-utils": "^4.0.0", "@tanstack/react-query": "^5.0.0", "@wagmi/core": "^2.20.3", "react": "^19.2.1", @@ -708,12 +708,12 @@ export default function GeneratedForm({ adapter, isWalletConnected }: GeneratedF exports[`Export Snapshot Tests > polkadot Export Snapshots > should match snapshot for package.json structure > package-json-polkadot 1`] = ` { "dependencies": { - "@openzeppelin/adapter-polkadot": "^2.2.0", - "@openzeppelin/ui-components": "^3.8.1", - "@openzeppelin/ui-react": "^3.3.0", - "@openzeppelin/ui-renderer": "^3.4.0", - "@openzeppelin/ui-types": "^3.5.0", - "@openzeppelin/ui-utils": "^3.3.0", + "@openzeppelin/adapter-polkadot": "^3.0.0", + "@openzeppelin/ui-components": "^3.8.2", + "@openzeppelin/ui-react": "^3.3.1", + "@openzeppelin/ui-renderer": "^3.4.1", + "@openzeppelin/ui-types": "^3.5.1", + "@openzeppelin/ui-utils": "^4.0.0", "@tanstack/react-query": "^5.0.0", "@wagmi/core": "^2.20.3", "react": "^19.2.1", diff --git a/apps/builder/src/export/versions.ts b/apps/builder/src/export/versions.ts index f143149b..12558e93 100644 --- a/apps/builder/src/export/versions.ts +++ b/apps/builder/src/export/versions.ts @@ -6,16 +6,16 @@ */ export const packageVersions = { - '@openzeppelin/adapter-evm': '2.7.0', + '@openzeppelin/adapter-evm': '3.0.0', '@openzeppelin/adapter-midnight': '2.2.0', - '@openzeppelin/adapter-polkadot': '2.2.0', + '@openzeppelin/adapter-polkadot': '3.0.0', '@openzeppelin/adapter-solana': '2.2.0', - '@openzeppelin/adapter-stellar': '2.2.0', - '@openzeppelin/ui-react': '3.3.0', - '@openzeppelin/ui-renderer': '3.4.0', - '@openzeppelin/ui-storage': '1.2.3', - '@openzeppelin/ui-types': '3.5.0', - '@openzeppelin/ui-components': '3.8.1', - '@openzeppelin/ui-utils': '3.3.0', + '@openzeppelin/adapter-stellar': '3.0.0', + '@openzeppelin/ui-react': '3.3.1', + '@openzeppelin/ui-renderer': '3.4.1', + '@openzeppelin/ui-storage': '1.2.4', + '@openzeppelin/ui-types': '3.5.1', + '@openzeppelin/ui-components': '3.8.2', + '@openzeppelin/ui-utils': '4.0.0', '@openzeppelin/ui-styles': '1.1.0', };