Add ARCHITECTURE.md (layers, flows, folder map, glossary), CONTRIBUTING.md (setup and step-by-step recipes) and a README in each main folder, with an index of docs/. Convert the 511 JavaScript headers from "// Rôle :" lines to JSDoc @file blocks, define a three-level header template in website/AGENTS.md and check the header in tests/file-headers.test.mjs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
411 B
JavaScript
11 lines
411 B
JavaScript
/**
|
|
* @file Partage les composants lazy des outils entre toolbox et librairie.
|
|
*/
|
|
|
|
import { lazy } from "react";
|
|
import { TOOLBOX_MODULE_DEFINITIONS, TOOLBOX_MODULE_LOADERS } from "../toolboxModuleRegistry.js";
|
|
|
|
export const MODULE_COMPONENTS = Object.fromEntries(Object.entries(TOOLBOX_MODULE_LOADERS).map(([type, loader]) => [
|
|
type,
|
|
{ ...TOOLBOX_MODULE_DEFINITIONS[type], Component: lazy(loader) }
|
|
]));
|