fix: add .npmrc and CUSTOM_BUILD_COMMAND to resolve Oryx npm peer dep conflict

Oryx runs `npm install` which fails on peer dependency conflicts between
@assistant-ui/react@^0.8.0 and @assistant-ui/react-syntax-highlighter@^0.7.2.
Adding .npmrc with legacy-peer-deps=true and CUSTOM_BUILD_COMMAND for pnpm.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
gongzhiyong
2026-04-10 13:36:30 +08:00
co-authored by Claude Opus 4.6
parent 45685e8b4a
commit b30cb0e758
+1
View File
@@ -0,0 +1 @@
legacy-peer-deps=true