[repo] FabricaRelease: Rosea as a Fabrica app: the release and e2e pipelines, the Aula page's words and pictures, the version check, the APK signed in Custos, domi-rosea:// from the installer, the phone target

This commit is contained in:
2026-11-19 01:38:53 +01:00
parent 185625e7fe
commit 0d37f91763
34 changed files with 1148 additions and 6 deletions
+12 -3
View File
@@ -19,11 +19,14 @@ const TARGETS: readonly { dir: string; ext: readonly string[] }[] = [
{ dir: 'packages/ui/src', ext: ['.ts', '.svelte', '.css'] },
{ dir: 'apps/rosea/src', ext: ['.ts', '.svelte', '.css'] },
// Store listings, once they exist, live here and are player-facing too (§8).
{ dir: 'store', ext: ['.md', '.txt', '.json'] }
{ dir: 'store', ext: ['.md', '.txt', '.json'] },
// The Aula page's brief and each release's notes: a stranger reads them (fabrica-release.md F11).
{ dir: '.fabrica/aula', ext: ['.md'] },
{ dir: '.fabrica/notes', ext: ['.md'] }
];
/** Single files: the page shell, the config that builds the web manifest, and the Letter. */
const FILES: readonly string[] = ['apps/rosea/index.html', 'apps/rosea/vite.config.ts', 'docs/LETTER.md'];
/** Single files: the page shell, the config that builds the web manifest, the Letter, and the Aula page's text. */
const FILES: readonly string[] = ['apps/rosea/index.html', 'apps/rosea/vite.config.ts', 'docs/LETTER.md', 'AULA.md'];
function walk(dir: string, ext: readonly string[]): string[] {
if (!existsSync(dir)) return [];
@@ -44,6 +47,12 @@ if (files.length === 0) {
process.exit(1);
}
// `--list` prints what would be read and checks nothing: the seam tools/release tests the list through.
if (process.argv.includes('--list')) {
for (const file of files) console.log(relative(root, file).replace(/\\/g, '/'));
process.exit(0);
}
let problems = 0;
for (const file of files) {
for (const p of lintCopy(readFileSync(file, 'utf8'))) {