-
Notifications
You must be signed in to change notification settings - Fork 693
Description
Bug Description:
Issue Type: Bug 🐛
Priority: Low/Medium
Description:
The tsconfig.json file in the typescript-sdk/packages/client/ directory contains an incorrect file path in the include field that references a non-existent file.
Current (Incorrect) Configuration:
{
"include": ["src", "../core/src/subscriber.ts"],
"exclude": ["node_modules", "dist"]
}
problem:
The path "../core/src/subscriber.ts" points to a file that doesn't exist. The actual subscriber.ts file is located at typescript-sdk/packages/client/src/agent/subscriber.ts.
Expected Behavior:
The tsconfig.json should only include files that actually exist and are relevant to the client package compilation.
Actual Behavior:
TypeScript compiler may show warnings about missing files
Potential build inconsistencies
Confusion for developers working on the codebase
Root Cause:
This appears to be a leftover configuration from a previous refactoring where the subscriber.ts file was moved from the core package to the client package, but the tsconfig.json was not updated accordingly.
Proposed Solution:
Remove the incorrect file reference since the subscriber.ts file is already included under the "src" directory:
{
"include": ["src"],
"exclude": ["node_modules", "dist"]
}