The Wayback Machine - https://web.archive.org/web/20220518042617/https://github.com/angular/angular-cli/tree/main/bin
Skip to content
main
Switch branches/tags

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
ng
 
 
 
 

/bin Folder

This folder includes binaries that are linked when globally linking this repository.

Each file in this directory follows this pattern:

  1. JavaScript only.
  2. Requires ../lib/bootstrap-local.js to bootstrap TypeScript and Node integration.
  3. Requires ../lib/packages and use the package metadata to find the binary script for the package the script is bootstrapping.
  4. Call out main, or simply require the file if it has no export.

devkit-admin does not follow this pattern as it needs to setup logging and run some localized logic.

In order to add a new script, you should make sure it's in the root package.json, so people linking this repo get a reference to the script.