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

Monorepoの構成を見直す #289

Closed
uttk-dev opened this issue Apr 28, 2022 · 2 comments · Fixed by #410
Closed

Monorepoの構成を見直す #289

uttk-dev opened this issue Apr 28, 2022 · 2 comments · Fixed by #410
Assignees
Labels
enhancement 機能以外の改善

Comments

@uttk-dev
Copy link
Contributor

uttk-dev commented Apr 28, 2022

概要

zenn-editor ではモノリポ環境を構築するために、lerna を使用していますが、
先日、公式のREADMEに今後メンテナスされない旨が追記されました。

そのため、非常に心苦しいですが、この Issue で lerna の代替案を模索したいと思います。

Monorepo の構成を、この Issue で見直したいと思います。

見直す理由:

  • yarn workspace と lerna で役割が被っているところがある
    • そのせいで、どのツールを使えばいいか迷うことがある
  • lerna のビルドが遅いのと、もう少し色々と機能が欲しい
    • tuborepo や Nx はビルドを上手くやってくれていたはず
  • lerna の機能をあまり使えていない
    • ほとんど publish する時だけ使ってる
    • publish だけなら lerna-lite を使うのもあり
  • なるべくなら yarn workspace に寄せたい
    • 設定など少なく済む
    • コマンドが分かりやすい
@uttk-dev uttk-dev added the enhancement 機能以外の改善 label Apr 28, 2022
@uttk-dev uttk-dev self-assigned this Apr 28, 2022
@Karibash
Copy link

Lernaは現在Nxの開発元であるNrwlが管理を引き継いでいます。
lerna/lerna#3121

下記のPRにてREADMEも更新されています。
https://github.com/lerna/lerna/pull/3124/files

@uttk-dev uttk-dev changed the title Lerna の廃止を検討する Monorepoの構成を見直す Sep 30, 2022
@uttk-dev
Copy link
Contributor Author

ありがとうございます。
構成の見直しは必要なため、タイトルと概要の内容を変更させて頂きました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 機能以外の改善
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants