<?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>DEV Community: Toivo Ilmast</title>
    <description>The latest articles on DEV Community by Toivo Ilmast (@thebeginnermind).</description>
    <link>https://dev.to/thebeginnermind</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3980761%2Fcdab4f9c-ad76-4bb3-b2e9-474049e118c5.png</url>
      <title>DEV Community: Toivo Ilmast</title>
      <link>https://dev.to/thebeginnermind</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thebeginnermind"/>
    <language>en</language>
    <item>
      <title>I built a CLI that shows how your TypeScript project architecture changed between Git revisions</title>
      <dc:creator>Toivo Ilmast</dc:creator>
      <pubDate>Fri, 12 Jun 2026 08:32:14 +0000</pubDate>
      <link>https://dev.to/thebeginnermind/i-built-a-cli-that-shows-how-your-typescript-project-architecture-changed-between-git-revisions-1f60</link>
      <guid>https://dev.to/thebeginnermind/i-built-a-cli-that-shows-how-your-typescript-project-architecture-changed-between-git-revisions-1f60</guid>
      <description>&lt;p&gt;Most dependency tools show the current state of the architecture.&lt;/p&gt;

&lt;p&gt;During code review I was often interested in a different question:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What actually changed?&lt;/li&gt;
&lt;li&gt;Did this change introduce new dependencies between parts of the system?&lt;/li&gt;
&lt;li&gt;Did someone start importing internal implementation details?&lt;/li&gt;
&lt;li&gt;Did the architecture slowly become more coupled over time?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I wanted these changes to become more visible.&lt;/p&gt;

&lt;p&gt;So I built dep health analyzer. It is an open source CLI for JavaScript and TypeScript projects.&lt;/p&gt;

&lt;p&gt;The tool builds dependency graphs from your project and compares them between Git revisions.&lt;/p&gt;

&lt;p&gt;You can compare the current state with the previous commit, the main branch, a tag, or a specific commit.&lt;/p&gt;

&lt;p&gt;It can highlight new structural relationships such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;cross boundary dependencies&lt;/li&gt;
&lt;li&gt;deep internal imports&lt;/li&gt;
&lt;li&gt;sibling dependencies&lt;/li&gt;
&lt;li&gt;circular dependencies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For regression analysis it creates a temporary Git worktree, analyzes both versions of the project, compares the dependency graphs, and generates findings.&lt;/p&gt;

&lt;p&gt;It also generates an HTML report with a summary of the changes, a simple risk assessment, &lt;strong&gt;&lt;em&gt;review recommendations&lt;/em&gt;&lt;/strong&gt;, and a detailed list of findings.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;The goal is not to enforce architecture rules or tell developers that something is wrong.&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The tool does not know the architecture of your project.&lt;/p&gt;

&lt;p&gt;It only tries to highlight signals that may be worth reviewing.&lt;/p&gt;

&lt;p&gt;The final decision always belongs to developers.&lt;/p&gt;

&lt;p&gt;I built this tool because I noticed that architecture rarely changes in one big step.&lt;/p&gt;

&lt;p&gt;It usually changes slowly.&lt;/p&gt;

&lt;p&gt;Small changes often look harmless during code review.&lt;/p&gt;

&lt;p&gt;Over time they can become difficult to understand.&lt;/p&gt;

&lt;p&gt;I wanted these changes to become easier to notice.&lt;/p&gt;

&lt;p&gt;GitHub:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/ToivoIlmast/dep-health-analyzer" rel="noopener noreferrer"&gt;https://github.com/ToivoIlmast/dep-health-analyzer&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;npm:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/dep-health-analyzer" rel="noopener noreferrer"&gt;https://www.npmjs.com/package/dep-health-analyzer&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I would be happy to hear your feedback.&lt;/p&gt;

&lt;p&gt;Would something like this be useful in your projects?&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>typescript</category>
      <category>opensource</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
