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

请教一下关于子包发布的问题 #597

Closed
1 of 3 tasks
jeff-fe opened this issue Sep 28, 2022 · 1 comment
Closed
1 of 3 tasks

请教一下关于子包发布的问题 #597

jeff-fe opened this issue Sep 28, 2022 · 1 comment

Comments

@jeff-fe
Copy link

jeff-fe commented Sep 28, 2022

Description

Link to Reproduction

Steps to reproduce

问题请教

ILLA Design Version

1.6.4

Browser

93

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

问题1:想要发布全部子包,是执行什么命令发布的?可以一次性发版全部包吗?
问题2:例如一个场景 包@illa-design/select 需要升级,但是它依赖 @illa-design/input ,而且@illa-design/input也需要修改。那么开发调试的时候是不是需要先升级发版@illa-design/input,然后在@illa-design/select重新安装之后,这样才能再调试?

@AruSeito
Copy link
Contributor

回答1:您好,发包和升级包所有对应的版本都是通过 changeset,一个命令即可全部发包或者部分发包
回答2:直接在本地按需修改就可以,然后最终通过 changeset 一次发包选择select 和 input 就可以了。 在开发过程中所有子包都会 link 到本地的代码,并不会走实际下载的 npm 包,具体细节您可以看一下 turbo。

@AruSeito AruSeito closed this as completed Oct 3, 2022
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

2 participants