<?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: Jordan Tukum Folem</title>
    <description>The latest articles on DEV Community by Jordan Tukum Folem (@kiri1101).</description>
    <link>https://dev.to/kiri1101</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%2F4225369%2F6a05e1f4-cc86-456d-95a8-72cd13dcfc72.jpg</url>
      <title>DEV Community: Jordan Tukum Folem</title>
      <link>https://dev.to/kiri1101</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kiri1101"/>
    <language>en</language>
    <item>
      <title>`npm install primevue` now needs a licence key: what changed, and how to stay on MIT</title>
      <dc:creator>Jordan Tukum Folem</dc:creator>
      <pubDate>Sat, 07 Nov 2026 01:43:24 +0000</pubDate>
      <link>https://dev.to/kiri1101/npm-install-primevue-now-needs-a-licence-key-what-changed-and-how-to-stay-on-mit-5cpn</link>
      <guid>https://dev.to/kiri1101/npm-install-primevue-now-needs-a-licence-key-what-changed-and-how-to-stay-on-mit-5cpn</guid>
      <description>&lt;p&gt;I build client projects on Nuxt, PrimeVue and Tailwind, and a fresh &lt;code&gt;npm install primevue&lt;/code&gt; no longer gives you what most tutorials assume. It installs version 5, which left the MIT licence. Without a licence key, a red "Invalid PrimeUI License" badge sits at the bottom right of every page.&lt;/p&gt;

&lt;p&gt;To be clear from the start: this is PrimeTek's decision to make, and the library is worth paying for if you need it. PrimeUI has a free Community tier and paid licences, so if you qualify or you have a key, v5 is the normal choice. This post is for people who want to stay on MIT versions, and want to be sure they have.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changed
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Package&lt;/th&gt;
&lt;th&gt;
&lt;code&gt;latest&lt;/code&gt; (not MIT)&lt;/th&gt;
&lt;th&gt;Last MIT&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;primevue&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;5.0.4&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;4.5.5&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;@primevue/nuxt-module&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;5.0.4&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;4.5.5&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;@primeuix/themes&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;3.1.0&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;2.0.3&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;primeicons&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;8.0.2&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;7.0.0&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That's the situation on 2026-11-07. Check &lt;a href="https://primeui.dev/licenses" rel="noopener noreferrer"&gt;PrimeTek's current terms&lt;/a&gt; for what applies to you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it's easy to miss
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Nothing fails.&lt;/strong&gt; The install works and the build passes. The badge only appears once the page runs in a browser.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It's more than one package.&lt;/strong&gt; &lt;code&gt;primeicons&lt;/code&gt; and &lt;code&gt;@primeuix/themes&lt;/code&gt; moved too, on different version numbers, so fixing &lt;code&gt;primevue&lt;/code&gt; alone isn't enough.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;You can't grep for it.&lt;/strong&gt; The badge lives in a closed shadow root, so a text search of the HTML can miss it. It's easier to read the &lt;code&gt;license&lt;/code&gt; field of what you actually installed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;npm install primevue@4.5.5&lt;/code&gt; isn't a pin.&lt;/strong&gt; npm saves it as &lt;code&gt;^4.5.5&lt;/code&gt;. That range won't jump to 5, but if you want the version fixed, add &lt;code&gt;--save-exact&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Two commands
&lt;/h2&gt;

&lt;p&gt;For a new project:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm create nuxt-primevue@latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;It asks for a theme, a primary colour, a font and whether you want the demo page. You get Nuxt 4, PrimeVue 4.5.5 and Tailwind 4 with the CSS layers in the right order, so utilities beat PrimeVue's styles. Dark mode and self-hosted fonts are already wired up. The demo page reads the real installed versions and licences, so what it shows is the truth about your project.&lt;/p&gt;

&lt;p&gt;For an existing project:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npx create-nuxt-primevue doctor
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;It reads your &lt;code&gt;node_modules&lt;/code&gt;, lists every Prime package that isn't MIT, and asks whether you have a licence key. If you do, it stops there. If you don't, it shows the exact changes and asks first; the default answer is No. It needs a clean git tree, so you can always undo. After a fix it runs your install, your build and the licence check, and tells you what happened. It never commits for you.&lt;/p&gt;

&lt;p&gt;Use &lt;code&gt;doctor --check&lt;/code&gt; in CI: exit code 1 means a problem remains.&lt;/p&gt;

&lt;h2&gt;
  
  
  The guard
&lt;/h2&gt;

&lt;p&gt;A pin stops you drifting. It doesn't stop someone running &lt;code&gt;npm i primevue@latest&lt;/code&gt; six months from now. So generated projects run a small check as part of the build, and &lt;code&gt;doctor&lt;/code&gt; offers to add it to yours:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;"build": "node scripts/check-licences.mjs &amp;amp;&amp;amp; nuxt build"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Only the exact licence &lt;code&gt;MIT&lt;/code&gt; passes. A missing field fails. And it fails closed: if &lt;code&gt;package.json&lt;/code&gt; lists a Prime package that isn't installed, the build stops, rather than passing because it found nothing to check.&lt;/p&gt;

&lt;h2&gt;
  
  
  What surprised me while building it
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;&lt;code&gt;prebuild&lt;/code&gt; doesn't run on Yarn Berry.&lt;/strong&gt; My first version used a &lt;code&gt;prebuild&lt;/code&gt; script. Yarn 2 and later don't run &lt;code&gt;pre&lt;/code&gt; hooks, so the guard silently never ran. That's why it now sits inside the build script.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;npm drops &lt;code&gt;.gitignore&lt;/code&gt; from published packages.&lt;/strong&gt; A template that relies on one ships without it, and the first commit includes &lt;code&gt;node_modules&lt;/code&gt;. The CLI now writes that file itself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;pnpm stops on build scripts nobody approved.&lt;/strong&gt; A fresh project failed to install because of esbuild's install script. The CLI now writes a &lt;code&gt;pnpm-workspace.yaml&lt;/code&gt; that answers that question up front.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Proving something is absent is hard.&lt;/strong&gt; "No badge found" means nothing if the page didn't render. So the test also runs on a project with v5 deliberately installed, where it must find the badge, and it clicks a real button to prove the page is alive. Without that positive control, a broken test would look exactly like a healthy project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Windows short paths can break a build.&lt;/strong&gt; On GitHub's Windows runner, a project built from &lt;code&gt;C:\Users\RUNNER~1\...&lt;/code&gt; returned HTTP 500 on every page, with an import that didn't exist. The same project built from the long path worked. I haven't traced which build step writes the bad import, so it's in the guide as a proven trigger rather than an explanation.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it's tested
&lt;/h2&gt;

&lt;p&gt;I only write tests for the behaviour that really matters here, and I check those tests with mutation testing: Stryker changes the code in small ways, and a test suite that doesn't notice fails CI. The floor is 100% on the critical modules. CI also builds real projects with npm, pnpm, Yarn and bun on Linux, and npm on Windows.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it doesn't do
&lt;/h2&gt;

&lt;p&gt;It doesn't remove or hide the badge, and it won't help you use v5 without a licence. It keeps you on versions that are still MIT and tells you if you leave them. Staying on v4 also has a cost: no new v4 features, and nothing that exists only in v5. If you'd rather have a library that keeps getting updates under MIT, &lt;a href="https://openvue.dev" rel="noopener noreferrer"&gt;OpenVue&lt;/a&gt; is a community-maintained fork of PrimeVue 4.5.5. My tool isn't connected to it, and I haven't tested it.&lt;/p&gt;

&lt;p&gt;The code is at &lt;a href="https://github.com/kiri1101/create-nuxt-primevue" rel="noopener noreferrer"&gt;kiri1101/create-nuxt-primevue&lt;/a&gt; (MIT), and the &lt;a href="https://github.com/kiri1101/create-nuxt-primevue/blob/main/docs/traps.md" rel="noopener noreferrer"&gt;guide&lt;/a&gt; covers the licence change plus thirteen other problems in this stack, most of which fail without an error. If &lt;code&gt;doctor&lt;/code&gt; gets something wrong on your project, please open an issue: real projects are the test I can't run myself.&lt;/p&gt;

</description>
      <category>nuxt</category>
      <category>vue</category>
      <category>tailwindcss</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Showing your private GitHub work on your profile, without leaking a single repo name</title>
      <dc:creator>Jordan Tukum Folem</dc:creator>
      <pubDate>Wed, 04 Nov 2026 04:45:22 +0000</pubDate>
      <link>https://dev.to/kiri1101/showing-your-private-github-work-on-your-profile-without-leaking-a-single-repo-name-j0n</link>
      <guid>https://dev.to/kiri1101/showing-your-private-github-work-on-your-profile-without-leaking-a-single-repo-name-j0n</guid>
      <description>&lt;p&gt;Most of what I build as a freelancer lives in private client repositories. That's normal for client work, but it made my GitHub profile look half-empty: the public stats cards counted only the 20% of my work that happened to be public.&lt;/p&gt;

&lt;p&gt;Then the public github-readme-stats instance went down (&lt;a href="https://github.com/anuraghazra/github-readme-stats/issues/3851" rel="noopener noreferrer"&gt;#3851&lt;/a&gt;), and my cards turned into broken-image icons. I took that as the push to build my own: a small Cloudflare Worker that counts private work safely and that I now run for free.&lt;/p&gt;

&lt;p&gt;It's open source: &lt;strong&gt;&lt;a href="https://github.com/kiri1101/github-profile-cards" rel="noopener noreferrer"&gt;kiri1101/github-profile-cards&lt;/a&gt;&lt;/strong&gt; (MIT, with a Deploy to Cloudflare button).&lt;/p&gt;

&lt;h2&gt;
  
  
  The privacy problem: totals yes, names never
&lt;/h2&gt;

&lt;p&gt;The goal was simple to state: show how much private work I do, without revealing &lt;em&gt;what&lt;/em&gt; it is. No repository names, no client names, ever, not on the card and not in logs.&lt;/p&gt;

&lt;p&gt;So the Worker only ever stores and renders &lt;strong&gt;totals&lt;/strong&gt;. Each row on the card shows public, private and total, where private is simply &lt;code&gt;total − public&lt;/code&gt;. The public part comes from counting only contributions in public repositories. The names never leave GitHub's API response; they're summed away immediately.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it needs two tokens
&lt;/h2&gt;

&lt;p&gt;This surprised me. No single GitHub token gives you everything:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A &lt;strong&gt;classic token with only &lt;code&gt;read:user&lt;/code&gt;&lt;/strong&gt; returns your &lt;em&gt;total&lt;/em&gt; commit contributions for the year, private ones included. But the PR and issue counts it can see are public-only.&lt;/li&gt;
&lt;li&gt;A &lt;strong&gt;fine-grained token&lt;/strong&gt; with read-only &lt;strong&gt;Metadata, Issues and Pull requests&lt;/strong&gt; on all your repositories sees your private PRs and issues. It also sees your repositories' language breakdown.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Neither token can write anything. The Worker reads which account owns them (&lt;code&gt;query { viewer { login } }&lt;/code&gt;), so there's no username to configure. If the two tokens belong to different accounts, it refuses to refresh rather than mixing two people's numbers on one card.&lt;/p&gt;

&lt;h2&gt;
  
  
  Cron + KV: never rate-limited, never "down"
&lt;/h2&gt;

&lt;p&gt;Rendering cards on every request is what makes public instances expensive and fragile. This Worker does the opposite:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A &lt;strong&gt;cron trigger every 6 hours&lt;/strong&gt; fetches the numbers, validates them, renders light and dark SVGs, and stores them in &lt;strong&gt;Workers KV&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Requests just read KV, which is fast and costs nothing on the free plan. If KV is ever empty or unreachable, you get a placeholder card, never a broken image.&lt;/li&gt;
&lt;li&gt;New data is &lt;strong&gt;validated before it replaces the old&lt;/strong&gt;: a sudden drop (say, a counter falling by more than 10%) is held back until the same drop repeats four times, so a flaky API response can never wipe your card.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  A GitHub README trap worth knowing
&lt;/h2&gt;

&lt;p&gt;If you wrap a &lt;code&gt;&amp;lt;picture&amp;gt;&lt;/code&gt; (the light/dark image switcher) in a link, GitHub's README renderer moves the &lt;code&gt;&amp;lt;img&amp;gt;&lt;/code&gt; into its own image link outside your anchor. Clicks then open the raw image, and theme switching breaks. The fix for linked cards: one SVG that themes &lt;em&gt;itself&lt;/em&gt; with &lt;code&gt;@media (prefers-color-scheme: dark)&lt;/code&gt; inside, used as a plain &lt;code&gt;&amp;lt;a&amp;gt;&amp;lt;img&amp;gt;&amp;lt;/a&amp;gt;&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tests that can actually fail
&lt;/h2&gt;

&lt;p&gt;There's a fair complaint going around that AI-assisted code often comes with tests that always pass, because they were written to match the code rather than the feature. I wanted proof mine weren't like that, so I used &lt;strong&gt;mutation testing&lt;/strong&gt; (&lt;a href="https://stryker-mutator.io/" rel="noopener noreferrer"&gt;StrykerJS&lt;/a&gt;). It plants small bugs in your code (flips a &lt;code&gt;&amp;lt;&lt;/code&gt; to &lt;code&gt;&amp;lt;=&lt;/code&gt;, deletes a call, changes a constant) and checks whether any test notices.&lt;/p&gt;

&lt;p&gt;The first run scored &lt;strong&gt;84%&lt;/strong&gt;: one planted bug in six went unnoticed by a suite that looked fine by coverage. After adding sharp tests whose expected values come from the spec, not from the code's own output, the critical modules (grade formula, validation, privacy split, escaping, refresh safety) score &lt;strong&gt;100%&lt;/strong&gt;. CI fails if it ever drops.&lt;/p&gt;

&lt;p&gt;I also deleted 30 tests that caught none of the planted bugs. Fewer tests, each of which matters.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;Deploy to Cloudflare&lt;/strong&gt; in the &lt;a href="https://github.com/kiri1101/github-profile-cards" rel="noopener noreferrer"&gt;README&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Paste two tokens (the README links straight to GitHub's token pages with the right scopes).&lt;/li&gt;
&lt;li&gt;Embed the two SVG URLs in your profile README.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It runs on the free plan, and an unedited copy shows neutral cards. You can add your own project cards and tech-stack blocks in one config file.&lt;/p&gt;

&lt;p&gt;The grade uses the &lt;code&gt;calculateRank&lt;/code&gt; formula from &lt;a href="https://github.com/anuraghazra/github-readme-stats" rel="noopener noreferrer"&gt;github-readme-stats&lt;/a&gt;, credit where it's due. Issues and ideas are welcome on the repo.&lt;/p&gt;

</description>
      <category>github</category>
      <category>typescript</category>
      <category>testing</category>
    </item>
  </channel>
</rss>
