diff --git a/.gitignore b/.gitignore --- a/.gitignore +++ b/.gitignore @@ -35,3 +35,4 @@ # Bun lockfile - keep but binary cache bun.lockb +plans/ diff --git a/docs/vocs.config.ts b/docs/vocs.config.ts --- a/docs/vocs.config.ts +++ b/docs/vocs.config.ts @@ -18,7 +18,6 @@ { 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 --- a/packages/cli/src/commands/publish.ts +++ b/packages/cli/src/commands/publish.ts @@ -44,7 +44,7 @@ long: "verbose", short: "v", description: "Show more information", - }) + }), }, handler: async ({ force, dryRun, verbose }) => { // Load config @@ -240,9 +240,12 @@ 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 --- a/packages/cli/src/lib/oauth-client.ts +++ b/packages/cli/src/lib/oauth-client.ts @@ -59,7 +59,7 @@ 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"],