tangled
alpha
login
or
join now
quillmatiq.com
/
sequoia
forked from
stevedylan.dev/sequoia
0
fork
atom
A CLI for publishing standard.site documents to ATProto
0
fork
atom
overview
issues
pulls
pipelines
chore: misc updates
stevedylan.dev
1 month ago
c612cf14
58d3f894
+8
-5
4 changed files
expand all
collapse all
unified
split
.gitignore
docs
vocs.config.ts
packages
cli
src
commands
publish.ts
lib
oauth-client.ts
+1
.gitignore
···
35
36
# Bun lockfile - keep but binary cache
37
bun.lockb
0
···
35
36
# Bun lockfile - keep but binary cache
37
bun.lockb
38
+
plans/
-1
docs/vocs.config.ts
···
18
{ text: "Docs", link: "/quickstart", match: "/" },
19
{ text: "Blog", link: "/blog" },
20
{ text: "Tangled", link: "https://tangled.org/stevedylan.dev/sequoia" },
21
-
{ text: "GitHub", link: "https://github.com/stevedylandev/sequoia" },
22
],
23
sidebar: [
24
{
···
18
{ text: "Docs", link: "/quickstart", match: "/" },
19
{ text: "Blog", link: "/blog" },
20
{ text: "Tangled", link: "https://tangled.org/stevedylan.dev/sequoia" },
0
21
],
22
sidebar: [
23
{
+6
-3
packages/cli/src/commands/publish.ts
···
44
long: "verbose",
45
short: "v",
46
description: "Show more information",
47
-
})
48
},
49
handler: async ({ force, dryRun, verbose }) => {
50
// Load config
···
240
241
let postUrl = "";
242
if (verbose) {
243
-
postUrl = `\n ${config.siteUrl}/${relativeFilePath}`;
0
244
}
245
-
log.message(` ${icon} ${post.frontmatter.title} (${reason})${bskyNote}${postUrl}`);
0
0
246
}
247
248
if (dryRun) {
···
44
long: "verbose",
45
short: "v",
46
description: "Show more information",
47
+
}),
48
},
49
handler: async ({ force, dryRun, verbose }) => {
50
// Load config
···
240
241
let postUrl = "";
242
if (verbose) {
243
+
const pathPrefix = config.pathPrefix || "/posts";
244
+
postUrl = `\n ${config.siteUrl}${pathPrefix}/${post.slug}`;
245
}
246
+
log.message(
247
+
` ${icon} ${post.frontmatter.title} (${reason})${bskyNote}${postUrl}`,
248
+
);
249
}
250
251
if (dryRun) {
+1
-1
packages/cli/src/lib/oauth-client.ts
···
59
clientMetadata: {
60
client_id: `http://localhost?${clientIdParams.toString()}`,
61
client_name: "Sequoia CLI",
62
-
client_uri: "https://github.com/stevedylandev/sequoia",
63
redirect_uris: [CALLBACK_URL],
64
grant_types: ["authorization_code", "refresh_token"],
65
response_types: ["code"],
···
59
clientMetadata: {
60
client_id: `http://localhost?${clientIdParams.toString()}`,
61
client_name: "Sequoia CLI",
62
+
client_uri: "https://sequoia.pub",
63
redirect_uris: [CALLBACK_URL],
64
grant_types: ["authorization_code", "refresh_token"],
65
response_types: ["code"],