Angular workspace of shared libraries and ‘studio floor’ client
The intention here is to share Angular-based code among studio Angular projects. The research on how to structure this workspace and projects starts in my nodejs
, self-education repo.
The miserable details around how to get the Angular library actually working in the 6–7.x time-frame are here: https://github.com/BryanWilhite/Songhay.Dashboard/issues/50
@songhay/core
projectThese are the core types building on top of the more framework-agnostic songhay-core
repo. The featured type here is the Observable Data Store, AppDataStore
[GitHub].
:books: API documentation is available.
@songhay/index
projectThis is the Songhay System Index App, literally an index for a set of Web resources, defined by the MenuDisplayItemModel
[GitHub]. This app supports listing and grouping index items with the Selectable.map
[GitHub] of the songhay-core
. This app also supports theming.
:books: API documentation is available.
@songhay/player-video-you-tube
projectThis is the library for the YouTube video app of the b-roll player.
:books: API documentation is available.
Starting in the root folder of this repo:
ng new songhay --create-application=false --routing=true --style=scss --verbose=true
cd songhay
ng generate library @songhay/core --prefix=rx
npm i moment lodash
npm i @angular/animations @angular/cdk @angular/cdk-experimental @angular/material
ng generate library @songhay/player-video-you-tube --prefix=rx
Note that a library-generation command like ng generate library @songhay/player/video/you-tube --prefix=rx
does not work for CLI >=7.2.3.
Also for studio-specific and historical reasons these commands are also needed:
npm i songhay
Finally build the with the current build script (from the songhay/
folder):
npm build