<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=MindAttic.Components%2Fweb%2FPIPELINES</id>
	<title>MindAttic.Components/web/PIPELINES - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mindattic.com/wiki/docs/index.php?action=history&amp;feed=atom&amp;title=MindAttic.Components%2Fweb%2FPIPELINES"/>
	<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=MindAttic.Components/web/PIPELINES&amp;action=history"/>
	<updated>2026-12-06T13:03:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.3</generator>
	<entry>
		<id>https://mindattic.com/wiki/docs/index.php?title=MindAttic.Components/web/PIPELINES&amp;diff=559&amp;oldid=prev</id>
		<title>Docs Sync: md2wiki: sync from MindAttic.Docs</title>
		<link rel="alternate" type="text/html" href="https://mindattic.com/wiki/docs/index.php?title=MindAttic.Components/web/PIPELINES&amp;diff=559&amp;oldid=prev"/>
		<updated>2026-11-29T20:25:52Z</updated>

		<summary type="html">&lt;p&gt;md2wiki: sync from MindAttic.Docs&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Delivery pipelines =&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;web/&amp;lt;/code&amp;gt; folder of MindAttic.Components is the source of truth for shared front-end content (it replaced MindAttic.Web.Shared, a folder of the MindAttic.Web repo). Content reaches its consumers two ways:&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;strong&amp;gt;jsDelivr CDN&amp;lt;/strong&amp;gt; — every file is served at a versioned URL. The CDN consumers are the four sites (&amp;lt;code&amp;gt;mindattic.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ryandebraal.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;mindatticcares.com&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;Hyperspace&amp;lt;/code&amp;gt;, folders of the MindAttic.Web repo), pinned to one whole-number tag by &amp;lt;code&amp;gt;MindAttic.Deploy&amp;lt;/code&amp;gt;&amp;#039;s linked deploy.&lt;br /&gt;
# &amp;lt;strong&amp;gt;Site build&amp;lt;/strong&amp;gt; (&amp;lt;code&amp;gt;web/build/build-sites.mjs&amp;lt;/code&amp;gt;, configured in &amp;lt;code&amp;gt;web/sites.json&amp;lt;/code&amp;gt;) — splices component source into the marker blocks of hand-made files: the four site pages, the &amp;lt;code&amp;gt;MindAttic.Psst&amp;lt;/code&amp;gt; legal pages and Tutor&amp;#039;s &amp;lt;code&amp;gt;wwwroot&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Pipeline 1 — jsDelivr CDN (runtime) ==&lt;br /&gt;
&lt;br /&gt;
Every file in &amp;lt;code&amp;gt;web/&amp;lt;/code&amp;gt; is served by [https://www.jsdelivr.com/ jsDelivr] at a versioned URL of the public MindAttic.Components repo — zero setup, global edge cache.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;URL shape:&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code&amp;quot;&amp;gt;https&amp;amp;#58;//cdn.jsdelivr.net/gh/mindattic/MindAttic.Components@&amp;amp;lt;ref&amp;gt;/web/&amp;amp;lt;path&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;code&amp;gt;&amp;amp;lt;ref&amp;gt;&amp;lt;/code&amp;gt; is any of:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Ref form&lt;br /&gt;
! Example&lt;br /&gt;
! Behavior&lt;br /&gt;
|-&lt;br /&gt;
| Whole-number tag (required for prod)&lt;br /&gt;
| &amp;lt;code&amp;gt;@V3&amp;lt;/code&amp;gt;&lt;br /&gt;
| Immutable; cached forever&lt;br /&gt;
|-&lt;br /&gt;
| Branch&lt;br /&gt;
| &amp;lt;code&amp;gt;@main&amp;lt;/code&amp;gt;&lt;br /&gt;
| Cached ~7 days unless purged&lt;br /&gt;
|-&lt;br /&gt;
| Commit SHA&lt;br /&gt;
| &amp;lt;code&amp;gt;@a1b2c3d&amp;lt;/code&amp;gt;&lt;br /&gt;
| Immutable; cached forever&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Tags on MindAttic.Components start at &amp;lt;code&amp;gt;V1&amp;lt;/code&amp;gt; and are contiguous. Older pages pinned &amp;lt;code&amp;gt;MindAttic.Web@V&amp;amp;lt;n&amp;gt;/MindAttic.Web.Shared/&amp;lt;/code&amp;gt; URLs; the site build rewrote every one of them to MindAttic.Components URLs.&lt;br /&gt;
&lt;br /&gt;
Paths are case-sensitive on GitHub: the &amp;lt;code&amp;gt;web/&amp;lt;/code&amp;gt; prefix and its lowercase folders (&amp;lt;code&amp;gt;components/&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;themes/&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;assets/&amp;lt;/code&amp;gt;), the PascalCase component and theme folders (&amp;lt;code&amp;gt;components/Cyberspace&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;themes/Sakura&amp;lt;/code&amp;gt;, …), and the lowercase domain folders under &amp;lt;code&amp;gt;assets/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Examples:&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code lang-html&amp;quot;&amp;gt;&amp;amp;lt;!-- pinned, production --&amp;gt;&lt;br /&gt;
&amp;amp;lt;script src=&amp;quot;https&amp;amp;#58;//cdn.jsdelivr.net/gh/mindattic/MindAttic.Components@V3/web/components/Cyberspace/console-bg.js&amp;quot; defer&amp;gt;&amp;amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;!-- bleeding edge (dev only) --&amp;gt;&lt;br /&gt;
&amp;amp;lt;script src=&amp;quot;https&amp;amp;#58;//cdn.jsdelivr.net/gh/mindattic/MindAttic.Components@main/web/components/Cyberspace/console-bg.js&amp;quot;&amp;gt;&amp;amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Cutting a release:&amp;lt;/strong&amp;gt; you normally do not tag by hand. &amp;lt;code&amp;gt;MindAttic.Deploy&amp;lt;/code&amp;gt;&amp;#039;s linked deploy (&amp;lt;code&amp;gt;npm run deploy -- --uiux&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;--site&amp;lt;/code&amp;gt; with any of the four sites) does it:&lt;br /&gt;
&lt;br /&gt;
# Preflight: MindAttic.Components and MindAttic.Web are clean, on &amp;lt;code&amp;gt;main&amp;lt;/code&amp;gt;, not behind origin, and &amp;lt;code&amp;gt;web/assets-manifest.json&amp;lt;/code&amp;gt; is current; the package tests (&amp;lt;code&amp;gt;web/tests/package&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;npm run test:local&amp;lt;/code&amp;gt;) pass.&lt;br /&gt;
# Picks the next whole-number tag of MindAttic.Components.&lt;br /&gt;
# Rewrites the pins in the four site pages to that tag, runs each site&amp;#039;s &amp;lt;code&amp;gt;preDeploy&amp;lt;/code&amp;gt; hook (&amp;lt;code&amp;gt;web/build/build-sites.ps1 -Site &amp;amp;lt;site&amp;gt; -Tag &amp;amp;lt;tag&amp;gt;&amp;lt;/code&amp;gt;) and stamps each page&amp;#039;s Last Updated line. A hook that changes MindAttic.Components aborts the deploy: the tag must be the package exactly as committed.&lt;br /&gt;
# Commits the page changes in MindAttic.Web as &amp;quot;Pin MindAttic.Components V&amp;amp;lt;n&amp;gt;&amp;quot; and tags MindAttic.Components&amp;#039; &amp;lt;code&amp;gt;HEAD&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Pushes MindAttic.Components (&amp;lt;code&amp;gt;main&amp;lt;/code&amp;gt; and the tag) and MindAttic.Web (&amp;lt;code&amp;gt;main&amp;lt;/code&amp;gt;).&lt;br /&gt;
# Verifies every asset the sites use on jsDelivr at that tag, byte for byte.&lt;br /&gt;
# FTPs ryandebraal.com, mindatticcares.com, Hyperspace and mindattic.com, in that order.&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;code&amp;gt;HEAD&amp;lt;/code&amp;gt; already carries the latest tag and the pins match it, that tag is reused. Runtime assets (fonts, logos, theme art) are documented in [[MindAttic.Components/web/ASSETS|&amp;lt;code&amp;gt;ASSETS.md&amp;lt;/code&amp;gt;]].&lt;br /&gt;
&lt;br /&gt;
To tag by hand (from the MindAttic.Components root), then rebuild the sites (the build pins the newest tag):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code lang-bash&amp;quot;&amp;gt;git tag -a V&amp;amp;lt;n&amp;gt; -m &amp;quot;...&amp;quot;     # whole numbers only, never SemVer; never move a published tag&lt;br /&gt;
git push origin main V&amp;amp;lt;n&amp;gt;&lt;br /&gt;
# jsDelivr serves the new tag within a minute&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Purging the cache (rare, only needed for branch refs):&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;https&amp;amp;#58;//purge.jsdelivr.net/gh/mindattic/MindAttic.Components@main/web/components/Cyberspace/console-bg.js&amp;lt;/code&amp;gt; — GET to purge.&lt;br /&gt;
&lt;br /&gt;
== Pipeline 2 — the site build (splice-in-place) ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;web/sites.json&amp;lt;/code&amp;gt; lists every target file, the marker blocks to fill in it and any URL rewrites. Each block replaces whatever sits between &amp;lt;code&amp;gt;BEGIN MINDATTIC.COMPONENTS:&amp;amp;lt;MARKER&amp;gt;&amp;lt;/code&amp;gt; and its END marker; nothing else in the file is touched. Targets resolve against &amp;lt;code&amp;gt;web/&amp;lt;/code&amp;gt;, so &amp;lt;code&amp;gt;../../MindAttic.Web/...&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;../../MindAttic.Psst/...&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;../../Tutor/...&amp;lt;/code&amp;gt; are repos cloned next to MindAttic.Components.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre class=&amp;quot;md-code lang-powershell&amp;quot;&amp;gt;node web/build/build-sites.mjs mindattic.com                       # one entry, in place&lt;br /&gt;
node web/build/build-sites.mjs mindattic.com --out candidate.htm   # single-file entry, to another file&lt;br /&gt;
powershell -File web/build/build-sites.ps1 -Site Tutor             # same, for PowerShell callers&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Entry&lt;br /&gt;
! What the build writes&lt;br /&gt;
! Run by&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;mindattic.com&amp;lt;/code&amp;gt;&lt;br /&gt;
| FONTS (&amp;lt;code&amp;gt;@font-face&amp;lt;/code&amp;gt; by CDN URL), BUTTON, CAPTUREDEMO and CYBERSPACE (scaffold, CSS and small scripts inline; &amp;lt;code&amp;gt;sacred-geometry.js&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;hyperspace.js&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;hyperspace-reader.js&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;console-bg.js&amp;lt;/code&amp;gt; as deferred CDN scripts; texture preloads)&lt;br /&gt;
| the linked deploy&amp;#039;s &amp;lt;code&amp;gt;preDeploy&amp;lt;/code&amp;gt; hook&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ryandebraal.com&amp;lt;/code&amp;gt;&lt;br /&gt;
| FONTS, the UI components (Toolbar, ToolButton, IconButton, Select, Range, Menu, Modal, Lightbox, Tag, ProgressBar, FormRow, Avatar, SkipLink), CAPTUREDEMO, and the 16 themes&amp;#039; CSS and effect JS inside the page&amp;#039;s own &amp;lt;code&amp;gt;&amp;amp;lt;style&amp;gt;&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;&amp;amp;lt;script&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| the same&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;mindatticcares.com&amp;lt;/code&amp;gt;&lt;br /&gt;
| FONTS, VIDEOEMBED, HASHPAGES, CAPTUREDEMO&lt;br /&gt;
| the same&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;Hyperspace&amp;lt;/code&amp;gt;&lt;br /&gt;
| BUTTON (the page also loads &amp;lt;code&amp;gt;components/Hyperspace/hyperspace.js&amp;lt;/code&amp;gt; by pinned URL)&lt;br /&gt;
| the same&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;MindAttic.Psst&amp;lt;/code&amp;gt;&lt;br /&gt;
| OUTFITFONT in &amp;lt;code&amp;gt;privacy.htm&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;terms.htm&amp;lt;/code&amp;gt;: the Outfit font inline as base64, so the legal pages make no network request&lt;br /&gt;
| by hand, after an OutfitFont change&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;Tutor&amp;lt;/code&amp;gt;&lt;br /&gt;
| USERLOGIN, USERCIRCLE, USERTIMEOUT CSS in &amp;lt;code&amp;gt;Tutor.Blazor/wwwroot/app.css&amp;lt;/code&amp;gt;; their scripts copied to &amp;lt;code&amp;gt;wwwroot/js/&amp;lt;/code&amp;gt;&lt;br /&gt;
| by hand, after a change to those components&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The build is idempotent: rerunning it with unchanged sources writes byte-identical files, keeping each target&amp;#039;s line endings. A page change is proven by the parity harness (&amp;lt;code&amp;gt;web/tests/parity&amp;lt;/code&amp;gt;) before it ships.&lt;br /&gt;
&lt;br /&gt;
== Choosing a pipeline for a new consumer ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Consumer kind&lt;br /&gt;
! Recommended&lt;br /&gt;
! Why&lt;br /&gt;
|-&lt;br /&gt;
| A site of the linked group&lt;br /&gt;
| CDN for fonts, art and heavy scripts; a &amp;lt;code&amp;gt;sites.json&amp;lt;/code&amp;gt; entry for CSS and small scripts that belong inline&lt;br /&gt;
| Heavy assets are cached once on the CDN and shared; the page stays one hand-authored file&lt;br /&gt;
|-&lt;br /&gt;
| A page that must make no network request (legal pages)&lt;br /&gt;
| &amp;lt;code&amp;gt;font-inline&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;style&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;script&amp;lt;/code&amp;gt; blocks only&lt;br /&gt;
| Everything inline&lt;br /&gt;
|-&lt;br /&gt;
| A Blazor app&lt;br /&gt;
| &amp;lt;code&amp;gt;css-file&amp;lt;/code&amp;gt; blocks in its &amp;lt;code&amp;gt;app.css&amp;lt;/code&amp;gt; plus &amp;lt;code&amp;gt;copies&amp;lt;/code&amp;gt; for scripts&lt;br /&gt;
| The Blazor build needs deterministic input&lt;br /&gt;
|-&lt;br /&gt;
| Project pages (IdiotProof, Claudia, ChiMesh, …)&lt;br /&gt;
| — (none)&lt;br /&gt;
| Each repo&amp;#039;s GitHub README is its project page&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-crumb&amp;quot;&amp;gt;Part of [[MindAttic.Components]].&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;md2wiki-source&amp;quot;&amp;gt;From [https://github.com/mindattic/MindAttic.Components/blob/main/docs/web/PIPELINES.md MindAttic.Components/docs/web/PIPELINES.md] via MindAttic.Docs; synced automatically, so edit the repo, not this page.&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:MindAttic.Components]]&lt;/div&gt;</summary>
		<author><name>Docs Sync</name></author>
	</entry>
</feed>