Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

run ng generate lib for the first time #3

Open
BryanWilhite opened this issue Sep 6, 2018 · 3 comments
Open

run ng generate lib for the first time #3

BryanWilhite opened this issue Sep 6, 2018 · 3 comments
Assignees

Comments

@BryanWilhite
Copy link
Owner

https://nrwl.io/nx/guide-nx-workspace =>

image

usage: ng generate lib <name> [options]
options:
  --directory 
    A directory where the app is placed
  --dry-run (-d)
    Run through without making any changes.
  --force (-f)
    Forces overwriting of files.
  --lazy 
    Add RouterModule.forChild when set to true, and a simple array of routes when set to false.
  --parent-module 
    Update the router configuration of the parent module using loadChildren or children, depending on what `lazy` is set to.
  --prefix (-p)
    The prefix to apply to generated selectors.
  --publishable 
    Generate a simple TS library when set to true.
  --routing 
    Add router configuration. See lazy for more information.
  --skip-package-json 
    Do not add dependencies to package.json.
  --skip-ts-config 
    Do not update tsconfig.json for development experience.
  --tags 
    Add tags to the library (used for linting)
@BryanWilhite BryanWilhite self-assigned this Sep 6, 2018
@BryanWilhite
Copy link
Owner Author

BryanWilhite commented Sep 6, 2018

it may be long-term important to mention that Nrwl Nx is originally intended to support Node exclusively on the server while my investments currently place Angular on top of ASP.NET Core

the Nx lib stuff would only come in handy for a multi-App workspace placing Angular on top of Node (and then Node could then call out to anything ...like ASP.NET Core)

@BryanWilhite
Copy link
Owner Author

consider moving that menu comp [GitHub] to a lib

also consider moving those static members in AnimationBuilderComponent [GitHub]

@BryanWilhite
Copy link
Owner Author

my relatively new songhay-ng-workspace repo uses the Angular-only library concept from the Angular 6.x time-frame

one of my issue comments in that repo indirectly links back to this issue

at this time i am not particularly interested in the nrwl-flavor of an Angular library and may leave this issue open just in case something comes up

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant