Skip to content

fix(@schematics/angular): remove unnecessary scripts and dependencies#19639

Merged
alan-agius4 merged 1 commit intomasterfrom
unknown repository
Dec 18, 2020
Merged

fix(@schematics/angular): remove unnecessary scripts and dependencies#19639
alan-agius4 merged 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Dec 16, 2020

When new application is generated with --minimal flag it will be created without any testing frameworks, linters, etc. But package.json still contains broken scripts and dependencies. So "test": "ng test", "lint": "ng lint" and "tslint": "~6.1.0" should be removed. By analogy with "e2e": "ng e2e".

@google-cla google-cla bot added the cla: yes label Dec 16, 2020
@ghost
Copy link
Copy Markdown
Author

ghost commented Dec 17, 2020

@alan-agius4

Copy link
Copy Markdown
Collaborator

@alan-agius4 alan-agius4 left a comment

Choose a reason for hiding this comment

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

Thanks for this.

See below comment.

PS: it would be great if you add the PR description as commit message body 😁

Comment thread packages/schematics/angular/workspace/files/package.json.template Outdated
@alan-agius4 alan-agius4 added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews target: patch This PR is targeted for the next patch release labels Dec 17, 2020
When new application is generated with --minimal flag it will be
created without any testing frameworks, linters, etc. But package.json
still contains broken scripts and dependencies.

So "test": "ng test", "lint": "ng lint" and "tslint": "~6.1.0",
"ts-node": "~8.3.0" should be removed. By analogy with "e2e": "ng e2e".
Copy link
Copy Markdown
Collaborator

@alan-agius4 alan-agius4 left a comment

Choose a reason for hiding this comment

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

LGTM

@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker preserve commits and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Dec 17, 2020
@alan-agius4 alan-agius4 merged commit 9975661 into angular:master Dec 18, 2020
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant