"pnpm": { "peerDependencyRules": { "ignoreMissing": [ "react" ] } } } 或者说直接在.npmrc配置文件中直接关闭严格的对等依赖模式,可以添加strict-peer-dependencies=false到配置文件中,或者执行如下命令 npm config set strict-peer-dependencies=false 然后也可能会出现警告deprecated subdependencies found,暂时...
"access":"restricted","baseBranch":"main","updateInternalDependencies":"patch","ignore":[],"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH":{"onlyUpdatePeerDependentsWhenOutOfRange":true}}
"peerDependencyRules": { "ignoreMissing": [ "react" ] } } } 或者说直接在.npmrc配置文件中直接关闭严格的对等依赖模式,可以添加strict-peer-dependencies=false到配置文件中,或者执行如下命令 npm config set strict-peer-dependencies=false 然后也可能会出现警告deprecated subdependencies found,暂时可以忽略 幽灵...
"access":"restricted","baseBranch":"main","updateInternalDependencies":"patch","ignore":[],"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH":{"onlyUpdatePeerDependentsWhenOutOfRange":true}}
{// 指定你的软件能够运行的 Node 版本和 pnpm 版本"engines": {"node":">=10","pnpm":">=3"},"pnpm": {// 忽略依赖问题的警告"peerDependencyRules": {"ignoreMissing": ["@babel/*","@eslint/*"] } } } 参考源 https://pnpm.io/zh/ ...
在项目的package.json中配置peerDependencyRules忽略对应的警告提示: {"pnpm":{"peerDependencyRules":{"ignoreMissing":["react"]}}} 在.npmrc配置文件中添加strict-peer-dependencies=false,这意味着将关闭严格的对等依赖模式。操作命令如下: npm config set strict-peer-dependencies=false...
"ignoreMissing": [ "react" ] } } } 或者说直接在.npmrc配置文件中直接关闭严格的对等依赖模式,可以添加strict-peer-dependencies=false到配置文件中,或者执行如下命令 npm config set strict-peer-dependencies=false 然后也可能会出现警告deprecated subdependencies found,暂时可以忽略 ...
{"pnpm": {"peerDependencyRules": {"ignoreMissing": ["babel-loader"],"allowedVersions": {"@angular/common":"13"} } } } cc @pnpm/collaborators 👍13 20remainingitems Load more Sign up for freeto join this conversation on GitHub.Already have an account?Sign in to comment ...
ignore-dep-scripts 不要执行已安装软件包的任何脚本。执行项目的脚本。 Default: false ignore-dep-scripts=false child-concurrency 为构建node_modules而同时分配的子进程的最大数量。 Default: 5 child-concurrency=5 side-effects-cache 使用并缓存(预/后)安装挂钩的结果。
"ignoreMissing": [ "react" ] } } } 1. 2. 3. 4. 5. 6. 7. 8. 9. 或者说直接在.npmrc配置文件中直接关闭严格的对等依赖模式,可以添加strict-peer-dependencies=false到配置文件中,或者执行如下命令 npm config set strict-peer-dependencies=false ...