From c612cf140dcdc00eeb7b5d802506eaf3fd7a3c59 Mon Sep 17 00:00:00 2001 From: Steve Date: Thu, 12 Feb 2026 16:38:39 -0500 Subject: [PATCH] chore: misc updates --- .gitignore | 1 + docs/vocs.config.ts | 1 - packages/cli/src/commands/publish.ts | 9 ++++++--- packages/cli/src/lib/oauth-client.ts | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 74e21d7..dc323e4 100644 --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json # Bun lockfile - keep but binary cache bun.lockb +plans/ diff --git a/docs/vocs.config.ts b/docs/vocs.config.ts index b1f3ec4..cd6f08a 100644 --- a/docs/vocs.config.ts +++ b/docs/vocs.config.ts @@ -18,7 +18,6 @@ export default defineConfig({ { text: "Docs", link: "/quickstart", match: "/" }, { text: "Blog", link: "/blog" }, { text: "Tangled", link: "https://tangled.org/stevedylan.dev/sequoia" }, - { text: "GitHub", link: "https://github.com/stevedylandev/sequoia" }, ], sidebar: [ { diff --git a/packages/cli/src/commands/publish.ts b/packages/cli/src/commands/publish.ts index 2206fe9..ef7db38 100644 --- a/packages/cli/src/commands/publish.ts +++ b/packages/cli/src/commands/publish.ts @@ -44,7 +44,7 @@ export const publishCommand = command({ long: "verbose", short: "v", description: "Show more information", - }) + }), }, handler: async ({ force, dryRun, verbose }) => { // Load config @@ -240,9 +240,12 @@ export const publishCommand = command({ let postUrl = ""; if (verbose) { - postUrl = `\n ${config.siteUrl}/${relativeFilePath}`; + const pathPrefix = config.pathPrefix || "/posts"; + postUrl = `\n ${config.siteUrl}${pathPrefix}/${post.slug}`; } - log.message(` ${icon} ${post.frontmatter.title} (${reason})${bskyNote}${postUrl}`); + log.message( + ` ${icon} ${post.frontmatter.title} (${reason})${bskyNote}${postUrl}`, + ); } if (dryRun) { diff --git a/packages/cli/src/lib/oauth-client.ts b/packages/cli/src/lib/oauth-client.ts index ba62bf6..0308b90 100644 --- a/packages/cli/src/lib/oauth-client.ts +++ b/packages/cli/src/lib/oauth-client.ts @@ -59,7 +59,7 @@ export async function getOAuthClient(): Promise { clientMetadata: { client_id: `http://localhost?${clientIdParams.toString()}`, client_name: "Sequoia CLI", - client_uri: "https://github.com/stevedylandev/sequoia", + client_uri: "https://sequoia.pub", redirect_uris: [CALLBACK_URL], grant_types: ["authorization_code", "refresh_token"], response_types: ["code"], -- 2.51.2