[FOLIO-3610] bundling fails in CI with multiple typescript errors Created: 10/Oct/22  Updated: 10/Oct/22  Resolved: 10/Oct/22

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: TBD
Reporter: Zak Burke Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Blocks
is blocked by MDEXP-560 Support users 16.0 interface Closed
Relates
relates to MODUSERS-212 Make addresstypeid property required ... Closed
Sprint: stripes-force 150
Development Team: None
RCA Group: TBD

 Description   

Summary: yarn stripes build ... is suddenly failing in CI with TypeScript errors despite no related changes to package.json or yarn.lock in the last few hours. build log



 Comments   
Comment by Zak Burke [ 10/Oct/22 ]

This caused by the release of @babel/generator 7.19.4. What is less clear is if they introduced a new bug in this release (their problem) or if we have been exploiting a loophole that is now closed in this release (our problem). We can pin to 7.19.3 as a workaround, but @babel/generator is a transitive dependency of @babel/core, which means we'd have to pin it in every single repo, which is not ideal.

Comment by Zak Burke [ 10/Oct/22 ]

Also note this is blocked on MDEXP-560 Closed because even if we pin to 7.19.3, the build still fails due to the interface discrepancy.

Comment by Zak Burke [ 10/Oct/22 ]

Fixed upstream in https://github.com/babel/babel/releases/tag/v7.19.5

Generated at Thu Feb 08 23:29:23 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.