-
Notifications
You must be signed in to change notification settings - Fork 1
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
chore: bun -> yarn #25
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bun を yarn にしたときの手順、具体的にどんな作業を行ったかを記録のために取っておいて訂正、このPRにログなどをベターっと貼っちゃってください。
あと、これは質問なのですが、emotionなどが依存関係に追加されたのはなぜですか(そもそも必要なの?っていうのと、PRの内容と違くない?っていう2つの意味で)
以降の際にchakra周りで不具合が出ちゃったので、一旦chakraをすべて吹き飛ばしてドキュメント通り(今までは違った)インスコしたので付いてきた感じです |
なるほど |
手元に 4faf42e を pull してきて、node_modulesなどが残っている状態で yarn のバージョンを v4 に上げてみました。 前提として、4faf42e は以下の感じでした
この状態で下記のコマンドを実行しました。
ちらっと書いた package.json の変更はこんな感じです。 {
// 末尾に追加された
"packageManager": "[email protected]"
} 特に最後の yarn install に関してはログに「マイグレートしたで」と出ていたのが興味深いです。共有します。
このとき、yarn.lockが更新されました。v1の表記は消えています。
また同時に新しく .yarnrc.yml が作成されました。このファイルは設定ファイルです。 nodeLinker: node-modules nodeLinker という設定は https://yarnpkg.com/features/linkers この文書が詳しいです。 |
バージョン指定と、その後yarnコマンドのログ
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ログ提出ありがとうございました
コミット追加しました 🦖
上の2つは yarnpkg 公式からの情報をもとにしていて、上はここ which-files-should-be-gitignored 、その下は同じページおよび create-next-app すると作成される .gitattributes がそれぞれソース 🍝 になります 📝 |
…tion Ci/front/actions bun to yarn migration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!! 👍 😸
c9aaec0
to
e2e84ed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
今度こそ
やったこと
※yarn を使うなら bun は不要なので closes #19