<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hitonatsu</author_name>
  <author_url>https://blog.hatena.ne.jp/hitonatsu/</author_url>
  <blog_title>ひと夏の技術</blog_title>
  <blog_url>https://tech-1natsu.hatenablog.com/</blog_url>
  <categories>
    <anon>トラブルシューティング</anon>
    <anon>今日のハマったこと</anon>
    <anon>知見</anon>
  </categories>
  <description>yarn workspacesでmonorepoを構成しているときに特定のpackageだけhoistの対象外にしたいというときがある。 そういうときにどうすればよいかというと、noHoistオプションを単に使えばいいのだけどなぜかちゃんと書いてあるつもりなのにnoHoistが効かなくて困り果ててしまうケースがある。 このnoHoist設定は実はめちゃくちゃややこしく罠しかないので覚書として書いておく。 nohoist in Workspaces | Yarn Blog 結論から noHoistにはディレクトリパスではなくパッケージ名のglobを書かねばならない です。 それでは順を追って見て…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech-1natsu.hatenablog.com%2Fentry%2F2020%2F10%2F06%2F221500&quot; title=&quot;yarn workspacesのnoHoistがうまくされないときあるいはnoHoist設定の罠 - ひと夏の技術&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-10-06 22:15:00</published>
  <title>yarn workspacesのnoHoistがうまくされないときあるいはnoHoist設定の罠</title>
  <type>rich</type>
  <url>https://tech-1natsu.hatenablog.com/entry/2020/10/06/221500</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
