Преглед изворни кода

chore: 更新npm配置以支持工作区根目录安装

添加ignore-workspace-root-check和install-workspace-root配置项以支持在工作区根目录进行依赖安装
feige996 пре 10 месеци
родитељ
комит
b437de902d
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      .npmrc

+ 2 - 0
.npmrc

@@ -4,3 +4,5 @@ registry = https://registry.npmmirror.com
 strict-peer-dependencies=false
 strict-peer-dependencies=false
 auto-install-peers=true
 auto-install-peers=true
 shamefully-hoist=true
 shamefully-hoist=true
+ignore-workspace-root-check=true
+install-workspace-root=true