From c2fbf912c222c43034332096229ff8fdd0b341ce Mon Sep 17 00:00:00 2001 From: Rachel Jones Date: Wed, 5 Aug 2026 14:58:11 -0700 Subject: [PATCH 1/5] Add .anvil/marketing.yml for marketing-site language pages --- .anvil/marketing.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .anvil/marketing.yml diff --git a/.anvil/marketing.yml b/.anvil/marketing.yml new file mode 100644 index 0000000..17cd310 --- /dev/null +++ b/.anvil/marketing.yml @@ -0,0 +1,21 @@ +# Language declaration for anvilco/marketing-site. Read at build time to source +# the JavaScript and TypeScript SDK pages from this repo (one repo serves both). +# `supported` is omitted so it derives from repo visibility (public = live). +# TypeScript has no separate example files here, so its code samples fall back +# to the marketing-site's committed content until .ts examples are added. +products: + - generate + - fill + - sign +packageManagerInstall: npm install @anvilco/anvil +languages: + - key: javascript + label: JavaScript + slug: javascript + examples: + generate: example/script/generate-markdown-pdf.js + fill: example/script/fill-pdf.js + sign: example/script/create-etch-packet.js + - key: typescript + label: TypeScript + slug: typescript From 60c6b472e7372b7f5d099826efc25ec67c508f3b Mon Sep 17 00:00:00 2001 From: Rachel Jones Date: Mon, 10 Aug 2026 14:42:40 -0700 Subject: [PATCH 2/5] Drop slug (derived from key), remove marketing-site comment --- .anvil/marketing.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.anvil/marketing.yml b/.anvil/marketing.yml index 17cd310..2161ddc 100644 --- a/.anvil/marketing.yml +++ b/.anvil/marketing.yml @@ -1,8 +1,3 @@ -# Language declaration for anvilco/marketing-site. Read at build time to source -# the JavaScript and TypeScript SDK pages from this repo (one repo serves both). -# `supported` is omitted so it derives from repo visibility (public = live). -# TypeScript has no separate example files here, so its code samples fall back -# to the marketing-site's committed content until .ts examples are added. products: - generate - fill @@ -11,11 +6,9 @@ packageManagerInstall: npm install @anvilco/anvil languages: - key: javascript label: JavaScript - slug: javascript examples: generate: example/script/generate-markdown-pdf.js fill: example/script/fill-pdf.js sign: example/script/create-etch-packet.js - key: typescript label: TypeScript - slug: typescript From bde1ae4cceffa27817cfe6b1f20a0dc2d9cf21e4 Mon Sep 17 00:00:00 2001 From: Rachel Jones Date: Fri, 14 Aug 2026 08:56:52 -0700 Subject: [PATCH 3/5] Slim marketing.yml to identity and install as array Products and examples are derived from the repo's examples/ dir by the marketing-site sourcing, so they no longer need declaring here. --- .anvil/marketing.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.anvil/marketing.yml b/.anvil/marketing.yml index 2161ddc..8f1c5ae 100644 --- a/.anvil/marketing.yml +++ b/.anvil/marketing.yml @@ -1,14 +1,7 @@ -products: - - generate - - fill - - sign -packageManagerInstall: npm install @anvilco/anvil +packageManagerInstall: + - npm install @anvilco/anvil languages: - key: javascript label: JavaScript - examples: - generate: example/script/generate-markdown-pdf.js - fill: example/script/fill-pdf.js - sign: example/script/create-etch-packet.js - key: typescript label: TypeScript From b41de680b85f9ebeeb4b103a265218bf22d3be53 Mon Sep 17 00:00:00 2001 From: Rachel Jones Date: Fri, 14 Aug 2026 12:44:20 -0700 Subject: [PATCH 4/5] Add yarn and pnpm to packageManagerInstall Addresses review feedback: surface the common npm/yarn/pnpm install commands. --- .anvil/marketing.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.anvil/marketing.yml b/.anvil/marketing.yml index 8f1c5ae..04f8cbc 100644 --- a/.anvil/marketing.yml +++ b/.anvil/marketing.yml @@ -1,5 +1,7 @@ packageManagerInstall: - npm install @anvilco/anvil + - yarn add @anvilco/anvil + - pnpm add @anvilco/anvil languages: - key: javascript label: JavaScript From 83d6821c1ae600e6b69a11f5fdb31757e2c8ca43 Mon Sep 17 00:00:00 2001 From: Rachel Jones Date: Fri, 14 Aug 2026 13:18:55 -0700 Subject: [PATCH 5/5] Add bun to packageManagerInstall --- .anvil/marketing.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.anvil/marketing.yml b/.anvil/marketing.yml index 04f8cbc..d5474c7 100644 --- a/.anvil/marketing.yml +++ b/.anvil/marketing.yml @@ -2,6 +2,7 @@ packageManagerInstall: - npm install @anvilco/anvil - yarn add @anvilco/anvil - pnpm add @anvilco/anvil + - bun add @anvilco/anvil languages: - key: javascript label: JavaScript