Code Monkey home page Code Monkey logo

unicorn-whale's People

Contributors

bryanwilhite avatar

Watchers

 avatar

unicorn-whale's Issues

run `ng generate app <name>` for the first time

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

image

ng generate app --help

usage: ng generate app <name> [options]
options:
  --directory
    The directory of the new application.
  --dryRun (-d)
    Run through without making any changes.
  --force (-f)
    Forces overwriting of files.
  --inline-style (-s)
    Specifies if the style will be in the ts file.
  --inline-template (-t)
    Specifies if the template will be in the ts file.
  --prefix (-p)
    The prefix to apply to generated selectors.
  --routing
    Generates a routing module.
  --skip-format
    Skip formatting files
  --skip-package-json
    Do not add dependencies to package.json.
  --skip-tests (-S)
    Skip creating spec files.
  --style
    The file extension to be used for style files.
  --tags
    Add tags to the application (used for linting)
  --view-encapsulation
    Specifies the view encapsulation strategy.

run `ng generate lib` for the first time

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)

migrate samples to 7.x workspace

ng generate app fire-base-animation --directory='' --routing=false --skip-tests --style=scss --dry-run
ng generate app responsive-thumbnails --directory='' --routing=false --skip-tests --style=scss --dry-run
ng generate app year-of-moo-animation --directory='' --routing=false --skip-tests --style=scss --dry-run

can a SEO-effective splash screen be made out of Angular's conventional `index.html`?

a lifecycle hook like ngAfterViewInit can call, say, document.getElementById() to collapse a block with a higher z-index than the root Component; this splash block is declared in the static HTML of the conventional index.html of the Angular app

this splash block that should be attractive and even animated is just one of many HTML declarations that is needed for the conventional index.html; others should check all of the SEO boxes as of now this file is essentially left blank 👎

does `Renderer2` help with any `@ViewChild` manipulations here?

npm audit log

after running create-nx-workspace my-nx-workspace:

                       === npm audit security report ===

# Run  npm install --save-dev [email protected]  to resolve 6 vulnerabilities
SEMVER WARNING: Recommended action is a potentially breaking change

  Moderate        Memory Exposure

  Package         tunnel-agent

  Dependency of   karma [dev]

  Path            karma > log4js > loggly > request > tunnel-agent

  More info       https://nodesecurity.io/advisories/598




  Moderate        Prototype pollution

  Package         hoek

  Dependency of   karma [dev]

  Path            karma > log4js > loggly > request > hawk > boom > hoek

  More info       https://nodesecurity.io/advisories/566




  Moderate        Prototype pollution

  Package         hoek

  Dependency of   karma [dev]

  Path            karma > log4js > loggly > request > hawk > cryptiles > boom
                  > hoek

  More info       https://nodesecurity.io/advisories/566




  Moderate        Prototype pollution

  Package         hoek

  Dependency of   karma [dev]

  Path            karma > log4js > loggly > request > hawk > hoek

  More info       https://nodesecurity.io/advisories/566




  Moderate        Prototype pollution

  Package         hoek

  Dependency of   karma [dev]

  Path            karma > log4js > loggly > request > hawk > sntp > hoek

  More info       https://nodesecurity.io/advisories/566




  Low             Regular Expression Denial of Service

  Package         timespan

  Dependency of   karma [dev]

  Path            karma > log4js > loggly > timespan

  More info       https://nodesecurity.io/advisories/533



# Run  npm install --save-dev [email protected]  to resolve 1 vulnerability

  High            Arbitrary File Write via Archive Extraction

  Package         adm-zip

  Dependency of   protractor [dev]

  Path            protractor > webdriver-js-extender > selenium-webdriver >
                  adm-zip

  More info       https://nodesecurity.io/advisories/681



found 7 vulnerabilities (1 low, 5 moderate, 1 high) in 25623 scanned packages
  run `npm audit fix` to fix 1 of them.
  6 vulnerabilities require semver-major dependency updates.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.