Skip to content

Commit

Permalink
docs: generate API docs for component, update dgeni deps (#3258)
Browse files Browse the repository at this point in the history
  • Loading branch information
markostanimirovic authored Dec 4, 2021
1 parent 49b888b commit 4b9815c
Show file tree
Hide file tree
Showing 6 changed files with 403 additions and 68 deletions.
8 changes: 4 additions & 4 deletions modules/component/src/let/let.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface LetViewContext<T> {
}

/**
* @Directive LetDirective
* @ngModule ReactiveComponentModule
*
* @description
*
Expand All @@ -33,7 +33,7 @@ export interface LetViewContext<T> {
*
* The current way of binding an observable to the view looks like that:
* ```html
* <ng-container *ngIf="observableNumber$ as n">
* <ng-container *ngIf="observableNumber$ | async as n">
* <app-number [number]="n">
* </app-number>
* <app-number-special [number]="n">
Expand All @@ -44,12 +44,12 @@ export interface LetViewContext<T> {
* The problem is `*ngIf` is also interfering with rendering and in case of a `0` the component would be hidden
*
* Included Features:
* - binding is always present. (`*ngIf="truthy$"`)
* - binding is always present. (`*ngIf="truthy$ | async"`)
* - it takes away the multiple usages of the `async` or `ngrxPush` pipe
* - a unified/structured way of handling null and undefined
* - triggers change-detection differently if `zone.js` is present or not (`ChangeDetectorRef.detectChanges` or `ChangeDetectorRef.markForCheck`)
* - triggers change-detection differently if ViewEngine or Ivy is present (`ChangeDetectorRef.detectChanges` or `ɵdetectChanges`)
* - distinct same values in a row (distinctUntilChanged operator),
* - distinct same values in a row (distinctUntilChanged operator)
*
* @usageNotes
*
Expand Down
2 changes: 1 addition & 1 deletion modules/component/src/push/push.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { CdAware, createCdAware } from '../core/cd-aware/cd-aware_creator';
import { createRender } from '../core/cd-aware/creator_render';

/**
* @Pipe PushPipe
* @ngModule ReactiveComponentModule
*
* @description
*
Expand Down
4 changes: 2 additions & 2 deletions projects/ngrx.io/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@
"codelyzer": "^6.0.1",
"cross-spawn": "^5.1.0",
"css-selector-parser": "^1.3.0",
"dgeni": "^0.4.12",
"dgeni-packages": "^0.28.4",
"dgeni": "^0.4.14",
"dgeni-packages": "^0.29.2",
"entities": "^1.1.1",
"eslint": "^3.19.0",
"eslint-plugin-jasmine": "^2.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ module.exports = new Package('angular-api', [basePackage, typeScriptPackage])
'router-store/index.ts',
'data/index.ts',
'schematics/index.ts',
'component-store/index.ts'
'component-store/index.ts',
'component/index.ts',
];

readFilesProcessor.fileReaders.push(packageContentFileReader);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ const packageMap = {
'router-store': ['router-store/index.ts'],
data: ['data/index.ts'],
schematics: ['schematics/index.ts'],
'component-store': ['component-store/index.ts']
'component-store': ['component-store/index.ts'],
component: ['component/index.ts'],
};


Expand Down
Loading

0 comments on commit 4b9815c

Please sign in to comment.