- build.py: vendor templates/client into mcp/templates/client with client.json manifest (16 kinds); register drone-npm as a third CI shape (types: pypi/npm/docker); root *.py stale doc numbers fixed - registry.py: registry://client resource + list_client_components / get_client_component / get_client_template tools; build prompt gains the client scaffold step (docs://modules/ui_admin); compliance prompt covers npm packages; drone docs describe all three shapes - repos.json (+mcp): doc-weaver, react-auth, react-openapi (npm Type B, package.json version source), vet (app Type C, VERSION) - docs: 90_drone_pipelines gains Type B npm section; 91_versioning covers package.json as a version source; 94_repository_inventory gains the npm package table and services/apps Type C; lib index updated Verified: bundle regen (24 modules, client 16, drone 3, repos 13); registry client readers exercised against the vendored bundle.
102 lines
2.7 KiB
JSON
102 lines
2.7 KiB
JSON
{
|
|
"project": "standards",
|
|
"template": "templates/client",
|
|
"components": [
|
|
{
|
|
"kind": "client-package",
|
|
"path": "package.json",
|
|
"placeholder": "",
|
|
"description": "npm manifest: @aetoskia deps, scripts (dev/build/preview)."
|
|
},
|
|
{
|
|
"kind": "client-npmrc",
|
|
"path": ".npmrc",
|
|
"placeholder": "",
|
|
"description": "Private registry auth pointing at npm.aetoskia.com."
|
|
},
|
|
{
|
|
"kind": "client-env",
|
|
"path": ".env.example",
|
|
"placeholder": "",
|
|
"description": "VITE_API_BASE_URL / VITE_AUTH_BASE_URL seed."
|
|
},
|
|
{
|
|
"kind": "client-vite-config",
|
|
"path": "vite.config.ts",
|
|
"placeholder": "",
|
|
"description": "Vite config (dev server, build)."
|
|
},
|
|
{
|
|
"kind": "client-tsconfig",
|
|
"path": "tsconfig.json",
|
|
"placeholder": "",
|
|
"description": "TypeScript config for the client."
|
|
},
|
|
{
|
|
"kind": "client-index-html",
|
|
"path": "index.html",
|
|
"placeholder": "",
|
|
"description": "HTML entry point."
|
|
},
|
|
{
|
|
"kind": "client-entry",
|
|
"path": "src/main.jsx",
|
|
"placeholder": "",
|
|
"description": "React entry: router + providers + theme."
|
|
},
|
|
{
|
|
"kind": "client-openapi-config",
|
|
"path": "src/openapi-config.ts",
|
|
"placeholder": "",
|
|
"description": "Points the admin renderer at the app spec + auth-server spec."
|
|
},
|
|
{
|
|
"kind": "client-home",
|
|
"path": "src/Home.tsx",
|
|
"placeholder": "",
|
|
"description": "Auto-listing home page (ResourceCard + LiveTable per resource)."
|
|
},
|
|
{
|
|
"kind": "client-header",
|
|
"path": "src/Header.tsx",
|
|
"placeholder": "",
|
|
"description": "App header bar (brand + nav)."
|
|
},
|
|
{
|
|
"kind": "client-footer",
|
|
"path": "src/Footer.tsx",
|
|
"placeholder": "",
|
|
"description": "App footer."
|
|
},
|
|
{
|
|
"kind": "client-vite-env",
|
|
"path": "src/vite-env.d.ts",
|
|
"placeholder": "",
|
|
"description": "Vite client type declarations."
|
|
},
|
|
{
|
|
"kind": "client-theme",
|
|
"path": "src/shared-theme/AppTheme.tsx",
|
|
"placeholder": "",
|
|
"description": "Theme provider wrapper (light/dark)."
|
|
},
|
|
{
|
|
"kind": "client-theme-config",
|
|
"path": "src/shared-theme/themeConfig.ts",
|
|
"placeholder": "",
|
|
"description": "Palette / typography tokens."
|
|
},
|
|
{
|
|
"kind": "client-theme-primitives",
|
|
"path": "src/shared-theme/themePrimitives.ts",
|
|
"placeholder": "",
|
|
"description": "MUI theme primitives (shadows, accents)."
|
|
},
|
|
{
|
|
"kind": "client-theme-shim",
|
|
"path": "src/shared-theme/mui.d.ts",
|
|
"placeholder": "",
|
|
"description": "MUI v5 type shims (Theme.vars, SelectClasses.focused)."
|
|
}
|
|
]
|
|
} |