

What was wrong
scripts/sync-to-html.sh builds html/ with pnpm deploy, which writes each dependency’s resolved lockfile version, peer suffixes included, as its version in package.json. The sync put template-site’s own versions back only when the project had dependencies of its own (project/dependencies.json), so a project without them, like the demo derivate, got strings no tool can resolve. A frozen install still worked, because the lockfile beside it held the same strings; pnpm add, pnpm outdated or Renovate did not.
What changed
The sync now always writes template-site’s own versions, exact pins kept exact, and updates the lockfile to match, still checking that no locked version moves. Before it touches html/, it stops with a list if any version with a "(" is left, in package.json or in the lockfile.
Where to see it
In a derived project, html/package.json after the next sync: plain versions, the same as apps/template-site/package.json. Nothing to do by hand; the next sync rewrites the file and its lockfile.
grep -n '"[^"]*(' html/package.json