Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build: Add missing dependencies to manager, unify TS to ~4.9.3 #20021

Merged
merged 6 commits into from
Dec 5, 2022

Conversation

IanVS
Copy link
Member

@IanVS IanVS commented Nov 30, 2022

Issue:

Possible alternative to #20018

What I did

The error mentioned in #20018 seems to indicate that generate-exports-file.ts might be running too early, before the packages that it is processing have been compiled. By adding the missing dependencies from ui/manager/src/globals/types.ts into the package.json, they should be compiled by NX before manager is, hopefully solving the race condition.

This also brings all of the packages in the monorepo up to typescript ~4.9.3, since a few were still at 4.6.3, and seemingly were causing build errors when satisfies was encountered.

How to test

This is tricky, since the error only occurs occasionally. One approach might be to re-run the unit tests in github CI multiple times, to see if the intermittent error still occurs.

@IanVS IanVS added the build Internal-facing build tooling & test updates label Nov 30, 2022
@shilman shilman assigned ndelangen and unassigned shilman Nov 30, 2022
@IanVS IanVS changed the title Build: Add missing dependencies to manager Build: Add missing dependencies to manager, unify TS to ~4.9.3 Nov 30, 2022
Copy link
Contributor

@kasperpeulen kasperpeulen left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Internal-facing build tooling & test updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants