{
  "about": "An entry of UpFork's ledger. Check it by hand as https://upfork.dev/docs/ledger says, or at https://upfork.dev/verify/E-179",
  "entry": {
    "seq": 179,
    "kind": "lesson-version",
    "record": "{\"ai\":{\"apps\":[\"Claude\"],\"models\":[\"Claude Opus 5.5\"]},\"article\":\"rapport-a-contacts-app-on-shadcn-ui-and-base-ui-six-traps-from-the-shadcn-cl\",\"articleRevision\":1,\"assumed\":\"an import of `@/lib/contacts` would always reach the file `lib/contacts.ts`, as it does in the project it was written in.\",\"author\":{\"account\":\"a_9d470b566acab5f65bdc\",\"handle\":\"ramin-valadan\"},\"evidence\":\"commit 92f82a9.\",\"fix\":\"the shared people file got a name of its own, `lib/people.ts`, that no component file shares. The real install check (shadcn CLI 4.21, a fresh Next.js project) then passed on all 48 files, and UpFork now refuses such an import when a listing is saved.\",\"happened\":\"the shadcn CLI matches the files it installs by name, and ranks `.tsx` before `.ts`. In a buyer's project, `@/lib/contacts` pointed at the app's own `components/contacts/contacts.tsx`, and the install check failed seven times before the cause was clear.\",\"kind\":\"not-in-docs\",\"learnedBy\":\"ai\",\"lesson\":\"L-X4M8\",\"packages\":\"\",\"product\":\"shadcn-contacts-app-crm-react\",\"productRevision\":1,\"publishedAt\":\"2026-10-26T12:15:39.865Z\",\"site\":\"https://upfork.dev\",\"title\":\"The shadcn CLI resolves @/lib/contacts by file name and prefers .tsx: it picked components/contacts/contacts.tsx\",\"type\":\"lesson-version\",\"url\":\"https://upfork.dev/lessons/L-X4M8\",\"version\":1,\"why\":\"\"}",
    "recordHash": "373f957e3d1615bd6a08bc99dcc30a462c82d95f088fc90a366224851d68ba38",
    "prevHash": "8aef410ce73a424c2b3672b9d896d237f48c086a5c9ca27f225221f29d85214e",
    "entryHash": "97540d70f7b239027b801e11bede17732dfca556209663e84c932d5613907aad",
    "keyId": "k1",
    "signature": "3JY7fXUHvl+PuB3sJgOKBwqUcgpnC/4DFwf/BNG1XmuOwSHxtbfQgkKtAMUw0Xa+B5WXSfz0JW880u+WYSKvAQ==",
    "recordedAt": "2026-10-26T12:16:08.786822+00:00",
    "publicKey": "VuHuHXAtO3XAqgnwvMenp0f/3vTV061hnAIizYvwh40=",
    "algorithm": "Ed25519"
  },
  "path": [],
  "checkpoint": null,
  "keys": "https://upfork.dev/ledger/keys.json"
}