<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>gatsby  |  ぼちぼちブログ</title>
	<atom:link href="https://horumont.info/tag/gatsby/feed/" rel="self" type="application/rss+xml" />
	<link>https://horumont.info</link>
	<description>教育／労働組合／プログラミング</description>
	<lastBuildDate>Sun, 11 Apr 2021 10:35:42 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.14</generator>

<image>
	<url>https://horumont.info/wp-content/uploads/2020/11/39cab8f0a1adc1a8ac2842b4a25f1e52-100x100.png</url>
	<title>gatsby  |  ぼちぼちブログ</title>
	<link>https://horumont.info</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>gatsby-wordpressブログのgatsbyバージョンをアップデートしました</title>
		<link>https://horumont.info/programming/gatsby-updated/</link>
					<comments>https://horumont.info/programming/gatsby-updated/#respond</comments>
		
		<dc:creator><![CDATA[ほるもんT]]></dc:creator>
		<pubDate>Sun, 11 Apr 2021 10:35:42 +0000</pubDate>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[gatsby]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://horumont.info/?p=438</guid>

					<description><![CDATA[gatsbyがメジャーアップデートしました。 v2からv3です。 Gatsby v3 Incremental Builds in OSS, new Gatsby Image, and more &#124; GatsbyWe ar [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>gatsbyがメジャーアップデートしました。<br />
v2からv3です。</p>
<a rel="noopener" href="https://www.gatsbyjs.com/blog/gatsby-v3/" title="Gatsby v3 Incremental Builds in OSS, new Gatsby Image, and more | Gatsby" class="blogcard-wrap external-blogcard-wrap a-wrap cf" target="_blank"><div class="blogcard external-blogcard eb-left cf"><div class="blogcard-label external-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail external-blogcard-thumbnail"><img decoding="async" src="https://horumont.info/wp-content/uploads/cocoon-resources/blog-card-cache/3d8a72d87da674fa8fcedd547921ef0c.png" alt="" class="blogcard-thumb-image external-blogcard-thumb-image" width="160" height="90" /></figure><div class="blogcard-content external-blogcard-content"><div class="blogcard-title external-blogcard-title">Gatsby v3 Incremental Builds in OSS, new Gatsby Image, and more | Gatsby</div><div class="blogcard-snippet external-blogcard-snippet">We are excited to announce Gatsby v3.0! This new version of Gatsby’s core framework introduces massive improvement to the developer and user experience.</div></div><div class="blogcard-footer external-blogcard-footer cf"><div class="blogcard-site external-blogcard-site"><div class="blogcard-favicon external-blogcard-favicon"><img decoding="async" src="https://www.google.com/s2/favicons?domain=https://www.gatsbyjs.com/blog/gatsby-v3/" alt="" class="blogcard-favicon-image external-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain external-blogcard-domain">www.gatsbyjs.com</div></div></div></div></a>
<p>意外とサクッとできました。この機会に、gatsbyブログをもう少しいい感じにカスタマイズしていきたいと思います。どんなふうにしたかをメモにして残します。</p>

  <div id="toc" class="toc tnt-number tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-2" checked><label class="toc-title" for="toc-checkbox-2">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">何はともあれ新しいgatsbyにアップデート</a></li><li><a href="#toc2" tabindex="0">依存関係の更新が必要なものをチェック</a></li><li><a href="#toc3" tabindex="0">まとめて更新</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">何はともあれ新しいgatsbyにアップデート</span></h2>
<p>% npm install gatsby@latest</p>
<p>@latest 最新バージョンを指定しているのです。</p>
<h2><span id="toc2">依存関係の更新が必要なものをチェック</span></h2>
<p>% npm outdated</p>
<div class="hcb_wrap">
<pre class="prism line-numbers lang-bash" data-lang="Bash"><code>~/environment/bochibochi-blog npm outdated +[main]
Package Current Wanted Latest Location
@wordpress/block-library 2.28.2 2.29.1 2.29.1 gatsby-starter-wordpress-blog
gatsby-image 2.11.0 2.11.0 3.2.0 gatsby-starter-wordpress-blog
gatsby-plugin-manifest 2.12.0 2.12.1 3.2.0 gatsby-starter-wordpress-blog
gatsby-plugin-offline 3.10.0 3.10.2 4.2.0 gatsby-starter-wordpress-blog
gatsby-plugin-react-helmet 3.10.0 3.10.0 4.2.0 gatsby-starter-wordpress-blog
gatsby-plugin-sharp 2.14.1 2.14.3 3.2.1 gatsby-starter-wordpress-blog
gatsby-source-filesystem 2.11.0 2.11.1 3.2.0 gatsby-starter-wordpress-blog
gatsby-source-wordpress 4.0.0 4.0.6 5.2.3 gatsby-starter-wordpress-blog
gatsby-transformer-sharp 2.12.0 2.12.1 3.2.0 gatsby-starter-wordpress-blog
lodash 4.17.20 4.17.21 4.17.21 gatsby-starter-wordpress-blog
react 17.0.1 17.0.2 17.0.2 gatsby-starter-wordpress-blog
react-dom 17.0.1 17.0.2 17.0.2 gatsby-starter-wordpress-blog
react-helmet 5.2.1 5.2.1 6.1.0 gatsby-starter-wordpress-blog</code></pre>
</div>
<h2><span id="toc3">まとめて更新</span></h2>
<p>updateをチェックしてまとめてアップデートしてくれる&#8217;npm-check-updates&#8217;というツールを使います。そのツールをインストールします。</p>
<p>% npm install -g npm-check-updates</p>
<p>これで、ncuコマンドを使えるようになりました。</p>
<p>% ncu -u</p>
<p>ちょっと乱暴ですが、まとめてアップデートのコマンド。これで、package.jsonの中身が最新版になります。</p>
<p>% npm install</p>
<p>で、パッケージを最新版にインストールしなおします。</p>
<p>% npm outdated</p>
<p>で確認すると、何も出てこなかったので、続けて</p>
<p>% gatsby develop</p>
<p>すると無事サーバーが起動して、ブログが表示できました。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://horumont.info/programming/gatsby-updated/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
