A CLI for publishing standard.site documents to ATProto

chore: misc updates

+8 -5
+1
.gitignore
··· 35 35 36 36 # Bun lockfile - keep but binary cache 37 37 bun.lockb 38 + plans/
-1
docs/vocs.config.ts
··· 18 18 { text: "Docs", link: "/quickstart", match: "/" }, 19 19 { text: "Blog", link: "/blog" }, 20 20 { text: "Tangled", link: "https://tangled.org/stevedylan.dev/sequoia" }, 21 - { text: "GitHub", link: "https://github.com/stevedylandev/sequoia" }, 22 21 ], 23 22 sidebar: [ 24 23 {
+6 -3
packages/cli/src/commands/publish.ts
··· 44 44 long: "verbose", 45 45 short: "v", 46 46 description: "Show more information", 47 - }) 47 + }), 48 48 }, 49 49 handler: async ({ force, dryRun, verbose }) => { 50 50 // Load config ··· 240 240 241 241 let postUrl = ""; 242 242 if (verbose) { 243 - postUrl = `\n ${config.siteUrl}/${relativeFilePath}`; 243 + const pathPrefix = config.pathPrefix || "/posts"; 244 + postUrl = `\n ${config.siteUrl}${pathPrefix}/${post.slug}`; 244 245 } 245 - log.message(` ${icon} ${post.frontmatter.title} (${reason})${bskyNote}${postUrl}`); 246 + log.message( 247 + ` ${icon} ${post.frontmatter.title} (${reason})${bskyNote}${postUrl}`, 248 + ); 246 249 } 247 250 248 251 if (dryRun) {
+1 -1
packages/cli/src/lib/oauth-client.ts
··· 59 59 clientMetadata: { 60 60 client_id: `http://localhost?${clientIdParams.toString()}`, 61 61 client_name: "Sequoia CLI", 62 - client_uri: "https://github.com/stevedylandev/sequoia", 62 + client_uri: "https://sequoia.pub", 63 63 redirect_uris: [CALLBACK_URL], 64 64 grant_types: ["authorization_code", "refresh_token"], 65 65 response_types: ["code"],