Update build scripts and enhance README: Modify build command to delete HTML files before building, improve search indexing command, and add a badge for DeepWiki in the README. Refactor math subject initialization and enhance type definitions in BigNumbersScale component for better clarity and maintainability. Introduce sound effects in vertical arithmetic workbench for improved user interaction.

This commit is contained in:
Hananoshika Yomaru 2026-05-20 22:05:38 -07:00
parent 27e802777f
commit 3f3ea4a36c
14 changed files with 180 additions and 25 deletions

View file

@ -172,7 +172,7 @@ function buildSubjectModuleRegistry(
];
for (const { id, dir } of withJs) {
const relFromGenerated = relative(dirname(GENERATED_SUBJECT_MODULES), dir).replace(/\\/g, "/");
lines.push(` "${id}": () => import("${relFromGenerated}/subject.ts"),`);
lines.push(` "${id}": () => import("${relFromGenerated}/subject"),`);
}
lines.push("};", "");
return lines.join("\n");
@ -314,7 +314,7 @@ function buildWidgetRegistry(
for (const { key, widgets, dir } of entries) {
const relFromGenerated = relative(dirname(GENERATED_WIDGETS), dir).replace(/\\/g, "/");
for (const widget of widgets) {
const importPath = `${relFromGenerated}/widgets/${widget}.tsx`;
const importPath = `${relFromGenerated}/widgets/${widget}`;
lines.push(` "${key}/${widget}": () => import("${importPath}"),`);
}
}