Skip to content

Fix build: override ts-sinon @types/node to use root version#491

Merged
jbujula merged 1 commit into
mainfrom
users/rishjain/fix-types-node-override
Mar 12, 2026
Merged

Fix build: override ts-sinon @types/node to use root version#491
jbujula merged 1 commit into
mainfrom
users/rishjain/fix-types-node-override

Conversation

@MrRishabhJain

Copy link
Copy Markdown
Contributor

The OneBranch official build has been failing since Jan 2026 because npm ci cannot resolve @types/node@14.18.63 from the DPX-Tools-Upstream ADO feed.

Root cause: ts-sinon@2.0.2 depends on @types/node@^14.6.1 → 14.18.63, which the ADO feed can't proxy.

Fix: Add npm overrides to force ts-sinon to use the root @types/node version. Lock file regenerated against the ADO feed.

@MrRishabhJain MrRishabhJain requested review from a team as code owners March 12, 2026 09:42
ts-sinon@2.0.2 depends on @types/node@^14.6.1 which resolves to
14.18.63 in the lock file. The DPX-Tools-Upstream ADO feed cannot
proxy this version from npmjs, causing npm ci to fail with 404.

Add an npm override to force ts-sinon to use the same @types/node
as the root project, eliminating the problematic transitive dep.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@MrRishabhJain MrRishabhJain force-pushed the users/rishjain/fix-types-node-override branch from 9cde814 to 8ae37bb Compare March 12, 2026 12:10
@jbujula jbujula merged commit ea7610d into main Mar 12, 2026
6 checks passed
@jbujula jbujula deleted the users/rishjain/fix-types-node-override branch March 12, 2026 17:43
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