You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Website] Move the quickstart into Getting Started #1182
website/src/content/docs/getting-started.mdx scaffolds with cg init --template quickstart, then walks through the files and packages that command created ("Explore the files created by cg init", "Explore the packages installed by cg init"). ADR 0029 (#1089) retires cg init and moves the minimal quickstart into the guide itself.
Present the complete small TypeSpec project inline: main.tsp, routes.tsp, tspconfig.yaml, and either the package.json or an explicit dependency-install command. Readers create the files, install, then run cg compile and cg preview as today. Refresh the content against the current published @common-grants/core and TypeSpec compiler rather than copying the drifted templates/quickstart/ pins (^0.3.5 cannot resolve core 0.4.0). Drop the TypeSpec untrusted-template warning note, which only applied to tsp init.
This must land before the CLI retirement release so the guide never points at a removed command.
Acceptance criteria
Getting Started no longer runs cg init; a reader who creates the shown files and installs dependencies can run cg compile and cg preview successfully
The inlined project uses currently published @common-grants/core and compiler versions
Package-manager-specific commands for installing or invoking published CommonGrants npm packages are shown in synchronized <Tabs> for pnpm, npm, and bun, with pnpm first and selected by default; each documented path completes the quickstart through cg compile and cg preview
pnpm --filter website run build passes with valid internal links
CI compiles the Getting Started quickstart and the core README quickstart against the in-repo core on every core PR, so a change that breaks either one fails the PR
Added an AC for compiling the quickstart in CI, per Kari's review on #1293. This came out of #1283, where the README quickstart had drifted and only turned up in the manual release check. Once this ticket puts the quickstart on Getting Started, there are two hand-written copies, so CI now checks both.
Activity
laurabelinfante commentedon Oct 20, 2026
Added an AC for compiling the quickstart in CI, per Kari's review on #1293. This came out of #1283, where the README quickstart had drifted and only turned up in the manual release check. Once this ticket puts the quickstart on Getting Started, there are two hand-written copies, so CI now checks both.
docs(website): update quickstart guide for published packages (#1318)
fix(cli): run cg compile under pnpm (#1363)
docs(website): use cg compile for pnpm and compile quickstarts in CI (#…