From 4725f148f3ef9b40fa823c3433a2e5687bb14273 Mon Sep 17 00:00:00 2001 From: mitchell Date: Thu, 18 Jun 2026 16:13:39 -0400 Subject: [PATCH] chore: migrate @cliffy/table to native jsr protocol & fix prompt typos --- .npmrc | 1 - package.json | 2 +- pnpm-lock.yaml | 2 +- src/prompts.ts | 4 ++-- 4 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 .npmrc diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 41583e3..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -@jsr:registry=https://npm.jsr.io diff --git a/package.json b/package.json index cda4c8c..4f28a1e 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@ai-sdk/openai-compatible": "^2.0.41", "@biomejs/biome": "2.4.12", "@clack/prompts": "^1.3.0", - "@cliffy/table": "npm:@jsr/cliffy__table", + "@cliffy/table": "jsr:^1.2.1", "@mozilla/readability": "^0.6.0", "@types/node": "^25.9.2", "ai": "^6.0.161", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 22f3aaa..b897059 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,7 +18,7 @@ importers: specifier: ^1.3.0 version: 1.4.0 '@cliffy/table': - specifier: npm:@jsr/cliffy__table + specifier: jsr:^1.2.1 version: '@jsr/cliffy__table@1.2.1' '@mozilla/readability': specifier: ^0.6.0 diff --git a/src/prompts.ts b/src/prompts.ts index daf1735..21f1a27 100644 --- a/src/prompts.ts +++ b/src/prompts.ts @@ -11,7 +11,7 @@ Generate a conventional commit message for this diff. If you are unable to gener export const reviewFile = (input: string) => `${input} -Todays date is ${new Date().toISOString()}, your version info is likely out-of-date. +Today's date is ${new Date().toISOString()}, your version info is likely out-of-date. Review the included file for any potential bugs, best practices, performance issues, or security flaws. Let me know if you need any more context to complete your review.`; @@ -20,7 +20,7 @@ export const reviewDiff = (input: string) => `\`\`\`diff ${input} \`\`\` -Todays date is ${new Date().toISOString()}, your version info is likely out-of-date. +Today's date is ${new Date().toISOString()}, your version info is likely out-of-date. Review the included diff for any potential bugs, best practices, performance issues, or security flaws. Let me know if you need any more context to complete your review.`;