Closed rajsite closed 2 weeks ago
I think it may be related to the addition of https://github.com/ni/nimble/blob/main/packages/storybook/.storybook/blocks/tsconfig.json
theory is sb build intermittently finds that file and causes the noEmit setting to impact the full build instead of just that file
It looks like TypeScript 5.5 will include roundingPriority
in the definition of NumberFormatOptions
, so we can remove our monkey-patched declaration. It's scheduled to be released a week from now (6/18). I wonder if there will be a subsequent patch release of Angular 17 that supports it. If not, we'll have to find another fix or hurry up and get on Angular 18.
While the rounding priority shows up in related logs I don't think it's the crux of this issue. but seems like something we can track separately.
🧹 Tech Debt
The storybook build from a clean build is intermittent. It seems to have started after the lint changes in https://github.com/ni/nimble/pull/2168 but the causality isn't clear.
Workaround is to retry the build / re-ruun the CI job.
Example builds: https://github.com/ni/nimble/actions/runs/9422583281/job/25959187261 https://github.com/ni/nimble/actions/runs/9421548135/job/25955858939
The build errors look like the following: