mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-14 09:37:18 +08:00
* docs: add README files to all root folders Except benchmark and tools. * refactor: move rules/ directory to etc/ And fix a linting error that was found while updating tslint usage * ci: lint errors out if TSLint shows a warning This is not a warning from the code itself, but from TSLint. For example, if a rule was missing, TSLint will just ignore the rule, show something on STDOUT and not fail. This fixes CI where local rules were missing for unknown reasons. It will now fail CI when that happens, which is the correct behaviour.
/bin
Folder
This folder includes binaries that are linked when globally linking this repository.
Each file in this directory follows this pattern:
- JavaScript only.
- Requires
../lib/bootstrap-local.js
to bootstrap TypeScript and Node integration. - Requires
../lib/packages
and use the package metadata to find the binary script for the package the script is bootstrapping. - 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.