From edb1cfc9f034ada53cd1f880244e434c9ddea821 Mon Sep 17 00:00:00 2001 From: RAIT-09 <51452399+RAIT-09@users.noreply.github.com> Date: Sat, 20 Jun 2026 14:11:37 +0900 Subject: [PATCH] fix(ci): set legacy-peer-deps to fix npm ci ERESOLVE vitest@4 declares an optional peer on @types/node>=20 while this project pins @types/node@^16, so `npm ci` fails with ERESOLVE on npm 10 (node 22 in CI). Accept the resolution so release/CI/docs `npm ci` and local `npm i` all succeed; the peer is optional and the vitest suite passes. --- .npmrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.npmrc b/.npmrc index b973752..d264c12 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ -tag-version-prefix="" \ No newline at end of file +tag-version-prefix="" +legacy-peer-deps=true \ No newline at end of file