<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Edoardo Sandon</title>
    <description>The latest articles on Forem by Edoardo Sandon (@edosan).</description>
    <link>https://forem.com/edosan</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1414125%2F9a44579d-d178-4027-82fb-4e6d17c81bd8.jpeg</url>
      <title>Forem: Edoardo Sandon</title>
      <link>https://forem.com/edosan</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/edosan"/>
    <language>en</language>
    <item>
      <title>Generate Types for your components with the Storyblok CLI!⚡</title>
      <dc:creator>Edoardo Sandon</dc:creator>
      <pubDate>Thu, 11 Apr 2024 11:11:40 +0000</pubDate>
      <link>https://forem.com/storyblok/generate-types-for-your-components-with-the-storyblok-cli-14b7</link>
      <guid>https://forem.com/storyblok/generate-types-for-your-components-with-the-storyblok-cli-14b7</guid>
      <description>&lt;p&gt;🎉🎉🎉 After a couple of weeks of soft launch, we’re very excited to announce that you can now generate the Typescript type definitions for your Storyblok components directly from the Storyblok CLI with the new &lt;code&gt;generate-typescript-typedefs&lt;/code&gt; command!&lt;/p&gt;

&lt;p&gt;Users can provide multiple source files, as well as a customized parser for &lt;a href="https://www.storyblok.com/docs/plugins/field-plugins/introduction" rel="noopener noreferrer"&gt;Custom Field Plugins&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Easiest way to get it up &amp;amp; running?&lt;br&gt;
Your types are just two commands away! 💥&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzgo2swd1mkks6dkvnqqf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzgo2swd1mkks6dkvnqqf.png" alt="Image description" width="800" height="281"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You may find more information on how to use it in the &lt;a href="https://github.com/storyblok/storyblok-cli?tab=readme-ov-file#typescript" rel="noopener noreferrer"&gt;Storyblok CLI Readme file&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The &lt;code&gt;generate-typescript-typedefs&lt;/code&gt; command is available in the latest version of the &lt;a href="https://www.npmjs.com/package/storyblok" rel="noopener noreferrer"&gt;Storyblok CLI&lt;/a&gt;, so make sure you bump your deps!&lt;/p&gt;

&lt;p&gt;&lt;em&gt;This new feature of the CLI was inspired by the work of &lt;a href="https://github.com/dohomi" rel="noopener noreferrer"&gt;dohomi&lt;/a&gt; and his &lt;a href="https://github.com/dohomi/storyblok-generate-ts" rel="noopener noreferrer"&gt;storyblok-generate-ts&lt;/a&gt; library. We want to thank him for his efforts in making Storyblok a better place!&lt;/em&gt; 🙏&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>typescript</category>
      <category>headless</category>
    </item>
  </channel>
</rss>
