Repository navigation
docs: every runtime page goes from an empty folder to a checked stream - #109
Merged
Merged
Conversation
- A shared "Before you start" for the ngp setups: Node 26, the pinned
Angular release, Vite, index.html and main.ts.
- Install is step 1 on every page, with npm.
- One check that a page streams, written once and included with the
page's own address; includes take values for {{slots}} now.
- allowedHosts and eventDispatchContract are written once.
- No commands that only work in this repository.
- Bun runs with NODE_ENV=production, Deno's port is explained, and
NestJS and Elysia say they serve /index.html as a file.
- Installation has a table of what the dev server does on each runtime.
Closes #101
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.
The runtime pages matched their example apps, but a reader arriving at one from search couldn't get from nothing to a page they knew was streaming. Every page now takes the same path. Closes #101.
The path, on every page
@angular/*pinned to22.3.0-rc.0, Vite 8.3 and TypeScript 6.0, an ES module withvite/clienttypes, and theindex.htmlandsrc/main.tsto start from. It points at Angular CLI for anyone who doesn't need ngp.bun add.data-placeholder, which only the example page renders. Hosted platforms check their local stand-in, then the deployment.Shared steps
_shared/before-you-start.md,_shared/check-it-streams.md,_shared/allowed-hosts.mdand_shared/event-replay.md.allowedHostsparagraph had been repeated on 14 pages.eventDispatchContractparagraph had been on 12 pages, in three versions that disagreed on what's lost.<!-- include ../_shared/check-it-streams.md url=http://localhost:3000/ -->fills{{url}}(apps/docs/markdown.ts). A slot without a value, or a value without a slot, fails the build, the same way a missing include does.Commands that only worked in this repository
netlify.toml, build and deploy are written for an app at the root of its repository. Monorepos are covered in a paragraph linking the example's ownnetlify.toml.scripts/files, then runnode scripts/serve.ts. It no longer sayspnpm nx serve.vite buildandnpm runreplacevp buildandpnpm. The deploy order now says why the first deploy is the other way round.Contradictions
NODE_ENV=production, as the Hono page already said.$PORT.useStaticAssets()and Elysia say plainly that they serve/index.htmlas the bare template, and Elysia that a missing/assets/file gets a page.Hostthat can't be parsed is a400, before the403check.Also
@angular/ssrstill does" and "Angular 19 to 21" move after the steps, with a pointer at the top for 19 to 21.streaming-through-proxies.md→express.md#compressed.Checked
vp check: 0 errors.pnpm nx build docs: every page prerenders, and the link and heading checks pass.data-placeholder.