chore: misc updates
c612cf14
4 file(s) · +8 −5
| 35 | 35 | ||
| 36 | 36 | # Bun lockfile - keep but binary cache |
|
| 37 | 37 | bun.lockb |
|
| 38 | + | plans/ |
| 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 | { |
| 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) { |
|
| 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"], |