Skip to content

Conversation

@jason-ha
Copy link
Contributor

@jason-ha jason-ha commented Jan 9, 2026

Since packageVersion.ts is used it should be updated before compiling main code.

Since packageVersion.ts is used it should be updated before compiling main code.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a build order dependency issue in the @fluidframework/presence package by ensuring that packageVersion.ts is generated before the main TypeScript compilation runs.

Key changes:

  • Added build:genver as a dependency to the build:esnext:main task
  • Added build:genver as a dependency to the tsc:main task

Copy link
Member

@tylerbutler tylerbutler left a comment

Choose a reason for hiding this comment

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

Change looks great. Is this problem limited to presence because of its specific build, or are other packages hiding this problem somehow?

@jason-ha
Copy link
Contributor Author

jason-ha commented Jan 9, 2026

Change looks great. Is this problem limited to presence because of its specific build, or are other packages hiding this problem somehow?

Limited to presence as far as I know. Presence wasn't using gen-versions for a long time but did get custom tasks along the way. I only noticed because I am investigating if breaking presence up is the right thing to enforce certain boundaries between presence elements.

@jason-ha jason-ha merged commit 0da5aa4 into microsoft:main Jan 9, 2026
34 checks passed
@jason-ha jason-ha deleted the presence/build/fix-gen-version-order branch January 9, 2026 22:15
anthony-murphy-agent pushed a commit to anthony-murphy-agent/FluidFramework that referenced this pull request Jan 14, 2026
…soft#26170)

Since packageVersion.ts is used it should be updated before compiling
main code.
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.

2 participants