Skip to content

Commit 923451a

Browse files
badjerclaude
andcommitted
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 <noreply@anthropic.com>
1 parent 863cfbe commit 923451a

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

packages/atxp-server/rollup.config.js

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,9 @@ const serverTestHelpersConfigs = [
3535
},
3636
plugins: [
3737
typescript({
38-
tsconfig: false,
39-
compilerOptions: {
40-
target: 'es2020',
41-
module: 'esnext',
42-
lib: ['es2020', 'dom'],
43-
moduleResolution: 'node',
44-
allowSyntheticDefaultImports: true,
45-
esModuleInterop: true,
46-
skipLibCheck: true,
47-
strict: true,
48-
declaration: false,
49-
sourceMap: true
50-
}
38+
tsconfig: './tsconfig.json',
39+
declaration: false,
40+
declarationMap: false
5141
}),
5242
resolve({ preferBuiltins: true, exportConditions: ['node'] }),
5343
commonjs(),

0 commit comments

Comments
 (0)