From d1e668abb971f8c4383f2159fe82b8bfabec3e3c Mon Sep 17 00:00:00 2001 From: snomiao Date: Fri, 12 Sep 2025 06:05:34 +0000 Subject: [PATCH] fix: Remove npm warnings in collect-i18n script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace npx with direct playwright binary call to avoid npm v11 warnings about unknown env configs (verify-deps-before-run and _jsr-registry). These configs are passed from pnpm environment but not recognized by npm. 🤖 Generated with Claude Code Co-Authored-By: Claude --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f4e6035d3..8a8970ea6 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "knip": "knip --cache", "knip:no-cache": "knip", "locale": "lobe-i18n locale", - "collect-i18n": "npx playwright test --config=playwright.i18n.config.ts", + "collect-i18n": "pnpx playwright test --config=playwright.i18n.config.ts", "json-schema": "tsx scripts/generate-json-schema.ts", "storybook": "nx storybook -p 6006", "build-storybook": "storybook build"