Skip to content

refactor(schematics): migrate from styleext to style#2254

Merged
brandonroberts merged 1 commit intongrx:masterfrom
Jefiozie:2248-style-options
Jan 7, 2020
Merged

refactor(schematics): migrate from styleext to style#2254
brandonroberts merged 1 commit intongrx:masterfrom
Jefiozie:2248-style-options

Conversation

@Jefiozie
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

Migration from styleext to style

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

When setting the style you can do this by ng set default.styleext.

Closes #2248

What is the new behavior?

With these changes, we are inline with the Angular CLI and you need the following command for setting the style ng set default.style

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

@Jefiozie
Copy link
Contributor Author

cc: @timdeschryver

@ngrxbot
Copy link
Collaborator

ngrxbot commented Nov 13, 2019

Preview docs changes for 7110401 at https://previews.ngrx.io/pr2254-7110401/

@timdeschryver timdeschryver added the Needs Cleanup Review changes needed label Nov 13, 2019
@Jefiozie
Copy link
Contributor Author

Okay, I don't exactly know why the bazel tests are failing. Is it because of my changes?

@timdeschryver
Copy link
Member

@Jefiozie a re-trigger of the CI solved it

Copy link
Member

@timdeschryver timdeschryver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one minor remark

@Jefiozie
Copy link
Contributor Author

Resolved the minor comment

@timdeschryver timdeschryver removed the Needs Cleanup Review changes needed label Nov 14, 2019
@timdeschryver
Copy link
Member

@Jefiozie could you also add a breaking change note to the PR please, you can find a template in CONTRIBUTING.MD

Closes ngrx#2248

BREAKING CHANGES:

To be inline with the Angular CLI, we migrated the `styleExt` to `style`.

BEFORE:

```
"@schematics/angular:component": {
      "inlineStyle": true,
      "prefix": "aio",
      "styleext": "scss"
    }
...
```

AFTER:

```
"@schematics/angular:component": {
      "inlineStyle": true,
      "prefix": "aio",
      "style": "scss"
    }
....
```
@Jefiozie
Copy link
Contributor Author

Added the requested breaking change notes.

@brandonroberts brandonroberts merged commit 2801018 into ngrx:master Jan 7, 2020
@Jefiozie Jefiozie deleted the 2248-style-options branch January 7, 2020 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Schematics: replace styleExt with style

4 participants