Skip to main content

build-app-entry

Build an application's src/app/ composition root.

Informações da origem

Repositório
adobe/data
Última atividade na origem
6 de outubro de 2026 às 16:55
Idioma detectado do SKILL.md
inglês
Estrelas
12
Forks
8

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
build-app-entry
description
Build an application's src/app/ composition root.
input
app
output
app
A legacy feature (has `data/state/` or `services/main-service/`) exposes its `MainService` from `services/main-service/`; compose it from there. Create `src/app/`: - `schema.ts` — the composed plugin: the base feature's `MainService.plugin`, `imports` of the core schema of each feature that loads lazily (single-feature apps skip this). - `versioning/` — `versions.ts` + `versions.test.ts` over the composed schema, when the app persists. - `persistence.test.ts` — a save/load round-trip, when the app persists. - `main.ts` — creates the database, injects every service whose `create` throws, and mounts the root UI. Point `index.html` at it. The how is in the auto-loading `app.md` and `versioning.md` rules, and `features/index.md` (one app, many features).
Ver no GitHub