Skip to content
New issue

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

[Bug]: create blocklet 出来的项目 react 不在 dependences 里面 #375

Open
NateRobinson opened this issue Dec 14, 2024 · 1 comment
Assignees

Comments

@NateRobinson
Copy link
Contributor

Describe the bug

代码 lint 的会提示这个应该出现在 dependences 里面。

Reproduction Steps

[Bug]: create blocklet 出来的项目 react 不在 dependences 里面

Observed Behavior

lint 和 create blocklet 出来的模板项目这里有冲突。

Expected Behavior

期望,create blocklet 的项目不应该存在 lint 错误

Possible Solution

No response

Additional Information/Context

No response

@wangshijun
Copy link
Collaborator

React 应该出现在 devDependencies 里面,因为这个是开发时的依赖,而不是运行时的依赖。

不过源代码的 lint 确实需要处理下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants