From 64480c0b15000140676a585f63a77c615207c99b Mon Sep 17 00:00:00 2001 From: bdj Date: Wed, 14 Jan 2026 16:26:04 -0800 Subject: [PATCH 1/2] fix(server): Use tsconfig.json for serverTestHelpers rollup build The serverTestHelpers rollup config was using `tsconfig: false` with inline compiler options, which bypassed TypeScript project references. During npm workspace publishing, this caused the build to fail to resolve the updated `@atxp/common` types (specifically the new `createSpendPermission` method on the Account type). By using the proper tsconfig.json, the build correctly follows project references and resolves workspace dependencies. Fixes publish failure: https://github.com/atxp-dev/sdk/actions/runs/21013783817 Co-Authored-By: Claude Opus 4.5 --- packages/atxp-server/rollup.config.js | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/packages/atxp-server/rollup.config.js b/packages/atxp-server/rollup.config.js index 61b49a34..99ac04e2 100644 --- a/packages/atxp-server/rollup.config.js +++ b/packages/atxp-server/rollup.config.js @@ -35,19 +35,9 @@ const serverTestHelpersConfigs = [ }, plugins: [ typescript({ - tsconfig: false, - compilerOptions: { - target: 'es2020', - module: 'esnext', - lib: ['es2020', 'dom'], - moduleResolution: 'node', - allowSyntheticDefaultImports: true, - esModuleInterop: true, - skipLibCheck: true, - strict: true, - declaration: false, - sourceMap: true - } + tsconfig: './tsconfig.json', + declaration: false, + declarationMap: false }), resolve({ preferBuiltins: true, exportConditions: ['node'] }), commonjs(), From 1de783dd19e78cceac2fe4692c6e084effb90206 Mon Sep 17 00:00:00 2001 From: bdj Date: Wed, 14 Jan 2026 16:51:48 -0800 Subject: [PATCH 2/2] fix: Remove corrupted nested @atxp packages from package-lock.json The package-lock.json had nested node_modules entries that pointed to npm registry versions instead of using local workspace packages: - packages/atxp-base/node_modules/@atxp/client - packages/atxp-base/node_modules/@atxp/common - packages/atxp-client/node_modules/@atxp/common - packages/atxp-express/node_modules/@atxp/common This caused CI typecheck to fail because it was using @atxp/common@0.10.4 which doesn't have the createSpendPermission method. Co-Authored-By: Claude Opus 4.5 --- package-lock.json | 56 +---------------------------------------------- 1 file changed, 1 insertion(+), 55 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0c8819fb..7363ead9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21773,6 +21773,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/react-native-url-polyfill/-/react-native-url-polyfill-3.0.0.tgz", "integrity": "sha512-aA5CiuUCUb/lbrliVCJ6lZ17/RpNJzvTO/C7gC/YmDQhTUoRD5q5HlJfwLWcxz4VgAhHwXKzhxH+wUN24tAdqg==", + "dev": true, "license": "MIT", "dependencies": { "whatwg-url-without-unicode": "8.0.0-3" @@ -25501,35 +25502,6 @@ "vitest": "^4.0.16" } }, - "packages/atxp-base/node_modules/@atxp/client": { - "version": "0.10.4", - "resolved": "https://registry.npmjs.org/@atxp/client/-/client-0.10.4.tgz", - "integrity": "sha512-1lBY9cCSbYynuq+EO9h0w0Uwarygb3h6QRx9QImPyxNX4FKL3Y/DP3RSkafK50qmjJa/eI7Xp4HUCSJjlGWWVA==", - "license": "MIT", - "dependencies": { - "@atxp/common": "0.10.4", - "@modelcontextprotocol/sdk": "^1.15.0", - "bignumber.js": "^9.3.0", - "oauth4webapi": "^3.8.3" - }, - "peerDependencies": { - "expo-crypto": ">=14.0.0", - "react-native-url-polyfill": "^3.0.0" - } - }, - "packages/atxp-base/node_modules/@atxp/common": { - "version": "0.10.4", - "resolved": "https://registry.npmjs.org/@atxp/common/-/common-0.10.4.tgz", - "integrity": "sha512-Me4y2EMPTAludYG4xPLBi236FipQYrdIEt72+iKkXUHwgiZrDevfFip1MLrJ/gPd5nNP1ysHVsAofGXqF/Gk5Q==", - "license": "MIT", - "dependencies": { - "bignumber.js": "^9.3.0", - "jose": "^6.0.11", - "oauth4webapi": "^3.8.3", - "tweetnacl": "^1.0.3", - "tweetnacl-util": "^0.15.1" - } - }, "packages/atxp-client": { "name": "@atxp/client", "version": "0.10.5", @@ -25559,19 +25531,6 @@ "react-native-url-polyfill": "^3.0.0" } }, - "packages/atxp-client/node_modules/@atxp/common": { - "version": "0.10.4", - "resolved": "https://registry.npmjs.org/@atxp/common/-/common-0.10.4.tgz", - "integrity": "sha512-Me4y2EMPTAludYG4xPLBi236FipQYrdIEt72+iKkXUHwgiZrDevfFip1MLrJ/gPd5nNP1ysHVsAofGXqF/Gk5Q==", - "license": "MIT", - "dependencies": { - "bignumber.js": "^9.3.0", - "jose": "^6.0.11", - "oauth4webapi": "^3.8.3", - "tweetnacl": "^1.0.3", - "tweetnacl-util": "^0.15.1" - } - }, "packages/atxp-cloudflare": { "name": "@atxp/cloudflare", "version": "0.10.5", @@ -25639,19 +25598,6 @@ "express": "^5.0.0" } }, - "packages/atxp-express/node_modules/@atxp/common": { - "version": "0.10.4", - "resolved": "https://registry.npmjs.org/@atxp/common/-/common-0.10.4.tgz", - "integrity": "sha512-Me4y2EMPTAludYG4xPLBi236FipQYrdIEt72+iKkXUHwgiZrDevfFip1MLrJ/gPd5nNP1ysHVsAofGXqF/Gk5Q==", - "license": "MIT", - "dependencies": { - "bignumber.js": "^9.3.0", - "jose": "^6.0.11", - "oauth4webapi": "^3.8.3", - "tweetnacl": "^1.0.3", - "tweetnacl-util": "^0.15.1" - } - }, "packages/atxp-polygon": { "name": "@atxp/polygon", "version": "0.10.5",