Initial commit: OneOS prototype workspace baseline.

Include weekly report and other prototype sources with project tooling config.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
王冕
2026-06-26 15:36:52 +08:00
commit 7ef8852919
1310 changed files with 282074 additions and 0 deletions

18
scripts/scan-entries.js Normal file
View File

@@ -0,0 +1,18 @@
import path from 'path';
import { fileURLToPath } from 'url';
import { scanProjectEntries, writeEntriesManifestAtomic } from '../vite-plugins/utils/entriesManifestCore.js';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const projectRoot = path.resolve(__dirname, '..');
const manifest = scanProjectEntries(projectRoot, ['prototypes', 'themes']);
const written = writeEntriesManifestAtomic(projectRoot, manifest);
console.log(
'Generated entries.json (schema v2) with',
Object.keys(written.js || {}).length,
'js entries and',
Object.keys(written.html || {}).length,
'html entries (using unified template)',
);