Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

fix(@schematics/angular): Add skip git option to prevent creating git… - #167

Merged
filipesilva merged 1 commit into
angular:masterfrom
Brocco:skip-git
Sep 27, 2017
Merged

fix(@schematics/angular): Add skip git option to prevent creating git…#167
filipesilva merged 1 commit into
angular:masterfrom
Brocco:skip-git

Conversation

@Brocco

@Brocco Brocco commented Sep 25, 2017

Copy link
Copy Markdown
Contributor

…ignore file

fixes angular/angular-cli#7686

mergeWith(
apply(url('./files'), [
options.minimal ? filter(minimalPathFilter) : noop(),
options.skipGit ? filter(path => !path.endsWith('gitignore')) : noop(),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could you check the whole path? !path.endsWith('/__dot__gitignore')?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed this (plus linting issue in generated schema file)

* Specifies the view encapsulation strategy.
*/
viewEncapsulation?: ('Emulated' | 'Native' | 'None');
viewEncapsulation?: ("Emulated" | "Native" | "None");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Unfortunately you have to do a devkit-admin lint --fix run after generating the .d.ts. This won't pass linting.

@filipesilva
filipesilva merged commit 9d2c7e9 into angular:master Sep 27, 2017
Brocco added a commit to Brocco/angular-cli that referenced this pull request Sep 28, 2017
Brocco added a commit to Brocco/angular-cli that referenced this pull request Sep 28, 2017
Brocco added a commit to Brocco/angular-cli that referenced this pull request Sep 28, 2017
hansl pushed a commit to angular/angular-cli that referenced this pull request Sep 28, 2017
filipesilva pushed a commit to angular/angular-cli that referenced this pull request Sep 28, 2017
filipesilva pushed a commit to angular/angular-cli that referenced this pull request Sep 28, 2017
@Brocco
Brocco deleted the skip-git branch April 3, 2018 13:10
dond2clouds pushed a commit to d2clouds/speedray-cli that referenced this pull request Apr 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ng new --skip-git is ignored

4 participants