@acidic9/skip-dependency 中文文档教程
Skip Dependency
注意:这仅适用于 Yarn 版本 1,不适用于 NPM、pnpm 也不适用于 Yarn 版本 2(代号 berry)!!!
这是为了一些您引入的依赖性会强迫您不喜欢的其他依赖性。 您可以使用 skip-dependency 强制跳过所述依赖项。
只需将以下内容添加到您的 package.json
中:
{
"resolutions": {
"package-you-really-want-to-skip": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.0.2.tgz"
}
}
Skip Dependency
Note: This is only designed to work with Yarn version 1, not NPM, not pnpm and also not Yarn version 2 (codename berry)!!!
This is for when some dependency you're pulling in is forcing some other dependency you just don't like. You can use skip-dependency to force the skipping of said dependency.
Just add the following to your package.json
:
{
"resolutions": {
"package-you-really-want-to-skip": "https://registry.yarnpkg.com/@favware/skip-dependency/-/skip-dependency-1.0.2.tgz"
}
}
更多
你可能也喜欢
- @0x-lerna-fork/project 中文文档教程
- @0x-lerna-fork/publish 中文文档教程
- @100tal-yach/jssdk 中文文档教程
- @10up/component-navigation 中文文档教程
- @2bitlab/state 中文文档教程
- @3mcode/sharp-react 中文文档教程
- @42shadow42/react-editable-title 中文文档教程
- @5minlab/serverless-typeorm 中文文档教程
- @a6kme/create-npm-package 中文文档教程
- @aacassandra/jquery_upload_preview 中文文档教程