Extracted from atomic-design-poc: RemoteData<E,T> (bare union + fromResource, no combinators) + a trimmed <app-async> switch, no Elm-style store — state is resource() plus one plain signal. Minimal DDD layering per context (domain/infrastructure/application/ui) combined with atomic design inside ui/ (atoms/molecules/organisms/templates/pages), mirroring the POC's conventions at template scale. One worked feature (users/): a list with a click-through to a detail view (its own independent resource() fetch) and a Back action. Tests are BDD-style (describe/it, one assertion per it) and black-box (assert rendered DOM/emitted events only) - 100% branch/line coverage. README.md documents what's deliberately omitted vs. the POC and the concrete growth path back to it. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
34 lines
834 B
JSON
34 lines
834 B
JSON
{
|
|
"name": "ng-signals-template",
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"ng": "ng",
|
|
"start": "ng serve",
|
|
"build": "ng build",
|
|
"watch": "ng build --watch --configuration development",
|
|
"test": "ng test"
|
|
},
|
|
"private": true,
|
|
"packageManager": "npm@11.12.1",
|
|
"dependencies": {
|
|
"@angular/common": "^22.1.0",
|
|
"@angular/compiler": "^22.1.0",
|
|
"@angular/core": "^22.1.0",
|
|
"@angular/forms": "^22.1.0",
|
|
"@angular/platform-browser": "^22.1.0",
|
|
"@angular/router": "^22.1.0",
|
|
"rxjs": "~7.8.0",
|
|
"tslib": "^2.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@angular/build": "^22.1.2",
|
|
"@angular/cli": "^22.1.2",
|
|
"@angular/compiler-cli": "^22.1.0",
|
|
"@vitest/coverage-v8": "^4.1.10",
|
|
"jsdom": "^28.0.0",
|
|
"prettier": "^3.8.1",
|
|
"typescript": "~6.0.2",
|
|
"vitest": "^4.0.8"
|
|
}
|
|
}
|