Repository navigation
feat: update templates to static-site recipe v1.0.0 - #41
Merged
Merged
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the static-site recipe updates and accompanying documentation corrections.
No open issues 🎉
What changed in this PR
Updates all four templates using @dfinity/static-site to recipe v1.0.0, keeping generated projects aligned with the latest recipe release.
Changes:
- Bumps recipe pins from v0.3.3 to v1.0.0 without changing configuration parameters.
- Corrects the static website README’s recipe name, configuration example, and releases link.
| File | Description |
|---|---|
static-website/README.md |
Replaces outdated asset-canister documentation with static-site. |
static-website/icp.yaml |
Updates the static website recipe to v1.0.0. |
hello-world/vue-frontend/canister.yaml |
Updates the Vue frontend recipe to v1.0.0. |
hello-world/svelte-frontend/canister.yaml |
Updates the Svelte frontend recipe to v1.0.0. |
hello-world/react-frontend/canister.yaml |
Updates the React frontend recipe to v1.0.0. |
Review effort: Balanced
raymondk
enabled auto-merge (squash)
November 19, 2026 00:40
lwshang
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
There was a new release of the static site recipe, 1.0.0, in the repo dfinity/icp-cli-recipes (release static-site-v1.0.0: https://github.com/dfinity/icp-cli-recipes/releases/tag/static-site-v1.0.0). Open a PR against dfinity/icp-cli-templates to update all the templates to the new recipe version.
What Changed
@dfinity/static-siterecipe fromv0.3.3tov1.0.0instatic-website/icp.yamland in the frontendcanister.yamlof thehello-worldReact, Svelte and Vue templates.static-website/README.mdto name thestatic-siterecipe instead of the oldasset-canisterrecipe. This covers the exampletypevalue and the releases link, which now filters onstatic-site.🤖 Generated with Claude Code
Risk Assessment
✅ Low: The change only moves the version pin from v0.3.3 to v1.0.0 in all four templates that use the static-site recipe and updates README wording. The v1.0.0 recipe template has the same configuration parameters (dir, build, presync, metadata) and the same step types as v0.3.3; only the pinned certified-assets canister and plugin URLs and hashes changed.
Testing
I used the repo's own end-to-end harness in the pinned icp-dev-env-all:1.3.0 container (icp 1.3.0). I gave it a custom matrix that adds the svelte frontend and the static-website template, since the stock matrix doesn't test either. For every template using the v1.0.0 recipe, the full user flow passed: icp new, build, local network, deploy, backend call, and an HTTP 200 with a non-empty page through the gateway. There are no screenshots because this is a config-only version bump with no UI change; the deploy and serve transcript in the log is the evidence. The temporary source copy is deleted, the container is gone, and the worktree is clean.
Evidence: E2E transcript for templates using the static-site recipe
Evidence: Matrix used for the targeted e2e run
Evidence: E2E summary
Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
git diff ef03698 0d24df6plus a grep over the YAML/MD/liquid templates, to confirm all 4 static-site recipe references now say v1.0.0 and none still say v0.3.3 or asset-canister@git archive HEADcopied into a disposable git repo in /tmp (the worktree's .git pointer doesn't resolve inside the container), then checked that the copy's static-website/icp.yaml says static-site@v1.0.0docker run ghcr.io/dfinity/icp-dev-env-all:1.3.0 /repo/tests/run.shwith CONFIG=matrix-static-site.yaml covering hello-world:motoko:{react,vue,svelte} and static-website. Each permutation ran icp new, icp build, icp network start, icp deploy, a backend greet call and a frontend gateway curl expecting HTTP 200. Container exit status 0, all 4 PASS✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.