Skip to content

Developer documentation for @angular-devkit/schematics is misleading and incomplete #15779

@djencks

Description

@djencks

🐞 Bug report

Command (mark with an x)

- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

schematics

Is this a regression?

Yes, the previous version in which this bug was not present was: ....

unknown

Description

A clear and concise description of the problem...

The angular-devkit CONTRIBUTING.md file, explaining how to build and locally install angular-devkit, points to the angular-cli README.md, https://github.com/angular/angular-cli/blob/master/packages/angular/cli/README.md#development-hints-for-working-on-angular-cli
However, these instructions only include npm linking instructions for angular-cli, not any of angular-devkit. These instructions do not result in a locally installed schematics command, for instance.

🔬 Minimal Reproduction

Following the instructions at https://github.com/angular/angular-cli/blob/master/packages/angular/cli/README.md#development-hints-for-working-on-angular-cli

git clone https://github.com/angular/angular-cli.git
yarn
npm run build
cd dist/@angular/cli
npm link

does not result in the schematics command calling the locally built angular-devkit/schematics-cli or use of the locally built angular-devkit/schematics

🔥 Exception or Error





🌍 Your Environment





Anything else relevant?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions