ng generate library virtusUI --style=scss gives an error

Open
#11,284 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
angular, typescript
Domain
cli, tooling

Research direction

Start by reproducing ng generate library virtusUI --style=scss and inspect the library-generation schematic and its schema validation. The change is complete when the style option is accepted and the generated library uses SCSS without the additional-properties error.

Written by the indexing model from the issue text.

Description

area: @schematics/angular feature feature: insufficient votes freq1: low
- [ ] bug report -> please search issues before submitting
- [x] feature request

It would be cool to generate library with SCSS system.

ng generate library virtusUI --style=scss

Now I'm getting an error

Schematic input does not validate against the Schema: {"style":"scss","entryFile":"public_api","prefix":"lib","skipPackageJson":false,"skipTsConfig":false}
Errors:

  Data path "" should NOT have additional properties(style).
Dominant language
TypeScript
Stars
27k
Forks
11.8k
Avg merge
16h 35m
Merged PRs (30d)
176

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from angular/angular-cli

All issues in angular/angular-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.