We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前 umi 包中有许多依赖。
dependencies: @babel/runtime: 7.23.6 @umijs/renderer-react: 4.1.10 @umijs/bundler-utils: 4.1.10 @umijs/server: 4.1.10 @umijs/bundler-webpack: 4.1.10 @umijs/test: 4.1.10 @umijs/core: 4.1.10 @umijs/utils: 4.1.10 @umijs/lint: 4.1.10 prettier-plugin-organize-imports: ^3.2.2 @umijs/preset-umi: 4.1.10 prettier-plugin-packagejson: 2.4.3 z
我们目前有自行定制单侧、eslint、prettier 等工具链配置。
所以其中 @umijs/test @umijs/lint 有可能会和项目内安装版本产生冲突。例如最近新出的 eslint 9
@umijs/test
@umijs/lint
将 umi 中的一些逻辑抽离到类似@umijs/cli 的包中。
@umijs/cli
保持 umi 包开箱即用。 同时需要更多自定义能力的。可以基于@umijs/cli 配合其他包进行自行封装。
The text was updated successfully, but these errors were encountered:
如果你需要用你自己的 eslint 、prettier 等依赖的版本的话,在项目里显示安装即可,如果使用 npm / yarn 造成了依赖前后安装顺序不定导致使用版本不确定的话,使用 pnpm 即可。
Sorry, something went wrong.
No branches or pull requests
Background
目前 umi 包中有许多依赖。
dependencies:
@babel/runtime: 7.23.6 @umijs/renderer-react: 4.1.10
@umijs/bundler-utils: 4.1.10 @umijs/server: 4.1.10
@umijs/bundler-webpack: 4.1.10 @umijs/test: 4.1.10
@umijs/core: 4.1.10 @umijs/utils: 4.1.10
@umijs/lint: 4.1.10 prettier-plugin-organize-imports: ^3.2.2
@umijs/preset-umi: 4.1.10 prettier-plugin-packagejson: 2.4.3 z
我们目前有自行定制单侧、eslint、prettier 等工具链配置。
所以其中
@umijs/test
@umijs/lint
有可能会和项目内安装版本产生冲突。例如最近新出的 eslint 9Proposal
将 umi 中的一些逻辑抽离到类似
@umijs/cli
的包中。保持 umi 包开箱即用。
同时需要更多自定义能力的。可以基于
@umijs/cli
配合其他包进行自行封装。The text was updated successfully, but these errors were encountered: