Skip to content

fix: add explicit TypeScript rootDir settings#6638

Open
Puneetdivedi wants to merge 2 commits into
FlowiseAI:mainfrom
Puneetdivedi:feature/typescript-rootdir
Open

fix: add explicit TypeScript rootDir settings#6638
Puneetdivedi wants to merge 2 commits into
FlowiseAI:mainfrom
Puneetdivedi:feature/typescript-rootdir

Conversation

@Puneetdivedi

Copy link
Copy Markdown

Summary

This PR adds explicit rootDir settings to the TypeScript configs for the server and components packages.

Why

Newer TypeScript versions can report a rootDir-related issue when outDir is configured and the compiler cannot infer the common source directory reliably. Setting rootDir explicitly makes the build output layout more predictable and avoids this configuration warning/error.

Changes

  • Added rootDir: "./src" to packages/server/tsconfig.json
  • Added rootDir: "./" to packages/components/tsconfig.json

Verification

  • Editor diagnostics report no errors for the updated tsconfig files.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request configures the rootDir compiler option in the TypeScript configurations (tsconfig.json) for both the packages/components and packages/server packages, setting them to ./ and ./src respectively. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant