mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 11:26:02 +00:00
feat(cli,docs): links to our sites say where they came from (#7178)
README links to hyperframes.studio, hyperframes.heygen.com and heygen.com carry utm_source=github&utm_medium=readme, the values the README's download links already use. Three README links went through docs redirects that drop the query string (/showcase, /guides/claude-design, /guides/open-design); they now point at the pages themselves. The docs navbar's Community and changelog links carry src=docs-navbar, and the export page's reinstall link src=docs-export, beside the existing docs-* tags. Links the CLI prints to our sites (init's docs links, the Lambda docs, the publish claim URL, the HeyGen API-key page) carry utm_source=cli. Discord invites stay untagged. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
4d9a4e4e86
commit
fa318d9727
@@ -109,7 +109,9 @@ describe("stagePrebuiltHandler with nothing to deploy", () => {
|
||||
const message = noHandlerMessage(false);
|
||||
expect(message).toMatch(/npm install -g @hyperframes\/aws-lambda@/);
|
||||
expect(message).toMatch(/HYPERFRAMES_REPO_ROOT/);
|
||||
expect(message).toMatch(/^Docs: https:\/\/hyperframes\.heygen\.com\/deploy\/aws-lambda$/m);
|
||||
expect(message).toMatch(
|
||||
/^Docs: https:\/\/hyperframes\.heygen\.com\/deploy\/aws-lambda\?utm_source=cli$/m,
|
||||
);
|
||||
expect(downloads).toEqual([]);
|
||||
});
|
||||
|
||||
|
||||
@@ -16,8 +16,9 @@ import { downloadFile } from "../../utils/download.js";
|
||||
import { isMissingPackageError } from "../../utils/missingPackage.js";
|
||||
import { VERSION } from "../../version.js";
|
||||
import { hyperframesCacheDir } from "@hyperframes/core/cache-dir";
|
||||
import { cliSourced } from "../../utils/sourceTag.js";
|
||||
|
||||
const DOCS_URL = "https://hyperframes.heygen.com/deploy/aws-lambda";
|
||||
const DOCS_URL = cliSourced("https://hyperframes.heygen.com/deploy/aws-lambda");
|
||||
const HANDLER_CACHE_DIR = hyperframesCacheDir("lambda-handler");
|
||||
|
||||
type AdapterSdk = typeof import("@hyperframes/aws-lambda/sdk");
|
||||
|
||||
Reference in New Issue
Block a user